Hello,
1) arrival and route length refer to the final route (which includes the
most recent rerouting)
2) see https://github.com/eclipse/sumo/issues/6886
3) use case for effort routing:
https://sumo.dlr.de/docs/Simulation/Routing.html#routing_by_effort
4) If you do not want to run the simulation twice, you can use traci
function simulation.findRoute to get the assumed traveltime, cost and
distance values for candidate routes. However, these values may differ from
the actual values when the route is used due to traffic and intersection
effects. The only way to be sure is to run the simulation twice.

regards,
Jakob

Am Mo., 13. Apr. 2020 um 14:53 Uhr schrieb marcelreppi <
[email protected]>:

> Hello,
>
> I am trying to make vehicles avoid certain edges using TraCI.
> For testing I have implemented and compared the two different rerouting
> approaches: rerouteTraveltime and rerouteEffort. For both I have just set
> the traveltime/effort to a very high value (99999999) and called the
> rerouting function.
>
> The vehroute-output shows the following values for a random vehicle:
>
> <
> http://sumo-user-mailing-list.90755.n8.nabble.com/file/t349/rerouting-question-table.png>
>
>
> Is it correct to assume that the attributes "arrival" and "routeLength"
> always refer to the most recent route?
> Why does rerouteEffort result in a much longer route and therefore much
> later arrival time?
> What is the use case for each of these methods? Which one is the preferred?
>
> I also want to compute the extra driven distance/time. Currently I only see
> this possible if I let the simulation run twice (with & without rerouting)
> and compute these values from the two outputs.
> Is it possible to realize this with one simulation run using my approach?
> Is there any way I could improve my strategy?
>
> Thanks a lot for the help!
> Best regards
> Marcel
>
>
>
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> 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

Reply via email to