Machine Learning Forecasting of Direct Solar Radiation: A Multi-Model Evaluation with Trigonometric Cyclical Encoding
Latif Bukari Rashid, S.Z. Shuja, Shafiqur Rehman
King Fahd University of Petroleum and Minerals
Key points
From the paper's conclusion- The findings show that Deep Learning achieved the lowest root mean square error, as well as the highest coefficient of determination, while Artificial Neural Network demonstrated consistently high accuracy across the sites.
Abstract
As the world is shifting toward cleaner energy sources, accurate forecasting of solar radiation is critical for optimizing the performance and integration of solar energy systems. In this study, we explore eight machine learning models, namely, Random Forest Regressor, Linear Regression Model, Artificial Neural Network, k-Nearest Neighbors, Support Vector Regression, Gradient Boosting Regressor, Gaussian Process Regression, and Deep Learning, as to their use in forecasting direct solar radiation across six climatically diverse regions in the Kingdom of Saudi Arabia. The models were evaluated using eight statistical metrics along with time-series and absolute error analyses. A key contribution of this work is the introduction of Trigonometric Cyclical Encoding, which has significantly improved temporal representation learning. Comparative SHAP-based feature-importance analysis revealed that Trigonometric Cyclical Encoding enhanced the explanatory power of temporal features by 49.26% for monthly cycles and 53.30% for daily cycles. The findings show that Deep Learning achieved the lowest root mean square error, as well as the highest coefficient of determination, while Artificial Neural Network demonstrated consistently high accuracy across the sites. Support Vector Regression performed optimally but was less reliable in some regions. Error and time-series analyses reveal that Artificial Neural Network and Deep Learning maintained stable prediction accuracy throughout high solar radiation seasons, whereas Linear Regression, Random Forest Regressor, and k-Nearest Neighbors showed greater fluctuations. The proposed Trigonometric Cyclical Encoding technique further enhanced model performance by maintaining the overall fitness of the models, which ranged between 81.79% and 94.36% in all scenarios. This paper supports the effective planning of solar energy and integration in challenging climatic conditions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Solar-Irradiance Forecasting in Arid Climates: Benchmarking Machine-Learning Models and Probabilistic-Uncertainty Quantification Using Four Years of Riyadh DataSustainability · 2026
- Data-Driven Prediction of Daily Global Solar Radiation in an Extreme Desert Climate: A Case Study of KuwaitAtmosphere · 2026
- Physics-Aware Deep Learning Framework for Solar Irradiance Forecasting Using Fourier-Based Signal DecompositionAlgorithms · 2026
- Fairness-Controlled Metaheuristic Optimization of Random Forest for Solar Radiation Prediction Across Saudi Arabian Desert ClimatesAtmosphere · 2026
- Short-term and long-term solar irradiance forecasting with advanced machine learning techniques in Zafarana, EgyptScientific Reports · 2025
- Machine learning and deep learning based daily solar radiation forecasting for Fargo, North Dakota, USADiscover Applied Sciences · 2026