Popis: |
This paper presents a comprehensive and comparative study of solar energy forecasting in Morocco, utilizing four machine learning algorithms: Extreme Gradient Boosting (XGBoost), Gradient Boosting Machine (GBM), recurrent neural networks (RNNs), and artificial neural networks (ANNs). The study is conducted using a smart metering device designed for a photovoltaic system at an industrial site in Benguerir, Morocco. The smart metering device collects energy usage data from a submeter and transmits it to the cloud via an ESP-32 card, enhancing monitoring, efficiency, and energy utilization. Our methodology includes an analysis of solar resources, considering factors such as location, temperature, and irradiance levels, with PVSYST simulation software version 7.2, employed to evaluate system performance under varying conditions. Additionally, a data logger is developed to monitor solar panel energy production, securely storing data in the cloud while accurately measuring key parameters and transmitting them using reliable communication protocols. An intuitive web interface is also created for data visualization and analysis. The research demonstrates a holistic approach to smart metering devices for photovoltaic systems, contributing to sustainable energy utilization, smart grid development, and environmental conservation in Morocco. The performance analysis indicates that ANNs are the most effective predictive model for solar energy forecasting in similar scenarios, demonstrating the lowest RMSE and MAE values, along with the highest R2 value. |