Hi,

I have some doubts about my understanding of routing in SUMO I hope someone
could help me with it.



if I set up routing mode as default :

*traci.vehicle.setRoutingMode(vehicleid,traci.constants.ROUTING_MODE_DEFAULT)*


„

   1. The vehicle retrieves it's individual data storage. This can be set
   and retrieved using the TraCI vehicle methods *change edge travel time
   information*
   
<https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#change_edge_travel_time_information_0x58>
   and *edge travel time information*
   
<https://sumo.dlr.de/docs/TraCI/Vehicle_Value_Retrieval.html#edge_travel_time_information_0x58>
   .
   2. The global edge weights
   
<https://sumo.dlr.de/docs/Demand/Shortest_or_Optimal_Path_Routing.html#custom_edge_weights>
   loaded using option *--weight-files* are retrieved.
   3. The global edge weights (set and retrieved via TraCI) using the TraCI
   edge methods *change edge travel time information*
   <https://sumo.dlr.de/docs/TraCI/Change_Edge_State.html> and *edge travel
   time information*
   <https://sumo.dlr.de/docs/TraCI/Edge_Value_Retrieval.html>.
   4. The minimum travel time (length/allowedSpeed) is used.”


And there are no 1, 2, 3 in my simulation, then every time my vehicle
should select the way base on point 4 length/allowedSpeed.


So it does not depend on the number of other vehicles-crowded streets.
Every time the vehicle should select the same route because the length and
allowed speed don’t change.


Unfortunately doesn’t happen like this, looks like the routing is somehow
overwritten, by routing in which vehicle selects the least crowded way or
my understanding of minimum travel time is wrong.


best,

Weronika
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to