This guide describes simple method of how to disable train station while train is present, so all other trains will bypass that station while existing train is present.
I’ve been looking for a way to disable station when train is present to prevent congestion at my train refueling depot, while packing more trains closer together and preventing deadlocks. I have found multiple ways how to do this online, but they were all either complicated, or they wouldn’t/couldn’t work with pre-existing circuit network. This solution works standalone, and as a part of existing circuit network. Different circuit wire color is used to isolate one network from the other, and to isolate stations from eachother so only one specific station gets disabled.
Only requirement beside Railway is Circuit Network research.
How it works
This method uses the fact that stations are capable of reporting the train ID back to the circuit network.
Train ID’s are always greater than zero, so the circuit signal is always raised whenever train is stopped at a station.
Since the train is already standing still at the station, disabling the station does not affect it. While every other train with that station in its list, will automatically reroute to next available station whenever it encounters disabled station in its stop queue.
We can use all this to avoid waiting lines just about anywhere, where multiple trains tend to come together and create temporary congestion, and slowing things down.
Getting it together
We will use two signals:
– station input signal, and also decider output signal
– station output signal, and decider input signal
You may chose any signals you wish, these are the two signals i am not likely to use on my dedicated train circuit network.
- Place Decider Combinator near the station.
- Connect both input and output terminals of the combinator to the station.
- In station menu, make sure that Enable/Disable, and Read stopped train are both checked.
- Set enabled condition to < 1, then set output signal to
- In the connected decider combinator, set parameters to > 0, then set output to and select the 1 radio button.
Whenever train stops at a station, will be set to the train’s id, the decider will pick it up, and set to 1, which in turn, will disable the station, the second the train leaves, the train ID signal ceases to be read by the station, that resets the decider output to 0, and re-enables the station.
Ready made blueprint from the example image:
Written by: Dingo