I've noticed a rounding problem. I've created a new map to test my new nuclear power plant setup. Is all OK, producing power but... I see strange rounding problem. On gauge I see 1.1 GW. On chart (if I hover mouse on line) I see 1.0 GW. Gigawatts are not small numbers that one lamp can ruin all calculations.
Setup is created with power interface what is consuming all produced energy, no any other power producing entity is on a map. As screen below, I run this map for 3 hours and nothing change. 100 MW "gone" in chart.
[Twinsen] [0.17.79] Rounding values in electricity tab (chart & gauge)
-
- Long Handed Inserter
- Posts: 94
- Joined: Tue Feb 27, 2018 6:06 pm
- Contact:
Re: [0.17.79] Rounding values in electricity tab (chart & gauge)
Are you using the pause feature of the map editor?
If you want to get ahold of me I'm almost always on Discord.
Re: [0.17.79] Rounding values in electricity tab (chart & gauge)
I had similar issue yesterday. Chart (on a left / usage side) was showing 1kW more than what the bars were showing, and 1kW more than it absolutely max possible (these were miners I think).
On the topic of rounding, 1.1GW is rather wide spread of possible values (10%, or if you don't know how they are rounded 20%). IMHO 1.10GW would be more useful. Once it crosses 10GW, go back to 0.1GW resolution, so 10.1GW.
On the topic of rounding, 1.1GW is rather wide spread of possible values (10%, or if you don't know how they are rounded 20%). IMHO 1.10GW would be more useful. Once it crosses 10GW, go back to 0.1GW resolution, so 10.1GW.
-
- Long Handed Inserter
- Posts: 94
- Joined: Tue Feb 27, 2018 6:06 pm
- Contact:
Re: [0.17.79] Rounding values in electricity tab (chart & gauge)
No, I doesn't pause feature on map editor.
Here is a savegame:
https://www.dropbox.com/s/qr479025nf4h3 ... W.zip?dl=0
You may notice not enough water in heat exchangers, it was done on purpose to check how amount of water is needed but this nothing can change.
Here is a savegame:
https://www.dropbox.com/s/qr479025nf4h3 ... W.zip?dl=0
You may notice not enough water in heat exchangers, it was done on purpose to check how amount of water is needed but this nothing can change.
Re: [0.17.79] Rounding values in electricity tab (chart & gauge)
It was related to the graph tooltip using floor and the label using round.
Now they both use round, both for electricity and items.
Fixed in Version: 0.18.0.
Thanks for the report and the save.
Now they both use round, both for electricity and items.
Fixed in Version: 0.18.0.
Thanks for the report and the save.