Train stuck in refuel station after interrupt
- planetmaker
- Fast Inserter
- Posts: 188
- Joined: Mon Jan 21, 2019 9:30 am
- Contact:
Train stuck in refuel station after interrupt
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
Re: Train stuck in refuel station after interrupt
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:
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.
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:
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.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Re: Train stuck in refuel station after interrupt
Duplicate of 119916.