[boskid][2.0.15] Accumulators in statistics show more charge that they can have

This subforum contains all the issues which we already resolved.
Brambor
Fast Inserter
Fast Inserter
Posts: 203
Joined: Thu May 07, 2015 1:52 pm
Contact:

[boskid][2.0.15] Accumulators in statistics show more charge that they can have

Post by Brambor »

11-08-2024, 12-52-46.png
11-08-2024, 12-52-46.png (260.73 KiB) Viewed 1122 times
The charge cycles 75 MJ; 75.1 MJ; 75.2 MJ; repeat;
All accumulators are full, they are not used.

I assume there is a bug with the integration. I think more steps are counted than should be. It probably counts steps for 10min; 10min 1sec; 10min 2 sec; repeat. Then divide by 10 minutes so you get more than max charge.

See these equations supporting my theory:
1. 600 s * 75 MJ / 600 s = 75 MJ
2. 601 s * 75 MJ / 600 s = 75.125 MJ
3. 602 s * 75 MJ / 600 s = 75.25 MJ

Reproduction:
1. Place 15 accumulators
11-08-2024, 13-05-58.png
11-08-2024, 13-05-58.png (483.64 KiB) Viewed 1116 times
2. fully charge them
3. wait 10 minutes
4. look at the 10min power graph of those accumulators.
5. Observe: charge cycles 75 MJ, 75.1 MJ, 75.2 MJ every 3 seconds. You would expect it to stay the same.
11-08-2024, 13-18-40.png
11-08-2024, 13-18-40.png (85.68 KiB) Viewed 1103 times

It also cycles on the 1 min graph, but faster, it takes less than a second to cycle:
11-08-2024, 13-08-33.png
11-08-2024, 13-08-33.png (87.3 KiB) Viewed 1116 times
User avatar
Lou
Factorio Staff
Factorio Staff
Posts: 200
Joined: Mon Nov 30, 2020 10:50 am
Contact:

Re: [2.0.15] Accumulators in statistics show more charge that they can have

Post by Lou »

(just a video of described behavior)
factorio-run_g9lw3Dg2ry.mp4
(100.19 KiB) Downloaded 28 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3438
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.0.15] Accumulators in statistics show more charge that they can have

Post by boskid »

Ok, it looks like this was caused by the statistics taking into account a next sample that is being constructed. With some tiny changes i hope this gui should behave better in 2.0.25.
Post Reply

Return to “Resolved Problems and Bugs”