
No longer appears to show average use over time
MuteTiefling opened this issue ยท 0 comments
Bug Description
The block no longer appears to show average usage over time.
Expected Behavior
I set it to meter over 500 ms, for example, and I just don't see any value at all. Or it'll show a spike of usage, then go back to 0. The power use in this system is sporadic, like Industrial Foregoing machines that only draw power every couple seconds.
For example, laser drills draw 1000 FE every 3 seconds. I'd expect to be able to set the interval to 120 or so and see the average draw of 16.6 FE/t
Possible Solution
It seems like it's not properly caching the energy use over the period and/or not averaging that over the period
Reproduction
- Place Creative Power source
- Run that into the Energy Meter
- Run the power out to an Industrial Foregoing Laser Drill
- Set the Meter to input/output from the appropriate sides
- Set an interval of 120
Versions
energymeter-1.16.5-1.3.0