HOW DOES THE INVERTER ENERGY CALCULATOR WORK