Power Grid Model provides a calculation engine that is increasingly essential for operators in this new environment. It offers a standards-based foundation enabling real-time power systems analysis, simulations of electrical power grids, and sophisticated what-if analysis. In addition, it enables in-depth studies and analysis of the electrical power grid’s behavior and performance. This comprehensive model incorporates essential factors such as power generation capacity, electrical losses, voltage levels, power flows, and system stability.
Power Grid Model is currently being applied in a wide variety of use cases, including grid planning, expansion, reliability, and congestion studies. It can also help in analyzing the impact of renewable energy integration, assessing the effects of disturbances or faults, and developing strategies for grid control and optimization.
Power Grid Model offers an independent open technology base that speeds and simplifies development of critical Power System technologies for DSO’s and related organizations.
Power Grid Model Benefits
Open Source Business Benefits
- Reduced project time and cost leveraging with field-proven Open Source components
- Rapid, relevant and ongoing innovation through open, community-driven development
- Shared community learning and best practice
Technical Benefits
- Standards-based speeding development, implementation and integration with broader systems
- Unrivalled performance through efficient C++ implementation, native shared memory multi-threading and support for parallel computing
- Ensured accuracy with integrated unit testing and validation test
- Optimized algorithms to capture the true characteristics of the distribution grid
- Full support of three-phase asymmetric calculation

Features
- Power system calculation functionalities: power flow, state estimation, short circuit
- Linear methods available
- Symmetric and asymmetric calculation
- High-performance implementation in C++ with native parallelization
- API (Application Programming Interface) in Python and C
- Cross-platform
Open Source Community
Hosted by the Linux Foundation Energy, The Power Grid Model is now a vibrant Open Source project with a diverse, active and growing community, consisting of DSO’s, universities, research institutes and commercial parties.
The project is constantly evolving through a vibrant community-driven development process, with future scope to extend the existing libraries and develop more complete open-source applications. As part of this secure ongoing development, continuous validation is conducted through a CI pipeline in GitHub Actions.
Through the community, field validation of the library has been performed against the Power Grid Model reference models in over 80 test cases.
Architecture
The project consists of two main libraries: power-grid-model and power-grid-model-io.
power-grid-model
The core power-grid-model library is the main calculation engine, optimized for speed, to support real-time modelling, machine learning and powerful predictive analytics. Written in highly efficient C++, the library also offers native shared-memory multi-threading to enable parallelization in batch calculations.
A choice of C-API (with dynamic shared object) and a user-friendly Python API offers flexibility for developers. While the library runs across platforms including Windows (x64), Linux (x64/arm64), and macOS (x64/arm64), and publishes binary Python packages in official PyPI.
The calculation core is a C++ header only library. This is wrapped by a C-API providing direct access with dynamic shared object support for C-API developers. The C-API is then wrapped into a Python API to provide a more user-friendly option for Python developers.
The calculation core is thoroughly tested by its own unit tests and validation tests. While the model can also be validated on the Python side with the same test data.
More in-depth information on Power Grid Model can be found here: https://power-grid-model.readthedocs.io/en/stable/.
power-grid-model-io
The power-grid-model-io library is a data conversion Python library to speed and simplify integration of Power Grid Model into broader system environments. This handles the conversion between the Power Grid Model format and other common grid data formats, with current support for conversion from Vision and pandapower.
More in-depth information on the data conversion library can be found here: https://power-grid-model-io.readthedocs.io/en/stable.
power-grid-model-ds
The power-grid-model-ds library extends the core Power Grid Model calculation engine with a high-level, Pythonic modelling and simulation interface for data-science applications. It defines a Grid dataclass that manages the consistency of the entire network and enables seamless integration of advanced analyses, such as network topology exploration, path and cycle detection, and connected-component checks, directly within data-science workflows. Built on the same performant C++ core as Power Grid Model, PGM-DS exposes essential power-system calculations (power flow, state estimation, short-circuit) through a lightweight Python API, allowing for large-scale batch simulations and rapid prototyping of grid-optimization algorithms.
Key Features:
- Dual Representations, manages both graph- and array-based views of the network, making it easy to switch between topological analyses (e.g., cycle detection, pathfinding) and vectorized computations.
- High-Performance Simulation, leverages the PGM C++ calculation core via a Python wrapper to run simulation-intensive tasks.
- Data Science Integration, designed for batch experimentation, enabling millions of scenario simulations for grid planning, load-forecasting, and reliability studies over multi-year horizons.
Integration and LF Energy Power Grid Suite
Power Grid Model offers a powerful stand-alone calculation engine. Using power-grid-model-io, it can be easily integrated into any broader systems architecture, with out-of-the-box integration modules for Vision and pandapower.
For organizations looking at building full active congestion management systems, Power Grid Model now forms part of a more comprehensive open source tool suite hosted by LF Energy.
Used together, the suite enables DSOs to create end-to-end smart energy software platforms stretching from capacity forecasting, through advanced modelling and calculation, through to intelligent grid-edge mitigation and the implementation of reactive market pricing for steering supply and demand.
The LF Energy Power Grid Suite also incorporates:
7th Power Grid Model Meetup - 2026
June 4, 2026 9:51 am