1) most likely, no vehicle ever reaches a waiting time of 600s. By default vehicles are teleported after being jammed for 300s 2) the difference is in the way travel times are estimated. The rerouting device averages speeds (and thus travel times) over time with a configurable algorithm. In contrast, rerouteTraveltime uses current travel times by default and is therefore more sensitive to short-lived fluctuations (i.e. from traffic lights).
Am Sa., 18. Juli 2020 um 19:39 Uhr schrieb Padisala, Shanthan Kumar < [email protected]>: > Hi, > > I am trying to use rerouters to change dynamically my route (keeping the > destination fixed). I have initialized my network with multiple vehicles > with a specific route to each vehicle, that are added into the network at > multiple intervals of time. The next step is to reroute all the vehicles > dynamically, using TraCI. For this, I can see two of the possible options > listed on the documentation: > > 1. Using *rerouteTravelTime* > if traci.vehicle.getWaitingTime(VID[v]) > 600: > traci.vehicle.rerouteTraveltime(VID[v],True) > But, I dont know where I am going wrong, I am unable to reroute. > > where VID is a list of all my vehicles. > 2. Using *device.rerouting. *as listed on the webpage > https://sumo.dlr.de/docs/Demand/Automatic_Routing.html But, I do not > understand how exactly I must use these commands. Also, how different are > these two methods. I would really appreciate it if anyone comments on the > exact syntax, the difference in two methods, and also any other suggestions > to serve my main purpose. > > Thank you, > PSK > > > > _______________________________________________ > 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
