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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

power_grid_model-1.13.138.tar.gz (1.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

power_grid_model-1.13.138-py3-none-win_amd64.whl (899.9 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.13.138-py3-none-musllinux_1_2_x86_64.whl (4.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

power_grid_model-1.13.138-py3-none-musllinux_1_2_aarch64.whl (3.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

power_grid_model-1.13.138-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

power_grid_model-1.13.138-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

power_grid_model-1.13.138-py3-none-macosx_13_0_x86_64.whl (2.5 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

power_grid_model-1.13.138-py3-none-macosx_13_0_arm64.whl (2.2 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file power_grid_model-1.13.138.tar.gz.

File metadata

  • Download URL: power_grid_model-1.13.138.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for power_grid_model-1.13.138.tar.gz
Algorithm Hash digest
SHA256 de6243fccb139b3046635548f1fe9fae9e37df4596092aeb4921eafb70dcf036
MD5 bd32882d57e2b167f5643ee5bfbf2b68
BLAKE2b-256 7feff67ec784cf147051bab63049a4197ee51babd4fdcd68ba47065ba4ba1685

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.138.tar.gz:

Publisher: ci.yml on PowerGridModel/power-grid-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file power_grid_model-1.13.138-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.138-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 eaa7df9a6b80209ec9b96ad652fd624228705d04eb18dcd7e9ccd5710c2f3704
MD5 918ea046dd7fb1d61e69570ce6d69bba
BLAKE2b-256 286fb521e1004e1f88e43f0b29119cf1df5670538ef89c45de05db90f70cb11c

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.138-py3-none-win_amd64.whl:

Publisher: ci.yml on PowerGridModel/power-grid-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file power_grid_model-1.13.138-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.138-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5ea172c0576db6ccc1aedacf5365427a98e7f999e87a79f7e6c889d1925b6c2f
MD5 4b7db2e20f23f55c0fe5ba22be595bba
BLAKE2b-256 f022107edf5c1013c87c3c2e77b22cc346904328a79e9eebd4b9eb9c63745844

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.138-py3-none-musllinux_1_2_x86_64.whl:

Publisher: ci.yml on PowerGridModel/power-grid-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file power_grid_model-1.13.138-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.138-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 07b8bf469b0af5335f3a4f1fbeac564cf6fd88c231d42c2e7482925b355bf02a
MD5 cdf39dd4754c3e3b7ba5cc53020b0de2
BLAKE2b-256 5c3f4ec7aebeb898d68826594b1c18d6a14e3f36377571d7e7e751b1b7280f0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.138-py3-none-musllinux_1_2_aarch64.whl:

Publisher: ci.yml on PowerGridModel/power-grid-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file power_grid_model-1.13.138-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.138-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 638d39bfa57b6b18fcc36329b2274288ddae645309fd37472a9e624bc83c3c82
MD5 264e625217aa4882e88708bf7f060723
BLAKE2b-256 d5f5fd62181440eb5bd8e0bfa436fb55efadbd1ac916bfcc6261af1b79ec45d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.138-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl:

Publisher: ci.yml on PowerGridModel/power-grid-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file power_grid_model-1.13.138-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.138-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4c1f929aa43f97b00eb2b0578ac740f0ae51a22ef6154ee0498725a55610618d
MD5 9e50e6f48acee3a0e83838ff84f9790b
BLAKE2b-256 517567ed66988e1dfc9987a4a64c30e33aa624d527fc6c00da12e36be390ccab

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.138-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: ci.yml on PowerGridModel/power-grid-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file power_grid_model-1.13.138-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.138-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b0a7df6c279e9f7038fd483032b8ca35255a9b9a2f94a52731e5bbf53742c2d0
MD5 2e821a9f8dff9f98df1dc3273dce40f3
BLAKE2b-256 491a32d6dcf35351056106572a804e6b3bd61ecddc47a6bd03a5002ba7f93568

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.138-py3-none-macosx_13_0_x86_64.whl:

Publisher: ci.yml on PowerGridModel/power-grid-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file power_grid_model-1.13.138-py3-none-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.138-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d21be46240bee899501f03f3bd62f4bd067f86b1cca70e69780195a759d2136b
MD5 2336f69bd9c423b18ab8bddec66eced9
BLAKE2b-256 c1178db7581c22e0e658507216df1cb01077673dd0f68f9fbe9001a568e49f7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.138-py3-none-macosx_13_0_arm64.whl:

Publisher: ci.yml on PowerGridModel/power-grid-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page