Tutorials

Train networks

Tutorial Base game GroupTrains
From the game, not editable here

A train network brings the convenience of automated truck logistics to trains: it moves cargo between stations on its own based on supply and demand, with no schedule to maintain.

Networks and traditional train lines work together. A single station can even belong to both at the same time, using its separate Line rules and Network rules tabs.

Train networks

Create the network

  1. Open the Train lines & networks window, press + Network (1), and give the network a name.
  2. Add stations to the network. Tip: use Add station to this group (2) and drag a box to add several stations at once.

Stations in a network serve three roles:

  • Cargo stations: where trains load and unload cargo.
  • Fuel stations: where trains refuel between jobs. A train automatically drives to the nearest fuel station that matches its fuel type. It is usually better to build separate fuel stations than to add fuel to cargo stations, especially when trains use different fuels.
  • Waiting bays: parking spots for idle trains. Each bay holds one train, so build enough of them. Otherwise, idle trains may end up blocking your stations. Make every bay at least as long as the longest train on the network.

Train networks: Create the network

If a fuel station needs to be refilled by trains, add it as a cargo station too. Also make sure another station on the network can supply that fuel.

Assign trains

Build trains at a depot and assign each one to the network. This works exactly like assigning a train to a line.

A network train can carry only one type of product at a time so trains with mixed wagons are not supported.

Build enough trains to handle the demand across the whole network. Once the stations and trains are assigned, the network is ready to run.

How trains are dispatched

The network creates a job whenever one station asks for a product and another station can provide it. It then sends an idle train from the nearest waiting bay to do the work.

This is controlled for each product on the station's Network rules tab:

Train networks: How trains are dispatched

  • Unloading slider (1): the station requests deliveries until its stock reaches the slider level. By default the slider sits at full, so the station keeps asking until completely full. Lower it to request less. For example, 50% refills the station only up to half.
  • Loading slider (2): controls how strongly the station pushes its product out. By default it is passive, meaning the station gives cargo only when another station asks for it. Raise the slider to make the station actively send its surplus away.

Every station also works as a passive buffer. Even with default settings, a loading station will still give cargo to any station that actively asks for it, and an unloading station will still accept cargo that another station actively sends out. A job only needs one active side. The small line under a slider lights up when that station is actively driving a job.

  • Priority (3): if several stations could be served at once, trains go to the higher-priority stations first.
  • Train limit (4): caps how many trains may head to one station at once. This prevents traffic jams at small stations, but it also limits the station's throughput.

When a train is dispatched, the network reserves the cargo at the loading station and the free space at the unloading station. Reservations are shown via a small bar below the quantity bar (5). The network takes into account reservations when searching for jobs so that only trains that can be fully loaded and unloaded will be dispatched.

The network always tries to send the largest train it can fill completely. The one exception is when a station is maxed out (a loading station completely full, or an unloading station completely empty) and no smaller train is available to serve it. The network then sends a larger train, even though it travels only partly loaded. Without this, a maxed-out station may never be served.

Troubleshooting

Trains sit idle and take no jobs

If trains stay idle, the network cannot create a valid job. Check the following:

  • Make sure each cargo station is in the correct network. Select a station to see which lines and networks it belongs to.
  • Check that a full trip is possible. There must be enough cargo to load and enough free space to unload. If either side cannot handle a full load, the network will not create a job.
  • Check the sliders. One station should actively offer the cargo, and another should actively request it, for example with the slider at 100%.
  • When extra storages are used, make sure they are linked so their capacity counts, and that they are physically connected to the modules.

Trains are not always full

While the train network always tries to dispatch trains that are fully utilized, sometimes a station can hold only a few wagons of cargo, less than even the smallest train. The network then has no choice but to send a partly loaded train.

To fix this, add smaller trains so the network has one that fits, or use linked storages to increase the station's capacity. To reserve long trains for a few large stations, put those stations in a separate network. A station can belong to several networks at once.

Waiting bay placement

When waiting bays are far from where cargo is needed, trains respond slowly and waste fuel. Place bays close to busy production areas. On a busy network, trains often take a new job right after finishing one, without returning to a bay first.

The waiting bays also show how busy the network is. If no trains are ever waiting, add more trains. If the bays are always full, add more bays or remove some trains.

Storage never quite fills up

The network sends a train only when enough cargo is missing to fill it. If a station sits just below its requested level but the shortfall is smaller than a full train, the network waits until more is needed before dispatching one. A station can therefore hover slightly below full instead of staying topped up. This is normal and intended behavior.

If you want it closer to full, link more storage so the small shortfall becomes a tiny fraction of the buffer, or assign smaller trains so the network can top up smaller shortfalls.

If you truly need a train to always arrive and wait while it loads or unloads, use a traditional train line instead of a network. A line can schedule a stop without requiring the reservation to be made, so the train comes and waits while loading or unloading.

Notes

No notes yet. Sign in to add notes