Page 1 of 1
Train stuck in refuel station after interrupt
Posted: Mon Nov 04, 2024 6:53 am
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.
Re: Train stuck in refuel station after interrupt
Posted: Wed Nov 06, 2024 1:40 am
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](./download/file.php?id=89591)
- Screenshot 2024-11-05 203231.png (36.34 KiB) Viewed 305 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](./download/file.php?id=89592)
- Screenshot 2024-11-05 203240.png (33.01 KiB) Viewed 305 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.
Re: Train stuck in refuel station after interrupt
Posted: Wed Nov 06, 2024 11:14 am
by Genhis