How-to: Two-way rails (2024)

Preface

This guide aims to explain how to set up simple and reliable two-way rail systems, how to signal/schedule them to avoid deadlocks and some techniques to address throughput issues.

Hopefully this will cover the most common pitfalls but if I've missed something, or if something is unclear, please let me know and I'll try to include/fix that.

Step 0: But why?

The main motivation for using two-way rails is that they're cheap and super easy to build, especially before bots and blueprints. Compared to one-way dual-track systems you'll save about 50% on the rails an probably at least 75% on signals, not much in the grand scheme of things but noticeable during the initial setup.

The main drawback is, of course, throughput. A pretty basic one-way dual track system will likely support at least 10x the throughput of a two-way system, a well designed one will support even more. That said, a two-way rail system will get you really far, by the time you may start to need to upgrade to a serious dual-lane system you'll probably have a small army of construction bots at your disposal to do the upgrade anyway.

Step 1: Forget rail signals exist

As automatic trains can only pass signals if they're on their right, a two-way stretch of track needs either opposing signals or no signals. The example below shows two different two-way tracks.
How-to: Two-way rails (1)
If signals are only placed on one side the track becomes one-way. If signals are placed on both sides but not opposite to each other the track becomes a "no-way" track: it can't be used by automatic trains but still traversed manually.

Now that we have two-way track it's time to cover a simple signalling rule* that will remove almost all risk of deadlocks: The only signals you are allowed to place on two-way tracks are chain signals. Or in other words: Rail signals may only be placed on one-way track. The reason for these rules is to avoid deadlocks like this:
How-to: Two-way rails (2)
We also don't need rail signals at all to build basic systems, chain signals can cover all our needs, which is super amazing as we can skip one assembler. Chain signals even work fine for train stops:
How-to: Two-way rails (3)
This is actually all we need to make a really basic, but reliable, train system, so let's do that.
Example: The worst reliable system ever

The worst system

TADAAA!

That's basically it, just connect these station pieces to each other with track and you're done, no more signals needed. The only thing you have to be careful of is that you don't have more trains on a route than you have train stops: If you have a route between two train stops you can only have one train on that route. If you try to use two trains they would both be stuck at the stations waiting for the other to move.

The throughput will be absolutely abysmal, only one train can actually travel at a time as everything but the stations is the same block. The example shown can fit 3-car trains.

While this system is not really that useful we can use it as a base to build on.

Step 2: Partitioning

The simplest way to increase the throughput of our system is to use chain signals to partition it into different pieces. As we use chain signals we still avoid the earlier mentioned deadlocks but we can now allow trains that don't use the same pieces of track to run simultaneously.

The effectiveness of this varies heavily depending on how you've organized your train system, usually we're looking at at least 2x over all performance increase. Let's see how this could look in a system.
Example: A more reasonable train system
By applying partitioning to 3- and 4-way intersections and splits/merges we get a system that can look like so:

The more reasonable system

If you have a large knot of rails that you're not really sure how to signal just liberally apply paired chain signals until you feel satisfied. If you apply too many it won't hurt (within reason, if you cover all your rails in signals you might start to get some lag), if you miss some you'll only suffer a bit reduced performance.

The same scheduling restrictions as for the last system still apply, more stations than trains, which is kind of a bummer.

While this system is probably enough to pretty comfortably launch a rocket it does not really allow flexible scheduling, care to guess what we'll look at next? How-to: Two-way rails (4)

Step 3: More trains and flexibility

To increase the number of trains we can have on each route we need to add additional spaces where trains can park while not at a train stop, aka stackers or waiting bays. While it is possible to implement two-way stackers it requires a more signals, can cause deadlocks if done incorrectly, and has basically no gain. What we'll do instead is to use "regular" one-way stackers, that way we can ensure that there is always a path from -and to- each station.

You're now going to have to remember that rail signals exist as we'll need them to construct our stackers. The idea is to place a single rail signal at the start of each waiting bay, everything else is still chain signal only. As the stackers will be one-way we can use rail signals without worrying, we have to make sure that there is a separate path to and from each station.

Example: Stations with stackers
The stations below each station has room for 3 trains, one at the station, one waiting to leave the station, and one waiting to enter the station. This means that for a path between two stations we can now run 5 trains instead of only one as we have 6 places trains can be instead of two. Also note that we also only use two rail signals per station, one for each extra waiting bay. The small arrows highlight the rail signals while the big arrows indicate direction of travel.

Stacker stations

Building larger stackers for stations is probably not worth it until you move on to dual-lane systems, the throughput available on a two-way line is unlikely to support that kind of configuration. That brings us to our last concern: How do we increase the throughput of our system?

Step 4: More throughput

While there are techniques that can increase the throughput of two-way rails we will not look at them in this guide, they are an excellent source of deadlocks if implemented incorrectly. The more reasonable approach to increasing throughput on our system is to make busy parts of it dual-lane one-way track. Note that only small pieces of the system needs to be made dual-lane to greatly increase throughput.

The main limit on throughput is that only one train can use a particular path at one time, if a train from a far-away outpost wants to travel to the main base it will block all traffic to/from the main base for the entire journey there. The way to get around these kinds of long waits is to add some splits where trains can wait and meet while en-route.

Wait split

Just placing a few of these on busy parts of the system and close to intersections can greatly increase the throughput of the system.

There may still be parts where there is too much traffic to handle, usually close to the main base, those parts will simply have to be made dual-track.

Dual-track connector

When connecting two-way systems to one-way dual-track systems you should make sure that an entire train can fit between the connector and any kind of intersection/crossing on the dual-track system. We do this to ensure that no train gets stuck with its butt in the two-way part and so that it does not block an intersection while getting to the connector.

Further throughput improvements will be on the one-way dual-track system which is outside the scope of this guide, you'll have to look elsewhere for that.

Step "GOD DAMN IT!": Common pitfalls

Part of tracks are accidentally made one-way due to missing/stray signals.
How-to: Two-way rails (5)
Part of tracks are accidentally made "no-way" due to misaligned signals.
How-to: Two-way rails (6)
If it's still not working you may want to take a look at this good guide for general train troubleshooting.

Notes

That is pretty much it, if anything is unclear/can be improved please leave a reply and I'll try to explain/improve this guide.

Some good resources on trains
Train automation tutorial. It may look a bit old but it is, in my opinion, one of the best tutorials on trains out there.
All things deadlock is a great resource for in-depth information on different kinds of deadlocks.

Tools used to make this post
Text plates for text and arrows.
Screenshot camera for taking screenshots.
Creative Mode for ease of build.

Thank you for reading and have a great day!

*There are exceptions to this but, if you know how to safely apply them I doubt this guide will cover anything you don't already know.

How-to: Two-way rails (2024)

FAQs

Why is there a gap between two railway tracks? ›

A small gap is left between two subsequent rails while installing. The rails expand on account of thermal expansion due to increased temperature in summer. If no spacing is left, the rails can bend sideways due to expansion in summer, leading to train accidents.

How is the 3rd rail identified from the two main running rails? ›

The third rail is usually located outside the two running rails, but on some systems it is mounted between them. The electricity is transmitted to the train by means of a sliding shoe, which is held in contact with the rail.

Why are there two extra rails on railway bridges? ›

The guard rails are intended to keep derailed wheels close to and in line with the running rails, That's why they're separated from the running rail by somewhat more than the thickness of a wheel.

What is the distance between track rails? ›

The US Standard railroad gauge (distance between the rails) is 4 feet, 8.5 inches. That's an exceedingly odd number. Why was that gauge used? Because that's the way they built them in England, and the US railroads were built by English expatriates.

Why should gaps be left between two successive rails? ›

While laying the railway track a small gap is left between the two successive length of rails. The reason is that the rails expand in summer. The gap is provided to allow for this expansion. If no gap is left the expansion in summer will cause the rails to bend sideways.

What is the distance between two parallel rail tracks? ›

The minimum distance between two tracks is 3.50 m. This figure comes from the history of the railways. The previously defined half vehicle gauge was 1575 mm.

Can you touch the third rail? ›

The system is designed to deliver an electrical supply to move trains, but if you touch or fall on the conductor rail it your body will conduct the electricity to a level which is sufficient to give an electric shock that can kill you or give you severe burns.

Why don't rats get electrocuted by the third rail? ›

This is why birds do not die from landing on power lines, and subway rats do not get electrocuted even if they run across the third rail; they are not bridging the energized wire or rail to a grounded part of the structure.

What is the difference between 2 rail and 3 rail? ›

Since power systems weren't very sophisticated, the third rail helped larger trains run smoothly. Historically, 3-rail trains were mostly toys. They had unrealistically large couplers that some people nicknamed “lobster claws.” They could also make much tighter curves than 2-rail models.

What is it called when two trains pass each other? ›

If the trains are traveling in opposite directions, this is called a “meet" if they are traveling in the same direction, is is called a “pass".

What is the gap between train cars called? ›

The space between the chairs on a Passenger Train is called the Gangway. This page contains all the latest information, news, videos, images and articles on all aspects of Train Gangways.

Why do railroad tracks have gaps between the rails so that they will not buckle in hot weather? ›

As steel railroad tracks heat up, they grow: Eighteen hundred feet of rail expands by more than an inch for every 10 degrees Fahrenheit of temperature increase. So rails used to be laid down in sections — each between 30 and 60 feet long — with small gaps.

What is the inner distance between two rails? ›

Explanation: According to Indian Railways, the clear distance between the inner faces of two rails for the different type of gauges are: Broad gauge: 1.676 m. Narrow gauge: 0.762 m.

What rail gauge does the US use? ›

The US standard railroad gauge is 4 feet, 8.5 inches (Gauge means width between the two rails).

What is the gap between railway rails? ›

While laying the railway track, a small gap is left between the two successive lengths of rails. The purpose is that the rails grow in summer. The gap is fitted to enable this extension. If no gap is left, the expansion in summer will cause the rails to bend sideways.

Why are railroad tracks the distance apart? ›

Since the chariots were made for Imperial Rome, they were all alike in the matter of wheel spacing. Therefore, the United States standard railroad gauge of 4 feet, 8.5 inches is derived from the original specifications for an Imperial Roman war chariot.

Why do rails have gaps at specific distances? ›

However, these expansion and contraction can cause sagging and bending of railway tracks which could derail the trains that run on them. Thus, the rails are provided with gaps at specific distances so as to prevent this bending of rails and avoid derailing of trains.

What is the space between train tracks called? ›

The clear minimum vertical distance between the inner sides of the two tracks is known as the railway gauge i.e., the distance between two tracks on any railway route is called a railway gauge or track gauge.

Why there is a gap between railway lines and bridges? ›

Small gaps which function as expansion joints are deliberately left between the rail ends to allow for expansion of the rails in hot weather.

Top Articles
Bacon Wrapped Mozzarella Sticks Recipe {keto/low carb}
Easy Instant Pot Pasta Recipes
$4,500,000 - 645 Matanzas CT, Fort Myers Beach, FL, 33931, William Raveis Real Estate, Mortgage, and Insurance
Victory Road Radical Red
122242843 Routing Number BANK OF THE WEST CA - Wise
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Mustangps.instructure
Otr Cross Reference
The Weather Channel Facebook
De Leerling Watch Online
Hartland Liquidation Oconomowoc
Alejos Hut Henderson Tx
Kvta Ventura News
Char-Em Isd
Blackwolf Run Pro Shop
ARK: Survival Evolved Valguero Map Guide: Resource Locations, Bosses, & Dinos
3476405416
Cocaine Bear Showtimes Near Regal Opry Mills
Jeff Now Phone Number
Hewn New Bedford
Touchless Car Wash Schaumburg
PCM.daily - Discussion Forum: Classique du Grand Duché
Play Tetris Mind Bender
Netwerk van %naam%, analyse van %nb_relaties% relaties
Sessional Dates U Of T
Dtm Urban Dictionary
1636 Pokemon Fire Red U Squirrels Download
They Cloned Tyrone Showtimes Near Showbiz Cinemas - Kingwood
30+ useful Dutch apps for new expats in the Netherlands
Mobile crane from the Netherlands, used mobile crane for sale from the Netherlands
Myaci Benefits Albertsons
Ipcam Telegram Group
Mawal Gameroom Download
Obsidian Guard's Skullsplitter
Used 2 Seater Go Karts
123Moviestvme
Bus Dublin : guide complet, tarifs et infos pratiques en 2024 !
Moses Lake Rv Show
World History Kazwire
Sc Pick 4 Evening Archives
Cocorahs South Dakota
Greg Steube Height
Dineren en overnachten in Boutique Hotel The Church in Arnhem - Priya Loves Food & Travel
Online TikTok Voice Generator | Accurate & Realistic
Hsi Delphi Forum
Puss In Boots: The Last Wish Showtimes Near Valdosta Cinemas
Joe Bartosik Ms
Edict Of Force Poe
Uncle Pete's Wheeling Wv Menu
Jasgotgass2
Dumb Money Showtimes Near Regal Stonecrest At Piper Glen
Comenity/Banter
Latest Posts
Article information

Author: Clemencia Bogisich Ret

Last Updated:

Views: 5703

Rating: 5 / 5 (80 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Clemencia Bogisich Ret

Birthday: 2001-07-17

Address: Suite 794 53887 Geri Spring, West Cristentown, KY 54855

Phone: +5934435460663

Job: Central Hospitality Director

Hobby: Yoga, Electronics, Rafting, Lockpicking, Inline skating, Puzzles, scrapbook

Introduction: My name is Clemencia Bogisich Ret, I am a super, outstanding, graceful, friendly, vast, comfortable, agreeable person who loves writing and wants to share my knowledge and understanding with you.