OPTIMAL POWER FLOW CONTROL IN A STAND-ALONE PV SYSTEM WITH A BATTERY-ASSISTED QUASI-Z-SOURCE INVERTER