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

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

Built distributions (wheels)

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

Total release size: 28.2 MB

Release files / power_grid_model-1.13.228.tar.gz

Download URL power_grid_model-1.13.228.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
0425fe5b1d683b71630bcb7e4c5a49208497c68eac664dfca27b397a8c457e54
BLAKE2b-256 checksum
How to use checksums
90446795fd63a5f10e218d392f258ee94711c14255550a94e36973687a2478a8
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 17, 2026.

Transparency log

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

Download URL power_grid_model-1.13.228-py3-none-win_amd64.whl
Size 1.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
23f7b8d81222391b8567174f37964dffd086af442f72d849be9d4e422fe35ad0
BLAKE2b-256 checksum
How to use checksums
844b89ea51f189b65cf5103607929732bc987ba89c31e7ddb9802c5b82b6b6f8
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 17, 2026.

Transparency log

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

Download URL power_grid_model-1.13.228-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
222c076e3d818665cbab1ae547b57ce552badb40c83e381c6144bcaa4f88b765
BLAKE2b-256 checksum
How to use checksums
8565320f6017fb8b944560a35873e2d01176f057cc8e4bfa5439e825bd0cd61f
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 17, 2026.

Transparency log

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

Download URL power_grid_model-1.13.228-py3-none-musllinux_1_2_aarch64.whl
Size 4.7 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
67b02afd3becca8bec2e168cf98102f9397933ee73d8ab13a8ff46bf621d39f3
BLAKE2b-256 checksum
How to use checksums
17f277b8d8431340b1f11f9884fb7e7e4717d52fb32f9509b6da6a5cc907cee8
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 17, 2026.

Transparency log

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

Download URL power_grid_model-1.13.228-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 4.6 MB
Tags Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4b77bfe765585010d167b69b8150df91eda0095f7de02a0cba3522b612e13f8c
BLAKE2b-256 checksum
How to use checksums
7c7cc49dde1d7eba336053a3a16be630a255e87831763ad29642441f00c4a5b6
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 17, 2026.

Transparency log

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

Download URL power_grid_model-1.13.228-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 4.2 MB
Tags Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a3f502da7d737befa70c90e23e27abec6be960c6c552a9dbcad9537e16a351ff
BLAKE2b-256 checksum
How to use checksums
91b4238f0e3d93c1706943ba7a723bdfbc700cab85a766666f8229578d5cb726
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 17, 2026.

Transparency log

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

Download URL power_grid_model-1.13.228-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
429080b905b181bbf1733084b4ecfc8b135f7fdbc78a17f43d037a3e0cec0101
BLAKE2b-256 checksum
How to use checksums
709f72988bd45232f75d6a082dc9be842565706f61dff4a4f740275b43837463
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 17, 2026.

Transparency log

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

Download URL power_grid_model-1.13.228-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
7a9347dc503a0449b119fc7a233eddc687dcba937a0055bd95969a46fb886a45
BLAKE2b-256 checksum
How to use checksums
9f32bbaf262910ea13f0f266f3358f4aa6b52ac0167768ec731c69882e99ca20
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 17, 2026.

Transparency log

Security for power-grid-model 1.13.228

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.228.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 17, 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.228 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