Study of degradation of a grid connected photovoltaic system