OPTIMAL DESIGN OF STAND ALONE PHOTOVOLTAIC SYSTEM BASED ON BATTERY