baumfalk / TrafficMAS

TrafficMAS, the code
MIT License
0 stars 0 forks source link

SUMO crashes in scenario's with a high density of cars #41

Closed Maxic closed 9 years ago

Maxic commented 9 years ago

The problem is probably that SUMO uses a "MinGap" distance to prevent collisions while we use an amount of time. In situations with a high density of cars, vehicles will drive very slow, still keeping 2.5 seconds between each car, but driving closer together then the minimal gap allows for.

This causes SUMO to take over and the vehicle will start brake to assure the minimal gap. Since we do not account for this slowdown in our calculations, vehicles will eventually overlap (collide).

Maxic commented 9 years ago

This issue can be fixed by disabling SUMO interference. The MinGap value is defined in rou.xml and is currently set to 0, Fixing this bug.