[sumo-user] Rail Signal Behaviour

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[sumo-user] Rail Signal Behaviour

Issa, Joshua

Hello,

 

I am wondering about how to modify rail signal behaviour. Currently, I am running a bi-directional rail simulation, but on occasion the rail signals will essentially shut down and not let any trains pass.

Specifically, in a junction like this, there will be occasion when two out of three lanes are occupied, but the third is not an option to travel to.

 

How would I modify this behaviour?

 

Thank you.

 


_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] Rail Signal Behaviour

Harald Schaefer-2

Hi Joshua,

can you provide a small example?

In the rail signal implementation is some logic to prevent collisions.

Regards, Harald

Am 28.07.20 um 22:01 schrieb Issa, Joshua:

Hello,

 

I am wondering about how to modify rail signal behaviour. Currently, I am running a bi-directional rail simulation, but on occasion the rail signals will essentially shut down and not let any trains pass.

Specifically, in a junction like this, there will be occasion when two out of three lanes are occupied, but the third is not an option to travel to.

 

How would I modify this behaviour?

 

Thank you.

 


_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] Rail Signal Behaviour

Harald Schaefer-2

Hi Joshua,

you can start sumo with the option --railsignal-block-output FILE.

This gives you a list showing the extend of driveways (the railroader would say routes) starting at this signal and their protection requirements (e.g. flank protection).

The signal goes to red, if other trains are on the required edges/lanes.

Here is an example for signal s22 from tests/sumo/rail/tramwayLoop/net.net.xml

    <railSignal id="s22">
        <link linkIndex="0" from="T25_0_0" to=":s22_0_0">
            <driveWay edges="T26_0 T44_0 T36_0 T37_0 Tdepot_0">
                <forward lanes=":s22_0_0 T26_0_0 :w4_1_0 T44_0_0 :w5_2_0 T36_0_0 :s29_1_0 T37_0_0 :w9_4_0 Tdepot_0_0"/>
                <bidi lanes="T44_1_0 :w5_1_0 T36_1_0 :s29_0_0 T37_1_0 :w9_3_0 Tdepot_1_0"/>
                <flank lanes=":w4_2_0 T41_0_0 :w9_1_0 :w5_0_0 T27_1_0 :s23_0_0 T28_1_0 :w9_0_0"/>
                <conflictLinks signals=""/>
            </driveWay>
            <driveWay edges="T26_0 T44_0 T27_0 T28_0">
                <forward lanes=":s22_0_0 T26_0_0 :w4_1_0 T44_0_0 :w5_3_0 T27_0_0"/>
                <bidi lanes="T44_1_0 :w5_0_0 T27_1_0 :s23_0_0 T28_1_0"/>
                <flank lanes=":w4_2_0 T41_0_0 :w5_1_0 T36_1_0 :s29_0_0"/>
                <conflictLinks signals="s29_0"/>
            </driveWay>
        </link>
    </railSignal>

Might be analyzing this file helps you to find the issue.

You can than try to add more signals or flank protection switches in your network.

Regards Harald

Am 28.07.20 um 22:26 schrieb Harald Schaefer:

Hi Joshua,

can you provide a small example?

In the rail signal implementation is some logic to prevent collisions.

Regards, Harald

Am 28.07.20 um 22:01 schrieb Issa, Joshua:

Hello,

 

I am wondering about how to modify rail signal behaviour. Currently, I am running a bi-directional rail simulation, but on occasion the rail signals will essentially shut down and not let any trains pass.

Specifically, in a junction like this, there will be occasion when two out of three lanes are occupied, but the third is not an option to travel to.

 

How would I modify this behaviour?

 

Thank you.

 


_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] Rail Signal Behaviour

Jakob Erdmann
There is also a known issue where bidirectional deadlock may occur under specific circumstances (https://github.com/eclipse/sumo/issues/7078). If you can provide a small error scenario I can take a look.

Am Mi., 29. Juli 2020 um 09:27 Uhr schrieb Harald Schaefer <[hidden email]>:

Hi Joshua,

you can start sumo with the option --railsignal-block-output FILE.

This gives you a list showing the extend of driveways (the railroader would say routes) starting at this signal and their protection requirements (e.g. flank protection).

The signal goes to red, if other trains are on the required edges/lanes.

Here is an example for signal s22 from tests/sumo/rail/tramwayLoop/net.net.xml

    <railSignal id="s22">
        <link linkIndex="0" from="T25_0_0" to=":s22_0_0">
            <driveWay edges="T26_0 T44_0 T36_0 T37_0 Tdepot_0">
                <forward lanes=":s22_0_0 T26_0_0 :w4_1_0 T44_0_0 :w5_2_0 T36_0_0 :s29_1_0 T37_0_0 :w9_4_0 Tdepot_0_0"/>
                <bidi lanes="T44_1_0 :w5_1_0 T36_1_0 :s29_0_0 T37_1_0 :w9_3_0 Tdepot_1_0"/>
                <flank lanes=":w4_2_0 T41_0_0 :w9_1_0 :w5_0_0 T27_1_0 :s23_0_0 T28_1_0 :w9_0_0"/>
                <conflictLinks signals=""/>
            </driveWay>
            <driveWay edges="T26_0 T44_0 T27_0 T28_0">
                <forward lanes=":s22_0_0 T26_0_0 :w4_1_0 T44_0_0 :w5_3_0 T27_0_0"/>
                <bidi lanes="T44_1_0 :w5_0_0 T27_1_0 :s23_0_0 T28_1_0"/>
                <flank lanes=":w4_2_0 T41_0_0 :w5_1_0 T36_1_0 :s29_0_0"/>
                <conflictLinks signals="s29_0"/>
            </driveWay>
        </link>
    </railSignal>

Might be analyzing this file helps you to find the issue.

You can than try to add more signals or flank protection switches in your network.

Regards Harald

Am 28.07.20 um 22:26 schrieb Harald Schaefer:

Hi Joshua,

can you provide a small example?

In the rail signal implementation is some logic to prevent collisions.

Regards, Harald

Am 28.07.20 um 22:01 schrieb Issa, Joshua:

Hello,

 

I am wondering about how to modify rail signal behaviour. Currently, I am running a bi-directional rail simulation, but on occasion the rail signals will essentially shut down and not let any trains pass.

Specifically, in a junction like this, there will be occasion when two out of three lanes are occupied, but the third is not an option to travel to.

 

How would I modify this behaviour?

 

Thank you.

 


_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user