Research Article

Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach

Volume: 8 Number: 3 September 11, 2025

Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach

Abstract

Solar energy forecasting plays a crucial role in renewable energy integration and grid stability management. This study presents a comprehensive comparative analysis of machine learning and deep learning models for solar energy production forecasting using meteorological data. The research evaluates eight distinct forecasting approaches, including Long Short-Term Memory (LSTM) networks, XGBoost, linear regression variants (Linear, Ridge, Lasso), and classical time series models (ARIMA, SARIMA, Prophet), on both daily and hourly solar energy datasets. The meteorological dataset incorporates temperature, relative humidity, precipitation, cloud cover, sunshine duration, shortwave radiation, wind speed, and wind direction variables collected from the Kartepe region over seven years (2014-2020). Advanced preprocessing techniques, including feature extraction, lagged variables, moving averages, and robust scaling, were implemented to enhance model performance. The experimental evaluation employed k-fold cross-validation with statistical significance testing and confidence interval analysis to ensure robust model comparison. Results demonstrate that LSTM networks achieve strong performance on hourly data with $R^2 = 0.9622$ and RMSE = 9.92 kWh, effectively capturing complex temporal dependencies. For daily forecasting, Ridge regression exhibits good performance with $R^2 = 0.9997$ and RMSE = 8.53 kWh, demonstrating effective generalization capabilities. XGBoost shows competitive performance on hourly data ($R^2 = 0.9541$, RMSE = 10.94 kWh) while maintaining computational efficiency. Classical time series models, including ARIMA and SARIMA, demonstrate limitations in capturing complex meteorological relationships, particularly in high-frequency datasets. The study reveals that meteorological variables significantly enhance forecasting accuracy compared to approaches relying solely on historical production values. The research provides practical insights for renewable energy system operators and contributes to solar energy forecasting methodologies through detailed performance comparisons across multiple temporal resolutions.

Keywords

Deep learning, LSTM, Machine learning, Meteorological forecasting, Renewable energy, Solar energy forecasting, Time series analysis, XGBoost

References

  1. [1] C. Voyant, G. Notton, S. Kalogirou, et al., Machine learning methods for solar radiation forecasting: A review, Renew. Energy, 105 (2017), 569-582. https://doi.org/10.1016/j.renene.2016.12.095
  2. [2] A. Nadeem, M. F. Hanif, M. S. Naveed, et al., AI-Driven precision in solar forecasting: Breakthroughs in machine learning and deep learning, AIMS Geosci., 10(4) (2024), 684-734. https://doi.org/10.3934/geosci.2024035
  3. [3] S. Cantillo-Luna, R. Moreno-Chuquen, D. Celeita, et al., Deep and Machine Learning Models to Forecast Photovoltaic Power Generation, Energies, 16(10) (2023), Article ID 4097. https://doi.org/10.3390/en16104097
  4. [4] Y. Li, Y. Su, L. Shu, An ARMAX model for forecasting the power output of a grid connected photovoltaic system, Renew. Energy, 66 (2014), 78-89. http://dx.doi.org/10.1016/j.renene.2013.11.067
  5. [5] G. E. Box, G. M. Jenkins, G. C. Reinsel, et al., Time Series Analysis: Forecasting and Control, John Wiley & Sons, 2015.
  6. [6] M. Bouzerdoum, A. Mellit, A. M. Pavan, A hybrid model (SARIMA–SVM) for short-term power forecasting of a small-scale grid-connected photovoltaic plant, Sol. Energy, 98(Part C) (2013), 226-235. http://dx.doi.org/10.1016/j.solener.2013.10.002
  7. [7] U. K. Das, K. S. Tey, M. Seyedmahmoudian, et al., Forecasting of photovoltaic power generation and model optimization: A review, Renew. Sustain. Energy Rev., 81(1) (2018), 912-928. https://doi.org/10.1016/j.rser.2017.08.017
  8. [8] T. Chen, C. Guestrin, XGBoost: A Scalable Tree Boosting System, Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, (2016), 785-794. https://doi.org/10.1145/2939672.2939785
  9. [9] U. Singh, S. Singh, S. Gupta, et al., Forecasting rooftop photovoltaic solar power using machine learning techniques, Energy Rep., 13 (2025), 3616-3630. http://dx.doi.org/10.1016/j.egyr.2025.03.005
  10. [10] C. Aksoy Tırmıkçı, C. Yavuz, C. Özkurt, et al., Machine learning-assisted evaluation of PVSOL software using a real-time rooftop PV system: A case study in Kocaeli, Turkey, with a focus on diffuse solar radiation, Int. J. Low- Carbon Technol., 20 (2025), 223-233. https://doi.org/10.1093/ijlct/ctae292
APA
Çarklı Yavuz, B., & Aksoy Tırmıkçı, C. (2025). Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach. Journal of Mathematical Sciences and Modelling, 8(3), 153-166. https://doi.org/10.33187/jmsm.1726677
AMA
1.Çarklı Yavuz B, Aksoy Tırmıkçı C. Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach. Journal of Mathematical Sciences and Modelling. 2025;8(3):153-166. doi:10.33187/jmsm.1726677
Chicago
Çarklı Yavuz, Burcu, and Ceyda Aksoy Tırmıkçı. 2025. “Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach”. Journal of Mathematical Sciences and Modelling 8 (3): 153-66. https://doi.org/10.33187/jmsm.1726677.
EndNote
Çarklı Yavuz B, Aksoy Tırmıkçı C (September 1, 2025) Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach. Journal of Mathematical Sciences and Modelling 8 3 153–166.
IEEE
[1]B. Çarklı Yavuz and C. Aksoy Tırmıkçı, “Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach”, Journal of Mathematical Sciences and Modelling, vol. 8, no. 3, pp. 153–166, Sept. 2025, doi: 10.33187/jmsm.1726677.
ISNAD
Çarklı Yavuz, Burcu - Aksoy Tırmıkçı, Ceyda. “Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach”. Journal of Mathematical Sciences and Modelling 8/3 (September 1, 2025): 153-166. https://doi.org/10.33187/jmsm.1726677.
JAMA
1.Çarklı Yavuz B, Aksoy Tırmıkçı C. Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach. Journal of Mathematical Sciences and Modelling. 2025;8:153–166.
MLA
Çarklı Yavuz, Burcu, and Ceyda Aksoy Tırmıkçı. “Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach”. Journal of Mathematical Sciences and Modelling, vol. 8, no. 3, Sept. 2025, pp. 153-66, doi:10.33187/jmsm.1726677.
Vancouver
1.Burcu Çarklı Yavuz, Ceyda Aksoy Tırmıkçı. Comparative Analysis of Machine Learning and Deep Learning Models for Solar Energy Forecasting: A Meteorological Data-Driven Approach. Journal of Mathematical Sciences and Modelling. 2025 Sep. 1;8(3):153-66. doi:10.33187/jmsm.1726677