PiGT-2F: Physics-Informed Graph Transformer for Robust Short-Term Distribution Forecasting
- Department of Industrial Engineering, ST.C. Islamic Azad University, Tehran, Iran
Received: 2025-09-25
Revised: 2025-10-28
Accepted: 2025-11-08
Published in Issue 2025-12-31
Copyright (c) 2025 Mohammad Shahbazi, Hamid Tohidi, Majid Nojavan (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
PDF views: 174
Abstract
High-resolution node-level forecasts of net load and distributed photovoltaic (PV) injection are increasingly essential for modern distribution system operations and planning. Yet most feeders remain sparsely metered and subject to intermittent telemetry loss, degrading purely statistical forecasting pipelines. We present PiGT-2F, a physics-informed graph Transformer that (i) learns jointly across electrically coupled feeders, (ii) modulates spatial attention by branch admittance, and (iii) embeds soft penalties that encourage compliance with Kirchhoff’s Current Law and ampacity limits. Evaluated on a multi-feeder benchmark constructed from public feeder models, national load profiles, PV telemetry, and realistic random-plus-structured telemetry gaps, PiGT-2F lowers system-average nRMSE by 15–34% across 5- to 60-minute horizons and cuts physics-violation metrics by up to 80% relative to strong deep learning baselines. The architecture’s near-linear temporal attention cost enables multi-day history windows, and its physics regular-ization provides resilience when the grid is partially blind. Evaluation follows a feeder-level holdout to assess cross-topology generalization, and includes an anonymized real-telemetry micro-validation; code, configuration files, a benchmark generator, and a containerized reproduction package accompany the paper as described in the “Code and Data Availability” section.
Keywords
- Ampacity,
- Curriculum masking,
- Distribution forecasting,
- Graph Transformer,
- Kirchhoff’s laws,
- Missing data,
- Physics-informed ML,
- PV variability
References
- S. R. Abhyankar. "OpenDSS Open Source Distribution System Simulator." https://sourceforge.net/projects/electricdss (accessed.
- S. Arizona Public. "Distribution Operations Viz DOVIZ Project." APS. https://www.aps.com/en/About/Our-Company/Newsroom/Articles/Arizona-Public-Service-Launches-Distribution-Operations-Viz-(DOVIZ)-Project (accessed.
- E. Electric Power Research Institute. "OpenDSS Electric Power Distribution System Simulator." EPRI. https://smartgrid.epri.com/SimulationTool.aspx (accessed.
- E. Electric Power Research Institute. "Distribution System State Estimation DSSE White Paper." EPRI. https://www.epri.com/research/products/000000003002019002 (accessed.
- U. S. D. o. Energy. "Grid Modernization Initiative." DOE. https://www.energy.gov/gmi (accessed.
- I. Power and S. Energy. "IEEE 37-Bus Test Feeder." IEEE PES. https://site.ieee.org/pes-testfeeders/resources (accessed.
- I. Power and S. Energy. "IEEE 123-Bus Test Feeder." IEEE PES. https://site.ieee.org/pes-testfeeders/resources (accessed.
- S. Du, X. Chen, Y. He, K. Zheng, G. Liu, and S. Li, "Deep Mask-Aware Imputation for Multivariate Time Series," in Advances in Neural Information Processing Systems, 2022. [Online]. Available: https://papers.nips.cc/paper/2022/hash/147a5d1f28c457cc0ba324bb61207594-Abstract-Conference.html. [Online]. Available: https://papers.nips.cc/paper/2022/hash/147a5d1f28c457cc0ba324bb61207594-Abstract-Conference.html
- Matpower. "MATPOWER 6.0 Manual." http://www.pserc.cornell.edu/matpower/docs (accessed.
- Nyiso. "NYISO Load Profile." http://www.nyiso.com (accessed.
- A. Shapiro, M. Neiswanger, and E. P. Xing, "Task-Aware Evaluation of Imputation Methods for Missing Data," in International Conference on Learning Representations, 2022. [Online]. Available: https://openreview.net/forum?id=7Q2s1-0i_PA. [Online]. Available: https://openreview.net/forum?id=7Q2s1-0i_PA
- M. U. Usman and M. O. Faruque, "Applications of synchrophasor technologies in power systems," Journal of Modern Power Systems and Clean Energy, vol. 7, no. 2, pp. 211–226, 2018, doi: 10.1007/s40565-018-0455-8.
- L. Wang, Q. Zhou, and S. Jin, "Physics-guided Deep Learning for Power System State Estimation," Journal of Modern Power Systems and Clean Energy, vol. 8, no. 4, pp. 607–615, 2020, doi: 10.35833/mpce.2019.000565.
- M. Wu, "A physics-guided deep learning framework for power system state estimation," IEEE Access, vol. 9, pp. 13012–13022, 2021. [Online]. Available: https://ieeexplore.ieee.org/document/9353161.
- M. E. Baran and F. F. Wu, "Network reconfiguration in distribution systems for loss reduction and load balancing," IEEE Transactions on Power Delivery, vol. 4, no. 2, pp. 1401–1407, 1989, doi: 10.1109/61.25627.
- A. Bernstein, C. Wang, E. Dall’Anese, J. Y. Le Boudec, and C. Tomlin, "Linear State Estimation With Synchrophasor Measurements," IEEE Transactions on Power Systems, vol. 32, no. 1, pp. 352–361, 2017.
- M. Farivar and S. H. Low, "Branch Flow Model: Relaxations and Convexification—Part I," IEEE Transactions on Power Systems, vol. 28, no. 3, pp. 2554–2564, 2013, doi: 10.1109/tpwrs.2013.2255317.
- X. Li, Z. Wang, H. Chen, J. Wang, and C. Shen, "Generalized Multi-Phase LinDistFlow Model for Unbalanced Distribution Networks," IEEE Transactions on Smart Grid, vol. 10, no. 1, pp. 806–818, 2019.
- S. H. Low, "Convex Relaxation of Optimal Power Flow—Part I: Formulations and Equivalence," IEEE Transactions on Control of Network Systems, vol. 1, no. 1, pp. 15–27, 2014, doi: 10.1109/tcns.2014.2309732.
- L. Pagnier and M. Chertkov, "Physics-Informed Graphical Neural Networks for State Estimation in Distribution Systems," IEEE Transactions on Power Systems, vol. 36, no. 5, pp. 4847–4858, 2021.
- Y. Song and Y. Sun, "Physics-Informed Deep Learning for Power System Dynamic State Estimation," IEEE Transactions on Smart Grid, vol. 12, no. 5, pp. 4106–4116, 2021. [Online]. Available: https://ieeexplore.ieee.org/document/9435692.
- R. Soklaski, T. Nguyen, and Q. Qu, "Dozer A Model-based Zero-shot Framework for Interpretable Time-series Analysis," in Advances in Neural Information Processing Systems, 2023.
- S. Woo, J. Cha, and J. Jung, "Time Series Transformer With Patch Attention," in International Conference on Learning Representations, 2023.
- T. Wu, H. Wang, J. Li, X. Wang, C. Tan, and J. Zhang, "TimesNet Temporal 2D-Variation Modeling for General Time Series Analysis," in International Conference on Machine Learning, 2023. [Online]. Available: https://proceedings.mlr.press/v202/wu23j.html. [Online]. Available: https://proceedings.mlr.press/v202/wu23j.html
- H. Zeng, M. Zhang, and S. Li, "DLinear Linear Transformation Based Time Series Forecasting," arXiv preprint, 2023, doi: 10.48550/arXiv.2303.10987.
- L. Ambrogioni and E. Maris, "Complex-valued gaussian process regression for time series analysis," Signal Processing, vol. 160, pp. 215–228, 2019, doi: 10.1016/j.sigpro.2019.02.011.
- M. Abadi and P. Barham. "TensorFlow Large-Scale Machine Learning on Heterogeneous Systems." https://www.tensorflow.org/
- F. Chollet. "Keras." https://keras.io
- D. P. Kingma and J. Ba, "Adam A Method for Stochastic Optimization," in International Conference on Learning Representations, 2015, doi: 10.48550/arXiv.1412.6980.
- A. Oppenheim and R. Schafer, Discrete-Time Signal Processing, 3rd ed. Pearson, 2010.
- B. Lim, S. Ö. Arık, N. Loeff, and T. Pfister, "Temporal Fusion Transformers for interpretable multi-horizon time series forecasting," International Journal of Forecasting, vol. 37, no. 4, pp. 1748–1764, 2021, doi: 10.1016/j.ijforecast.2021.03.012.
- B. Yang, "Asymptotic convergence analysis of the projection approximation subspace tracking algorithms," Signal Processing, vol. 50, no. 1-2, pp. 123–136, 1996, doi: 10.1016/0165-1684(96)00008-4.
- H. Eskandari and R. Mirhaeri, "Dissolved gas analysis in transformer oil using machine learning techniques," Signal Processing and Renewable Energy, vol. 4, no. 3, pp. 35–45, 2020. [Online]. Available: https://oiccpress.com/spre/article/view/7792.
- A. Farzaneh and M. Dehghan, "A comparative study of deep learning models for PV power forecasting," Signal Processing and Renewable Energy, vol. 5, no. 2, pp. 49–60, 2021. [Online]. Available: https://oiccpress.com/spre/article/view/8215.
- N. Rahmaniyan and M. Karrari, "Bayesian approach to transformer fault diagnosis using dissolved gas analysis," Signal Processing and Renewable Energy, vol. 4, no. 1, pp. 15–26, 2020. [Online]. Available: https://oiccpress.com/spre/article/view/7738.
- S. Ghasemi and M. R. Haghifam, "Wind power forecasting using hybrid models," Signal Processing and Renewable Energy, vol. 1, no. 1, pp. 1–10, 2017. [Online]. Available: https://oiccpress.com/spre/article/view/5001.
- OpenDSSDirect.py. (2017). National Renewable Energy Laboratory (NREL). [Online]. Available: https://github.com/dss-extensions/OpenDSSDirect.py
10.57647/spre.2025.0904.22