Page 1 of 1

[2.0.14][modded] Loaders show incorrect max power consumption

Posted: Mon Nov 04, 2024 2:35 pm
by targetsan
TL;DR: loaders, when outfitted with electric energy source, show max power consumption like they transfer 2 items per tick

Steps to reproduce:
  • Install mods AAI Loaders and AAI Loaders: Electric Powered. They're not strictly mandatory, just give the simplest access to electric loaders.
  • Use editor to create setup where yellow loader fetches any item from one infinity chest and another loader feeds those items into another infinity chest which destroys all items, whole setup is powered with infinite accumulator
  • Observe that yellow loader tooltip shows "Max power consumption 722kW"
  • Observe that power graph for this electric subnetwork shows saw-like power graph and average ~184kW total consumption, for two loaders
Behavior is the same for both plain 2.0 and Space Age

If you check same scenario for 1.1.110 (listed mods exist there too), yellow loader will show correct power consumption 92kW. Probable root cause - loader in 2.0 shows its max consumption like it would transfer 2 items (one per lane) each tick.

Re: [boskid] [2.0.14][modded] Loaders show incorrect max power consumption

Posted: Tue Nov 12, 2024 12:25 am
by boskid
Thanks for the report however i am not considering this to be a bug. This is strictly related to 118529.

Max consumption value is based on the max consumption per tick and since a loader that on average would transfer 1.5 items needs to at some ticks consume energy as for 2 items transfered, the value shown must be slightly increased. I am not willing to tamper with this as the other topic could be broken again.