Abstract
The dynamics of the power system are described by a system of differential-algebraic equations. Time-domain simulations are used to understand the evolution of the system dynamics. These simulations can be computationally expensive due to the stiffness of the system which requires the use of finely discretized time-steps. By increasing the allowable time-step size, we aim to accelerate such simulations. In this paper, we use the observation that even though the individual components are described using both algebraic and differential equations, their coupling only involves algebraic equations. Following this observation, we use Neural Networks (NNs) to approximate the components' state evolution, leading to fast, accurate, and numerically stable approximators, which enable larger time-steps. To account for effects of the network on the components and vice-versa, the NNs take the temporal evolution of the coupling algebraic variables as an input for their prediction. We initially estimate this temporal evolution and then update it in an iterative fashion using the Newton-Raphson algorithm. The involved Jacobian matrix is calculated with Automatic Differentiation and its size depends only on the network size but not on the component dynamics. We demonstrate this NN-based simulator on the IEEE 9-bus test case with 3 generators.
Introduction
Power systems are critical infrastructure whose stability depends on accurate dynamic modeling. These systems are typically represented by Differential-Algebraic Equations (DAEs), where differential equations describe the internal dynamics of components (like generators) and algebraic equations represent the network constraints (Kirchhoff’s laws). Traditional Time-Domain Simulation (TDS) methods, such as the trapezoidal rule, are the industry standard but suffer from a major bottleneck: the stiffness of the equations necessitates very small time steps to maintain numerical stability and accuracy.
While deep learning offers potential speedups, global models often struggle with the "curse of dimensionality" and lack flexibility when grid topologies change. This paper presents PINNSim, a modular approach that leverages Physics-Informed Neural Networks (PINNs) and spatial decomposition to overcome these limitations.
Methodology: PINNSim Architecture
The core innovation of PINNSim lies in its ability to decouple the learning process from the overall system size through three main pillars.
Spatial Decomposition
Instead of training a single monolithic network for the entire grid, PINNSim decomposes the system into individual dynamic components. Each component, such as a generator, is modeled by its own independent PINN. This ensures that the learning task remains low-dimensional and that the models are inherently modular.
Physics-Informed Neural Networks (PINNs)
Each PINN is trained to approximate the state evolution of its specific component. Crucially, the training loss includes a physics-based term derived from the component's differential equations. This "physics-informed" approach ensures that the neural network's predictions are consistent with the underlying physical laws, even when data is sparse.
Scalable Root-Finding
To ensure that the individual components interact correctly and satisfy the network's algebraic constraints, PINNSim employs a Newton-Raphson root-finding algorithm. The PINNs take the temporal evolution of coupling variables (like bus voltages) as inputs. These profiles are parameterized (e.g., using a second-order power series) to allow for larger time steps. The algorithm iteratively updates these profiles until the global algebraic equations—representing the network balance—are satisfied.
Experimental Setup and Results
The researchers validated PINNSim using the IEEE 9-bus test case featuring three generators. The training data consisted of 2,500 points per generator, supplemented by 5,000 collocation points for the physics-based loss. The model was tested across various disturbances, initial rotor angles, and frequency deviations.
Key Findings
- Increased Time Steps: PINNSim successfully simulated system dynamics with a time step of 0.25 seconds. In contrast, traditional trapezoidal methods failed to maintain accuracy at this scale, demonstrating PINNSim's superior stability for large-step integration.
- High Accuracy: The maximum error for frequency deviation ($Δ ω_2$) remained largely below 0.01 Hz, indicating that the neural approximators effectively capture the complex dynamics.
- Scalability: Because the Jacobian matrix used in the root-finding step depends only on the network size and not the complexity of individual component dynamics, the method scales efficiently to larger systems.
Conclusion and Future Work
PINNSim demonstrates that combining the fast inference of neural networks with the structured rigor of classical DAE solvers can significantly accelerate power system simulations. By allowing for time steps up to five times larger than traditional methods, it offers a promising path toward real-time stability analysis.
Future research will focus on incorporating more complex component models (e.g., exciters and governors), handling discrete events like short-circuits or line trips, and optimizing the implementation for high-performance computing environments to achieve significant wall-clock time reductions over current industry solvers.
Summary updated