New energy battery connected to inverter