Test Time Training for AC Power Flow Surrogates via Physics and Operational Constraint Refinement

Panteleimon Dogoulis, Mohammad Iman Alizadeh, Sylvain Kubler, Maxime Cordy
11/27/2025
cs.LGcs.AIeess.SY

No confident code implementation found for this paper.

Abstract

Power Flow (PF) calculation based on machine learning (ML) techniques offer significant computational advantages over traditional numerical methods but often struggle to maintain full physical consistency. This paper introduces a physics-informed test-time training (PI-TTT) framework that enhances the accuracy and feasibility of ML-based PF surrogates by enforcing AC power flow equalities and operational constraints directly at inference time. The proposed method performs a lightweight self-supervised refinement of the surrogate outputs through few gradient-based updates, enabling local adaptation to unseen operating conditions without requiring labeled data. Extensive experiments on the IEEE 14-, 118-, and 300-bus systems and the PEGASE 1354-bus network show that PI-TTT reduces power flow residuals and operational constraint violations by one to two orders of magnitude compared with purely ML-based models, while preserving their computational advantage. The results demonstrate that PI-TTT provides fast, accurate, and physically reliable predictions, representing a promising direction for scalable and physics-consistent learning in power system analysis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dogoulis2025test,
  title  = {Test Time Training for AC Power Flow Surrogates via Physics and Operational Constraint Refinement},
  author = {Panteleimon Dogoulis and Mohammad Iman Alizadeh and Sylvain Kubler and Maxime Cordy},
  year   = {2025},
  eprint = {2511.22343},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.22343v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.22343.svg)](https://codeofpaper.com/paper/2511.22343)

Discussion