Hi Jakob, Thank you, now works as I expected. Somehow I missed this information and didn't connect with it that as default it is True.
best, Weronika pon., 31 sie 2020 o 09:21 Jakob Erdmann <[email protected]> napisał(a): > The reason is this: > "When using the TraCI method rerouteTraveltime from the python TraCI > library > <https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html>, the > command supports an additional boolean parameter *currentTravelTime* > (default *True*). When this parameter is set to *True*, the global edge > weights are replaced by the currently measured travel times before > rerouting." > > (https://sumo.dlr.de/docs/Simulation/Routing.html#special_cases) > > Am Sa., 29. Aug. 2020 um 19:09 Uhr schrieb Weronika < > [email protected]>: > >> 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 >> > _______________________________________________ > 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
