The aim of this research work is to study the influence of temperature, solar irradiation and wind dust on the production of solar energy. In addition, it aims to study the assessment of water quality, in particular groundwater used for cooling and cleaning photovoltaic panels (quality analysis). it's an important source, stable and sustainable can be used entirely for cooling and cleaning PV modules from the sales dust, in order to improve their performance. To date, all research studies carried out in this context of cooling and cleaning using water have not taken account of the nature of this water. We have taken a sample of water from a well in a rural area in the Darra Tafilalet region of Morocco. This region has an arid and semi-arid climate, with very high temperatures and dust-laden winds, particularly in summer. These meteorological characteristics influence the efficiency of cells, particularly photovoltaic (PV) panels, reducing their performance. Next, the water sample was analysed in the laboratory. The results obtained show that the groundwater in this area is very sensitive to cooling and cleaning photovoltaic panels. Moreover, these results indicate that the temperature, solar irradiation and wind-blown dust have a significant influence on energy production.