Submitted:
17 June 2026
Posted:
22 June 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Propose an E-XAI framework specifically for power quality disturbance detection and interpretation in smart grids.
- Employ GA to automatically optimize the optimal power quality feature subset, thereby reducing computational complexity while preserving model interpretability.
- Experimentally demonstrate that the proposed E-XAI framework reduces the computational cost of XAI techniques while improving disturbance classification stability.
- Integrate the E-XAI framework into smart grid monitoring systems to enable interpretable analysis of power quality events.
2. Related Work
3. Background and Preliminaries
3.1. Dataset
3.2. Explainable AI
3.3. Genetic Algorithms
4. Proposed Method
4.1. Overall Framework
4.2. GA Evolving Process
| Algorithm 1: Fitness Evaluation |
|
Input:
Output:
1
2
3
4 return
|
| Algorithm 2: GA-based Feature Evolution |
![]() |
4.3. Computational Complexity Analysis
5. Experimental Design and Results
5.1. Experimental Setup
- Population size: 40
- Number of generations: 25
- Crossover rate: 0.8
- Mutation rate: 0.08
5.2. Detection Performance
5.3. GA Fitness Analysis
5.4. Explanation Analysis
6. Conclusion
Acknowledgments
References
- Saber, A.M.; Youssef, A.; Svetinovic, D.; Zeineldin, H.; Kundur, D.; El-Saadany, E. Enhancing power quality event classification with ai transformer models. In Proceedings of the 2024 IEEE Power & Energy Society General Meeting (PESGM). IEEE, 2024, pp. 1–5.
- Dong, M.; Li, H.; Yin, S.; Lin, J.; Zhang, H.; Zeng, Z.; Cheng, Y. A LLM-Guided Approach for Active-Clamped Flyback Converter of Power Processing Units in Electric Propulsion. IET Electric Power Applications 2026, 20, e70154.
- Dehaghani, M.N.; Korõtko, T.; Rosin, A. Ai applications for power quality issues in distribution systems: A systematic review. IEEE Access 2025, 13, 18346–18365. [CrossRef]
- Cui, C.; Duan, Y.; Hu, H.; Wang, L.; Liu, Q. Detection and classification of multiple power quality disturbances using stockwell transform and deep learning. IEEE transactions on instrumentation and measurement 2022, 71, 1–12. [CrossRef]
- Liu, X.; Wu, Y.; Zhang, H.; Xue, Y.; Wang, L.; Li, H.; Yin, S. Impact of Position Measurement Angle Error on Performance of PMSM Drives for Electric Power Steering in a Wide Speed Range. IET Electric Power Applications 2026, 20, e70156. [CrossRef]
- Ge, L.; Zhang, B.; Huang, W.; Li, Y.; Hou, L.; Xiao, J.; Mao, Z.; Li, X. A review of hydrogen generation, storage, and applications in power system. journal of Energy Storage 2024, 75, 109307. [CrossRef]
- Zhang, Z.; Damiani, E.; Hamadi, H.; Yeun, C.; Taher, F. A late multi-modal fusion model for detecting hybrid spam e-mail. International Journal of Computer Theory and Engineering 2023, 15, 76–81. [CrossRef]
- Islam, M.M.; Yu, T.; Giannoccaro, G.; Mi, Y.; La Scala, M.; Nasab, M.R.; Wang, J. Improving reliability and stability of the power systems: A comprehensive review on the role of energy storage systems to enhance flexibility. IEEE Access 2024, 12, 152738–152765. [CrossRef]
- Liu, Y.; Zhou, F.; Yang, S.; Guan, M.; Liu, C. Research on Peak-to-Average Power Ratio Control Method for Switched Reluctance Pulse Generator. IET Electric Power Applications 2026, 20, e70144. [CrossRef]
- Forootan, M.M.; Larki, I.; Zahedi, R.; Ahmadi, A. Machine learning and deep learning in energy systems: A review. Sustainability 2022, 14, 4832. [CrossRef]
- Cavus, M. Advancing power systems with renewable energy and intelligent technologies: A comprehensive review on grid transformation and integration. Electronics 2025, 14, 1159. [CrossRef]
- Zhang, Z.; Hu, J.; Pota, H.; Kermanshahi, S.K.; Turnbull, B.; Damiani, E.; Yeun, C.Y. Experimental demonstration of risks and influences of cyber attacks on wireless communication in microgrids. In Proceedings of the 2024 21st Annual International Conference on Privacy, Security and Trust (PST). IEEE, 2024, pp. 1–5.
- Ejuh Che, E.; Roland Abeng, K.; Iweh, C.D.; Tsekouras, G.J.; Fopah-Lele, A. The impact of integrating variable renewable energy sources into grid-connected power systems: Challenges, mitigation strategies, and prospects. Energies 2025, 18, 689. [CrossRef]
- Guo, F.; Zhang, Z.; Mo, H.; Li, C. A Method for Battery SoH Estimation Based on K-means and LightGBM algorithm. In Proceedings of the 2024 6th International Conference on System Reliability and Safety Engineering (SRSE), 2024, pp. 1–7. [CrossRef]
- Kaur, J.; Bath, S.K. Harmonic distortion in power systems due to electronic control and renewable energy integration: a comprehensive review. Discover Electronics 2025, 2, 67. [CrossRef]
- Razmi, D.; Lu, T.; Papari, B.; Akbari, E.; Fathi, G.; Ghadamyari, M. An overview on power quality issues and control strategies for distribution networks with the presence of distributed generation resources. IEEE access 2023, 11, 10308–10325. [CrossRef]
- Senol, M.; Bayram, I.S.; Naderi, Y.; Galloway, S. Electric vehicles under low temperatures: A review on battery performance, charging needs, and power grid impacts. Ieee Access 2023, 11, 39879–39912. [CrossRef]
- Peng, C.; Sun, H.; Yang, M.; Wang, Y.L. A survey on security communication and control for smart grids under malicious cyber attacks. IEEE Transactions on Systems, Man, and Cybernetics: Systems 2019, 49, 1554–1569. [CrossRef]
- Shees, A.; Tariq, M.; Sarwat, A.I. Cybersecurity in smart grids: Detecting false data injection attacks utilizing supervised machine learning techniques. Energies 2024, 17, 5870. [CrossRef]
- Syrmakesis, A.D.; Alhelou, H.H.; Hatziargyriou, N.D. A novel cyberattack-resilient frequency control method for interconnected power systems using SMO-based attack estimation. IEEE Transactions on Power Systems 2023, 39, 5672–5686.
- Alhamrouni, I.; Abdul Kahar, N.H.; Salem, M.; Swadi, M.; Zahroui, Y.; Kadhim, D.J.; Mohamed, F.A.; Alhuyi Nazari, M. A comprehensive review on the role of artificial intelligence in power system stability, control, and protection: Insights and future directions. Applied Sciences 2024, 14, 6214. [CrossRef]
- Hassija, V.; Chamola, V.; Mahapatra, A.; Singal, A.; Goel, D.; Huang, K.; Scardapane, S.; Spinelli, I.; Mahmud, M.; Hussain, A. Interpreting black-box models: a review on explainable artificial intelligence. Cognitive Computation 2024, 16, 45–74. [CrossRef]
- Yu, J.; Zhang, Y. Challenges and opportunities of deep learning-based process fault detection and diagnosis: a review. Neural Computing and Applications 2023, 35, 211–252.
- Zhang, Z.; Turnbull, B.; Kermanshahi, S.K.; Pota, H.; Hu, J. SDN-MG25: A Comprehensive Dataset for Cybersecurity Analysis in Software Defined Networking-Enabled Microgrid Systems. IEEE Open Journal of the Computer Society 2026, 7, 26–36. [CrossRef]
- Minh, D.; Wang, H.X.; Li, Y.F.; Nguyen, T.N. Explainable artificial intelligence: a comprehensive review. Artificial Intelligence Review 2022, 55, 3503–3568.
- Bin Akter, S.; Sarkar Pias, T.; Rahman Deeba, S.; Hossain, J.; Abdur Rahman, H. Ensemble learning based transmission line fault classification using phasor measurement unit (PMU) data with explainable AI (XAI). Plos one 2024, 19, e0295144. [CrossRef]
- Yan, Y.; Chen, K.; Geng, H.; Fan, W.; Zhou, X. A Review on Intelligent Detection and Classification of Power Quality Disturbances: Trends, Methodologies, and Prospects. Computer Modeling in Engineering & Sciences (CMES) 2023, 137. [CrossRef]
- Zhang, Z.; Turnbull, B.; Kermanshahi, S.K.; Pota, H.; Hu, J. UNSW-MG24: A heterogeneous dataset for cybersecurity analysis in realistic microgrid systems. IEEE Open Journal of the Computer Society 2025. [CrossRef]
- Caicedo, J.E.; Agudelo-Martínez, D.; Rivas-Trujillo, E.; Meyer, J. A systematic review of real-time detection and classification of power quality disturbances. Protection and Control of Modern Power Systems 2023, 8, 1–37. [CrossRef]
- Priyadarshini, M.; Bajaj, M.; Zaitsev, I. Energy feature extraction and visualization of voltage sags using wavelet packet analysis for enhanced power quality monitoring. Scientific Reports 2025, 15, 2226. [CrossRef]
- Daniel, K.; Kütt, L.; Iqbal, M.N.; Shabbir, N.; Raja, H.A.; Sardar, M.U. A review of harmonic detection, suppression, aggregation, and estimation techniques. Applied Sciences 2024, 14, 10966. [CrossRef]
- Ravi, T.; Srividya, S.; Anil, V.; Jayaprakash, S.; et al. Review of detection and classification of power quality disturbances using machine learning and deep learning methods. In Proceedings of the 2023 Innovations in Power and Advanced Computing Technologies (i-PACT). IEEE, 2023, pp. 1–8.
- Topaloglu, I. Deep learning based a new approach for power quality disturbances classification in power transmission system. Journal of Electrical Engineering & Technology 2023, 18, 77–88.
- Dekhandji, F.Z.; Recioui, A.; Ladada, A.; Moulay Brahim, T.S. Detection and classification of power quality disturbances using LSTM. Engineering Proceedings 2023, 29, 2. [CrossRef]
- Aygul, K.; Aksoy, N.; Kucuktezcan, F.; Genc, I. From black box to decision support: An interpretable clustering-based ensemble for dynamic security assessment in modern power systems. Knowledge-Based Systems 2026, 338, 115490. [CrossRef]
- Machlev, R.; Heistrene, L.; Perl, M.; Levy, K.Y.; Belikov, J.; Mannor, S.; Levron, Y. Explainable Artificial Intelligence (XAI) techniques for energy and power systems: Review, challenges and opportunities. Energy and AI 2022, 9, 100169. [CrossRef]
- Cifci, A. Interpretable prediction of a decentralized smart grid based on machine learning and explainable artificial intelligence. IEEE access 2025.
- Nand, K.; Zhang, Z.; Hu, J. A Comprehensive Survey on the Usage of Machine Learning to Detect False Data Injection Attacks in Smart Grids. IEEE Open Journal of the Computer Society 2025, 6, 1121–1132. [CrossRef]
- Zhang, Z.; Turnbull, B.; Kermanshahi, S.K.; Pota, H.; Damiani, E.; Yeun, C.Y.; Hu, J. A survey on resilient microgrid system from cybersecurity perspective. Applied Soft Computing 2025, 175, 113088. [CrossRef]
- Wang, Z.; Zhang, Z.; Al Hammadi, A.Y.; Huang, X.; Guo, F.; Damiani, E.; Yeun, C.Y.; Li, L. Evolving Explainable Artificial Intelligence for electroencephalography-based mental health classification in digital twin systems. Ad hoc networks 2025, p. 103964. [CrossRef]
- Guo, F.; Xu, K.; Zhang, Z.; Zhou, H.; Chen, G.; Hu, J.; Zhang, J.; Mo, H. Battery SOH Prediction Under Different Conditions via MBLSTM and iTransformer With Anomaly Detection and Explainability. IEEE Open Journal of the Computer Society 2025, 6, 1847–1857. [CrossRef]
- Guo, F.; Zhang, Z.; Ma, X.; Li, L.; Zhou, H.; Li, C.; Mo, H. An Interpretable TCN–Transformer Framework for Lithium-Ion Battery State of Health Estimation Using SHAP Analysis. Quality and Reliability Engineering International 2026.
- Pan, S.; Morris, T.; Adhikari, U. Classification of disturbances and cyber-attacks in power systems using heterogeneous time-synchronized data. IEEE Transactions on Industrial Informatics 2015, 11, 650–662. [CrossRef]
- Pan, S.; Morris, T.H.; Adhikari, U. A specification-based intrusion detection framework for cyber-physical environment in electric power system. Int. J. Netw. Secur. 2015, 17, 174–188.
- Pan, S.; Morris, T.; Adhikari, U. Developing a hybrid intrusion detection system using data mining for power systems. IEEE Transactions on Smart Grid 2015, 6, 3104–3113. [CrossRef]
- Hink, R.C.B.; Beaver, J.M.; Buckner, M.A.; Morris, T.; Adhikari, U.; Pan, S. Machine learning for power system disturbance and cyber-attack discrimination. In Proceedings of the 2014 7th International symposium on resilient control systems (ISRCS). IEEE, 2014, pp. 1–8.
- Zhang, Z.; Hamadi, H.A.; Damiani, E.; Yeun, C.Y.; Taher, F. Explainable Artificial Intelligence Applications in Cyber Security: State-of-the-Art in Research. IEEE Access 2022, 10, 93104–93139. [CrossRef]
- Huang, X.; Zhang, Z.; Guo, F.; Wang, X.; Chi, K.; Wu, K. Research on older adults’ interaction with e-health interface based on explainable artificial intelligence. In Proceedings of the International Conference on Human-Computer Interaction. Springer, 2024, pp. 38–52.
- Zhang, Z.; Umar, S.; Hammadi, A.Y.A.; Yoon, S.; Damiani, E.; Ardagna, C.A.; Bena, N.; Yeun, C.Y. Explainable Data Poison Attacks on Human Emotion Evaluation Systems Based on EEG Signals. IEEE Access 2023, 11, 18134–18147. [CrossRef]
- Lee, S.; Kwon, O.; Ju, H.; Kim, J.; Kim, J.; Kim, S.; Kim, H. State estimation of lithium-ion battery using a novel explainable artificial intelligence approach. Energy 2022, 247, 123464.
- Ribeiro, M.T.; Singh, S.; Guestrin, C. " Why should i trust you?" Explaining the predictions of any classifier. In Proceedings of the Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, 2016, pp. 1135–1144.
- Ribeiro, M.T.; Singh, S.; Guestrin, C. Anchors: High-precision model-agnostic explanations. In Proceedings of the Proceedings of the AAAI conference on artificial intelligence, 2018, Vol. 32.
- Ghorbanzadeh, G.; Nabizadeh, Z.; Karimi, N.; Khadivi, P.; Emami, A.; Samavi, S. DGAFF: Deep genetic algorithm fitness Formation for EEG Bio-Signal channel selection. Biomedical Signal Processing and Control 2023, 79, 104119. [CrossRef]
- Saibene, A.; Gasparini, F. Genetic algorithm for feature selection of EEG heterogeneous data. Expert Systems with Applications 2023, 217, 119488. [CrossRef]
- Wang, B.; Pei, W.; Xue, B.; Zhang, M. Explaining deep convolutional neural networks for image classification by evolving local interpretable model-agnostic explanations. arXiv preprint arXiv:2211.15143 2022.





| Feature | Description |
|---|---|
| PA1:VH – PA3:VH | Phase A – C voltage phase angle |
| PM1:V – PM3:V | Phase A – C voltage phase magnitude |
| PA4:IH – PA6:IH | Phase A – C current phase angle |
| PM4:I – PM6:I | Phase A – C current phase magnitude |
| PA7:VH – PA9:VH | Positive, negative, and zero-sequence voltage phase angle |
| PM7:V – PM9:V | Positive, negative, and zero-sequence voltage phase magnitude |
| PA10:IH – PA12:IH | Positive, negative, and zero-sequence current phase angle |
| PM10:I – PM12:I | Positive, negative, and zero-sequence current phase magnitude |
| F | Relay frequency |
| DF | Frequency delta () for relays |
| PA:Z | Apparent impedance for relays |
| PA:ZH | Apparent impedance angle for relays |
| S | Relay status flag |
| Model | Accuracy | AUC | Train Time (s) | #Features |
| RF | 0.9238 | 0.9756 | 252.99 | 115 |
| KNN | 0.8396 | 0.9009 | 1.70 | 115 |
| MLP | 0.8002 | 0.8484 | 537.72 | 115 |
| AdaBoost | 0.7102 | 0.6259 | 207.85 | 115 |
| Model | Acc | Time | ||||||
| RF | 0.9229 | 0.9756 | 273.60 | 0.9238 | 0.9756 | 252.99 | -0.0009 | 20.60 |
| KNN | 0.8377 | 0.8983 | 1.32 | 0.8396 | 0.9009 | 1.70 | -0.0019 | -0.38 |
| MLP | 0.8007 | 0.8504 | 599.07 | 0.8002 | 0.8484 | 537.72 | 0.0004 | 61.36 |
| AdaBoost | 0.7107 | 0.6430 | 228.43 | 0.7102 | 0.6259 | 207.85 | 0.0005 | 20.58 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
