Modern power grids are crucial infrastructures underpinning societal stability, yet their complexity and dynamic nature pose significant challenges for traditional analytical methods. Graph Neural Networks (GNNs) have recently emerged as powerful tools for modeling complex relationships in graph-structured data, making them especially suitable for analyzing power systems. However, existing GNN methods typically focus on static or simplified network models, failing to adequately address dynamic topological changes and suffering from the over-smoothing issue. To overcome these limitations, we propose a novel GNN framework incorporating dynamic message-passing mechanisms, comprising Dynamic Topological Learning (DTL) and Adaptive Message-Passing (AMP) modules. Specifically, DTL captures dynamic changes in the power grid topology conditioned on the current state of the system, while AMP dynamically adjusts the message-passing process to effectively preserve local node information according to the updated topology. This framework is model-agnostic, allowing it to be integrated with various GNN architectures. Extensive experiments on multiple benchmark power grid datasets demonstrate that our proposed framework significantly enhances existing GNN methods in power flow and optimal power flow analysis, consistently achieving lower mean absolute error and higher R-squared scores.
Huang et al. (Fri,) studied this question.