Power Grid Model

pgm_logo

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. For an extended python interface to the the power-grid-model, refer to the power-grid-model-ds repository.

Note

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

Installation via Homebrew

If you are using the C API with brew, you can install the C API (and experimental C++ wrapper) directly:

brew install powergridmodel/pgm/power-grid-model

If you are interested in having this package in homebrew-core, please consider contributing the formula, in conformance to their documentation.

Build and install from Source

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

Citations

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

Contents

Detailed contents of the documentation are structured as follows.