Physics-Guided Transformer Framework for Real-Time Voltage Stability Margin Prediction under Renewable Uncertainty
DOI:
https://doi.org/10.67308/irjist.087Keywords:
Voltage stability margin, Physics-guided learning, Transformer model, Renewable uncertainty, CWGAN-GP, PMU dataAbstract
This paper proposes a Physics-Guided Transformer (PG-Transformer) framework that integrates physical knowledge of power systems with advanced deep learning architectures for accurate and uncertainty-aware VSM prediction. Simulated Phasor Measurement Unit (PMU) measurements generated from dynamic time-domain simulations of the benchmark IEEE 39-bus and IEEE 118-bus systems are preprocessed using denoising, normalization and time windowing techniques to form a multivariate time series dataset. Classical stability indices L-index, Thevenin Equivalent Ratio and PV Margin are embedded into the learning pipeline to guide the model toward physically consistent feature representations. To address severe class imbalance, a Conditional Wasserstein GAN with Gradient Penalty (CWGAN-GP) is employed to generate synthetic unstable samples while maintaining physical validity. The proposed PG-Transformer employs multi-head self-attention for spatiotemporal correlation learning and Monte Carlo Dropout for uncertainty quantification. Experimental results show that the model achieves an RMSE of 0.0378, R² of 0.973, accuracy of 96.67%, F1-score of 0.886, and AUC of 0.987, outperforming state-of-the-art baselines such as Random Forest, CNN-LSTM and Physics-Guided LSTM models. Ablation studies confirm the complementary benefits of physics-guided features, GAN-based resampling, and uncertainty modeling, collectively improving accuracy by 6.47%. The framework operates with an average inference latency of 1.75 ms/sample, validating its suitability for real-time voltage stability monitoring in renewable-rich smart grids.
Downloads
References
[1] M. Pandit and R. Sodhi, “Randomized Singular Value Decomposition Based Real-Time Wide Area Voltage Stability Assessment,” Electric Power Systems Research, vol. 231, Art. no. 110310, Jun. 2024, doi: 10.1016/j.epsr.2024.110310.
[2] M. Miyazaki, M. Aoki, and Y. Nakamura, “Voltage Stability Estimation Considering Variability in Reactive Power Reserves Using Regression Trees,” Energies, vol. 18, no. 5, Art. no. 1260, 2025, doi: 10.3390/en18051260.
[3] L. M. Putranto and I. F. Azhar, “A Proposed PMU-Based Voltage Stability and Critical Bus Detection Method Using Artificial Neural Network,” Energy Informatics, vol. 7, no. 1, 2024.
[4] S. Sahu, A. Kumar, and S. K. Goswami, “Application of Cascaded Neural Network for Prediction of Voltage Stability Margin in a Solar and Wind Integrated Power System,” Engineering Applications of Artificial Intelligence, vol. 138, Art. no. 109368, Dec. 2024.
[5] T. Luo and X. Jiang, “A Novel Multi-Task Learning Method for Evaluating Short-Term Voltage Stability With Incomplete PMU Measurements,” Complex & Intelligent Systems, vol. 10, pp. 1971–1983, 2024.
[6] Y. Li, S. Zhang, Y. Li, J. Cao, and S. Jia, “PMU Measurements Based Short-Term Voltage Stability Assessment of Power Systems via Deep Transfer Learning,” arXiv:2308.03953, 2023.
[7] Z. Feng, X. Chen, Z. Lv, P. Sun, and K. Wu, “Transferable Deep Learning Power System Short-Term Voltage Stability Assessment With Physics-Informed Topological Feature Engineering,” IEEE Access, 2024.
[8] M. E. C. Bento, “Physics-Informed Neural Network for Load Margin Assessment of Power Systems With Optimal Phasor Measurement Unit Placement,” Electricity, vol. 5, no. 4, pp. 785–803, 2024.
[9] H.-Y. Su and C.-C. Lai, “Improving Online Voltage Stability Monitoring in Smart Grids: A Physics-Informed Guided Deep Learning Model,” IEEE Transactions on Industry Applications, 2025.
[10] Y. Li, C. Ma, Y. Li, S. Li, Y. Chen, and Z. Dong, “QSTAformer: A Quantum-Enhanced Transformer for Robust Short-Term Voltage Stability Assessment Against Adversarial Attacks,” arXiv:2512.09936, 2025.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Md. Showrov Hossen, Md. Taukir Ahmed (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
Articles published in the International Research Journal of Innovation in Science and Technology (IRJIST) are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Authors retain the copyright of their work and grant the journal the right of first publication. Proper attribution to the authors and the journal is required for any reuse of the published content.