Fault Detection and Classification in PV Arrays with Machine Learning Algorithms

Fault detection and classification in photovoltaic arrays are important for improving the reliability, safety, and energy production of photovoltaic systems. This study presents a two-stage evaluation of machine learning-based PV fault diagnosis using both simulation-generated and measured experimental data. First, a 64-module PV array with an 8×8 configuration is modeled in MATLAB/Simulink under ten normal and faulty operating conditions. Support Vector Machine and Naive Bayes classifiers are evaluated before and after Principal Component Analysis preprocessing. PCA-SVM achieves the highest accuracy of 97.93% in the ten-class simulation study, compared with 86.50% and 43.125% for SVM and Naive Bayes, respectively. Second, external validation is performed using twelve measured current-voltage curves obtained from six physical PV panels under clean and partial-shading conditions. The measured curves are processed into 3,600 observations and evaluated using leave-one-panelout validation. Six classifier families, including SVM, Naive Bayes, Random Forest, XGBoost, LightGBM, and MLP are investigated both with and without PCA. Random Forest achieves the highest experimental-data accuracy of 97.53%. PCA increases SVM accuracy from 68.14% to 79.69% and XGBoost accuracy from 83.33% to 90.03%, while its effect is unfavorable for several other classifiers. The results demonstrate that PCA can improve feature separability, but its effectiveness is classifier- and dataset-dependent. The external validation confirms the usefulness of electrical and environmental features for measured partialshading diagnosis while also highlighting the need for broader field validation.

Authors

Publication Details

Journal
Power, Control and Data Processing Systems
Published
2026-12-01
DOI
https://doi.org/10.30511/pcdp.2026.2092605.1089
Primary Topic
Photovoltaic System Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Fault Detection and Classification in PV Arrays with Machine Learning Algorithms

Afshin Najafi, Ehsan Shahi, Mohammadhossein Tamimi
1 links
Power, Control and Data Processing Systems
Photovoltaic System Optimization Techniques
article

Fault Detection and Classification in PV Arrays with Machine Learning Algorithms

Afshin Najafi, Ehsan Shahi, Mohammadhossein Tamimi
article en

Abstract

Fault detection and classification in photovoltaic arrays are important for improving the reliability, safety, and energy production of photovoltaic systems. This study presents a two-stage evaluation of machine learning-based PV fault diagnosis using both simulation-generated and measured experimental data. First, a 64-module PV array with an 8×8 configuration is modeled in MATLAB/Simulink under ten normal and faulty operating conditions. Support Vector Machine and Naive Bayes classifiers are evaluated before and after Principal Component Analysis preprocessing. PCA-SVM achieves the highest accuracy of 97.93% in the ten-class simulation study, compared with 86.50% and 43.125% for SVM and Naive Bayes, respectively. Second, external validation is performed using twelve measured current-voltage curves obtained from six physical PV panels under clean and partial-shading conditions. The measured curves are processed into 3,600 observations and evaluated using leave-one-panelout validation. Six classifier families, including SVM, Naive Bayes, Random Forest, XGBoost, LightGBM, and MLP are investigated both with and without PCA. Random Forest achieves the highest experimental-data accuracy of 97.53%. PCA increases SVM accuracy from 68.14% to 79.69% and XGBoost accuracy from 83.33% to 90.03%, while its effect is unfavorable for several other classifiers. The results demonstrate that PCA can improve feature separability, but its effectiveness is classifier- and dataset-dependent. The external validation confirms the usefulness of electrical and environmental features for measured partialshading diagnosis while also highlighting the need for broader field validation.

Power, Control and Data Processing SystemsVol. 3(4)
Affordable and clean energy
Photovoltaic System Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon