官网文件:Intersections - SUMO Documentation (dlr.de)
Junction Blocking
In most jurisdictions, drivers are forbidden to enter an intersection if the outbound road is jammed to prevent them from blocking the intersection. By default, vehicles in SUMO try to prevent blocking intersections. This is accomplished by the no-block-heuristic which prevents them from driving onto the intersection if they are likely to become stuck there. This heuristic may be disabled by modifying the simulation network ahead of the simulation.
Note
The no-block-heuristic does not apply to geometry-like nodes (nodes without intersecting streams of traffic)
Note
Junction blocking cannot occur when using option --no-internal-links
netconvert options for allowing drivers to drive onto an intersections
- setting option --default.junctions.keep-clear false (default true) will cause the no-block-heuristic to be disabled for all intersections.
- setting <node>-attribute keepClear="false"
- setting <connection>-attribute keepClear="false"\> will cause the no-block-heuristic to be disabled for vehicles entering the intersection via that connection
Junction model attributes for allowing drivers to drive onto an intersection
By setting the junction model parameter jmIgnoreKeepClearTime in a <vType>
-definition, drivers of that type will ignore the no-block-heuristic after their accumulated waiting time exceeds the parameter value (in seconds).
Ignoring blocking vehicles after some time
When vehicles in SUMO are unable to move for some time they will be teleported to resolve dead-lock. If this is not desired, sumo-option --ignore-junction-blocker <TIME> may be used to ignore vehicles which are blocking the intersection on an intersecting lane after the specified time. This can be used to model the real-life behavior of eventually finding a way around the offending vehicle that is blocking the intersection.