Cover
Vol. 21 No. 1 (2025)

Published: September 19, 2025

Pages: 126-133

Original Article

Enhancing PV Fault Detection Using Machine Learning: Insights from a Simulated PV System

Abstract

Recently, numerous researches have emphasized the importance of professional inspection and repair in case of suspected faults in Photovoltaic (PV) systems. By leveraging electrical and environmental features, many machine learning models can provide valuable insights into the operational status of PV systems. In this study, different machine learning models for PV fault detection using a simulated 0.25MW PV power system were developed and evaluated. The training and testing datasets encompassed normal operation and various fault scenarios, including string-to-string, on-string, and string-to-ground faults. Multiple electrical and environmental variables were measured and exploited as features, such as current, voltage, power, temperature, and irradiance. Four algorithms (Tree, LDA, SVM, and ANN) were tested using 5-fold cross-validation to identify errors in the PV system. The performance evaluation of the models revealed promising results, with all algorithms demonstrating high accuracy. The Tree and LDA algorithms exhibited the best performance, achieving accuracies of 99.544% on the training data and 98.058% on the testing data. LDA achieved perfect accuracy (100%) on the testing data, while SVM and ANN achieved 95.145% and 89.320% accuracy, respectively. These findings underscore the potential of machine learning algorithms in accurately detecting and classifying various types of PV faults. .

References

  1. B. Aljafari, “Reliability investigation of long photo- voltaic string generators under electrical fault scenarios,” in Proceedings of the 2022 International Conference on Electrical and Computing Technologies and Applica- tions (ICECTA), pp. 9–14, 2022.
  2. W. Zhang, H. Zhang, J. Liu, K. Li, D. Yang, and H. Tian, “Weather prediction with multiclass support vector ma- chines in the fault detection of photovoltaic system,” IEEE/CAA Journal of Automatica Sinica, vol. 4, pp. 520– 525, 2017.
  3. A. J¨ager-Waldau, J. Donoso, I. Kaizuka, G. Masson, and E. Bosch, “Snapshot 2022—iea-pvps,” EPJ Photo- voltaics, vol. 13, p. 9, 2022.
  4. W. Fenz, S. Thumfart, R. Yatchak, H. Roitner, and B. Hofer, “Detection of arc faults in pv systems using compressed sensing,” IEEE Journal of Photovoltaics, vol. 10, pp. 676–684, 2020.
  5. R. Fazai, K. Abodayeh, M. Mansouri, M. Trabelsi, H. Nounou, M. Nounou, et al., “Machine learning-based statistical testing hypothesis for fault detection in photo- voltaic systems,” Solar Energy, vol. 190, pp. 405–413, 2019.
  6. B. Li, C. Delpha, D. Diallo, and A. Migan-Dubois, “Ap- plication of artificial neural networks to photovoltaic fault detection and diagnosis: A review,” Renewable and Sustainable Energy Reviews, vol. 138, p. 110512, 2021.
  7. J. Wang, D. Gao, S. Zhu, S. Wang, and H. Liu, “Fault diagnosis method of photovoltaic array based on sup- port vector machine,” Energy Sources, Part A: Recovery, Utilization, and Environmental Effects, vol. 45, pp. 5380– 5395, 2023.
  8. M. Pa, M. Uddin, and A. Kazemi, “A fault detection scheme utilizing convolutional neural network for pv solar panels with high accuracy,” in Proceedings of the 2022 IEEE 1st Industrial Electronics Society Annual On-Line Conference (ONCON), pp. 1–5, 2022.
  9. S. A. Memon, Q. Javed, W.-G. Kim, Z. Mahmood, U. Khan, and M. Shahzad, “A machine-learning-based robust classification method for pv panel faults,” Sensors, vol. 22, p. 8515, 2022.
  10. A. Abid, M. T. Khan, and J. Iqbal, “A review on fault detection and diagnosis techniques: basics and beyond,” Artificial Intelligence Review, vol. 54, pp. 3639–3664, 2021.
  11. A. Mellit, G. M. Tina, and S. A. Kalogirou, “Fault de- tection and diagnosis methods for photovoltaic systems: A review,” Renewable and Sustainable Energy Reviews, vol. 91, pp. 1–17, 2018.
  12. T. Pei and X. Hao, “A fault detection method for photo- voltaic systems based on voltage and current observation and evaluation,” Energies, vol. 12, p. 1712, 2019.
  13. V. S. B. Kurukuru, A. Haque, M. A. Khan, S. Sahoo, A. Malik, and F. Blaabjerg, “A review on artificial intelli- gence applications for grid-connected solar photovoltaic systems,” Energies, vol. 14, p. 4690, 2021.
  14. C. He, L. Mu, and Y. Wang, “The detection of parallel arc fault in photovoltaic systems based on a mixed crite- rion,” IEEE Journal of Photovoltaics, vol. 7, pp. 1717– 1724, 2017.
  15. T. G. Amaral, V. F. Pires, and A. J. Pires, “Fault detec- tion in pv tracking systems using an image processing algorithm based on pca,” Energies, vol. 14, p. 7278, 2021.
  16. E. Lodhi, F.-Y. Wang, G. Xiong, L. Zhu, T. S. Tamir, W. U. Rehman, et al., “A novel deep stack-based ensem- ble learning approach for fault detection and classifica- tion in photovoltaic arrays,” Remote Sensing, vol. 15, p. 1277, 2023.
  17. T. Khatib, I. A. Ibrahim, and A. Mohamed, “A review on sizing methodologies of photovoltaic array and storage battery in a standalone photovoltaic system,” Energy Conversion and Management, vol. 120, pp. 430–448, 2016.
  18. I. M. Moreno-Garcia, E. J. Palacios-Garcia, V. Pallares- Lopez, I. Santiago, M. J. Gonzalez-Redondo, M. Varo- Martinez, et al., “Real-time monitoring system for a utility-scale photovoltaic power plant,” Sensors, vol. 16, p. 770, 2016. 133 | Muttashar & Shakir
  19. S. S. Ghoneim, A. E. Rashed, and N. I. Elkalashy, “Fault detection algorithms for achieving service continuity in photovoltaic farms,” Intelligent Automation and Soft Computing, vol. 30, pp. 467–479, 2021.
  20. A. Triki-Lahiani, A. B. B. Abdelghani, and I. Slama- Belkhodja, “Fault detection and monitoring systems for photovoltaic installations: A review,” Renewable and Sustainable Energy Reviews, vol. 82, pp. 2680–2692, 2018.
  21. Z. Yi and A. H. Etemadi, “Fault detection for photo- voltaic systems based on multi-resolution signal decom- position and fuzzy inference systems,” IEEE Transac- tions on Smart Grid, vol. 8, pp. 1274–1283, 2016.
  22. M. H. Ali, A. Rabhi, A. E. Hajjaji, and G. M. Tina, “Real time fault detection in photovoltaic systems,” Energy Procedia, vol. 111, pp. 914–923, 2017.
  23. R. F. Colmenares-Quintero, E. R. Rojas-Martinez, F. Macho-Hernantes, K. E. Stansfield, and J. C. Colmenares-Quintero, “Methodology for automatic fault detection in photovoltaic arrays from artificial neural net- works,” Cogent Engineering, vol. 8, p. 1981520, 2021.
  24. B. K. Karmakar and A. K. Pradhan, “Detection and classification of faults in solar pv array using thevenin equivalent resistance,” IEEE Journal of Photovoltaics, vol. 10, pp. 644–654, 2020.
  25. H. Al-Zubaidi, M. A. Shehab, and A. Al-Gizi, “Elec- trical fault diagnosis of solar pv array using machine learning techniques,” in Proceedings of the 2023 13th In- ternational Symposium on Advanced Topics in Electrical Engineering (ATEE), pp. 1–4, 2023.
  26. E. Garoudja, F. Harrou, Y. Sun, K. Kara, A. Chouder, and S. Silvestre, “Statistical fault detection in photovoltaic systems,” Solar Energy, vol. 150, pp. 485–499, 2017.
  27. N. V. Sridharan and V. Sugumaran, “Visual fault de- tection in photovoltaic modules using decision tree al- gorithms with deep learning features,” Energy Sources, Part A: Recovery, Utilization, and Environmental Effects, pp. 1–17, 2021.
  28. N. C. Yang and H. Ismail, “Voting-based ensemble learn- ing algorithm for fault detection in photovoltaic sys- tems under different weather conditions,” Mathematics, vol. 10, no. 2, p. 285, 2022.
  29. K. H. Cho, H. C. Jo, E. S. Kim, H. A. Park, and J. H. Park, “Failure diagnosis method of photovoltaic gener- ator using support vector machine,” Journal of Electri- cal Engineering & Technology, vol. 15, pp. 1669–1680, 2020.
  30. S. Rao, A. Spanias, and C. Tepedelenlioglu, “Solar array fault detection using neural networks,” in Proceedings of the 2019 IEEE International Conference on Industrial Cyber Physical Systems (ICPS), pp. 196–200, IEEE, May 2019.