Topology control for power grid operation is a challenging sequential decision making problem because the action space grows combinatorially with the size of the grid and action evaluation through simulation is computationally expensive. We propose a physics-informed Reinforcement Learning framework that combines semi-Markov control with a Gibbs prior, that encodes the system's physics, over the action space. The decision is only taken when the grid enters a hazardous regime, while a graph neural network surrogate predicts the post action overload risk of feasible topology actions. These predictions are used to construct a physics-informed Gibbs prior that both selects a small state-dependent candidate set and reweights policy logits before action selection. In this way, our method reduces exploration difficulty and online simulation cost while preserving the flexibility of a learned policy. We evaluate the approach in three realistic benchmark environments of increasing difficulty. Across all settings, the proposed method achieves a strong balance between control quality and computational efficiency: it matches oracle-level performance while being approximately 6× faster on the first benchmark, reaches 94.6% of oracle reward with roughly 200× lower decision time on the second one, and on the most challenging benchmark improves over a PPO baseline by up to 255% in reward and 284% in survived steps while remaining about 2.5× faster than a strong specialized engineering baseline. These results show that our method provides an effective mechanism for topology control in power grids.
Figures & tables
Method
Avg. reward
Avg. steps
Decision time (ms/step)
Random
28.9
1.6
0.008
PPO
106856.1
1679.0
0.009
Greedy oracle
127822.8
2017.0
0.190
Ours
127822.5
2017.0
0.032
TABLE I: Results on case14 ( A = 209, AtK = 64).
Method
Avg. reward
Avg. steps
Decision time (ms/step)
Random
1138.1
42.6
0.005
PPO
120540.6
1390.8
4.081
Greedy oracle
158549.3
1866.8
184.199
Ours
149963.1
1774.2
0.924
TABLE II: Results on case36 ( A = 66,978, AtK = 512).
Method
Avg. reward
Avg. steps
Decision time (ms/step)
Random
1038.1
13.2
0.006
PPO
23830.9
113.4
18.477
LJN (topology-only)
137420.6
717.6
81.495
Ours
84643.5
435.4
32.405
TABLE III: Results on case118 ( A = 73,357, AtK = 512).