When i was trying to ups optimize a build i noticed some stack inserters (green set to 12 stack size) unloading a train not going to sleep, untill the end of the last wagon has passed the inserter.
(all observations and experiments were done with single headed trains)
Expected result:
i expected that the inserters would have gone to a sleeping state as soon as the train starts moveing, like in the case of the inserters loading a train.
Repeatability:
it seems to be a very repeatable.
all mods have been disabled and removed from the factorio mods directory.
to reproduce it in isolation i built a loop of track one load and one unload station, and the train was loaded and unloaded with infinite chests
the cargo wagons had a slot limit of 12 slots set. (so have the train load faster)
on the unloading station each wagon was unloaded by 6 stack inserters with the default stack limit of 12 .
on the loading station each wagon was loaded with fish by 6 stack inserters having a stack limit of 10.
(so there would be no inserters stuck holding a partial stack)
in the atachments i included the map on wich i recreated the observation
it was generated with the creative mode preset, the polution and cliffs have been turned off
the 2 commands that were run on the map were "/cheat"(twice) and "/editor"
Experiment results:
inserters being in a sleeping state while the train is ariving
Once the train started to move the stack inserters closest to the trailing end of the train have entered their sleeping state
As the train is departing the station more and more inserters switch to a sleeping state reducing the inerter entity time usage
This behavior was not observed in case of a train being loaded
all inserters go to sleep as soon as the train gets ready to move
the log has the username of the acount changed for anonymity.
[Rseding91] [1.1.104] inserters not switching to sleep state while train is departing
[Rseding91] [1.1.104] inserters not switching to sleep state while train is departing
- Attachments
-
- inserter performace issue recreation.zip
- (1.58 MiB) Downloaded 28 times
-
- factorio-current.log
- (5.72 KiB) Downloaded 41 times
Re: [Rseding91] [1.1.104] inserters not switching to sleep state while train is departing
Thanks for the report. This looks like a super super old artifact from when the game was in early development that was never changed. I don't want to risk changing it for 1.1 but I will change it for 2.0 and assuming no issues are found it will be fixed in the 2.0 release.
If you want to get ahold of me I'm almost always on Discord.