eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.47k stars 1.4k forks source link

improve trajectories when creating a rescue lane #12641

Open namdre opened 1 year ago

namdre commented 1 year ago

Cars that form a rescue lane are typically queued and only move laterally (which is unrealistic). The following temporary changes to their vType should be done:

Once the rescue vehicle has passed, these values can be restored but to avoid immediate collision warnings, we must also set collisionMinGapFactor to a low value (matching the minGap reduction).

Ideally, we should reset collisionMinGapFactor once vehicles have started moving again and regained their desired original minGap but for the sake of simplicity we can just leave the value as is (it doesn't affect simulation behavior and only serves to flag minGap violations as collisions for debugging purposes).

behrisch commented 11 months ago

there is now a first implementation which has at least two drawbacks:

  1. It does a permanent modification of the collisionMinGapFactor in the original vtype(!) of the surrounding vehicles
  2. It actually reduces the performance (i.e. the speed) of the emergency and the surrounding vehicles in the three lane scenarios.

That's why it currently has a new option and is disabled by default

namdre commented 5 months ago

what is the cause of the performance/speed reduction?