LTN - Logistic Train Network

by Optera

Adds logistic-train-stops acting as anchor points for building a fully automated, train logistic network. It can handle all possible train configuration. Just send all trains to depots and LTN will pick the best suitable train for a job. LTN cuts the amount of rolling stock required to run a megabase down to 30% or less. With cargo ships installed also adds a logistic port for ships.

Content
a day ago
0.14 - 2.0
271K
Trains Circuit network

g LTN Sending Trains to Fuel Stations on Other Planets

a month ago

I am not sure if I am doing something wrong or setting something up incorrectly but LTN is trying to send trains to refuel in fuel stations on other planets.

Fuel Station setting Enabled, Version 2.42

I have an LTN train network set up on Nauvis and on Fulgora and trains are soft locking getting soft locked on Nauvic by being directed to go to a fuel station on Fulgora. "Train unable to find path to destination".

Both Planets have fuel stat however, it only ever seems to happen to trains on Nauvic and not trains on Fulgora.

I tried putting the fuel station on both planets to different network ID's but that did not fix the problem. Fulgora Network ID 3, Nauvic Network ID 1.

The two Nauvic fuel stations are empty when I look after receiving the error. One station has a train limit of 2 and the other has a limit of 3. The Fulgora fuel station has a limit of 3.

How can I fix this issue or is it a bug?

a month ago

I forgot to add that it is not always assigning the wrong planets fuel station. Watching a train that needs fuel it seems to assign which fuel station to use at random. I have seen it select the wrong station (Ie the one on another planet) a few times in a row, requiring manually deleting the temporary scheduled task from the train, before the train is assigned a new fuel station (sometimes on the same planet the train is on, sometimes not.

4 days ago

are you using the same network id on the different planets by any chance?

I can double check to ensure that the trains stay on the same planet but that should work like this today. If you have a save, I can test some more.

2 days ago

So I set up a small Space Exploration scenario with a space elevator.

Refueling with interrupts is very tricky. While LTN will choose a refuel station for the interrupt that is on the same surface (actually reachable) when it updates the interrupt (which it does every time it enters the depot), there is no guarantee that the interrupt may trigger in a really inconvenient moment (e.g. when leaving the space elevator right before entering the requester) and that causes a "no path error" (interrupt points to the surface with the depot / provider and the train is on the other surface (requester) but the fuel station interrupt has not been updated.

What I found to work consistently well is to use dynamic refueling (turn "Enable fuel stations" ON and "Use interrupt for refueling" OFF) and have a refuel station on every surface that is reachable by the trains. The mod will schedule refueling right when leaving a station and it will be reachable from the current train position. And the train will navigate to that refueler before continuing with its schedule.

Generally speaking, the whole "switch between surfaces, have a schedule with stops on multiple surfaces" is a glorious hack and it does not work well with interrupts at all. Best to avoid them.

2 days ago

In your scenario (two distinct planets with the same network id), this should never happen at all. Before selecting a fuel station, the mod checks reachability and will never choose a fuel station that is not reachable for the train.

  • Do you use dynamic refueling ("Use interrupts for refueling" OFF) or interrupts?
  • Do your trains ever travel between the planets (there are a few mods that allow for that). If yes, does that mod support LTN ?
  • Network IDs are binary coded. Network ID "3" is actually "network id 2 + network id 1". If you really want to separate them, use network id "2", "4", "8" or so.

New response