Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Problem about the DUE in simulation
  • From: <yun-pang.floetteroed@xxxxxx>
  • Date: Mon, 29 Jun 2020 11:15:49 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:G08JFRxx4rUvhkXXCy+O+j09IxM/srCxBDY+r6Qd2+8RIJqq85mqBkHD//Il1AaPAdyGrasV26GN7ujJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVhDexe65+IRG1oAneuMQbgZZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLulSwJNSM28HvPh8JwkqxVvQ6hqRJ8zY7aYo6VNeZxcazGcNwAWWZBXNxcWzBdDo6+aYYEEuoPPfxfr4n4v1YDqhu/BRSqBO/20j9HnHn23aIg3+QvFQHG2xIvH84SsHvKttX1M7kdXv2uwabVyTXDdela1irj54XRdB0qvP6DU65qf8XL1UkvCx3Kjk+WqYH9MD2Y1eUAv3SH4udvSe+hhXIqpgNyrzag2MohlpTFipwaxF3Y6yh0zpg5K924RUB1f9OqEJ9duSGUOYV4TM0vXWdlszs5xL0eoZO3YTQGxI46yxPcZPGLaZWE7xzgWeqLPzt1i2ppdK+9ihqs60Ss1PDwWtOp3FtIrydJiMTAu3YQ3BLJ8MeHUOFy/kK51DaK0ADc9/9LLFgvlareN54h2rkwlocPsUjbHi/5hkH2jKiOe0sq/Oam5evpbLXmqJGbNIF6jRvwProhl8KwAOs1LBICX2md+eSgzr3s51f1T6hOjv0siKXWrY7VKdwapq6/HQBVzp4u5wujAzu8zdgVnnYKIEhYdB+JjIXlIU/CLf/gAfe6mVuskTNrx/7cPr3mB5XANnjCkKrnfbpk805T0gwzzd9F65JaDrEBJ+z8WlPttNPGFB85NBK7zPv8Bdpg0oMeQ3iDDbKHP6/Kq1+H+vovI/WQZI8SoDv9MOUl5/vpjXMghF8dZrem3YEMZX+mAvtmJ0SZYWL3gtgfC2sKuRA+TOO5wGGFBGpIenO1Gr8n6ysTBYmiDJ/YS8aqmrPXjwmhGZgDMnFbDBWUGHHnMYuAXPoQdC+IJcJtujAAT/6tRtlyhlmVqAbmxu8/faLv8SoCuMe72Q==
  • Ironport-sdr: YDF1FrYul9IbiEs4jnbCiWorTWGYES8c9VZ2RoPPzk0GWXGMTb3bGcXRsbFkzVHY7BMO4mw9/y 8qLxK0/qkJ4g==
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWTPPpx0k3hmAqk0+2mH2o5/cERKjvaqSQ
  • Thread-topic: [sumo-user] Problem about the DUE in simulation

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?

For example, 

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.

How could I realize it?

 

Any kind of help would be appreciated!

 

Best regards! 

 

Jane Cheung


Back to the top