Train interrupts triggering incorrectly

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Xmat
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Apr 14, 2016 3:55 pm
Contact:

Train interrupts triggering incorrectly

Post by Xmat »

Hi,
I’ve already spent many hours trying to solve my problem without any results, so I’ve decided to turn to you for help, as I honestly have no idea what else to do. Thanks a lot in advance for any help — I really appreciate it.

In my factory, I use automatic trains that park at a station called “Parking,” in front of which there is a large waiting yard. For each raw material that a given type of train handles, there is a dedicated interrupt. As soon as a train arrives at the “Parking” station, the interrupt may be triggered (see screenshot) with the following conditions:
- the train is at the “Parking” station
- an iron mine is free

Whether an iron mine is free is determined by disabling the mine’s station if it is occupied (see screenshot).

The train’s journey then looks like this:
- arrives at the iron mine station
  ---- waits to be loaded

- arrives at the iron unloading station
  ---- waits to be unloaded

Here, the interrupt ends, and the train returns to its default “Parking” station. If I have only one parking station, everything works perfectly fine. However, if I build more parking stations (which I now need, given the size of my factory — one parking station can only dispatch a limited number of trains due to the capacity of a single track), a problem occurs.

If I have multiple parking stations, the interrupt triggered by the free spot in the mine is activated multiple times, at the exact same moment, for each individual parking station. As a result, several trains depart at once for the same single free spot in the mine, causing congestion in the tracks near the mine.

I don’t think this is a bug, because such a major bug would most likely have been fixed long ago, so I feel like I’m simply doing something wrong or just not fully understanding how something works.

Am I just missing something or is my setup just incorrect at its foundations? I am not against completely redesigning the system if it enables me to have multiple parking stations.

Thanks a lot!
Snímek obrazovky 2025-08-11 215312.png
Snímek obrazovky 2025-08-11 215312.png (74.5 KiB) Viewed 229 times
Snímek obrazovky 2025-08-11 213747.png
Snímek obrazovky 2025-08-11 213747.png (738.06 KiB) Viewed 229 times
Snímek obrazovky 2025-08-11 215951.png
Snímek obrazovky 2025-08-11 215951.png (89.88 KiB) Viewed 221 times
Loewchen
Global Moderator
Global Moderator
Posts: 10313
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Train interrupts triggering incorrectly

Post by Loewchen »

Xmat wrote: Mon Aug 11, 2025 7:54 pm If I have multiple parking stations, the interrupt triggered by the free spot in the mine is activated multiple times, at the exact same moment, for each individual parking station.
You should instead use station limits than disabling them, as the limit counts trains on the way so you won't have more trains targeting the station than you want.
Xmat
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Apr 14, 2016 3:55 pm
Contact:

Re: Train interrupts triggering incorrectly

Post by Xmat »

Oh, I've read somewhere in a train tutorial that when using train limits, it triggers the interrupt passing the "station X is empty" and just leaves the train waiting for when it has available spot. I've took it as a true statement and didn't check it. I'll give it a try, thanks!
Shaylexios
Burner Inserter
Burner Inserter
Posts: 9
Joined: Wed May 10, 2017 1:14 am
Contact:

Re: Train interrupts triggering incorrectly

Post by Shaylexios »

Set a train limit on the mine station.
In the interrupts, also use the condition 'destination station is not full'
This means the interrupt will not trigger as the conditions are not met
Once the train leaves the mine it will allow another train to be dispatched as long as the other conditions remain true
Post Reply

Return to “Gameplay Help”