HOW DO YOU CALCULATE DC CURRENT FROM AN INVERTER