Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Rail Signal Behaviour

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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
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