Inverter battery electrode reaction formula