Heliyon (Apr 2024)

Machine learning forecasting of solar PV production using single and hybrid models over different time horizons

  • Shadrack T. Asiedu,
  • Frank K.A. Nyarko,
  • Samuel Boahen,
  • Francis B. Effah,
  • Benjamin A. Asaaga

Journal volume & issue
Vol. 10, no. 7
p. e28898

Abstract

Read online

This study uses operational data from a 180 kWp grid-connected solar PV system to train and compare the performance of single and hybrid machine learning models in predicting solar PV production a day-ahead, a week-ahead, two weeks ahead and one month-ahead. The study also analyses the trend in solar PV production and the effect of temperature on solar PV production. The performance of the models is evaluated using R2 score, mean absolute error and root mean square error. The findings revealed the best-performing model for the day ahead forecast to be Artificial Neural Network. Random Forest gave the best performance for the two-week and a month-ahead forecast, while a hybrid model composed of XGBoost and Random Forest gave the best performance for the week-ahead prediction. The study also observed a downward trend in solar PV production, with an average monthly decline of 244.37 kWh. Further, it was observed that an increase in the module temperature and ambient temperature beyond 47 °C and 25 °C resulted in a decline in solar PV production. The study shows that machine learning models perform differently under different time horizons. Therefore, selecting suitable machine learning models for solar PV forecasts for varying time horizons is extremely necessary.

Keywords