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.37k stars 1.37k forks source link

Vehicles queuing up at tram crossing #14235

Open MatteoFel opened 5 months ago

MatteoFel commented 5 months ago

Hello,

I recently came across the following issue:

Screenshot 2024-01-18 at 09 15 33

There is no traffic signal at the junction where the cars queue up:

Screenshot 2024-01-18 at 09 19 41

Still, they stop because of the rail crossing (even if no tram is close by) and only move on after being teleported.

I figured out that setting parking="true" for public transport vehicles fixes this issue. I was wondering whether you know how this issue comes about?

Thanks a million!

Please find an example scenario with both (i.e. once with parking="true" and once without parking tag) public transport files. The junction id is cluster_3816877366_3816877367.

tram_crossing_issue.zip

SUMO-version: 1.19

operating system: MacOS

m-kro commented 5 months ago

This is a similar issue as #14230 questioning how OSM tag railway=tram_level_crossing should be interpreted.

MatteoFel commented 5 months ago

Thank you for your fast reply!

I agree that the two issues are related in a broader sense. For me the major difference is that the issue https://github.com/eclipse-sumo/sumo/issues/14230 is a netconvert issue, whereas here it is about how vehicles interact with rail_crossings.

Thank you for looking into this!

m-kro commented 5 months ago

@MatteoFel Is it necessary for you to leave out the internal links? I could reproduce the problem and see that it doesn't happen with internal links present.

MatteoFel commented 5 months ago

Oh, thank you, that's good to know.

Let me get back to you once I figured out the pros and cons of leaving out internal links.

MatteoFel commented 5 months ago

Since in our application we are aiming for speed, we would ideally leave internal links out since including them slows down the simulation. I guess in an ideal world, I would be hoping for a different hack to this issue ;)

Thanks again for your support!