Forecasting solar energy production: A comparative study of machine learning algorithms

The use of solar energy has been rapidly expanding as a clean and renewable energy source, with the installation of photovoltaic panels on homes, businesses, and large-scale solar farms. The increasing demand for sustainable energy sources has pushed the growth of the solar industry, as well as adva...

Full description

Bibliographic Details
Main Authors: Younes Ledmaoui, Adila El Maghraoui, Mohamed El Aroussi, Rachid Saadane, Ahmed Chebak, Abdellah Chehri
Format: Article
Language:English
Published: Elsevier 2023-11-01
Series:Energy Reports
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2352484723011228
_version_ 1797378657959804928
author Younes Ledmaoui
Adila El Maghraoui
Mohamed El Aroussi
Rachid Saadane
Ahmed Chebak
Abdellah Chehri
author_facet Younes Ledmaoui
Adila El Maghraoui
Mohamed El Aroussi
Rachid Saadane
Ahmed Chebak
Abdellah Chehri
author_sort Younes Ledmaoui
collection DOAJ
description The use of solar energy has been rapidly expanding as a clean and renewable energy source, with the installation of photovoltaic panels on homes, businesses, and large-scale solar farms. The increasing demand for sustainable energy sources has pushed the growth of the solar industry, as well as advancements in technology, making solar panels more efficient and cost-effective. The implementation of solar energy not only reduces our reliance on non-renewable fossil fuels but also helps to mitigate the effects of climate change by reducing carbon emissions. This paper presents a complete and comparative study of solar energy production forecasting in Morocco using six machine learning (ML) algorithms : Support Vector Regression (SVR), Artificial Neural Network (ANN), Decision Tree (DT), Random Forest (RF), Generalized Additive Model (GAM) and Extreme Gradient Boosting (XGBOOST), based on Solar Power Plant daily data installed in Benguerir city of Morocco between January and December 2022. The models were trained, tested, and then evaluated. In order to assess the models performance four metrics were used in this study, namely root mean squared error (RMSE), mean absolute error (MAE), mean absolute scaled error (MASE)and R-squared (R2). The performance of the models reveals ANN to be the most effective predictive model for energy forecasting in similar cases with the lowest value of RMSE, MSAE and the highest value of R-squared, which are accepted as one of the most important performance criteria by the ANN model. The findings of this study not only validate the effectiveness of the ANN algorithm but also offer the appropriate parameters for achieving the best results in predicting solar energy production. By identifying the optimal configuration of the ANN algorithm, we provide valuable insights that can be directly applied in real-world applications, thereby enhancing the optimization of solar energy systems and contributing to a sustainable future, particularly the integration of these results in an edge device for the predictive maintenance of photovoltaic power plants.
first_indexed 2024-03-08T20:10:51Z
format Article
id doaj.art-21bcb2787f904885b45e644a8838fa7b
institution Directory Open Access Journal
issn 2352-4847
language English
last_indexed 2024-03-08T20:10:51Z
publishDate 2023-11-01
publisher Elsevier
record_format Article
series Energy Reports
spelling doaj.art-21bcb2787f904885b45e644a8838fa7b2023-12-23T05:21:15ZengElsevierEnergy Reports2352-48472023-11-011010041012Forecasting solar energy production: A comparative study of machine learning algorithmsYounes Ledmaoui0Adila El Maghraoui1Mohamed El Aroussi2Rachid Saadane3Ahmed Chebak4Abdellah Chehri5Laboratory Engineering system-SIRC-(LaGeS), Hassania School of Public Works (EHTP), Casablanca, 8108, Morocco; Corresponding author.Green Tech Institute (GTI), Mohammed VI Polytechnic University (UM6P), Benguerir, 43150, MoroccoLaboratory Engineering system-SIRC-(LaGeS), Hassania School of Public Works (EHTP), Casablanca, 8108, MoroccoLaboratory Engineering system-SIRC-(LaGeS), Hassania School of Public Works (EHTP), Casablanca, 8108, MoroccoGreen Tech Institute (GTI), Mohammed VI Polytechnic University (UM6P), Benguerir, 43150, MoroccoDepartment of Mathematics and Computer Science, Royal Military College of Canada, Kingston, ON K7K 7B4, CanadaThe use of solar energy has been rapidly expanding as a clean and renewable energy source, with the installation of photovoltaic panels on homes, businesses, and large-scale solar farms. The increasing demand for sustainable energy sources has pushed the growth of the solar industry, as well as advancements in technology, making solar panels more efficient and cost-effective. The implementation of solar energy not only reduces our reliance on non-renewable fossil fuels but also helps to mitigate the effects of climate change by reducing carbon emissions. This paper presents a complete and comparative study of solar energy production forecasting in Morocco using six machine learning (ML) algorithms : Support Vector Regression (SVR), Artificial Neural Network (ANN), Decision Tree (DT), Random Forest (RF), Generalized Additive Model (GAM) and Extreme Gradient Boosting (XGBOOST), based on Solar Power Plant daily data installed in Benguerir city of Morocco between January and December 2022. The models were trained, tested, and then evaluated. In order to assess the models performance four metrics were used in this study, namely root mean squared error (RMSE), mean absolute error (MAE), mean absolute scaled error (MASE)and R-squared (R2). The performance of the models reveals ANN to be the most effective predictive model for energy forecasting in similar cases with the lowest value of RMSE, MSAE and the highest value of R-squared, which are accepted as one of the most important performance criteria by the ANN model. The findings of this study not only validate the effectiveness of the ANN algorithm but also offer the appropriate parameters for achieving the best results in predicting solar energy production. By identifying the optimal configuration of the ANN algorithm, we provide valuable insights that can be directly applied in real-world applications, thereby enhancing the optimization of solar energy systems and contributing to a sustainable future, particularly the integration of these results in an edge device for the predictive maintenance of photovoltaic power plants.http://www.sciencedirect.com/science/article/pii/S2352484723011228Solar energyMachine learningEnergy forecastingEnergy production
spellingShingle Younes Ledmaoui
Adila El Maghraoui
Mohamed El Aroussi
Rachid Saadane
Ahmed Chebak
Abdellah Chehri
Forecasting solar energy production: A comparative study of machine learning algorithms
Energy Reports
Solar energy
Machine learning
Energy forecasting
Energy production
title Forecasting solar energy production: A comparative study of machine learning algorithms
title_full Forecasting solar energy production: A comparative study of machine learning algorithms
title_fullStr Forecasting solar energy production: A comparative study of machine learning algorithms
title_full_unstemmed Forecasting solar energy production: A comparative study of machine learning algorithms
title_short Forecasting solar energy production: A comparative study of machine learning algorithms
title_sort forecasting solar energy production a comparative study of machine learning algorithms
topic Solar energy
Machine learning
Energy forecasting
Energy production
url http://www.sciencedirect.com/science/article/pii/S2352484723011228
work_keys_str_mv AT younesledmaoui forecastingsolarenergyproductionacomparativestudyofmachinelearningalgorithms
AT adilaelmaghraoui forecastingsolarenergyproductionacomparativestudyofmachinelearningalgorithms
AT mohamedelaroussi forecastingsolarenergyproductionacomparativestudyofmachinelearningalgorithms
AT rachidsaadane forecastingsolarenergyproductionacomparativestudyofmachinelearningalgorithms
AT ahmedchebak forecastingsolarenergyproductionacomparativestudyofmachinelearningalgorithms
AT abdellahchehri forecastingsolarenergyproductionacomparativestudyofmachinelearningalgorithms