Skip to main content

Power Grid Model logo

PyPI version PyPI Downloads PyPI Downloads per month

Anaconda-Server Badge Anaconda-Server Platforms Anaconda-Server Downloads

License: MPL2.0 OpenSSF Best Practices DOI

CI Build docs Nightly build

Quality Gate Status Coverage Maintainability Rating Reliability Rating Security Rating Vulnerabilities

Power Grid Model

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

  • Power Flow
  • State Estimation
  • Short Circuit

See the power-grid-model documentation for more information. For various conversions 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. For an officially supported set of AI agent skills to make optimal use of the power-grid-model, refer to the power-grid-model-ai repository.

Want 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

Installation

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.

Examples

Please refer to Examples for more detailed examples for power flow and state estimation. Notebooks for validating the input data and exporting input/output data are also included.

License

This project is licensed under the Mozilla Public License, version 2.0 - see LICENSE for details.

Licenses third-party libraries

This project includes third-party libraries, which are licensed under their own respective Open-Source licenses. SPDX-License-Identifier headers are used to show which license is applicable. The concerning license files can be found in the LICENSES directory.

Contributing

Please read CODE_OF_CONDUCT, CONTRIBUTING, PROJECT GOVERNANCE and RELEASE for details on the process for submitting pull requests to us.

Visit Contribute for a list of good first issues in this repo.

Citations

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

DOI

@software{Xiang_PowerGridModel_power-grid-model,
  author = {Xiang, Yu and Salemink, Peter and van Westering, Werner and Bharambe, Nitish and Govers, Martinus G.H. and van den Bogaard, Jonas and Stoeller, Bram and Wang, Zhen and Guo, Jerry Jinfeng and Figueroa Manrique, Santiago and Jagutis, Laurynas and Wang, Chenguang and van Raalte, Marc and {Contributors to the LF Energy project Power Grid Model}},
  doi = {10.5281/zenodo.8054429},
  license = {MPL-2.0},
  title = {{PowerGridModel/power-grid-model}},
  url = {https://github.com/PowerGridModel/power-grid-model}
}
@inproceedings{Xiang2023,
  author = {Xiang, Yu and Salemink, Peter and Stoeller, Bram and Bharambe, Nitish and van Westering, Werner},
  booktitle={27th International Conference on Electricity Distribution (CIRED 2023)},
  title={Power grid model: a high-performance distribution grid calculation library},
  year={2023},
  volume={2023},
  number={},
  pages={1089-1093},
  keywords={},
  doi={10.1049/icp.2023.0633}
}

Contact

Please read SUPPORT for how to connect and get into contact with the Power Grid Model project.

Metadata

Release files for power-grid-model 1.13.242

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for power-grid-model 1.13.242
File Size Uploaded Provenance Actions
power_grid_model-1.13.242.tar.gz 1.8 MB With provenance Details for power_grid_model-1.13.242.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for power-grid-model 1.13.242
File Actions
power_grid_model-1.13.242-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for power_grid_model-1.13.242-py3-none-win_amd64.whl
power_grid_model-1.13.242-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for power_grid_model-1.13.242-py3-none-musllinux_1_2_x86_64.whl
power_grid_model-1.13.242-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for power_grid_model-1.13.242-py3-none-musllinux_1_2_aarch64.whl
power_grid_model-1.13.242-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.26+ x86-64, Linux glibc 2.28+ x86-64 Details for power_grid_model-1.13.242-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
power_grid_model-1.13.242-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details for power_grid_model-1.13.242-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
power_grid_model-1.13.242-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for power_grid_model-1.13.242-py3-none-macosx_13_0_x86_64.whl
power_grid_model-1.13.242-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for power_grid_model-1.13.242-py3-none-macosx_13_0_arm64.whl

Total release size: 28.5 MB

Release files / power_grid_model-1.13.242.tar.gz

Download URL power_grid_model-1.13.242.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
66b41709531d81c1fc26ec715250d5059e3f2a9ce5561239306bdf5794409a39
BLAKE2b-256 checksum
How to use checksums
fbca28c86333d0528143ac6cbeb4cfd3d41d8490a228b9b19584be5d92e6742d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / power_grid_model-1.13.242-py3-none-win_amd64.whl

Download URL power_grid_model-1.13.242-py3-none-win_amd64.whl
Size 1.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7380e46e5da35f141b5d9ad88ef68cf8c3b744b217060bee33236790504c3a2d
BLAKE2b-256 checksum
How to use checksums
efb4fa9e7f28719e3c7009929f883ac73eeef48f7b500d79f5c059ba43d4836e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / power_grid_model-1.13.242-py3-none-musllinux_1_2_x86_64.whl

Download URL power_grid_model-1.13.242-py3-none-musllinux_1_2_x86_64.whl
Size 5.1 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e84ae36b167ec5a2e7bb91fb0944a6fa770be8436db3bdd5bf157bbe68669953
BLAKE2b-256 checksum
How to use checksums
5baa0b74b24768bd0e8dd5c904f14ebe31c3ae4f27dff90c0c1545047dc340c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / power_grid_model-1.13.242-py3-none-musllinux_1_2_aarch64.whl

Download URL power_grid_model-1.13.242-py3-none-musllinux_1_2_aarch64.whl
Size 4.8 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
93bd941f7c65c0e6a554313732d20f5426751f9435403c47b99483a5a6502aee
BLAKE2b-256 checksum
How to use checksums
7c693928fe4371269e7735107f38a9ba41d16e1b455017901d5a0e20b4a04584
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / power_grid_model-1.13.242-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl

Download URL power_grid_model-1.13.242-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 4.7 MB
Tags Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
308dafa767024eb0fa5109414fa9a60f8442869ebba0236b37d59d715e97fd28
BLAKE2b-256 checksum
How to use checksums
acf8d51cc8859d9e4ce9db20adcbe4315a1537b530fee8f5d3a5fd7c8060c535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / power_grid_model-1.13.242-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL power_grid_model-1.13.242-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 4.3 MB
Tags Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
33664f868973aa232b69ed5cd167d021569cee2adf0acc1baaec1f3d4808c049
BLAKE2b-256 checksum
How to use checksums
0bf7f1adb9df9c9415bcc99641c1ab42611257300abb9e071575947b8631ab0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / power_grid_model-1.13.242-py3-none-macosx_13_0_x86_64.whl

Download URL power_grid_model-1.13.242-py3-none-macosx_13_0_x86_64.whl
Size 3.4 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
0bb10c222d4a18016bf4dda33817b63054a792f439a26a5e50f4ed8c132a8d9a
BLAKE2b-256 checksum
How to use checksums
22346865b553b13574e3f720d62343989181c665c19d383d47dcfa39c1c33932
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / power_grid_model-1.13.242-py3-none-macosx_13_0_arm64.whl

Download URL power_grid_model-1.13.242-py3-none-macosx_13_0_arm64.whl
Size 3.1 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
24d2a67e1786196403d7ed31c65b0f15f6301299134d9fa4891f56a8806ed74c
BLAKE2b-256 checksum
How to use checksums
b1ffc60dab97ec1091d06a3c6bb95ed3539a8e64b6266867bb7cac09acf4a08c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for power-grid-model 1.13.242

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for power_grid_model-1.13.242.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.13.242 This release

8 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page