sumo icon indicating copy to clipboard operation
sumo copied to clipboard

Vehicles queuing up at tram crossing

Open MatteoFel opened this issue 1 year ago • 5 comments

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

MatteoFel avatar Jan 18 '24 08:01 MatteoFel

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

m-kro avatar Jan 18 '24 12:01 m-kro

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!

MatteoFel avatar Jan 18 '24 13:01 MatteoFel

@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.

m-kro avatar Jan 18 '24 14:01 m-kro

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 avatar Jan 18 '24 16:01 MatteoFel

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!

MatteoFel avatar Jan 18 '24 16:01 MatteoFel