Train stuck in refuel station after interrupt

Things that has been reported already before.
User avatar
planetmaker
Fast Inserter
Fast Inserter
Posts: 188
Joined: Mon Jan 21, 2019 9:30 am
Contact:

Train stuck in refuel station after interrupt

Post by planetmaker »

The oil train in the attached savegame has two order stations (drop and pickup) and one interrupt station for refuel. It seems frequently to stay stuck in the refuel station, completely fueled, waiting for something unknown.
Attachments
SpaceAgeOne-2.zip
(27.67 MiB) Downloaded 17 times
robot256
Smart Inserter
Smart Inserter
Posts: 1062
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Train stuck in refuel station after interrupt

Post by robot256 »

In the attached save file, the oil train is sitting at the refueling station in automatic mode, where it was sent by the temporary stop at the end of the schedule. However, the temporary stop is not active and has not been deleted, and instead the first stop (Loading) appears to be active but the train is not departing for it. Instead, the refueling inserters are still able to interact with the train. The schedule looks like this:
Screenshot 2024-11-05 203231.png
Screenshot 2024-11-05 203231.png (36.34 KiB) Viewed 292 times
Note that there is no wait condition in the interrupt temporary stop, and it is set to interrupt other interrupts. The interrupt looks like this:
Screenshot 2024-11-05 203240.png
Screenshot 2024-11-05 203240.png (33.01 KiB) Viewed 292 times
Clicking the active "Stop" button next to the Loading schedule entry causes the train to actually depart for that station, as though you had click the Play button to put it in automatic mode.

Adding a wait condition to the interrupt refueling stop, such as "Inactivity 5s", resolves the problem entirely. It's clear that without a wait condition, the refueling interrupt would continuously attempt to depart the fueling station, re-trigger the interrupt, and remain in place long enough for the inserters to add fuel. But somehow the rapid schedule changes led to that one train getting stuck in a weird state somehow.
Genhis
Factorio Staff
Factorio Staff
Posts: 742
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: Train stuck in refuel station after interrupt

Post by Genhis »

Duplicate of 119916.
Post Reply

Return to “Duplicates”