The regenerative energy converted in the braking resistor and in the brake coil is added to the total energy.