NRIAG logo

Research Database

National Research Institute of Astronomy & Geophysics

← Back to the database

Tackling the Optimal Phasor Measurement Unit Placement and Attack Detection Problems in Smart Grids by Incorporating Machine Learning

Ramzi Al-Sharawi, Abdelfatah Ali, Mostafa Shaaban, Nasser Qaddoumi, Mohamed S. Abdalzaher

IEEE Open Journal of the Communications Society · 2025

Abstract

Smart grid cybersecurity is a critical research challenge due to society’s dependence on reliable electricity. Existing research primarily addresses cybersecurity by focusing on the optimal placement of phasor measurement units (PMUs) to ensure topological observability and minimize system costs, followed by developing AI-based attack detection algorithms. However, these studies fail to simultaneously consider system cost, loss in system observability, and false data injection attack (FDIA) detection performance. Thus, this paper proposes a novel approach by formulating this issue as a tri-objective functions optimization problem. The proposed approach optimizes PMU allocation to maximize topological observability and minimize system cost while improving the FDIA detection performance using machine learning. Specifically, the k-Nearest Neighbors (KNN) model’s Brier loss is used as an objective function within the Non-Dominated Sorting Genetic Algorithm II (NSGA-II) optimization framework to represent the FDIA detection performance. To demonstrate the proposed approach’s efficacy, it is tested on the IEEE 38-bus distribution system. To verify the strength of the developed KNN classifier, we examined it using seven different metrics: accuracy, brier loss, F1-score, elapsed time, learning curve, receiver operating characteristic curve (ROC) curve, and confusion matrix. The simulation results show that the KNN model achieved superior attack classification performance with a top accuracy of 99.99% and a minimal Brier loss of 9.9478×10-4 on the ±0.2% PMU observation tolerance dataset. These results highlight the success of our framework in concurrently optimizing attack detection performance, topological observability, and system cost.

Keywords

How to cite

Al-Sharawi, R., Ali, A., Shaaban, M., Qaddoumi, N., & Abdalzaher, M. S. (2025). Tackling the Optimal Phasor Measurement Unit Placement and Attack Detection Problems in Smart Grids by Incorporating Machine Learning. IEEE Open Journal of the Communications Society, 6, 4036–4050. https://doi.org/10.1109/ojcoms.2025.3564069