Algeria is advancing its energy transformation by developing photovoltaic systems across desert regions. However, these areas are marked by intense solar radiation and extreme temperatures, which reduce the efficiency of PV panels. This study aims to enhance the electrical performance of PV modules through a front-surface water cooling system, utilizing spray nozzles integrated into a tube positioned at the top of the panel and operated by a pump. The system was experimentally tested on two 390 W monocrystalline PV panels: the former was equipped with the cooling mechanism and the latter serving as a reference. The experiments were carried out under clear sky conditions in Ouargla, Algeria, using both continuous and smart cooling methods. Under peak solar radiation (979 W/m²) and an ambient temperature of 40.4 °C, the cooled panel achieved a maximum output of 350.5 W, compared to 272.1 W from the non-cooled panel, resulting in a maximum improvement efficiency of 28.82% when the surface temperature decreased from 58.6 °C to 36.7 °C because of cooling. Traditional cooling produced an average efficiency improvement of 15.4%, while smart cooling achieved 15.5% with 84% less water usage. The water spray helped prevent dust accumulation on the surface of the PV panel, serving a dual role of cooling and cleaning. The smart cooling system brings down the annual cost of power production to 0.06957 €/W, making it the most cost-effective option. In comparison, continuous cooling and without cooling result in slightly higher costs of 0.07120 €/W and 0.07135 €/W, respectively.