DESIGN OF A PHOTOVOLTAIC SYSTEM CONNECTED TO THE GRID