Toolbox for Developing Physics Informed Neural Networks for Power Systems Components
Ioannis Karampinis, Petros Ellinas, Ignasi Ventura Nadal, Rahul Nellikkath, Spyros Chatzivasileiadis
TL;DR
Power systems with increasing renewable penetration exhibit low inertia and complex non-linear dynamics that challenge traditional solvers. The authors present an open-source, Python-based toolbox to develop physics-informed neural network (PINN) models of power-system components, enabling fast and scalable simulations that can be integrated with conventional simulators. The framework automates ODE setup, dataset generation (including Latin Hypercube Sampling) and collocation-based physics training, and is demonstrated on a 9th-order synchronous-machine model with an Automatic Voltage Regulator and Governor, achieving approximately $2.3\times 10^{-3}$ MAE with substantial inference-time gains. This work advances reproducible PINN-based component libraries for power-system dynamics and points to future extensions such as adaptive sampling, broader component coverage, and integration into commercial tools.
Abstract
This paper puts forward the vision of creating a library of neural-network-based models for power system simulations. Traditional numerical solvers struggle with the growing complexity of modern power systems, necessitating faster and more scalable alternatives. Physics-Informed Neural Networks (PINNs) offer promise to solve fast the ordinary differential equations (ODEs) governing power system dynamics. This is vital for the reliability, cost optimization, and real-time decision-making in the electricity grid. Despite their potential, standardized frameworks to train PINNs remain scarce. This poses a barrier for the broader adoption and reproducibility of PINNs; it also does not allow the streamlined creation of a PINN-based model library. This paper addresses these gaps. It introduces a Python-based toolbox for developing PINNs tailored to power system components, available on GitHub https://github. com/radiakos/PowerPINN. Using this framework, we capture the dynamic characteristics of a 9th-order system, which is probably the most complex power system component trained with a PINN to date, demonstrating the toolbox capabilities, limitations, and potential improvements. The toolbox is open and free to use by anyone interested in creating PINN-based models for power system components.
