Comparative Analysis of Forecasting Models for Hourly Solar Irradiance in Southern Thailand

Main Article Content

Mojtaba Safari
Suttipan Aksornniem
Tanawat Srirugsa
Wiwat Su-hren
Supachai Kaewpoung

Abstract

Accurate forecasting of short-term solar irradiance is essential to optimize energy supply, improve grid stability, and increase the economic viability of photovoltaic systems. This study compares several forecasting models for predicting hourly solar irradiance using real-world data from Southern Thailand. Eight models were evaluated, including six forecasting models (Prophet, LSTM, GRU, XGBoost, Random Forest, and SARIMA with walk-forward validation) and two benchmarks (Naive and Seasonal Naive), using RMSE, MAE, and MAPE metrics. The results demonstrate that ensemble-based machine learning models significantly outperformed traditional statistical and deep learning approaches. Specifically, XGBoost achieved the best performance with RMSE of 79.43 W/m2, MAE of 59.63 W/m2, and MAPE of 30.07%, followed closely by Random Forest with RMSE of 83.00 W/m2 and MAPE of 29.36%. Compared to the best benchmark model, XGBoost reduced RMSE by 50.3% and MAPE by 47.1%. The GRU model outperformed LSTM, demonstrating greater efficiency in capturing short-term temporal dependencies. The findings confirm that ensemble methods effectively capture complex temporal patterns and nonlinear meteorological dependencies, making them highly suitable for real-time solar forecasting applications in tropical climates.

Article Details

Section
Research Articles

References

Antonanzas, J.; Osorio, N.; Escobar, R.; Urraca, R.; Martinez-de-Pison, F. J.; Antonanzas-Torres, F. Review of photovoltaic power forecasting. Sol. Energy 2016, 136, 78–111. https://doi.org/10.1016/j.solener.2016.06.069

Armstrong, B.; Collopy, F. Error measures for generalizing about forecasting methods. Int. J. Forecast. 1992, 8 (1), 69–80. https://doi.org/10.1016/0169-2070(92)90008-W

Hussain, D.; Hossain, S.; Talukder, J.; Mia, A.; Shamsuzzaman, H. M. Solar energy integration into smart grids: Challenges and opportunities. Lett. High Energy Phys. 2024, 4, 2313–2324

Sammar, M. J.; Saeed, M. A.; Mohsin, S. M.; Akber, S. M.; Bukhsh, R.; Abazeed, M.; Ali, M. Illuminating the future: A comprehensive review of AI-based solar irradiance prediction models. IEEE Access 2024, 12, 114394–114415. https://doi.org/10.1109/ACCESS.2024.3402096

Teixeira, R.; Cerveira, A.; Pires, E. J. S.; Baptista, J. Advancing renewable energy forecasting: A comprehensive review of renewable energy forecasting methods. Energies 2024, 17(14), 3480. https://doi.org/10.3390/en17143480

Cho, K.; van Merriënboer, B.; Gulcehre, C.; Bahdanau, D.; Bougares, F.; Schwenk, H.; Bengio, Y. Learning phrase representations using RNN encoder–decoder for statistical machine translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP); Association for Computational Linguistics: Doha, Qatar, 2014; pp 1724–1734. https://doi.org/10.3115/v1/D14-1179

Crone, A.; Goel, S.; Billings, S. Forecasting with computational intelligence: An overview. In Computational Intelligence in Forecasting; Springer: Cham, Switzerland, 2020; pp 1–24.

Diagne, M.; David, M.; Lauret, P.; Boland, J.; Schmutz, N. Review of solar irradiance forecasting methods and a proposition for small-scale insular grids. Renew. Sustain. Energy Rev. 2013, 27, 65–76. https://doi.org/10.1016/j.rser.2013.06.042

Assaf, A. M.; Haron, H.; Abdull Hamed, H. N.; Ghaleb, F. A.; Qasem, S. N.; Albarrak, A. M. A review on neural network based models for short-term solar irradiance forecasting. Appl. Sci. 2023, 13(14), 8332. https://doi.org/10.3390/app13148332

Friedman, J. H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29(5), 1189–1232. https://doi.org/10.1214/aos/1013203451

Goodfellow, I.; Bengio, Y.; Courville, A. Deep Learning; MIT Press: Cambridge, MA, 2016.

Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735

Hyndman, R. J.; Athanasopoulos, G. Forecasting: Principles and Practice, 2nd ed.; OTexts: Melbourne, Australia, 2018.

International Energy Agency (IEA). Renewable Energy Market Update; IEA: Paris, France, 2023.

Kumari, P.; Toshniwal, D. Deep learning models for solar irradiance forecasting: A comprehensive review. J. Clean. Prod. 2021, 318, 128566. https://doi.org/10.1016/j.jclepro.2021.128566

Hossain, M. A.; Rahman, M. M.; Hasan, S. S.; Mahmud, A.; Bai, L. Analysis and forecasting of meteorological drought using PROPHET and SARIMA models deploying machine learning technique for southwestern region of Bangladesh. Environ. Sustain. Indic. 2025, 25, 100761. https://doi.org/10.1016/j.indic.2025.100761

Tsai, W. C.; Tu, C. S.; Hong, C. M.; Lin, W. M. A review of state-of-the-art and short-term forecasting models for solar PV power generation. Energies 2023, 16 (14), 5436. https://doi.org/10.3390/en16145436

Mellit, A.; Kalogirou, S. A. Artificial intelligence techniques for photovoltaic applications: A review. Prog. Energy Combust. Sci. 2008, 34 (5), 574–632. https://doi.org/10.1016/j.pecs.2008.01.001

Ministry of Energy, Department of Alternative Energy Development and Efficiency. Thailand Solar Energy Potential Report; Ministry of Energy: Bangkok, Thailand, 2022.

Baloch, M.; Honnurvali, M. S.; Kabbani, A.; Ahmed, T.; Chauhdary, S. T.; Saeed, M. S. Solar energy forecasting framework using Prophet-based machine learning model: An opportunity to explore solar energy potential in Muscat, Oman. Energies 2025, 18(1), 205. https://doi.org/10.3390/en18010205

Reikard, G. Predicting solar radiation at high resolutions: A comparison of time series forecasts. Sol. Energy 2009, 83(3), 342–349. https://doi.org/10.1016/j.solener.2008.08.007

Raschka, S.; Liu, Y. H.; Mirjalili, V. Machine Learning with PyTorch and Scikit-Learn: Develop Machine Learning and Deep Learning Models with Python, 2nd ed.; Packt Publishing: Birmingham, U.K., 2022.

Obando, E. D.; Carvajal, S. X.; Agudelo, J. P. Solar radiation prediction using machine learning techniques: A review. IEEE Lat. Am. Trans. 2019, 17(4), 684–697. https://doi.org/10.1109/TLA.2019.8891934

Siami-Namini, H.; Tavakoli, N.; Namin, A. S. A comparison of ARIMA and LSTM in forecasting time series. In Proceedings of the 17th IEEE International Conference on Machine Learning and Applications (ICMLA 2018); IEEE: Orlando, FL, USA, 2018; pp 1394–1401. https://doi.org/10.1109/ICMLA.2018.00227

Chaves, R. R.; Oliveira, A. F.; Rubinger, R. M.; Silva, A. J. Recurrent neural networks (LSTM and GRU) in the prediction of current–voltage characteristics curves of polycrystalline solar cells. Electronics 2025, 14(17), 3342. https://doi.org/10.3390/electronics14173342

Voyant, C.; Notton, G.; Kalogirou, S.; Nivet, M. L.; Paoli, C.; Motte, F.; Fouilloy, A. Machine learning methods for solar radiation forecasting: A review. Renew. Energy 2017, 105, 569–582. https://doi.org/10.1016/j.renene.2016.12.095

Willmott, C. J.; Matsuura, K. Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance. Clim. Res. 2005, 30(1), 79–82. https://doi.org/10.3354/cr030079

Box, G. E. P.; Jenkins, G. M.; Reinsel, G. C.; Ljung, G. M. Time Series Analysis: Forecasting and Control, 5th ed.; John Wiley & Sons: Hoboken, NJ, 2015.

Safari, M.; Nakharutai, N.; Awiphan, S. Beyond traditional models: Predicting cryptocurrency prices with SARIMA, RNNs, and hybrid SARIMA–RNNs. J. Financ. Data Sci. 2025, 7(3). https://doi.org/10.3905/jfds.2025.1.193

Hyndman, R. J.; Athanasopoulos, G. Forecasting: Principles and Practice, 2nd ed.; OTexts: Melbourne, Australia, 2018.

Safari, M.; Nakharutai, N.; Chiawkhun, P.; Phetpradap, P. DEA-RNNs: An ensemble approach for portfolio selection in the Thailand stock market. In Proceedings of ECONVN2024; Ho Chi Minh City, Vietnam, January 9–11, 2024; Springer Nature: Singapore, 2025. https://doi.org/10.1007/978-3-031-59110-5_30

Taylor, S. J.; Letham, B. Forecasting at scale. Am. Stat. 2018, 72(1), 37–45. https://doi.org/10.1080/00031305.2017.1380080

Breiman, L. Random forests. Mach. Learn. 2001, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324

Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD '16); ACM: San Francisco, CA, USA, August 13–17, 2016; pp 785–794. https://doi.org/10.1145/2939672.2939785

Tantanasiriwong, R.; Tantanasiriwong, S. The solar radiation climate of Thailand. Sol. Energy 1976, 18(1), 43–49. https://doi.org/10.1016/0038-092X(76)90062-1

Wang, X.; Zhang, Y.; Tan, L. Solar radiation and daily light integral characteristics of photovoltaic-green roof system in tropical area: A case study in Singapore. Sol. Energy 2024, 274, 117–129. https://doi.org/10.1016/S0038-092X(24)00502-4

Tandon, A.; Awasthi, A.; Pattnayak, K. C.; Tandon, A.; Choudhury, T.; Kotecha, K. Machine learning-driven solar irradiance prediction: Advancing renewable energy in Rajasthan. Discover Appl. Sci. 2025, 7(2), 107. https://doi.org/10.1007/s42452-025-06490-8