Power Grid Model


power-grid-model is a library for steady-state distribution power system analysis. It is distributed for Python and C. The core of the library is written in C++. Currently, it supports both symmetric and asymmetric calculations for the following calculation types:

  • Power Flow

  • State Estimation

  • Short Circuit

For conversions from various data format to the power-grid-model, refer to the power-grid-model-io repository.


Do you wish to be updated on the latest news and releases? Subscribe to the Power Grid Model mailing list by sending an (empty) email to: powergridmodel+subscribe@lists.lfenergy.org

Install from PyPI

You can directly install the package from PyPI.

pip install power-grid-model

Install from Conda

If you are using conda, you can directly install the package from conda-forge channel.

conda install -c conda-forge power-grid-model

Build and install from Source

To install the library from source, refer to the Build Guide.


If you are using Power Grid Model in your research work, please consider citing our library using the references in Citation


Detailed contents of the documentation are structured as follows.