Thank you for your reply. You are right, I remembered that it is SUMO's role to know the result of duarouter.
regard, Nishikawa ----- Original Message ----- From: Jakob Erdmann <[email protected]> To: Sumo project User discussions <[email protected]> Date: 2021-05-10 17:03:12 Subject: Re: [sumo-user] Difference in arrival time between duarouter and sumo-gui Hello, duarouter cannot know how vehicles will interact in the simulation (i.e. at intersections). Thus, the duarouter exit times are only an approximation. Put differently: If duarouter could determine the exit times perfectly, then there would be no need for a sumo simulation. regards, Jakob Am Mo., 10. Mai 2021 um 09:22 Uhr schrieb g2121044 <[email protected]>: Hello. I am currently running duarouter with the --exit-times option. I am reading the expected arrival time of a particular edge from the exit time of the generated rou.xml and using it in my program. While running sumo-gui, we found that for a particular edge, there is a difference between the arrival time in the simulation and the expected arrival time in the exit time of rou.xml. For example, the exit time in rou.xml predicted an arrival time of 800 for the vehicle with edge="gneE10", but the time in sumo-gui was 1000. How can I use duarouter to eliminate the difference between the simulation arrival time and the exit time? The duarouter command has the following format. duarouter -n map.net.xml --route-files veh.trip.xml -o veh.rou.xml --exit-times true --no-warnings true --no-step-log true The trip file used by duarouter is in the following format <routes> <vType id="vehicle" accel="2.6" decel="4.5" sigma="0.5" length="5" maxSpeed="8.33"/> <trip id="0" depart="0.00" from="edge1" to="edge2" via="edge3" type="vehicle"/> </routes> regard, Nishikawa _______________________________________________ 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
