All systems operational
Q3 2026

Machine learning diagnosis (ANN vs KNN) of short-circuit, open-circuit, partial shading and line-to-ground faults in PV modules: Case study of Bejaia, Algeria

Lahlou Abad · Salah Tamalouzt · Kamel Djermouni
10.54966/jreen.v29i2.1877 380 Views 0 Citations
0
Citations
380
Views
Abstract

To ensure optimal energy production and operational safety in solar installations, the implementation of dependable fault identification mechanisms is critical, especially for smaller arrays vulnerable to local weather fluctuations. This research details a diagnostic approach using Artificial Neural Networks (ANN) for a 2×2 series-parallel PV configuration, simulated within the MATLAB/Simulink environment (Simscape Electrical) and driven by ERA5 meteorological records for Bejaia, Algeria. Four electrical fault types were considered: short-circuit, open-circuit, partial shading, and line-to-ground. Time-series simulation outputs were resampled to a one-minute grid and processed to produce a balanced dataset of 2,128 labeled samples. The primary classifier is a feedforward artificial neural network with one hidden layer of 10 neurons; a K-nearest neighbors (KNN) model (baseline, default parameters) was used for comparison. The ANN achieved an overall accuracy of =99.6% (independent test =99.7%) and a fault detection rate of =99.2%, with faults detected within the sampling interval and stable classification during dynamic two-day fault scenarios. Compared to KNN, the ANN exhibited fewer boundary misclassifications and no false positives in the reported experiments. Limitations include reliance on simulation driven by reanalysis data and lack of compound-fault cases; future work will validate the approach on measured field data and investigate richer feature sets and deployment on embedded hardware.

Cite this Article (APA)
Lahlou, A., Salah, T., Kamel, D. (2026). Machine learning diagnosis (ANN vs KNN) of short-circuit, open-circuit, partial shading and line-to-ground faults in PV modules: Case study of Bejaia, Algeria. Journal of Renewable Energies. https://doi.org/10.54966/jreen.v29i2.1877
Related Papers
IoT and AI for Real-time Water Monitoring and Leak Detection
Lahcene Guezouli; Lyamine Guezouli; Mohammed Baha Eddine Djeghaba; Abir Bentahro · 2024
10
cites
393
A Modified Genetic Algorithm for Optimizing the Placement and Sizing of Distributed Generators in Ra…
Nasreddine Bouchikhi; Fethi Boussadia; Riyadh Bouddou; Sarra Zaidi; Sarra Adiche · 2024
8
cites
392
Estimation statistique des données du vent à partir de la distribution de Weibull en vue d’une prédi…
Jean Luc Nsouandélé; Dieudonné Kidmo Kaoga; Stephane Mbang Djetouda; Noël Djongy · 2024
6
cites
394
Improved Sliding Mode Control of a Wind Turbine System Based on a Developed Permanent Magnet Synchro…
Amina Yachir; Abdallah Belabbes; Houari Merabet Boulouiha; Riyadh Bouddou; Allal · 2024
6
cites
390
Comparative study of different types of DC/DC converters for PV systems using RBF neural network-bas…
Sarra Zaidi; Bouziane Meliani; Riyadh Bouddou; Souheyb Mohammed Belhadj; Nasredd · 2024
5
cites
391
Access
View Full Text via DOI
Published in
ISSN 1112-2242
Quartile Q3
AMS Score 84
Field Engineering & Technology
Publisher Renewable Energy Development Center
Country 🇩🇿 Algeria
View Journal Profile →
Authors
Publication Details
Year 2026
Language English
Added 01 Aug 2026