Interpretable Rule-based Classification for Photovoltaic Fault Detection Using Discrete Tuna Swarm Optimization
Abstract
The reliability of photovoltaic systems is dependent on effective fault detection and diagnosis, which are essential to maintain performance, efficiency, and operational safety. Traditional diagnosis methods can achieve good accuracy but often lack interpretability, which limits their use in real-time monitoring and decision-making. In this study, we propose a framework called Rule-based Classification Fault Detection and Diagnosis for Photovoltaic Systems (RCFDD-PVs). The framework incorporates a rule-based classification approach in which IF–THEN decision rules are intelligently generated using Discrete Tuna Swarm Optimization. This hybrid white-box approach ensures that diagnosis decisions are not only accurate but also understandable, offering a clear alternative to black box models. The framework was validated on a dataset including both normal and faulty PV operating states. Results show that RCFDD-PVs achieved 99% accuracy and a weighted F1-score of 0.99, using only nine rules with four antecedents to achieve complete dataset coverage. The generated rules are concise and interpretable, making them practical for integration into PV monitoring systems.
Keywords
Photovoltaic systems, Fault Detection and Diagnosis, Rule-based Classification Fault Detection and Diagnosis for Photovoltaic Systems, Discrete Tuna Swarm Optimization, Explainable artificial intelligence
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
S. Sif, O. Chouhal, Y. Beddiaf, A. Ledmi, R. Mahdaoui, H. Haouassi and L. Chrifi-Alaoui, "Interpretable Rule-based Classification for Photovoltaic Fault Detection Using Discrete Tuna Swarm Optimization," in Journal of Communications Software and Systems, vol. 22, no. 3, pp. 367-378, July 2026, doi: 10.24138/jcomss-2026-0009
@article{sif2026interpretablerule,
author = {Sif, Souria and Chouhal, Ouahiba and Beddiaf, Yassine and Ledmi, Abdeldjalil and Mahdaoui, Rafik and Haouassi, Hichem and Chrifi-Alaoui, L.},
title = {{Interpretable Rule-based Classification for Photovoltaic Fault Detection Using Discrete Tuna Swarm Optimization}},
journal = {Journal of Communications Software and Systems},
month = jul,
year = {2026},
volume = {22},
number = {3},
pages = {367--378},
doi = {10.24138/jcomss-2026-0009},
url = {https://doi.org/10.24138/jcomss-2026-0009}
}