https://doi.org/10.1051/epjpv/2025021
Original Article
An interpretable AI framework for clear-sky detection in photovoltaics monitoring
1
North China Electric Power University, School of Electrical and Electronic Engineering, Baoding, P.R. China
2
École Polytechnique Fédérale de Lausanne (EPFL), Institute of Electrical and Micro Engineering (IEM), Photovoltaics and Thin-Film Electronics Laboratory, CH-2002 Neuchâtel, Switzerland
3
CSEM, Sustainable Energy Centre, CH-2002 Neuchâtel, Switzerland
4
3S Swiss Solar Solutions AG, CH-3645 Gwatt (Thun), Switzerland
* e-mail: hugo.quest@epfl.ch
Received:
24
July
2025
Accepted:
1
November
2025
Published online: 10 December 2025
Accurate clear-sky detection (CSD) is essential for reliable data analysis and performance assessments in photovoltaic (PV) systems. However, many advanced machine learning (ML) models function as “black boxes”, limiting their interpretability and trustworthiness. This study presents an interpretable Artificial Intelligence (AI) framework that combines high predictive performance with deep insight into model decision-making. Using a hand-labelled dataset from a fixed-tilt PV system in Golden, Colorado, USA, with 1 min plane-of-array (POA) measurements of global horizontal irradiance (GHI), direct normal irradiance (DNI), and diffuse horizontal irradiance (DHI), a Categorical Boosting (CatBoost) classifier is developed for CSD. The model is iteratively refined through a closed-loop diagnostic process guided by SHapley Additive exPlanations (SHAP). Misclassified instances are analysed using dimensionality reduction via Uniform Manifold Approximation and Projection (UMAP) and clustering, revealing distinct, physically-grounded failure modes such as “cloud enhancement”, where reflected or scattered sunlight temporarily increases irradiance, and “hazy but stable conditions”, where thin atmospheric haze slightly attenuates sunlight without introducing variability. Insights from this analysis inform targeted feature engineering, yielding a refined model with high classification performance quantified by an F1-score of 97.3%, along with substantially reduced false positive (1.99%) and false negative (7.0%) rates, reflecting both overall accuracy and balanced sensitivity to clear-sky and non-clear-sky periods. This interpretable framework improves the reliability of clear-sky filtering for downstream PV applications, including fault detection and diagnosis (FDD) and long-term performance loss rate (PLR) estimation, and provides a transferable methodology for developing trustworthy AI models in energy systems.
Key words: Clear-sky detection (CSD) / artificial intelligence (AI) / photovoltaics (PV) / SHAP (SHapley Additive exPlanations) / model interpretability / misclassification analysis
© B. Li et al., Published by EDP Sciences, 2025
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
