Skip to content
Caravel Press

Conference paper

Explainable GA-Optimized Random Forest for Station-Based Solar Irradiance Prediction

, , ,

1Environmental Technology Division, School of Industrial Technology, Universiti Sains Malaysia, 11800 Penang, Malaysia

2Department of Civil Engineering, Prince Mohammad Bin Fahd University, Al Khobar 31952, Saudi Arabia

Open accessCC BY 4.0Published 23 Nov 2026https://doi.org/10.65582/set.2026.017
Download PDF13 pages · 3.3 MB

Abstract

Solar irradiance (SI) prediction from ground-based meteorological observations supports photovoltaic resource assessment and local energy planning, but nonlinear and regime-dependent atmospheric responses complicate station-scale modelling in tropical semi-arid climates. This study evaluates a genetic-algorithm-optimized random forest (RF-GA) against an artificial neural network (ANN) using 4,637 normalized records from the Space Weather and Atmospheric Research Laboratory at Bayero University Kano, Nigeria. Average battery voltage (ABV), rainfall (RF), relative humidity (RH), wind speed (WS), wind direction (WD), and atmospheric pressure (ABP) were used as predictors, with SI as the response. Both models were evaluated on a commonly held-out test set using MSE, RMSE, MAE, R², and Pearson's r. RF-GA achieved lower test error and stronger agreement (RMSE = 0.1325, MAE = 0.0913, R² = 0.7492, r = 0.8656) than ANN (RMSE = 0.1698, MAE = 0.1271, R² = 0.5880, r = 0.7718), corresponding to reductions of 22.0% in RMSE and 28.2% in MAE. SHAP analysis ranked ABV, RH, WD, WS, ABP, and RF in descending global importance. Because ABV is an operational station variable rather than an atmospheric forcing, its dominant contribution should be interpreted as a site-specific proxy and a potential transferability risk, not as a physical control on irradiance. Residual-quantile diagnostics produced sharper intervals for RF-GA but also revealed undercoverage, indicating that calibrated uncertainty estimation is required before operational deployment. The results support RF-GA as the stronger model for this dataset while limiting inference to station-level prediction under the evaluated holdout design.

Keywords. Solar irradiance; Random forest; Genetic algorithm; Explainable AI; Weather station

© 2026 The Author(s). Published by Caravel Press.

Anyone may read, download, copy, distribute and build on this article, in any medium or format, provided the authors and the original article are credited. Read the CC BY 4.0 licence

← SET Proceedings