arXiv:2611.08867eess.SYNov 2026

Manuscript Offprint

arXiv:2611.08867

Extending Grid Foundation Models for Phasor-Domain Dynamic Simulation

Boyang Zhao, Yifan Zhou, Alban Puech, Tilman Bockhacker, Hendrik Hamann

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Boyang Zhao*, Yifan Zhou*, Alban Puech†, Tilman Bockhacker‡, and Hendrik Hamann*‡§

  • Department of Electrical and Computer Engineering, Stony Brook University, Stony Brook, NY, USA

{boyang.zhao.1,yifan.zhou.1,tilman.bockhacker,hendrik.hamann}@stonybrook.edu

† IBM Research, ETH Zürich, Zurich, Switzerland

{alban.puech2}@ibm.com

‡ School of Marine and Atmospheric Sciences, Stony Brook University, Stony Brook, NY, USA

§ Brookhaven National Laboratory, Upton, NY, USA

Abstract—Grid Foundation Models (GridFMs) are emerging as a powerful framework for learning and transferring knowledge across power grids and grid analysis tasks. This work extends GridFMs from steady-state analysis to dynamic simulation. We present DynGridFM, which uses component-wise tokenization and a structured latent operator to learn shared dynamic representations across heterogeneous grids and enable transfer to unseen systems. Pretrained on nine grids, DynGridFM is adapted to a held-out 48-machine grid, where fine-tuning on 64 trajectories achieves accuracy comparable to training from scratch on 128. On a single GPU, it achieves 924× to 1,232× speedup over numerical simulators on one CPU core.

Index Terms—Foundation models, phasor-domain simulation, power system dynamics, graph transformers, latent dynamics.

I. INTRODUCTION

Grid Foundation Models (GridFMs) are emerging as a promising framework for learning reusable representations across power grids and analysis tasks [1]. Rather than training a separate model for each task, GridFMs are pretrained on diverse grid configurations to learn a shared model that can be adapted to new systems and applications [2]. Recent studies demonstrate their capabilities in steady-state analysis, including power flow, optimal power flow, and state estimation [3].

Beyond steady-state analysis, power system planning and operation rely extensively on phasor-domain dynamic simulation to analyze post-disturbance responses, transient stability, and oscillation modes [4]. Unlike power flow or state estimation which solve steady-state snapshots, dynamic simulation involves temporal evolution governed by differential equations. Extending GridFMs to this setting therefore requires learning the underlying dynamics that drive this temporal evolution.

Neural networks have long been explored for time-domain simulation, both in power systems and in broader scientific and engineering applications. Yet, existing approaches mainly focus on learning the dynamic responses of a given system [5]–[7]. Although these models may cover different operating conditions and parameter settings, they typically rely on a predefined set of state variables and a fixed variable organization. Models developed within this fixed-system formulation do not readily transfer across heterogeneous power systems. Across grids, variations in network topology, component parameters, and operating conditions alter oscillation frequencies, damping characteristics, and modal interactions, while different machine models and controller combinations change the number and physical meaning of the state variables.

This paper develops DynGridFM, a GridFM for transferable phasor-domain dynamic simulation. The key idea is to construct grid-specific latent dynamic operators from shared component-level representations, enabling a single model to predict dynamics across grids with different state spaces and network structures. The key innovations are as follows:

  • Component-wise tokenization. Rather than directly encoding the entire grid, DynGridFM maps individual buses, machines, and controllers into a common token space. Transmission lines enter as pairwise features that bias the graph-transformer attention. These reusable mappings provide a shared representation across heterogeneous grids.

  • Latent-space dynamics evolution. Rather than directly fitting system trajectories, DynGridFM learns their evolution through a latent dynamical operator assembled from component-wise representations: self-dynamics blocks capture oscillation and damping, while coupling blocks encode interactions according to physical connectivity. This assembly allows the operator's dimension and structure to adapt to each grid while sharing learned dynamics across systems.

Pretrained on nine grids with 4 to 26 synchronous machines and diverse controllers, DynGridFM is adapted to a held-out 48-machine, 140-bus grid. Under an equal training budget, the fine-tuned model achieves accuracy comparable to training from scratch with about half as many training samples from the new grid, demonstrating the foundation-model capability of reusing knowledge for data-efficient adaptation. Once adapted, DynGridFM achieves roughly three orders of magnitude faster simulation than PST running on one CPU core.