A TOOL TO CALCULATE INVERTER SIZING