Fixed bug with total energy

parent 4fedb990
Pipeline #8439 passed with stage
in 5 minutes and 15 seconds