Active Distribution Network Voltage Control with a Physics-Informed Spatiotemporal Attention Network
Abstract
1. Introduction
- Existing multi-agent approaches primarily model interactions based on communication links or topological adjacency, which fails to capture the true electrical coupling governed by line parameters in distribution networks [10,12,13,14]. To overcome this limitation, we propose a graph-attention-based value modeling method that embeds physical priors within localized electrical neighborhoods. Specifically, key electrical quantities—such as line impedance and electrical distance—are explicitly incorporated into the attention mechanism, aligning the message-passing process within the value network more closely with actual power-flow coupling. Furthermore, imposing electrical-neighborhood constraints restricts the receptive field to local regions with pronounced physical coupling, enabling value modeling that is physically consistent and structurally interpretable at the graph level.
- We introduce a node-conditional value output and spatial credit-alignment mechanism. Instead of using a conventional centralized critic that produces a single global scalar value [15,24], the proposed critic directly decodes graph-node representations into individual agent-specific estimates. A gradient-isolation design ensures that each actor only receives the value gradient associated with its own node, enabling fine-grained spatial credit assignment within a shared critic [17,18,19,23].
- We design a spatiotemporally decoupled value-learning framework that balances critic-side temporal modeling with actor-side lightweight inference. On the critic side, historical observations are compressed into temporal latent variables through a learnable temporal module inspired by recent temporal latent attention [21,22]. A gated bypass alleviates cold-start instability, while delayed action fusion shortens the gradient path from the value function to the action and reduces gradient attenuation through the temporal encoder.
- We conduct systematic experiments on the MAPDN multi-agent distribution-network benchmark [8]. Across different network scales, the proposed method consistently outperforms representative baselines in voltage-control performance and training stability. Ablation studies further verify the complementarity of the three core components and clarify their individual contributions.
2. Related Work
2.1. Traditional Optimization and MARL for AVC
2.2. Physics-Informed Topology and Graph Representation Learning for AVC
2.3. Temporal Modeling and Spatiotemporal Learning Under Partial Observability
2.4. Credit Assignment and Node-Level Value Learning Under CTDE
3. Problem Formulation
3.1. AVC Task Description
3.2. Physical Constraints and Control Objective
3.3. Dec-POMDP Formulation for AVC
4. Our Method
4.1. Overall Architecture of the Proposed PST-MA
4.2. Observation Encoding with Temporal Compression and Delayed Action Fusion
4.3. Physics-Informed Local Electrical Graph Construction and Spatial Attention Modeling
4.4. Node-Conditional Value Output and Spatial Credit Alignment
4.5. Algorithm Procedure
| Algorithm 1. Training Procedure of PST-MA |
| Initialize , , , , , and . For episode do Reset the environment; obtain ; initialize . For do Execute ; observe and ; store into . Sample . Construct focus graphs by (43) and extract node-conditional values by (44): Compute via Double Q-learning, and update Soft-update and with for the spatial/value heads and for temporally related parameters. End For End For |
5. Experiments
5.1. Experimental Setup
5.1.1. Environments
5.1.2. Experimental Comparison Methods
- (1)
- GKAN-MA is a recently proposed graph-attention-based MARL framework enhanced by a Kolmogorov–Arnold Network (KAN) value head. It introduces GATv2 into the MADDPG backbone and replaces the conventional value head with learnable B-spline basis functions. As a graph-based baseline, it is particularly relevant for assessing the incremental contribution of our proposed design [41].
- (2)
- MADDPG employs an actor–critic architecture under the CTDE paradigm. Each agent operates a decentralized actor driven by local observations and a centralized critic conditioned on joint information. It is the standard continuous control baseline within the MAPDN environment and serves as the foundational paradigm for our method [15].
- (3)
- MATD3 extends the actor–critic framework with twin critics and target policy smoothing, which helps mitigate Q-value overestimation in complex multi-agent environments [42].
- (4)
- MAPPO extends Proximal Policy Optimization (PPO) to the multi-agent setting by using a shared centralized value function during training. It serves as a strong policy optimization baseline in cooperative MARL [24].
- (5)
- OPF is a centralized model-based optimization baseline that does not involve learning. At each control interval, it directly solves a reactive-power optimization problem using full network parameters and global bus measurements, subject to AC power-flow equations and inverter capability constraints. It serves as a non-learning model-based reference for comparison with the MARL methods [3].
5.1.3. Evaluation Metrics
5.1.4. Other Settings
5.2. Performance in Benchmark Scenarios
5.3. Analysis on a Typical Test Day
5.3.1. Results in the 33-Bus System
5.3.2. Results in the 141-Bus System
5.4. Ablation Study
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Nomenclature
| Symbol | Description |
| AVC | Active Voltage Control. |
| MARL | Multi-Agent Reinforcement Learning. |
| PV | Photovoltaic. |
| ADN | Active Distribution Network. |
| OPF | Optimal Power Flow. |
| CTDE | Centralized Training with Decentralized Execution. |
| MAPDN | Multi-Agent Power Distribution Network benchmark. |
| Dec-POMDP | Decentralized partially observable Markov decision process. |
| GATv2 | Graph Attention Network v2. |
| MTLA | Multi-head Temporal Latent Attention. |
| Indices of agent, bus, and time step. | |
| Number of buses. | |
| Number of PV-inverter agents. | |
| Control interval; set to 3 min in this study. | |
| Lower and upper voltage bounds (0.95 and 1.05 p.u.). | |
| Complex voltage phasor at bus k (magnitude angle ). | |
| Net active and reactive power injection at bus | |
| Length of the control. | |
| Voltage-penalty and reactive-consumption weights. | |
| Voltage-bowl barrier function. | |
| Apparent-power capacity of inverter | |
| Active-power output of inverter at time | |
| Dec-POMDP tuple representing the multi-inverter coordination problem. | |
| Local observation of agent at time the critic additionally uses a length- stacked history. | |
| Length of the stacked observation history fed to the critic. | |
| Padded per-frame local-observation dimension. | |
| Raw policy output and scaled reactive-power control signal. | |
| Active and reactive power output of inverter at time . | |
| Scaling coefficient bounding the normalized control signal. | |
| Reference voltage (1.0 p.u.). | |
| Parameters of the bowl barrier. | |
| Discount factor. | |
| Parameter-shared actor and centralized critic. | |
| CR, PL | Controllable ratio and active-line-loss (power-loss) metrics. |
| Set of all distribution lines. | |
| Active power loss on line | |
| Per-token embedding dimension of the temporal encoder. | |
| Temporal downsampling stride (window length) in MTLA compression. | |
| (windows) | Number of compressed temporal windows in MTLA, |
| Per-head dimension in multi-head attention. | |
| Temporal summary, current-frame, and gated-fused node features. | |
| (·) | Element-wise sigmoid activation function (used in the gating bypass). |
| Element-wise (Hadamard) product. | |
| [·;·] | Vector concatenation along the feature axis. |
| Physics-informed agent graph with edge-feature tensor and electrical-distance attention bias | |
| Resistance and reactance of line ( ). | |
| Per-kilometre resistance and reactance of a distribution line. | |
| Physical length of a line in kilometres. | |
| Aggregated electrical distance between agents and | |
| Size of electrical k-NN neighborhood. | |
| Number of attention heads in the GATv2 spatial encoder. | |
| Scalar coefficient controlling the strength of the electrical-distance attention bias. | |
| GATv2 attention coefficient between agents on head | |
| Number of stacked residual gated MLP blocks in the value head. | |
| Node-conditional Q-value of agent i. | |
| Mini-batch size used for critic/actor updates. | |
| Per-agent action dimension ( 1 in this work). |
References
- Kundur, P. Power system stability. In Power System Stability and Control; Taylor & Francis Group: Oxfordshire, UK, 2007; Volume 10, 218p. [Google Scholar]
- Cao, D.; Hu, W.; Zhao, J.; Huang, Q.; Chen, Z.; Blaabjerg, F. A multi-agent deep reinforcement learning based voltage regulation using coordinated PV inverters. IEEE Trans. Power Syst. 2020, 35, 4120–4123. [Google Scholar] [CrossRef]
- Agalgaonkar, Y.P.; Pal, B.C.; Jabr, R.A. Distribution voltage control considering the impact of PV generation on tap changers and autonomous regulators. IEEE Trans. Power Syst. 2013, 29, 182–192. [Google Scholar] [CrossRef]
- Wu, J.; Wang, Z.; Han, J.; Li, Q.; Sun, R.; Li, C.; Cheng, Y.; Zhou, B.; Guo, J.; Long, B. A Novel Data-Driven Multi-Agent Reinforcement Learning Approach for Voltage Control Under Weak Grid Support. Sensors 2025, 25, 7399. [Google Scholar] [CrossRef] [PubMed]
- Su, S.; Zhan, H.; Zhang, L.; Xie, Q.; Si, R.; Dai, Y.; Gao, T.; Wu, L.; Zhang, J.; Shang, L. Volt-VAR control in active distribution networks using multi-agent reinforcement learning. Electronics 2024, 13, 1971. [Google Scholar] [CrossRef]
- Zhang, L.; Yang, F.; Yan, D.; Qian, G.; Li, J.; Shi, X.; Xu, J.; Wei, M.; Ji, H.; Yu, H. Multi-agent deep reinforcement learning-based distributed voltage control of flexible distribution networks with soft open points. Energies 2024, 17, 5244. [Google Scholar] [CrossRef]
- Wei, H.; Chang, S.; Zhang, J. Graph-Based topological embedding and deep reinforcement learning for autonomous voltage control in power system. Sensors 2025, 25, 733. [Google Scholar] [CrossRef] [PubMed]
- Wang, J.; Xu, W.; Gu, Y.; Song, W.; Green, T.C. Multi-agent reinforcement learning for active voltage control on power distribution networks. Adv. Neural Inf. Process. Syst. 2021, 34, 3271–3284. [Google Scholar]
- Wu, Z.; Li, Y.; Gu, W.; Dong, Z.; Zhao, J.; Liu, W.; Zhang, X.P.; Liu, P.; Sun, Q. Multi-timescale voltage control for distribution system based on multi-agent deep reinforcement learning. Int. J. Electr. Power Energy Syst. 2023, 147, 108830. [Google Scholar] [CrossRef]
- Luo, F.; Wang, S.; Lv, Y.; Mu, R.; Fo, J.; Zhang, T.; Xu, J.; Wang, C. Domain knowledge-enhanced graph reinforcement learning method for Volt/Var control in distribution networks. Appl. Energy 2025, 398, 126409. [Google Scholar] [CrossRef]
- Qu, Y.; Ma, J.; Wu, F. Safety constrained multi-agent reinforcement learning for active voltage control. arXiv 2024, arXiv:2405.08443. [Google Scholar] [CrossRef]
- Hu, D.; Li, Z.; Ye, Z.; Peng, Y.; Xi, W.; Cai, T. Multi-agent graph reinforcement learning for decentralized Volt-VAR control in power distribution systems. Int. J. Electr. Power Energy Syst. 2024, 155, 109531. [Google Scholar] [CrossRef]
- Mu, C.; Liu, Z.; Yan, J.; Jia, H.; Zhang, X. Graph multi-agent reinforcement learning for inverter-based active voltage control. IEEE Trans. Smart Grid 2023, 15, 1399–1409. [Google Scholar] [CrossRef]
- Zhang, B.; Cao, D.; Hu, W.; Ghias, A.M.; Chen, Z. Physics-Informed Multi-Agent deep reinforcement learning enabled distributed voltage control for active distribution network using PV inverters. Int. J. Electr. Power Energy Syst. 2024, 155, 109641. [Google Scholar] [CrossRef]
- Lowe, R.; Wu, Y.; Tamar, A.; Harb, J.; Abbeel, P.; Mordatch, I. Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017; Volume 30. [Google Scholar] [CrossRef]
- Oroojlooy, A.; Hajinezhad, D. A review of cooperative multi-agent deep reinforcement learning. Appl. Intell. 2023, 53, 13677–13722. [Google Scholar] [CrossRef]
- Chen, R.; Tan, Y. Credit assignment with predictive contribution measurement in multi-agent reinforcement learning. Neural Netw. 2023, 164, 681–690. [Google Scholar] [CrossRef] [PubMed]
- Liang, Y.; Wu, H.; Wang, H.; Cai, H. Asynchronous credit assignment for multi-agent reinforcement learning. arXiv 2024, arXiv:2408.03692. [Google Scholar]
- Liu, K.; Zhang, T.; Xu, X.; Zhao, Y. Counterfactual value decomposition for cooperative multi-agent reinforcement learning. Neural Netw. 2025, 190, 107692. [Google Scholar] [CrossRef]
- Hausknecht, M.J.; Stone, P. Deep Recurrent Q-Learning for Partially Observable MDPs. In AAAI Fall Symposia; The University of Texas at Austin: Austin, TX, USA, 2015; Volume 45, p. 141. [Google Scholar]
- Deng, K.; Woodland, P.C. Multi-head Temporal Latent Attention. arXiv 2025, arXiv:2505.13544. [Google Scholar] [CrossRef]
- Li, X.; Xue, S.; He, Z.; Shi, H. TMAC: A Transformer-based partially observable multi-agent communication method. PeerJ Comput. Sci. 2025, 11, e2758. [Google Scholar] [CrossRef]
- Li, Z.; Wu, L.; Su, K.; Wu, W.; Jing, Y.; Wu, T.; Duan, W.; Yue, X.; Tong, X.; Han, Y. Coordination as inference in multi-agent reinforcement learning. Neural Netw. 2024, 172, 106101. [Google Scholar] [CrossRef]
- Yu, C.; Velu, A.; Vinitsky, E.; Gao, J.; Wang, Y.; Bayen, A.; Wu, Y. The surprising effectiveness of ppo in cooperative multi-agent games. Adv. Neural Inf. Process. Syst. 2022, 35, 24611–24624. [Google Scholar]
- Hua, D.; Peng, F.; Liu, S.; Lin, Q.; Fan, J.; Li, Q. Coordinated volt/var control in distribution networks considering demand response via safe deep reinforcement learning. Energies 2025, 18, 333. [Google Scholar] [CrossRef]
- Murugesan, A.; Durgadevi, K.; Contractor, D.; Rathod, Y. Machine learning-driven intelligent voltage control in renewable energy grids. Electr. Power Syst. Res. 2025, 248, 111869. [Google Scholar] [CrossRef]
- Zhang, Y.; Yue, M.; Wang, J.; Yoo, S. Multi-agent graph-attention deep reinforcement learning for post-contingency grid emergency voltage control. IEEE Trans. Neural Netw. Learn. Syst. 2024, 35, 3340–3350. [Google Scholar] [CrossRef]
- Zhang, X.; Gui, X.; Sun, P.; Li, X.; Zhang, Y.; Wang, X.; Dang, C.; Liu, X. Reactive Power Optimization of a Distribution Network Based on Graph Security Reinforcement Learning. Appl. Sci. 2025, 15, 8209. [Google Scholar] [CrossRef]
- Brody, S.; Alon, U.; Yahav, E. How attentive are graph attention networks? arXiv 2021, arXiv:2105.14491. [Google Scholar]
- Su, T.; Zhao, J.; Pei, Y.; Ding, F. Probabilistic physics-informed graph convolutional network for active distribution system voltage prediction. IEEE Trans. Power Syst. 2023, 38, 5969–5972. [Google Scholar] [CrossRef]
- Hong, Z.W.; Su, S.Y.; Shann, T.Y.; Chang, Y.H.; Lee, C.Y. A deep policy inference q-network for multi-agent systems. arXiv 2017, arXiv:1712.07893. [Google Scholar]
- Rashid, T.; Samvelyan, M.; De Witt, C.S.; Farquhar, G.; Foerster, J.; Whiteson, S. Monotonic value function factorisation for deep multi-agent reinforcement learning. J. Mach. Learn. Res. 2020, 21, 1–51. [Google Scholar]
- Ngo, Q.H.; Nguyen, B.L.; Vu, T.V.; Zhang, J.; Ngo, T. Physics-informed graphical neural network for power system state estimation. Appl. Energy 2024, 358, 122602. [Google Scholar] [CrossRef]
- Sunehag, P.; Lever, G.; Gruslys, A.; Czarnecki, W.M.; Zambaldi, V.; Jaderberg, M.; Lanctot, M.; Sonnerat, N.; Leibo, J.Z.; Tuyls, K.; et al. Value-decomposition networks for cooperative multi-agent learning. arXiv 2017, arXiv:1706.05296. [Google Scholar]
- Wang, J.; Ren, Z.; Han, B.; Ye, J.; Zhang, C. Towards understanding cooperative multi-agent q-learning with value factorization. Adv. Neural Inf. Process. Syst. 2021, 34, 29142–29155. [Google Scholar]
- Son, K.; Kim, D.; Kang, W.J.; Hostallero, D.E.; Yi, Y. Qtran: Learning to factorize with transformation for cooperative multi-agent reinforcement learning. In Proceedings of the 36th International Conference on Machine Learning, Long Beach, CA, USA, 9–15 June 2019; pp. 5887–5896. [Google Scholar]
- Foerster, J.; Farquhar, G.; Afouras, T.; Nardelli, N.; Whiteson, S. Counterfactual multi-agent policy gradients. Proc. AAAI Conf. Artif. Intell. 2018, 32, 11794. [Google Scholar] [CrossRef]
- Li, J.; Kuang, K.; Wang, B.; Liu, F.; Chen, L.; Fan, C.; Wu, F.; Xiao, J. Deconfounded value decomposition for multi-agent reinforcement learning. In Proceedings of the 39th International Conference on Machine Learning, Baltimore, MD, USA, 17–23 July 2022; PMLR: Baltimore, MD, USA, 2022; pp. 12843–12856. [Google Scholar]
- Wu, X.; Zhu, Y.; Chen, C.; Chen, C. GCM: Interpretable Multiagent Reinforcement Learning via Graph Cooperation Modeling. IEEE Trans. Neural Netw. Learn. Syst. 2026, 37, 1823–1837. [Google Scholar] [CrossRef]
- Choi, Y.; Di Marco, P.; Park, P. Communication-Aware Graph Neural Network for Multi-Agent Reinforcement Learning. IEEE Access 2025, 13, 55832–55840. [Google Scholar] [CrossRef]
- Sun, L.; Xiao, H.; Qi, S.; Li, H.; Zhang, J.; Wang, X. KAN-Enhanced Graph Learning for Active Voltage Control in Dynamic Power Systems. In Proceedings of the 25th International Conference on Autonomous Agents and Multiagent Systems, Paphos, Cyprus, 25–29 May 2026. [Google Scholar]
- Ackermann, J.; Gabler, V.; Osa, T.; Sugiyama, M. Reducing overestimation bias in multi-agent domains using double centralized critics. arXiv 2019, arXiv:1910.01465. [Google Scholar] [CrossRef]








| Parameters | Values | |
|---|---|---|
| 33-Bus | 141-Bus | |
| GATv2 attention heads | 2 | 4 |
| GATv2 head dimension | 64 | 32 |
| GATv2 dropout rate | 0.2 | 0.4 |
| Electrical neighborhood size (k) | 2 | 6 |
| Electrical-distance attention bias | 0.08 | 0.1 |
| MTLA embedding dimension | 128 | 128 |
| MTLA attention heads | 2 | 2 |
| MTLA downsampling rate | 2 | 2 |
| MTLA dropout rate | 0.1 | 0.1 |
| Methods | 33-Bus | 141-Bus | ||
|---|---|---|---|---|
| CR | PL | CR | PL | |
| PST-MA | 0.9523 | 0.0563 | 0.9427 | 1.4564 |
| GKAN-MA | 0.9205 | 0.0623 | 0.8033 | 0.7192 |
| MADDPG | 0.9004 | 0.0672 | 0.8724 | 1.1071 |
| MATD3 | 0.8795 | 0.0790 | 0.6255 | 1.6065 |
| MAPPO | 0.7364 | 0.1550 | 0.7469 | 1.4043 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Xia, T.; Li, H.; Deng, Y.; Lin, Z.; Wang, L. Active Distribution Network Voltage Control with a Physics-Informed Spatiotemporal Attention Network. Appl. Sci. 2026, 16, 5109. https://doi.org/10.3390/app16105109
Xia T, Li H, Deng Y, Lin Z, Wang L. Active Distribution Network Voltage Control with a Physics-Informed Spatiotemporal Attention Network. Applied Sciences. 2026; 16(10):5109. https://doi.org/10.3390/app16105109
Chicago/Turabian StyleXia, Tong, Huale Li, Yueting Deng, Zetao Lin, and Lei Wang. 2026. "Active Distribution Network Voltage Control with a Physics-Informed Spatiotemporal Attention Network" Applied Sciences 16, no. 10: 5109. https://doi.org/10.3390/app16105109
APA StyleXia, T., Li, H., Deng, Y., Lin, Z., & Wang, L. (2026). Active Distribution Network Voltage Control with a Physics-Informed Spatiotemporal Attention Network. Applied Sciences, 16(10), 5109. https://doi.org/10.3390/app16105109

