Solar power supply converted to inverter