fixed bug with energy_total

parent d20ec712
Pipeline #7810 passed with stage
in 12 minutes and 26 seconds