Simulation/Why Vehicles are teleporting

From Sumo
Revision as of 14:55, 2 June 2009 by Kalleske (talk | contribs)
Jump to navigation Jump to search

When running a simulation, one may encounter the following warning:

Warning: Teleporting vehicle '...'; waited too long, lane='...', time=....

What does it mean?

The following circumstances may force the simulation to "teleport" a vehicle:

  • the vehicle stood too long in front of an intersection (message: "...'; waited too long, lane='...")
  • the vehicle has collided with his leader (message: "...'; collision, lane='...")
  • the vehicle has not left the lane but the one behind did (message: "...'; false leaving order, lane='...")
  • the vehicle landed beyond it's lane length (message: "...'; beyond lane (X), lane='...")

Waiting too long, aka Grid-locks

Grid-locks, jamming a simulated scenario are unfortunately something normal to traffic simulations. You can solve this only by assigning different routes. Some further approaches may be invoked in the future to make them occure more seldom.

In the case a vehicle is standing at the first position in front of an intersection, SUMO counts the number of steps the vehicle's velocity stays below 0.1m/s. These steps are the "waiting time". In the case the vehicle moves with a larger speed, this counter is resetted. In the case the vehicle waited longer than a certain swell, the vehicle is teleported, assuming a grid-lock occuren on the intersection.

The swell can be modified using a command line option. The option is --time-to-teleport <INT>. In the case a value lower than 0 is given, no teleportation is done, otherwise the given value will be interpreted as seconds to wait before teleporting a vehicle.


Though SUMO uses a collision-free model, collisions have beed detected. As they yield in an undefined state of the simulation, a vehicle teleportation is performed for solving them.

Collisions are assumed to occur due to bugs in the simulation. Please report if you encounter one.

False Leaving Order

A vehicle has driven over his leader and wants to get to the next lane, though his leader has not yet left his one.

Leaving the lane in a false order is assumed to occur due to bugs in the simulation. Please report if you encounter one.

Landing beyond the Lane's End

This can only occur if a vehicle's right-of-way has changed from what the vehicle assumed. An example: the vehicle though it could pass a junction, but a second vehicle (surprisingly) disallows it from passing the junction. In order not to brake with a value larger than the vehicle's deceleration ability, the vehicle continues his ride, but is not able to enter the next lane - in some cases this yields in a position beyond the lane's end.

Landing beyond the Lane's End is assumed to occur due to bugs in the simulation. Please report if you encounter one.