SafePowerGraph-HIL: Real-Time HIL Validation of Heterogeneous GNNs for Bridging Sim-to-Real Gap in Power Grids
Aoxiang Ma, Salah Ghamizi, Jun Cao, Pedro Rodriguez
TL;DR
The paper addresses the sim-to-real gap in power-system ML validation by integrating real-time hardware-in-the-loop testing with a heterogeneous graph neural network ($HGNN$) for state estimation and dynamic analysis. It introduces the SafePowerGraph-HIL framework, combining real-time high-fidelity data generation in Hypersim, SCADA-to-AWS data transfer, and HGNN-based modeling of PF/OPF problems. Empirical results on the WSCC 9-Bus show strong synthetic-domain performance but notable domain shift when confronted with real-time data, which is mitigated by fine-tuning on hardware-generated data, demonstrating 13% and 75% reductions in error for buses and slack-state predictions respectively. The approach offers a robust, real-time pathway for monitoring and adaptive control in evolving grids, with potential to accelerate deployment of intelligent grid-management strategies while bridging the gap between simulation and real-world operation.
Abstract
As machine learning (ML) techniques gain prominence in power system research, validating these methods' effectiveness under real-world conditions requires real-time hardware-in-the-loop (HIL) simulations. HIL simulation platforms enable the integration of computational models with physical devices, allowing rigorous testing across diverse scenarios critical to system resilience and reliability. In this study, we develop a SafePowerGraph-HIL framework that utilizes HIL simulations on the IEEE 9-bus system, modeled in Hypersim, to generate high-fidelity data, which is then transmitted in real-time via SCADA to an AWS cloud database before being input into a Heterogeneous Graph Neural Network (HGNN) model designed for power system state estimation and dynamic analysis. By leveraging Hypersim's capabilities, we simulate complex grid interactions, providing a robust dataset that captures critical parameters for HGNN training. The trained HGNN is subsequently validated using newly generated data under varied system conditions, demonstrating accuracy and robustness in predicting power system states. The results underscore the potential of integrating HIL with advanced neural network architectures to enhance the real-time operational capabilities of power systems. This approach represents a significant advancement toward the development of intelligent, adaptive control strategies that support the robustness and resilience of evolving power grids.
