This reports a power usage of 11.105MW. By my reckoning, using the "underclock last machine" algorithm, the usage should be 10.091MW. That is, 8MW for the first 2 machines, and 4 * (0.6667 ^ 1.6) = 2.091MW for the third.
Seems like you refactored yourself a utility method for calculating building power consumption, at some point, but missed a spot of code that should be using it.
Call me crazy, but all the power consumption values seem to be wrong.
As an example.....
120/min Limestone => Concrete (2.6667x Constructor) => 40/min Concrete.
This reports a power usage of 11.105MW. By my reckoning, using the "underclock last machine" algorithm, the usage should be 10.091MW. That is, 8MW for the first 2 machines, and
4 * (0.6667 ^ 1.6) = 2.091
MW for the third.Looking at the code, it seems like you're just using the wrong formula for calculating power: https://github.com/greeny/SatisfactoryTools/blob/feb7d2d4046c32f7d90b00be66763157db34d8ed/src/Tools/Production/Result/MachineGroup.ts#L93
Whereas, elsewhere in the codebase, you're using the correct formula: https://github.com/greeny/SatisfactoryTools/blob/c1282105295d003bccc4b9d6c156eb7d2c3db7ce/src/Formula.ts#L21
Seems like you refactored yourself a utility method for calculating building power consumption, at some point, but missed a spot of code that should be using it.