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.

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

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.217
File Size Uploaded Provenance Actions
power_grid_model-1.13.217.tar.gz 1.8 MB With provenance Details for power_grid_model-1.13.217.tar.gz

Built distributions (wheels)

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

Total release size: 27.7 MB

Release files / power_grid_model-1.13.217.tar.gz

Download URL power_grid_model-1.13.217.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
b9e3604b50a1b0b4d594e8c67e363c535c035ff4306b4badcac37ff37de2b8c0
BLAKE2b-256 checksum
How to use checksums
88e35261b7542648d1e229ccf925de66528443402fb94f57072bf4bde9acf103
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 Oct 29, 2026.

Transparency log

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

Download URL power_grid_model-1.13.217-py3-none-win_amd64.whl
Size 1.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
22354491257cc01504543a235b4243870acd91566b7ac5b8b806642ca9de0c5c
BLAKE2b-256 checksum
How to use checksums
7dd4a9ad260517c6568ca51ff71339f9f3524e98579ce189c9d6e6012bc5cfa8
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 Oct 29, 2026.

Transparency log

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

Download URL power_grid_model-1.13.217-py3-none-musllinux_1_2_x86_64.whl
Size 5.0 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d382c6d91542df09d7b4470d4515559eae8db478c10f9b833968e772fb244a4f
BLAKE2b-256 checksum
How to use checksums
d27d6cfa03f548571601abc04f73d80d414f2cdfb09cb709cfb3dcb00cfc71ab
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 Oct 29, 2026.

Transparency log

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

Download URL power_grid_model-1.13.217-py3-none-musllinux_1_2_aarch64.whl
Size 4.6 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
efcb0c09e288a26bd937047959d214dc2b723192efdc770ce6e8d848a26ca913
BLAKE2b-256 checksum
How to use checksums
220923a96bd0cd3ebe0388b9726deaa3069f0cdaff64dbee0ac5e967cf3f687d
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 Oct 29, 2026.

Transparency log

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

Download URL power_grid_model-1.13.217-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 4.5 MB
Tags Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
2de9173a38e9af9412c3b483f538824fd85d690b5355376d8f36e79dd3f46079
BLAKE2b-256 checksum
How to use checksums
97414e2d37b8cb5ffbaf33f8933d7591db30b3020269c1b18b9af7a91fe4f92a
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 Oct 29, 2026.

Transparency log

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

Download URL power_grid_model-1.13.217-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 4.1 MB
Tags Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
106455bbaa275afa10ebe8e418356c60f8e1b3d2ab77d51be25d30ca8ee9b532
BLAKE2b-256 checksum
How to use checksums
2ddd5f450ae10bfbc6feb4396ef220cc1516b07ad46b462c0c734d8dabd438c5
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 Oct 29, 2026.

Transparency log

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

Download URL power_grid_model-1.13.217-py3-none-macosx_13_0_x86_64.whl
Size 3.3 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
4f9438187187f69b0388d18fe4c46536458a0849ac167227af1e07035a318ffe
BLAKE2b-256 checksum
How to use checksums
edbfeb2899e4579ba8448af6c97d046a569d0dd704be325a454361eb16963466
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 Oct 29, 2026.

Transparency log

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

Download URL power_grid_model-1.13.217-py3-none-macosx_13_0_arm64.whl
Size 3.0 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
eee96b2c4859cd751c4490c754453de9300938b89d46edae5ed498104602589b
BLAKE2b-256 checksum
How to use checksums
b771b753f29190b0705f07330a2232116e94c79c3d048d0aa738374df08d4b28
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 Oct 29, 2026.

Transparency log

Security for power-grid-model 1.13.217

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.217.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 Oct 29, 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.217 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