MODELING AND PERFORMANCE ANALYSIS OF A GRID CONNECTED PHOTOVOLTAIC