This paper introduces LASS-ODE-Power, a foundation model designed to predict the complex, time-domain dynamic trajectories of modern power systems. By combining large-scale pretraining on general physical systems with a novel, cluster-based fine-tuning strategy, the authors provide a tool that is both faster than traditional numerical solvers and more generalizable than previous machine learning approaches.
TL;DR
LASS-ODE-Power is a foundation model that predicts power system dynamics by fine-tuning a large-scale ODE-based architecture using a "Mixture-of-LoRA" approach. It enables accurate, near real-time trajectory prediction across diverse operating regimes—from slow electromechanical swings to fast inverter transients—even in zero-shot settings where the specific system topology was never seen during training.
What Problem Does This Paper Address?
As power grids transition toward renewable-rich, inverter-dominated operations, their dynamic behavior becomes increasingly complex, multi-timescale, and non-linear. Traditional analysis relies on solving Differential-Algebraic Equations (DAEs), which is computationally expensive and requires precise knowledge of system parameters that are often uncertain or private.
Existing machine learning "surrogates" typically fail in two ways:
- Lack of Generalization: They are usually trained for one specific system and fail when the topology or operating conditions change.
- Computational Overhead: Many neural ODE models require expensive numerical integration during inference, limiting their use for high-throughput "what-if" analysis.
Methods
The authors build upon their prior work, LASS-ODE (LArge Scale Small ODE), a foundation architecture for dynamical systems. The framework consists of two main stages:
- Pretraining: The model is trained on over 40 GB of diverse ODE/DAE trajectories (fluid mechanics, chaotic systems, etc.) to learn a "Common Structure Hub" (CSH) of reusable dynamic patterns.
- Specialized Fine-Tuning (Mixture-of-LoRA): To handle the extreme heterogeneity of power data (e.g., comparing millisecond EMT transients to multi-second rotor angle swings), the authors propose a Mixture-of-LoRA (MoLoRA) strategy.
- The model clusters trajectories in a high-level latent space using K-means.
- It assigns specialized low-rank adaptation (LoRA) experts to each cluster.
- During inference, a "soft assignment" weight determines which experts to activate based on a short observed prefix of the trajectory.
A key technical innovation is the piecewise-linear ODE decoder. Instead of using a complex nonlinear function for the latent derivative, the model predicts local linear parameters ($A$ and $b$). This allows the latent evolution to be solved via highly efficient batched matrix exponentials on GPUs, significantly speeding up inference.
Datasets
- Pretraining: ~40 GB of heterogeneous ODE/DAE trajectories from various domains (physics, biology, control systems).
- Fine-tuning: ~1 GB of power-system-specific data, including:
- Rotor-angle transients: Swing-equation dynamics.
- Voltage dynamics: Exponential recovery load models.
- EMT (Electromagnetic Transient) waveforms: High-resolution phase-domain voltages during faults.
- Evaluation: Standard benchmarks like the IEEE 39-bus system and multi-converter grid models.
Key Insights and Ideas
- Latent Clustering for Regime Adaptation: Naively fine-tuning a foundation model on all power data at once can lead to "negative transfer" because EMT and electromechanical dynamics are so different. Clustering in the latent space allows the model to specialize without losing its general foundation.
- Linearity is Efficiency: By parameterizing the latent space as a sequence of piecewise-linear ODEs, the model bypasses the need for traditional, slow numerical integrators (like Runge-Kutta) during the prediction phase.
- Zero-Shot Transfer: Because the model learns fundamental dynamic structures rather than just memorizing specific grid maps, it can predict trajectories for "unseen" buses (Buses 31–33 in Table II) with high accuracy.
Key Results
LASS-ODE-Power was compared against state-of-the-art time-series foundation models like TimesFM, Chronos, and TimerXL.
- Accuracy: In frequency prediction tasks, LASS-ODE-Power achieved Mean Squared Errors (MSE) orders of magnitude lower than generic models. For example, on unseen "zero-shot" buses, it maintained an MSE around $0.12 \times 10^{-2}$, while baselines often exceeded $20 \times 10^{-2}$.
- Speed: The model processed 64 trajectories in roughly 0.379 seconds, outperforming Chronos (1.707s) and matching the speed of the much simpler Timer-XL, making it suitable for real-time operational studies.
- Visual Fidelity: As shown in the figures below, LASS-ODE-Power (blue line) captures the oscillatory nature of power dynamics much more accurately than generic models, which tend to "flatline" or produce physically inconsistent dampening.
Limitations and Future Work
- Discrete Events: While the model handles piecewise trajectories, explicitly modeling the exact timing of discrete switching events (like breaker actions) remains a challenge for future iterations.
- Data Dependency: While it requires less data than training from scratch, the model still needs a representative 1 GB "slice" of power dynamics to fine-tune effectively.
- Scalability to Ultra-Large Grids: The paper demonstrates success on standard IEEE systems; testing the limits of the Transformer backbone on continental-scale grids with thousands of states is a logical next step.
Summary updated