POWER INVERTER AND BATTERY LIFE CALCULATION