Github

PGM Documentation

Data Conversions Documentation

Mailing List

Roadmap

Discussion

Contribute

Meeting Calendar

Power Grid Model is a high-performance Python/C++ library for steady-state distribution power system analysis.

The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs) and grid providers. Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.

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

Image: Power Grid Model – High-Level Concept

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.

Collaboration

Integration

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/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.

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:

OpenSTEF uses machine learning for accurate short term forecasting grid load and generation: based on measurements, weather forecasts, pricing on the energy market and other determining metrics.
Shapeshifter offers a framework and libraries for building Smart Energy trading platforms based on the Universal Flex Trading Protocol (UFTP).

Power Grid Model Use Cases

  • Power Grid Model is used by existing DSOs to generate simulations of different potential grid expansion plans in profile calculations over future decades.
  • Monte-Carlo: Local operators are using Power Grid Model to simulate different scenarios for low voltage (LV) grid requirements in the coming decades. Simulations are based on different forecasts for the market penetration of electric vehicles and photovoltaics, and are used to identify potential bottlenecks within LV grids.
  • Other current use cases include real-time what-if analysis including impact analysis of component failure and other anomalies on the current grid state.
  • Alliander’s Delvi Project Leverages LF Energy Power Grid Model to Direct Overhaul of Low Voltage Grid

Power Grid Model Videos

Power Grid Model: A High-Performance Distribution Grid Calculation Library

July 3, 2023 4:00 am

This video was originally posted to https://fosdem.org/2024/schedule/event/fosdem-2024-2101-power-grid-model-open-source-high-performance-power-systems-analysis/. Thank you to FOSDEM for sharing under CC-BY-2.0-BE-DEED (http://creativecommons.org/licenses/by/2.0/be/deed.en).

Power Grid Model: Open source high performance power systems analysis was presented in the FOSDEM 2024 Energy Devroom by Nitish Bharambe of Alliander.

The electricity grid faces challenges such as rising electricity demand and the integration of solar panels, wind turbines, electric vehicles (EVs), heat pumps, etc. Moreover, smart technologies are being added, providing a wealth of data. The industries associated with these challenges must perform complex calculations to assess the present and future state of the grid. The vast scale and diverse applications demand faster calculations that are cross-platform compatible.

Power Grid Model is an open-source library with a C++ core and a well-defined Python API. It conducts state estimation, power flow, and short-circuit calculations for symmetric/asymmetric grids. The library is actively employed in 10+ applications within Alliander. Other major grid operators in the Netherlands, as well as researchers and stakeholders throughout the grid technology chain, use the library to conduct academic, technical, and feasibility studies.

In this presentation, we will explore the power-grid-model library, its capabilities, active and future use cases.

To learn more about the Power Grid Model project, visit: https://lfenergy.org/projects/power-grid-model/ 17:41

This video was originally posted to https://fosdem.org/2024/schedule/event/fosdem-2024-2101-power-grid-model-open-source-high-performance-power-systems-analysis/. Thank you to FOSDEM for sharing under CC-BY-2.0-BE-DEED (http://creativecommons.org/licenses/by/2.0/be/deed.en).

Power Grid Model: Open source high performance power systems analysis was presented in the FOSDEM 2024 Energy Devroom by Nitish Bharambe of Alliander.

The electricity grid faces challenges such as rising electricity demand and the integration of solar panels, wind turbines, electric vehicles (EVs), heat pumps, etc. Moreover, smart technologies are being added, providing a wealth of data. The industries associated with these challenges must perform complex calculations to assess the present and future state of the grid. The vast scale and diverse applications demand faster calculations that are cross-platform compatible.

Power Grid Model is an open-source library with a C++ core and a well-defined Python API. It conducts state estimation, power flow, and short-circuit calculations for symmetric/asymmetric grids. The library is actively employed in 10+ applications within Alliander. Other major grid operators in the Netherlands, as well as researchers and stakeholders throughout the grid technology chain, use the library to conduct academic, technical, and feasibility studies.

In this presentation, we will explore the power-grid-model library, its capabilities, active and future use cases.

To learn more about the Power Grid Model project, visit: https://lfenergy.org/projects/power-grid-model/

YouTube Video UExLeUZmMUo5WGtwdVN4UGVmZ2Ywd01TVnZMLUI0cTd1LS41MzJCQjBCNDIyRkJDN0VD

FOSDEM 2024 Energy Devroom - Power Grid Model: Open source high performance power systems analysis

February 23, 2024 2:52 pm

5th Power Grid Model Meet-up

Power Grid Model
The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs). Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.

Power Grid Model is an open source project from Linux Foundation Energy and provides a calculation engine that is increasingly essential for DSOs. 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.

This meetup included:

-Insightful presentations covering two practical applications of the Power Grid Model.
-An update on the latest advancements in Power Grid Model technology during the first and second quarters of 2024.
-An interactive brainstorming session to discuss and propose new feature requests.

Agenda (UTC+2)
13:30 Opening

13:40 Welcome Address: Intelligent Energy Systems Research at TU/e and the Role of Systems Simulation (prof. Koen Kok, TU/e)

14:10 Network calculations for enhanced capacity management in distribution networks (Irena Dukovska, Alliander)

14:40 Coffee break

15:10 Optimising Reactive Power Flow in Medium Voltage Networks (Niels Dirks, Enexis)

15:40 Highlights Q1/Q2 2024 + Community announcements + brainstorm/planning

16:20 Closing 2:26:12

5th Power Grid Model Meet-up

Power Grid Model
The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs). Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.

Power Grid Model is an open source project from Linux Foundation Energy and provides a calculation engine that is increasingly essential for DSOs. 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.

This meetup included:

-Insightful presentations covering two practical applications of the Power Grid Model.
-An update on the latest advancements in Power Grid Model technology during the first and second quarters of 2024.
-An interactive brainstorming session to discuss and propose new feature requests.

Agenda (UTC+2)
13:30 Opening

13:40 Welcome Address: Intelligent Energy Systems Research at TU/e and the Role of Systems Simulation (prof. Koen Kok, TU/e)

14:10 Network calculations for enhanced capacity management in distribution networks (Irena Dukovska, Alliander)

14:40 Coffee break

15:10 Optimising Reactive Power Flow in Medium Voltage Networks (Niels Dirks, Enexis)

15:40 Highlights Q1/Q2 2024 + Community announcements + brainstorm/planning

16:20 Closing

YouTube Video UExLeUZmMUo5WGtwdVN4UGVmZ2Ywd01TVnZMLUI0cTd1LS5DQUNERDQ2NkIzRUQxNTY1

Power Grid Model Meetup 6 June 2024

June 10, 2024 5:19 pm

Recent Power Grid Model News

No recent posts listed

Upcoming Meetings

View the meeting calendar

View the calendar of all LF Energy events

Project Special Interest Group: Grid Simulation and Modeling

Project Lifecycle Stage: Incubation