Hi Daniel,
your net and route definitions are correct. The vehicles all start at
the rightmost lane when I start the scenario probably because they
consider it the best lane for continuing their route. Please be aware
that departLane="best" refers only to the number of lane changes the
vehicle needs to continue the route not to the traffic situation.
Furthermore there is no randomness involved here, so if there are
multiple best lanes it always chooses the same (apparently rightmost)
one. You could simply use departLane="random".

Best regards,
Michael

PS: The vehicles change their lanes when running the scenario a little
longer but I suppose you were referring to the starting lane.

Am 07.07.2014 08:31, schrieb Daniel Febrian Sengkey:
> Hi,
> 
> I am a SUMO newbie. I already done the tutorial, and now beginning to
> try putting some modification on it.
> 
> I want to make a multi-lanes edge based on available tutorial. When I
> use numLanes option in <edges>, sumo-gui gave lanes as much as I
> defined. But when I tried to run the simulation, all vehicles only use
> the most left (bottom) lane. I tried with numLanes=2 and numLanes=4,
> both gave me same result.
> 
> My edges definition is as follow:
> <edges>
>       <edge from="1" id="1to2" to="2" numLanes="4" />
>       <edge from="2" id="out" to="3" numLanes="4" />
> </edges>
> 
> and my route definition is as follow:
> <routes>
>       <vTypeDistribution id="typedist1" >
>               <vType id="Mobil" accel="0.8" decel="4.5" sigma="0.5" 
> maxSpeed="120"
> guiShape="passenger/sedan" departLane="best" color="1,0,0"/>
>               <vType id="Bus" accel="1.2" decel="6.0" sigma="0.5" 
> maxSpeed="160"
> guiShape="bus" departLane="best" />
>       </vTypeDistribution>
>       <flow id="flow0" type="typedist1" begin="0" period="3" number="200">
>               <route edges="1to2 out" />
>       </flow>
> </routes>
> 
> What I need to do to make the vehicles use all lanes?
> 
> Regards,
> Daniel
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> 


------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to