How to calculate the DC side current of the energy storage inverter