Jakob, Thanks for your reply! There is one more question. I will use a more specific way to describe my problem.
I build the *sumo.cfg, *which contains specific route.xml and other essential files. The simulation period is 0-7200s. Then, I start my simulation at 0s. When the simulation time reaches 3600 s, I would like to let all vehicles moving in the DUE ( https://sumo.dlr.de/docs/Demand/Dynamic_User_Assignment.html#iterative_assignment_dynamic_user_equilibrium )state(not private optimization state) in the last simulation time (3600 s - 7200 s). As described in the document, the command to do that is : python duaIterate.py -n <network-file> -t <trip-file> -l <nr-of-iterations> Where the route.xml or trips.xml needs to be the renewed route.xmL instead of the original route.xml at the 0s. To use the command above to get the equilibrium traffic flow at the time point 3600s, how could I get the renewed* route.xml *file when my* simulation* running at 3600s? After that, the simulation still can run continuously to reach the predefined end time point in my simulation? Best regards! Jane Cheung On Mon, Jun 29, 2020 at 2:27 PM Jakob Erdmann <[email protected]> wrote: > Duarouter and Sumo use the same code for routing. You can therefore use > TraCI routing commands to accomplish this: > https://sumo.dlr.de/docs/Simulation/Routing.html#traci > Alternatively, you could store the state of the network (in regard to > averaged travel times) using either > - > https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html > - > https://sumo.dlr.de/docs/Demand/Automatic_Routing.html#investigating_edge_weights > And then load the generated file along with the custom route input file > into duarouter. > > Am Fr., 26. Juni 2020 um 15:55 Uhr schrieb Jane Cheung < > [email protected]>: > >> Dear all, >> I have one problem while I am using SUMO, and I would like to get the >> help of you! >> >> How could I call the DUAROUTER.exe in one specific time point in my >> simulation? >> How could I use the unfinished route file to generate the new route file >> for vehicles that have not finished their route in the network, just like >> the function has been realized for the parking area( >> https://sumo.dlr.de/docs/Simulation/Rerouter.html#determining_the_alternative_parking_area >> )? >> >> For example, >> the route for vehicle ID = myvehicle1 is route= 'E1 E2 E3 E4'. I am >> going to reroute the original route for myvehilce1 when it is moving on E3. >> How could I realize the function in SUMO? To make the E3 as the arrivalPOS >> and then make E3 as the refreshed departsPOS? or other methods? Looking >> forward to your reply! >> >> Best regards! >> >> >> >> Jane Cheung >> _______________________________________________ >> 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
