[2.0.14] Train Interrupt skips a station

Things that has been reported already before.
Roaders
Inserter
Inserter
Posts: 33
Joined: Mon Jan 15, 2024 1:33 pm
Contact:

[2.0.14] Train Interrupt skips a station

Post by Roaders »

Hi

I have a train route that simply goes between a mining station and a smelting station. I have a train limit of 3 at the smelting station and if the mine is full I have full trains of ore waiting behind an empty train that is waiting to go to the mine (which is blocked by another train being filled).
pic
To fix this I created an interrupt:
pic
If "Destination full or no path" go to station "Holding Area"

The problem with this is that the train leaves the smelting station and holding area station is added after the mine. This means that the train does not stop at the holding area and goes straight from the holding area back to the smelting station with no ore.

IMHO this is a "skip" not an "interrupt" as a station in the sequence is skipped entirely and my trains end up on an infinite loop.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5336
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Train Interrupt skips a station

Post by Klonan »

Hello,

Can you provide the save game?
Roaders
Inserter
Inserter
Posts: 33
Joined: Mon Jan 15, 2024 1:33 pm
Contact:

Re: Train Interrupt skips a station

Post by Roaders »

save file added
Attachments
King Nine.zip
(11.45 MiB) Downloaded 17 times
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Train Interrupt skips a station

Post by robot256 »

Possibly related: 116454
supremecool
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu Sep 03, 2020 5:15 pm
Contact:

Re: Train Interrupt skips a station

Post by supremecool »

I encountered the same issue after coming up with pretty much the same train schedule as what you've shown:
factorio_MQ8Yn4aIub.png
factorio_MQ8Yn4aIub.png (249.67 KiB) Viewed 423 times
The problem in this case is that a train with empty cargo at the dropoff station will attempt to path to the pickup station. If the pickup station is full the interrupt triggers and takes it to the depot. But the interrupt station gets inserted after the pickup station in the schedule, so once the train leaves the depot it is now going to the dropoff with an empty cargo inventory!

You can fix this on a case by case basis by adding an extra station in the interrupt that takes it back to the pickup. However I'm not satisfied with this solution since currently all my trains use the same depot interrupt, so fixing it would require creating a new interrupt for every one of my train groups. An option in the interrupt setup which determines if the interrupt stops are inserted before or after the current stop would resolve this issue in a more general way.
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Train Interrupt skips a station

Post by robot256 »

Are you running the latest experimental version? The fix for 115988 might have changed this behavior.
supremecool
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu Sep 03, 2020 5:15 pm
Contact:

Re: Train Interrupt skips a station

Post by supremecool »

I wasn't playing on experimental before, but having switched over to it the issue does seem to be resolved :D
Post Reply

Return to “Duplicates”