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.53k stars 1.42k forks source link

rework teleporting behavior when blocked by stopping vehicles (trac #1078) #1078

Closed behrisch closed 2 years ago

behrisch commented 10 years ago

currently, teleports are only considered for the lead vehicle on any lane. If the leading vehicle has a stop, the vehicles behind it are blocked indefinitely. If the leading vehicle is removed (i.e. because it's route ends) and the first blocked vehicle exceeds gTimeToTeleport it teleports instantly.

The fact that a vehicle teleports once it is free to drive is surprising and should be fixed. Suggestion

Migrated from http://sumo.dlr.de/ticket/1078

{
    "status": "new", 
    "changetime": "2014-05-26T08:21:19Z", 
    "description": "currently, teleports are only considered for the lead vehicle on any lane.\nIf the leading vehicle has a stop, the vehicles behind it are blocked indefinitely.\nIf the leading vehicle is removed (i.e. because it's route ends) and the first blocked vehicle exceeds gTimeToTeleport it teleports instantly.\n\nThe fact that a vehicle teleports once it is free to drive is surprising and should be fixed. Suggestion\n* a) If the leader vehicle is stopped check whether any upstream vehicle should be teleported. Or\n* b) If a stopped vehicle is removed, reset the waiting time for its follower\n\n", 
    "reporter": "namdre", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1401092479444807", 
    "component": "simulation general (micro)", 
    "summary": "rework teleporting behavior when blocked by stopping vehicles", 
    "priority": "minor", 
    "keywords": "", 
    "time": "2013-11-19T15:47:11Z", 
    "milestone": "1.1.0", 
    "owner": "", 
    "type": "defect"
}
behrisch commented 10 years ago

this behavior shows up in sumo\tests\sumo\output\tripinfo\teleport

b) is probably the easiest fix but does not model squeezing past a broken vehicle