Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Largely overestimated travel times in routing for single vehicles departing from standstill at simulation start #14835

Open
m-kro opened this issue May 7, 2024 · 1 comment

Comments

@m-kro
Copy link
Contributor

m-kro commented May 7, 2024

Discovered in Huainan network. When a single vehicle departs from standstill short after simulation start on an edge and reroutes immediately, it is considered in the edge mean speed computation. Thus: v=0 is remembered in MSRoutingEngine::myEdgeSpeeds and the edge travel time becomes edge_travel_time = edge_length / 0.001 due to

return MAX2(e->getLength() / MAX2(myEdgeSpeeds[id], NUMERICAL_EPS), e->getMinimumTravelTime(v));

@m-kro m-kro added the a:sumo label May 7, 2024
@m-kro m-kro changed the title Largely overestimated travel times in routing for single vehicles departing from standstill Largely overestimated travel times in routing for single vehicles departing from standstill at simulation start May 7, 2024
@namdre namdre added the bug label May 7, 2024
@behrisch behrisch added this to the 1.21.0 milestone May 7, 2024
@namdre
Copy link
Contributor

namdre commented May 8, 2024

there is no easy fix:

  • initializing with speed limit instead of meanSpeed makes the simulation very unresponsive to early jamming
  • initializing with speed limit and increasing initial responsiveness (by initially scaling with the number of observed weight-updates rather than the steady-state number of updates) increases responsiveness at the cost of responding to "noise"
    diff.14835.txt

namdre added a commit that referenced this issue May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants