Instead of a single flow you could define multiple flows with probabilistic insertion (one for each desired departLane, arrivalLane combination) and scale their insertion rates to match the original insertion rate (i.e. instead of a single flow with period="exp(0.5)" two flows with period="exp(0.25)" each).
Am Mo., 12. Sept. 2022 um 11:28 Uhr schrieb Hriday Sanghvi via sumo-user < [email protected]>: > Hello, the simulation makes use of lane changing, so I was wondering if > there is a way to do what Zhuofei Wu suggested without using TraCI's > changeLane to influence the behavior of the vehicles. > > Thank you. > > Sincerely, > Hriday > > > On Mon, 12 Sept 2022 at 10:18, Jakob Erdmann <[email protected]> > wrote: > >> If the simulation does not require lane changing, then you can achieve >> the desired arrival lane by disabling all lane-changing via xml >> configuration or traci.vehicle.setLaneChangeMode. >> >> Am Mo., 12. Sept. 2022 um 10:39 Uhr schrieb Zhuofei Wu < >> [email protected]>: >> >>> Hi Hriday, >>> >>> >>> >>> Do you use Traci? If you do, maybe you could “get lane ID” -> “reroute >>> to the lane ID” >>> >>> >>> >>> >>> >>> Best wishes, >>> >>> Felix >>> >>> >>> >>> *From: *Hriday Sanghvi via sumo-user <[email protected]> >>> *Sent: *12 September 2022 09:45 >>> *To: *Sumo project User discussions <[email protected]> >>> *Cc: *Hriday Sanghvi <[email protected]> >>> *Subject: *[sumo-user] Matching arrival and depart lanes for vehicle >>> flows >>> >>> >>> >>> Hello, >>> >>> >>> >>> I have my departLane set to 'random'. How can I make sure that the >>> vehicle arrives in the same lane that it started in? >>> >>> >>> >>> Thank you. >>> >>> >>> >>> Sincerely, >>> >>> Hriday >>> >>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
