Three-phase lithium battery inverter principle