Use Python Variable Input Inverter Battery