Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Timing incorrect driving through an intersection modeled by multiple junctions

Hello,
It is strongly recommended to join complex junction clusters if they form a single junction in reality.
When using a recent OSM export, junction taraval/sunset is joined cleanly by option --junctions.join whereas  juda/sunset is not.
The reason for that is a data error in OSM: Judah Street is wrongly coded as going both ways on the same side of the tracks (which creates superfluous parallel edges).
- manual removal of some edges is needed
- manual joining is needed as well (you can select multiple junctions in netedit by holding shift and dragging the mouse. It is recommended to toggle Alt+9 so that only junctions within the rectangle are added instead of junctions for all edges within the rectangle).

regards,
Jakob

Am Di., 12. Aug. 2025 um 19:19 Uhr schrieb Dale Wong via sumo-user <sumo-user@xxxxxxxxxxx>:
I am trying to simulate traffic light signal coordination along Sunset Boulevard in San Francisco.  I am using the network from the Open Street Map model of San Francisco.  Two of the intersections (at Taraval, and at Judah) have complicated signaling due to public transit crossing there, and these two intersections were modeled by OSM with multiple junctions and traffic lights, connected serially.

The problem is that SUMO, using the Traci interface to Python, seems to only pass one junction per simulation step.  This adds spurious simulated delays through the intersection.

Is there some SUMO option or workaround so that the simulator passes through these multiple junctions based on distance and speed alone, unaffected by the fact that there are multiple connected junctions, so that the simulation timing is correct?

I have already tried rerunning netconvert with junctions.join, junctions.join-dist, tls.join, tls.join-dist; but the network appears the same to me in netedit.

I have already tried to manually merge the junctions in netedit, but the complexity of the intersection is bewildering.

I am using version 1.21.0.

Attached are screenshots of the two intersections in netedit.

Also attached is my route file, showing the edge ID's along Sunset Blvd.  
For the Judah intersection, the edges connecting the multiple junctions are "103755327#2 103755327#3 103755327#4 286265339#0 286265339#1 898469737#0"

For the Taraval intersection, the edges connecting the multiple junctions are "1356675867#0 1356675867#1 286183148#0 286183148#1"

Thank you!
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top