raiguard / Krastorio2

An overhaul mod for Factorio focusing on end-game technologies and moderately increased complexity.
https://mods.factorio.com/mod/Krastorio2
GNU Lesser General Public License v3.0
128 stars 49 forks source link

Energy Storage and Accumulator discharge at different rates, thereby giving different A signals #421

Closed Sarke closed 4 months ago

Sarke commented 6 months ago

Description

Hi, first off, loving Krastorio 2!

My issue is that energy storage and accumulator discharge at different rates, thereby giving different A signals. I noticed this after I switched using primarily energy storage, but my fusion plant fuel reloader circuit was still using an accumulator. In vanilla, all accumulators on the same grid will discharge at the same rate, so if one is 80% full then all the other ones are too. Not so with energy storage vs accumulators. This makes it so that the A signal from an accumulator and the A signal from an energy storage will show different levels of charge.

Shouldn't they be the same?

Reproduction

1 2 3

raiguard commented 4 months ago

They have different capacities, so will take different amounts of time to discharge. This is just how the electric network in the game functions - it pulls from all accumulators at the same rate regardless of their capacity.