The global energy landscape is undergoing a significant shift from fossil fuels to renewable energy sources, driven by environmental concerns. Solar energy, particularly through photovoltaic (PV) technology, has emerged as a prominent renewable energy source. However, PV systems face challenges due to the occurrence of faults, which negatively impact their efficiency and power output. Machine learning algorithms have revolutionized various sectors, including PV systems, offering potential solutions to fault diagnosis. This study focuses on utilizing machine learning for fault diagnosis in PV systems. Through a MATLAB simulation of a 7.5 kW PV system, three fault scenarios were implemented to generate the dataset. Machine learning algorithms were trained and tested using the classification application, with cross-validation and hold-out validation techniques employed for model validation. Results revealed that the wide neural network algorithm achieved the highest accuracy, reaching 98.88% and 98.23% with the cross-validation and hold-out respectively. The ensemble algorithms also demonstrated promising results, achieving an accuracy of 95.02%. These findings underscore the effectiveness of machine learning algorithms in accurately diagnosing faults in PV systems, offering valuable insights for enhancing system efficiency, reliability, and availability.
Zohuri, B. (2023) Navigating the Global Energy Landscape Balancing Growth, Demand, and Sustainability. Journal of Material Science & Manufacturing Research , 2, 1-7.
Chandel, R., Chandel, S.S., Prasad, D. and Dwivedi, R.P. (2024) Sustainable Passive Solar and Photovoltaic Integrated Technology Interventions for Climate Responsive Net Zero Energy Buildings in Western Himalayan Mountainous Terrain of India. Next Sustainability , 3, Article 100039. https://doi.org/10.1016/j.nxsust.2024.100039
Tchao, E.T., Asakipaam, S.A., Fiagbe, Y.A.K., Yeboah-Akowuah, B., Ramde, E., Agbemenu, A.S., et al . (2022) An Implementation of an Optimized Dual-Axis Solar Tracking Algorithm for Concentrating Solar Power Plants Deployment. Scientific African , 16, e01228. https://doi.org/10.1016/j.sciaf.2022.e01228
International Enegry Agency (IEA) (2022) Africa Energy Outlook 2022. https://www.iea.org/reports/africa-energy-outlook-2022
Abdulai, D., Gyamfi, S., Diawuo, F.A. and Acheampong, P. (2023) Data Analytics for Prediction of Solar PV Power Generation and System Performance: A Real Case of Bui Solar Generating Station, Ghana. Scientific African , 21, e01894. https://doi.org/10.1016/j.sciaf.2023.e01894
Mellit, A. and Kalogirou, S.A. (2008) Artificial Intelligence Techniques for Photovoltaic Applications: A Review. Progress in Energy and Combustion Science , 34, 574-632. https://doi.org/10.1016/j.pecs.2008.01.001
Mellit, A. and Kalogirou, S. (2022) Handbook of Artificial Intelligence Techniques in Photovoltaic Systems Modelling, Control, Optimization, Forecasting and Fault Diagnosis. Academic Press.
International Energy Agency Photovoltaic Power Systems Programme (IEA-PVPS) (2021). Snapshot of Global PV Markets 2021. IEA-PVPS. https://iea-pvps.org/snapshot-reports/snapshot-2021/
Badr, M.M., Hamad, M.S., Abdel-Khalik, A.S., Hamdy, R.A., Ahmed, S. and Hamdan, E. (2021) Fault Identification of Photovoltaic Array Based on Machine Learning Classifiers. IEEE Access , 9, 159113-159132. https://doi.org/10.1109/access.2021.3130889
Appiah, A.Y., Zhang, X., Ayawli, B.B.K. and Kyeremeh, F. (2019) Review and Performance Evaluation of Photovoltaic Array Fault Detection and Diagnosis Techniques. International Journal of Photoenergy , 2019, 1-19. https://doi.org/10.1155/2019/6953530
Alam, M.K., Khan, F., Johnson, J. and Flicker, J. (2015) A Comprehensive Review of Catastrophic Faults in PV Arrays: Types, Detection, and Mitigation Techniques. IE EE Journal of Photovoltaics , 5, 982-997. https://doi.org/10.1109/jphotov.2015.2397599
AbdulMawjood, K., Refaat, S.S. and Morsi, W.G. (2018) Detection and Prediction of Faults in Photovoltaic Arrays: A Review. 2018 IEEE 12 th International Conference on Compatibility , Power Electronics and Power Engineering ( CPE - POWERENG 2018), Doha, 10-12 April 2018, 1-8. https://doi.org/10.1109/cpe.2018.8372609
Groenendaal, B. and Gifford, J. (2020) Reports of Backsheet Failures at 75 MW Mulilo Sonnedix Prieska Solar Farm in South Africa. PV Magzine . https://www.pv-magazine.com/2020/02/11/reports-of-backsheet-failures-at-75-mw-mulilo-sonnedix-prieska-solar-farm-in-south-africa/#:~:text=The%20South%20African%20project%20is%20reportedly%20experiencing%20serious,Chinese%20manufacturer%20BYD%20and%20South%20African%20producer%20Artsolar
Ezugwu, A.E., Oyelade, O.N., Ikotun, A.M., Agushaka, J.O. and Ho, Y. (2023) Machine Learning Research Trends in Africa: A 30 Years Overview with Bibliometric Analysis Review. Archives of Computational Methods in Engineering , 30, 4177-4207. https://doi.org/10.1007/s11831-023-09930-z
Olawade, D.B., Wada, O.Z., David-Olawade, A.C., Fapohunda, O., Ige, A.O. and Ling, J. (2024) Artificial Intelligence Potential for Net Zero Sustainability: Current Evidence and Prospects. Next Sustainability , 4, Article 100041. https://doi.org/10.1016/j.nxsust.2024.100041
Voutsinas, S., Karolidis, D., Voyiatzis, I. and Samarakou, M. (2023) Development of a Machine-Learning-Based Method for Early Fault Detection in Photovoltaic Systems. Journal of Engineering and Applied Science , 70, Article No. 27. https://doi.org/10.1186/s44147-023-00200-0
Alrahim Shannan, N.M.A., Yahaya, N.Z. and Singh, B. (2013) Single-Diode Model and Two-Diode Model of PV Modules: A Comparison. 2013 IEEE International Confer ence on Control System , Computing and Engineering , Penang, 29 November-1 December 2013, 210-214. https://doi.org/10.1109/iccsce.2013.6719960
Tiwari, G.N., Tiwari, A. and Shyam, (2016) Solar Radiation. In: Tiwari, G.N., Tiwari, A. and Shyam, Eds., Handbook of Solar Energy , Springer, 1-49. https://doi.org/10.1007/978-981-10-0807-8_1
Luque, A. and Hegedus, S. (2011) Handbook of Photovoltaic Science and Engineering. 2nd Edition, Wiley.
Fazai, R., Abodayeh, K., Mansouri, M., Trabelsi, M., Nounou, H., Nounou, M., et al . (2019) Machine Learning-Based Statistical Testing Hypothesis for Fault Detection in Photovoltaic Systems. Solar Energy , 190, 405-413. https://doi.org/10.1016/j.solener.2019.08.032
Naser Kabour, S., Adnan Almalki, R., A. Alghamdi, L., Alharthi, W. and B. Alshagi, N. (2023) Fault Classification and Detection for Photovoltaic Plants Using Machine Learning Algorithms. Indonesian Journal of Electrical Engineering and Computer Science , 32, Article 353. https://doi.org/10.11591/ijeecs.v32.i1.pp353-362
Lipták, R. and Bodnár, I. (2021) Simulation of Fault Detection in Photovoltaic Arrays. Analecta Technica Szegedinensia , 15, 31-40. https://doi.org/10.14232/analecta.2021.2.31-40
Khalil, I.U., Ul-Haq, A., Mahmoud, Y., Jalal, M., Aamir, M., Ahsan, M.U., et al . (2020) Comparative Analysis of Photovoltaic Faults and Performance Evaluation of Its Detection Techniques. IEEE Access , 8, 26676-26700. https://doi.org/10.1109/access.2020.2970531
Venkatakrishnan, G.R., Rengaraj, R., Tamilselvi, S., Harshini, J., Sahoo, A., Saleel, C.A., et al . (2023) Detection, Location, and Diagnosis of Different Faults in Large Solar PV System—A Review. International Journal of Low - Carbon Technologies , 18, 659-674. https://doi.org/10.1093/ijlct/ctad018
Memon, S.A., Javed, Q., Kim, W., Mahmood, Z., Khan, U. and Shahzad, M. (2022) A Machine-Learning-Based Robust Classification Method for PV Panel Faults. Sensors , 22, Article 8515. https://doi.org/10.3390/s22218515
Kase, R. and Nishikawa, S. (2016) Fault Detection of Bypass Circuit of PV Module—Detection Technology of Open Circuit Fault Location. 19 th International Conference on Electrical Machines and Systems ( ICEMS ), Chiba, 13-16 November 2016, 1-4.
Pillai, D.S., Blaabjerg, F. and Rajasekar, N. (2019) A Comparative Evaluation of Advanced Fault Detection Approaches for PV Systems. IEEE Journal of Photovoltaics , 9, 513-527. https://doi.org/10.1109/jphotov.2019.2892189
Piliougine, M., Guejia-Burbano, R.A., Petrone, G., Sánchez-Pacheco, F.J., Mora-López, L. and Sidrach-de-Cardona, M. (2021) Parameters Extraction of Single Diode Model for Degraded Photovoltaic Modules. Renewable Energy , 164, 674-686. https://doi.org/10.1016/j.renene.2020.09.035
Sameera, Tariq, M. and Rihan, M. (2025) Impact of Shading Heaviness on Voltage, Current and Power of the Solar Photovoltaic String. Next Sustainability , 5, Article 100062. https://doi.org/10.1016/j.nxsust.2024.100062
Osmani, K., Haddad, A., Lemenand, T., Castanier, B. and Ramadan, M. (2020) A Review on Maintenance Strategies for PV Systems. Science of The Total Environment , 746, Article 141753. https://doi.org/10.1016/j.scitotenv.2020.141753
Hammoudi, Y., Idrissi, I., Boukabous, M., Zerguit, Y. and Bouali, H. (2022) Review on Maintenance of Photovoltaic Systems Based on Deep Learning and Internet of Things. Indonesian Journal of Electrical Engineering and Computer Science , 26, Article 1060. https://doi.org/10.11591/ijeecs.v26.i2.pp1060-1072
Naimi, A., Deng, J., Doney, P., Sheikh-Akbari, A., Shimjith, S.R. and Arul, A.J. (2022) Machine Learning-Based Fault Diagnosis for a PWR Nuclear Power Plant. IEEE Access , 10, 126001-126010. https://doi.org/10.1109/access.2022.3225966
El-Bouzaidi, Y.E.I. and Abdoun, O. (2023) Advances in Artificial Intelligence for Accurate and Timely Diagnosis of COVID-19: A Comprehensive Review of Medical Imaging Analysis. Scientific African , 22, e01961. https://doi.org/10.1016/j.sciaf.2023.e01961
Stetco, A., Dinmohammadi, F., Zhao, X., Robu, V., Flynn, D., Barnes, M., et al . (2019) Machine Learning Methods for Wind Turbine Condition Monitoring: A Review. Renewable Energy , 133, 620-635. https://doi.org/10.1016/j.renene.2018.10.047
Oudaa, T., Gharsellaoui, H. and Ben Ahmed, S. (2021) An Agent-Based Model for Resource Provisioning and Task Scheduling in Cloud Computing Using DRL. Procedia Computer Science , 192, 3795-3804. https://doi.org/10.1016/j.procs.2021.09.154
Engel, E. and Engel, N. (2022) A Review on Machine Learning Applications for Solar Plants. Sensors , 22, Article 9060. https://doi.org/10.3390/s22239060
Gaboitaolelwe, J., Zungeru, A.M., Yahya, A., Lebekwe, C.K., Vinod, D.N. and Salau, A.O. (2023) Machine Learning Based Solar Photovoltaic Power Forecasting: A Review and Comparison. IEEE Access , 11, 40820-40845. https://doi.org/10.1109/access.2023.3270041
Jo, T. (2021) Machine Learning Foundations: Supervised, Unsupervised, and Advanced Learning. Springer International Publishing.
da Costa, C.H., Moritz, G.L., Lazzaretti, A.E., Mulinari, B.M., Ancelmo, H.C., Rodrigues, M.P., et al . (2019) A Comparison of Machine Learning-Based Methods for Fault Classification in Photovoltaic Systems. 2019 IEEE PES Innovative Smart Grid Technologies Conference — Latin America ( ISGT Latin America ), Gramado, 15-18 September 2019, 1-6. https://doi.org/10.1109/isgt-la.2019.8895279
Ren, B., Chi, Y., Zhou, N., Wang, Q., Wang, T., Luo, Y., et al . (2024) Machine Learning Applications in Health Monitoring of Renewable Energy Systems. Renewable and Sustainable Energy Reviews , 189, Article 114039. https://doi.org/10.1016/j.rser.2023.114039
Kurukuru, V.S.B., Haque, A., Khan, M.A. and Tripathy, A.K. (2019) Fault Classification for Photovoltaic Modules Using Thermography and Machine Learning Techniques. 2019 International Conference on Computer and Information Sciences ( ICCIS ), Sakaka, 3-4 April 2019, 1-6. https://doi.org/10.1109/iccisci.2019.8716442
Ncube, P.D.N., Meyer, E.L. and Shibeshi, Z.S. (2021) Towards the Development of a Photovoltaic Array Fault Detection and Diagnosis (PVAFDD) System. 2021 International Conference on Electrical , Computer and Energy Technologies ( ICECET ), Cape Town, 9-10 December 2021, 1-6. https://doi.org/10.1109/icecet52533.2021.9698581
Eskandari, A., Milimonfared, J. and Aghaei, M. (2021) Fault Detection and Classification for Photovoltaic Systems Based on Hierarchical Classification and Machine Learning Technique. IEEE Transactions on Industrial Electronics , 68, 12750-12759. https://doi.org/10.1109/tie.2020.3047066
Li, B., Delpha, C., Migan-Dubois, A. and Diallo, D. (2021) Fault Diagnosis of Photovoltaic Panels Using Full I-V Characteristics and Machine Learning Techniques. Energy Conversion and Management , 248, Article 114785. https://doi.org/10.1016/j.enconman.2021.114785
Attouri, K., Hajji, M., Mansouri, M., Harkat, M., Kouadri, A., Nounou, H., et al . (2020) Fault Detection in Photovoltaic Systems Using Machine Learning Technique. 2020 17 th International Multi - Conference on Systems , Signals & Devices ( SSD ), Monastir, 20-23 July 2020, 79-84. https://doi.org/10.1109/ssd49366.2020.9364094
Basnet, B., Chun, H. and Bang, J. (2020) An Intelligent Fault Detection Model for Fault Detection in Photovoltaic Systems. Journal of Sensors , 2020, 1-11. https://doi.org/10.1155/2020/6960328
Yılmaz, M. and Martinez-Morales, A.A. (2024) Fault Detection in Photovoltaic Panels Using Digital Twin Technology: A Comprehensive Study. The Journal of Cognitive Systems , 8, 28-32. https://doi.org/10.52876/jcs.1407133
Badr, M.M., Abdel-Khalik, A.S., Hamad, M.S., Hamdy, R.A., Hamdan, E., Ahmed, S., et al . (2023) Intelligent Fault Identification Strategy of Photovoltaic Array Based on Ensemble Self-Training Learning. Solar Energy , 249, 122-138. https://doi.org/10.1016/j.solener.2022.11.017
Chen, Z., Han, F., Wu, L., Yu, J., Cheng, S., Lin, P., et al . (2018) Random Forest Based Intelligent Fault Diagnosis for PV Arrays Using Array Voltage and String Currents. Energy Conversion and Management , 178, 250-264. https://doi.org/10.1016/j.enconman.2018.10.040
Kapucu, C. and Cubukcu, M. (2021) A Supervised Ensemble Learning Method for Fault Diagnosis in Photovoltaic Strings. Energy , 227, Article 120463. https://doi.org/10.1016/j.energy.2021.120463
Teo, J.C., Tan, R.H.G., Mok, V.H., Ramachandaramurthy, V.K. and Tan, C. (2018) Impact of Partial Shading on the P-V Characteristics and the Maximum Power of a Photovoltaic String. Energies , 11, Article 1860. https://doi.org/10.3390/en11071860
MATLAB (2024) Statistics and Machine Learning ToolboxTM User’s Guide. https://www.mathworks.com/help/stats/index.html