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.58k stars 1.44k forks source link

Can not compute SSM due to bad internal lane geometry #14405

Open transport45678 opened 9 months ago

transport45678 commented 9 months ago

Hello, While I am running the simulation, taking a lots of warnings like: "Warning: Cannot compute SSM due to bad internal lane geometry at junction 'C1'. Crossing point between traffic from links 6 and 17 not found."

The attached figure of C1: image

Can you give advice solution steps for removing this warning to compute conflicts correctly? Thank you ,regards.

namdre commented 9 months ago

can you attach a (minimal) sample simulation to replicate the warning?

transport45678 commented 9 months ago

simulation files are added. ssm.zip

namdre commented 9 months ago

@m-kro for pairs of opposite left turns, we detect potential conflicts based on vehicle width (--internal-junctions.vehicle-width). Thus, we may get a foe/response relationship even though the center-lines of the connections don't intersect. The conflict point should be the point of closest approach between the two shapes but the SSM device doesn't handle this case yet.

transport45678 commented 9 months ago

Hello again @namdre, I don't know your work schedule and I would like to ask, is there any workaround to solve this problem or should I wait for the bug to be resolved? Another point is during the simulation relating some collision warnings if you would like to analyse. (using the default car following and lane-changing model,step length 1s) Warning: SSM device of vehicle '0_29.1' detected collision with vehicle '0_28.1' at time=365.00. Warning: SSM device of vehicle '0_14.9' detected collision with vehicle '0_13.0' at time=470.00. Warning: SSM device of vehicle '0_14.10' detected collision with vehicle '0_11.2' at time=475.00.