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.46k stars 1.39k forks source link

Left turn vehicles wait to turn on through movement lane #14945

Open lola-notraffic opened 2 months ago

lola-notraffic commented 2 months ago

Hello,

There are some cases of left turn vehicles that come to intersection and instead of joining existing queue at left turn, they enter through movement lane. They wait there until left turn light opens and then cross by entering the left turn lane by "jumping" into it.

I tried depart_lane="best" and still got these cases. Are there parameters that maybe changed to prevent these cases?

Example:

image

Thank you!

*SUMO-version:1.13.0*

*operating system:ubuntu 20.04*

namdre commented 2 months ago

you could prohibit lane changing ahead of the intersection using lane attributes changeLeft/changeRight. This would force vehicles to enter through the turn lane.

lola-notraffic commented 2 months ago

changeLeft/changeRight can be used via traci? It may slow down the simulation. Is there some external parameter in lane change parametrs that might help?: https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html Thank you!

namdre commented 2 months ago

changeLeft/changeRight should rather be applied to the network in advance of the simulation. You could set a lower value for lcSpeedGain for any offending vehicles though (traci.vehicle.setParameter(vehID, "laneChangeModel.lcSpeedGain", "0.5"))

lola-notraffic commented 2 months ago

thank you!. I will try

lola-notraffic commented 2 months ago

This still did not help. Tried a lot parameters from laneChangeModel. Changing this values did change the number of vehicles behaving in this manner, but I did not succeed to reach all the vehicles waiting in the appropriate lane for their route. Would appreciate if there are maybe some additional ideas. Thank you

lola-notraffic commented 2 months ago

Ok. Sorry for the mess. I found a way to make it work. I redefined connections in the intersection before (very small zipper intersection : from 3 lanes expend to 4 lanes). So the vehicles that have to turn left at the next intersection, will go through the "most left" lanes during its trip. This helped

namdre commented 2 months ago

can you post a screenshot of your solution?

lola-notraffic commented 2 months ago

Sure. I prepared 2 slides screenshots of what was before, what I tried, and what worked best: image image I hope it explains

lola-notraffic commented 2 months ago

The last proposed solution won't be the best in case high flow of vehicles that are going on through lanes. Then it preferably the through movement vehicles will occupy all three incoming lane before the zipper intersection. So in this case the second proposed should be better but it is also had an issue with a stuck vehicle (but not at the stop line)