Physics-guided attention neural network for interpretable and robust photovoltaic fault classification with strict external validation
Accurate and interpretable fault diagnosis in photovoltaic (PV) systems is essential for improving operational reliability and reducing energy losses. This study proposes a Physics-Guided Attention Neural Network (PGANN) for three-class PV fault classification, including Open-circuit, Short-circuit, and Partial Shading conditions. The proposed framework integrates physics-guided feature engineering into the input representation through calculated power, power error, and normalized voltage ratio, thereby embedding electrical-domain knowledge without imposing unstable physics-based penalty terms in the loss function. A feature-wise attention mechanism is incorporated to enhance nonlinear discrimination among fault patterns. Model interpretability is evaluated using SHAP and LIME analyses. The model is assessed using an internal stratified test set and a strictly non-overlapping external validation set drawn from the same Mendeley simulation pool. The final reported results are based on the external validation dataset, where the proposed PGANN achieved 93.90% overall accuracy, 93.81% macro F1-score, and high class-wise AUC values, reaching 0.995 for Open-circuit faults. Although the external validation set is independent at the sample level, it originates from the same simulation domain; therefore, the results demonstrate robust same-generator generalization rather than full real-world domain transfer. The findings show that the proposed PGANN framework provides a stable, interpretable, and physically consistent solution for simulation-based PV fault diagnosis.
Authors
- Emrah Aslan (ORCID: https://orcid.org/0000-0002-0181-3658)
- Feyyaz Alpsalaz (ORCID: https://orcid.org/0000-0002-7695-6426)
- Viktoriia Bereznychenko (ORCID: https://orcid.org/0000-0002-9961-1703)
- Hasan Uzel
- Yıldırım Özüpak
Institutions
- Dicle University (TR)
- Mardin Artuklu University (TR)
- Yozgat Bozok Üniversitesi (TR)
- Institute of Electrodynamics (UA)
- Amasya Üniversitesi (TR)
Publication Details
- Journal
- Discover Applied Sciences
- Published
- 2026-09-24
- DOI
- https://doi.org/10.1007/s42452-026-09535-8
- Primary Topic
- Photovoltaic System Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00