Robustness of Machine Learning and Deep Learning Models for Power Quality Disturbance Classification: A Cross-Platform Analysis
Source abstract
Abstract
Accurate and robust power quality disturbance (PQD) classification is critical for modern electrical grids, particularly in noisy environments. This study presents a comprehensive comparative evaluation of machine learning (ML) and deep learning (DL) models for automatic PQD identification. The models evaluated include Support Vector Machines (SVM), Decision Trees (DT), Random Forest (RF), k-Nearest Neighbors (kNN), Gradient Boosting (GB), and Dense Neural Networks (DNN). For experimentation, a hybrid dataset, comprising both synthetic and real signals, was used to assess model performance. The robustness of the models was evaluated by systematically introducing Gaussian noise across a wide range of Signal-to-Noise Ratios (SNRs). A central objective was to directly benchmark the practical implementation and performance of these models across two widely used platforms: MATLAB R2024a and Python 3.11. Results show that ML models achieve high accuracies, exceeding 95% at an SNR of 10 dB. DL models exhibited remarkable stability, maintaining 97% accuracy for SNRs above 10 dB. However, their performance degraded significantly at lower SNRs, revealing specific confusion patterns. The analysis underscores the importance of multi-domain feature extraction and adaptive preprocessing for achieving resilient PQD classification. This research provides valuable insights and a practical guide for implementing and optimizing robust PQD classification systems in real-world, noisy scenarios.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Power Quality and Harmonics · Power Transformer Diagnostics and Insulation · Machine Fault Diagnosis Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Research Group PAIDI-TIC-168: Computational Instrumentation and Industrial Electronics (ICEI), Department of Automation Engineering, Electronics, Architecture and Computers Networks, University of Cádiz, 11202 Algeciras, Spain
Funding
Algeciras Technological Campus Foundation · Ministry of Universities, Research and Innovation of the Government of Andalusia · Government of Andalusia
References (26)
Show source-provided references
1. Dougherty, J.G., and Stebbins, W.L. (1997, January 6–8). Power quality: A utility and industry perspective. Proceedings of the 1997 IEEE Annual Textile, Fiber and Film Industry Technical Conference, Greenville, SC, USA.
2. Comprehensive Review on Detection and Classification of Power Quality Disturbances in Utility Grid with Renewable Energy Penetration10.1109/ACCESS.2020.3014732 ↗
3. A systematic review of real-time detection and classification of power quality disturbances10.1186/s41601-023-00277-y ↗
4. A Review on Intelligent Detection and Classification of Power Quality Disturbances: Trends, Methodologies, and Prospects
5. Artificial intelligence and machine learning techniques for power quality event classification: A focused review and future insights10.1016/j.rineng.2024.103873 ↗
6. Signal processing and machine learning techniques in DC microgrids: A review10.1016/j.gloei.2025.05.002 ↗
7. Deep learning for power quality10.1016/j.epsr.2022.108887 ↗
8. Samanta, I.S., Panda, S., Rout, P.K., Bajaj, M., Piecha, M., Blazek, V., and Prokop, L. (2023). A Comprehensive Review of Deep-Learning Applications to Power Quality Analysis. Energies, 16.10.3390/en16114406 ↗
9. Albalooshi, F.A., and Qader, M.R. (2025). Deep Learning Algorithm for Automatic Classification of Power Quality Disturbances. Appl. Sci., 15.10.3390/app15031442 ↗
10. Mathworks (2025, January 15). What Is MATLAB?. Available online: https://es.mathworks.com/discovery/what-is-matlab.html.
11. Haslwanter, T. (2021). Hands-on Signal Analysis with Python: An Introduction, Springer Nature.10.1007/978-3-030-57903-6 ↗
12. (2025, January 15). W3school, Python Introduction. Available online: https://www.w3schools.com/python/python_intro.asp.
13. (2019). IEEE Recommended Practice for Monitoring Electric Power Quality (Standard No. IEEE Std 1159-2019 (Revision of IEEE Std 1159-2009)).
14. Methodology based on higher-order statistics and genetic algorithms for the classification of power quality disturbances10.1049/iet-gtd.2020.0366 ↗
15. Characterization of electrical sags and swells using higher-order statistical estimators10.1016/j.measurement.2011.05.014 ↗
16. Assessment and mathematical modeling of energy quality parameters of grid connected photovoltaic inverters10.1016/j.rser.2015.07.087 ↗
17. A comprehensive review on reduced switch multilevel inverter topologies, modulation techniques and applications10.1016/j.rser.2017.03.121 ↗
18. Digital Signal Processing10.1109/TSMC.1978.4309917 ↗
19. Khokhar, S., Zin, A.A.M., Mokhtar, A.S., Bhayo, M.A., and Naderipour, A. (2015, January 19–20). Automatic classification of single and hybrid power quality disturbances using Wavelet Transform and Modular Probabilistic Neural Network. Proceedings of the IEEE Conference on Energy Conversion (CENCON), Johor Bahru, Malaysia.10.1109/CENCON.2015.7409588 ↗
20. PyWavelets: A Python package for wavelet analysis10.21105/joss.01237 ↗
21. Variational Mode Decomposition and Decision Tree Based Detection and Classification of Power Quality Disturbances in Grid-Connected Distributed Generation System10.1109/TSG.2016.2626469 ↗
22. Series Arc Fault Identification in DC Distribution Based on Random Forest Predicted Probability10.1109/JESTPE.2022.3228421 ↗
23. Multiple power quality disturbances detection and classification with fluctuations of amplitude and decision tree algorithm10.1007/s00202-021-01481-5 ↗
24. How Many Trees in a Random Forest?10.1007/978-3-642-31537-4_13 ↗
25. Signal Processing and Deep Learning Techniques for Power Quality Events Monitoring and Classification10.1080/15325008.2019.1666178 ↗
26. Scikit-Learn (2025, January 15). Histogram-based Gradient Boosting Classification Tree. Available online: https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.HistGradientBoostingClassifier.html.