Dear Jakob, Apologies, as I did not explain my scenario correctly. I have two flows in my scenario: vehicles travelling from one origin edge to one destination edge, while the other has a stop in between. The first flow reroutes automatically and perfectly; however, the second one reroutes multiple times. I have explicitly created a rerouter file to reroute among various parking stops if the initial parking stop is not empty. Since the vehicles keep rerouting and circling around the block to find an empty parking stop, this creates a kind of jam where the vehicles which have already completed their stops are unable to leave the parking stop due to the jam. Hence, the remaining vehicles keep rerouting multiple times. I was trying to obtain the number of times vehicles were rerouted or time spent while searching to assign them some other stop away from the current location. However, I am unable to obtain "reroutenumber" or "parkingsearchtime" while the simulation is running. Both these attributes are obtainable after the simulation has ended but not during the simulation. Kindly suggest if this can be done or if there is another way to do this or any workaround, Any help would be appreciated. Thanks and regards, Rohan
On Mon, Feb 26, 2024 at 7:55 PM Jakob Erdmann via sumo-user < [email protected]> wrote: > Are you setting any options for automatic routing already ( > https://sumo.dlr.de/docs/Demand/Automatic_Routing.html) ? > The only reason for why this would happen with default options is a > massive jam lasting a whole day. By default, trips that cannot enter the > network are rerouted once per minute. > You can change this via option --device.rerouting.pre-period (either given > to traci.start or in the .sumocfg file) > > > Am Sa., 24. Feb. 2024 um 11:23 Uhr schrieb Rohan Verma via sumo-user < > [email protected]>: > >> Dear community, >> In my simulation, the vehicles are rerouting up to 1000-2000 times. I >> wish to limit this number of reroutes. I planned on doing it using TraCI. >> However, I am unable to find the correct command. Kindly suggest if this >> can be done or if there is another way to do this or any workaround, >> Any help would be appreciated. >> Thanks and regards, >> Rohan >> _______________________________________________ >> 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
