Dear Jane,
To get an assignment result, which is reached or closed to a DUE state, you can use duaIterate.py under the Directory “tool\assign” of your SUMO
Directory. The duaIterate.py will do the traffic assignment with the DUE-objective iteratively until the defined number of iterations is reached. At each iteration, the traffic state in the previous iteration will be used for traffic assignment.
To facilitate the whole assignment process you can also use SUMO’s rerouting options at the same time so that simulation objects can consider the
latest traffic information for mode/route choice during simulation. In order to do that you need to give the following commands in addition to the required inputs (as indicated “…” below) when running duaIterate.py, where 1.0 means all vehicles have the rerouting
devices, and 300 means the traffic information is updated every 5 mins for vehicles with rerouting device. Of course, you can adjust these values according to your need.
duaIterate.py .... sumo--device.rerouting.probability 1.0 sumo--device.rerouting.period 300
After running the duaIterate.py you can check the route travel times of the simulation objects in the last file ‘*.alt.xml’ , which is an alternative
route file generated by the duarouter at each iteration. If the time difference is larger than your threshold, you can increase the number of iterations in the duaIterate.py and re-run the script.
I hope, this helps.
Best regards,
Yun-Pang
Von: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx]
Im Auftrag von Jane Cheung
Gesendet: Sonntag, 28. Juni 2020 04:28
An: Sumo project User discussions
Betreff: [sumo-user] Problem about the DUE in simulation
Dear all,
Could anyone give me some suggestions on how to reroute routes for vehicles that have not finished their journeys with DUE algorithm during simulation?
After the simulation running 5min( the duration for the simulation is 20min ), I would like to refresh the routes for all vehicles moving or going to insert in my network. After refresh routes, the traffic flow state is in DUE.
Any kind of help would be appreciated!