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.48k stars 1.4k forks source link

connections #15274

Closed zlh212 closed 1 month ago

zlh212 commented 1 month ago

image Whether there is a problem with such path connections, randomly generated vehicles seem to prefer to walk on both sides of the road

zlh212 commented 1 month ago

8ad98187ca8fc6e9dccc817fb20df91 a401b319f179d813b83b2d70ec7c7c6 9f488c973783ee0f156399d7ff74310 As you can see in the first two images, the source lane on the left can connect the two target lanes on the right. However, in the third picture, the second source lane on the left conflict with the right lane. Why is that? and is there a problem if I force them to connect?

namdre commented 1 month ago

Generally, you should avoid have two lanes of the same incoming edge target the same lane on the outgoing edge. This creates traffic flow conflict which rarely occur on a "real" intersections. It will also impede traffic flow in the simulation just as it would in the real world. It gets even worse if you have two connections with the same source and target edge cross each other.