Tmpe: Railway track blocks (junction restrictions)

Created on 4 Sep 2020  路  9Comments  路  Source: CitiesSkylinesMods/TMPE

blocking train

Describe your idea

I suggest creating a sub-module for railway tracks that allows sections of track to be "blocked" as in classic railway signalling where only one train can ever be on a section of line at a time.
Trains are typically two or three track segments long and will stop only one segment behind another train if there is a queue, this can often mean that the train can stop while straddling a junction. This in turn means that any trains coming the other way that need to cross at the junction cannot as they are blocked by the train.
If a train leaving a station or freight terminal is blocked in be a train straddling the junction, the next train cannot move into the station until this one has moved but it is blocked from moving, eventually causing the entire rail network to seize up!

The suggestion is to have a UI that allows the user to create an "absolute block" using a similar tool to the lane connector, where the start and of a block can be drawn on the railway track and the train will be stopped from entering that section until the previous train has completely exited the other end.

Such a tool would be useful at junctions to ensure that a train never enters the junction if it cannot completely clear the junction when it moves through. As a further enhancement it can be linked to railway signals.

Screenshots?


The attached image shows a train turning right and blocking the train coming from the left (trains running on left track)

Notes or questions?

feature triage

Most helpful comment

I found that the "node dissolver" in this mod Elektrix's Road Tools 2.93 achieves the same result, but it would be better if there was a mod that could group several segments together and mark them as one for routing purposes.
Maybe something that uses some of the code from the bi-directional tracks mod could do the trick.

All 9 comments

I thought about something like that and even more tools for train traffic management.
BTW, have you tried this mod: https://steamcommunity.com/sharedfiles/filedetails/?id=949504539?

Cool, I will try it.

Thanks

OK I tried the single tracks mod, but it still blocks at junctions, I have done a lot of work to minimise the locations where blocking can occur, but I still think that it would be a great enhancement if it was possible to mark sections of line for one train only at a time.

Maybe a tweak to the do not enter blocked junction feature.

Looks like I have found a workaround, stretch the nodes as only one train can enter a node at any one time so by having stretched nodes either side of a junction prevents the trains blocking each other
Long node
The long node is highlighted with the move it mod, and only one train (in each direction) can be on the node at any one time, this appears to work around the issue.
Will watch it for a few more days.

Cool workaround, @dolanbaker! I'll have to try that. (I assume you mean "stretch the segments", though?)

Yeah, move the node to make the segment at least one train's length, then it will not allow another train to cross the junction unless it can fit into the segment without overhanging the junction(points).

I found that the "node dissolver" in this mod Elektrix's Road Tools 2.93 achieves the same result, but it would be better if there was a mod that could group several segments together and mark them as one for routing purposes.
Maybe something that uses some of the code from the bi-directional tracks mod could do the trick.

Another approach to this could be making trains check several segments ahead until the combined length is sufficient. This would adapt better to different train lengths and require no setup by the player thus being more beginner-friendly and eliminating the need for additional UI components. However, it would probably be less realistic given that most rail traffic irl is still block based.

Anyways, I'd love to see either (or both) implemented!

Another approach to this could be making trains check several segments ahead until the combined length is sufficient. This would adapt better to different train lengths and require no setup by the player thus being more beginner-friendly and eliminating the need for additional UI components. However, it would probably be less realistic given that most rail traffic irl is still block based.

Anyways, I'd love to see either (or both) implemented!

Yes, I agree 100% active block would be a great solution for basic rail management, as you say absolute block would require manual setting up. Alternatively, a block can be between junctions (up to, say 20 segments), this would also work without user intervention.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kianzarrin picture kianzarrin  路  3Comments

blackeva8 picture blackeva8  路  5Comments

Ram419 picture Ram419  路  6Comments

aubergine10 picture aubergine10  路  6Comments

aubergine10 picture aubergine10  路  6Comments