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.142.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.142-py3-none-win_amd64.whl (900.2 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.13.142-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.142-py3-none-musllinux_1_2_aarch64.whl (3.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

power_grid_model-1.13.142-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.142-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.142-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.142-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.142.tar.gz.

File metadata

  • Download URL: power_grid_model-1.13.142.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.142.tar.gz
Algorithm Hash digest
SHA256 f272200e0de7028c00e768a8c98652ca555d92b041da90f82fca958f98517b96
MD5 58ff6de2f30db30809d1154d8cfeeed0
BLAKE2b-256 6f072a41ab45392c7352ccb1fa7d0bd2dfa95b68e6f9aec0ebe9a7aead96f07f

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.142.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.142-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.142-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 56eaa7050fb3c57ce39d008c4438120810361bfafe52cf4479247ecf689e9ec6
MD5 8144d12a95f33366bfc49cc357e971b3
BLAKE2b-256 98a1c084551e71e970e2b1254c1900509c114a7659dc4ff4be65643fdf028ff2

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.142-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.142-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.142-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b0621b0474472d2ed881c2217645f16df290cdd0431fe8e2d6c207653de51b33
MD5 86addbd369d7d6c778d066a28441ced3
BLAKE2b-256 4fbca9854d10a7b15bedc2c1c9aedf9a3f245416b65be9021c02453ef1d2eca1

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.142-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.142-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.142-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5325b730f0108ab5d83c4341a761963f21a5577f42e322dac54cf279605eaabc
MD5 54ae323c4f331a7e75e5ca0b3ad82411
BLAKE2b-256 1ff1db3d743720bf32e4d94b94449c36ee82dd6c6cb16afca9d24810eb27efaa

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.142-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.142-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.142-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 09ae01caff01ccd2b21c6b95bec81115a9005a3e6805dadc9faa4c6938fa782c
MD5 ef8190fc3707e8641157b8c7cf80a296
BLAKE2b-256 3eda92e02298a518c401593c822409826e824becba1ac469d9a684a9ae5ecd6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.142-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.142-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.142-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1ed466bb8d8e8865658725e41a35d720c45d3ff43713cf6106fe7afbe577c9c5
MD5 f42d649931cda8d26cd9fe6b6c6f7204
BLAKE2b-256 33a4eef0e6f6bc96673cd35286a0895e0574f9a29818863aa1590d0b26591406

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.142-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.142-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.142-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a6c87dfd8a48c0f95aef6b4eed669c7369e69f393f121fed968ae9140b2bfe16
MD5 afd72cdcee37d921ab73e096d7ce70f8
BLAKE2b-256 bacdf47f27d0aea468b0b754a090ac841e24449722f3f879940562c429e8eb0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.142-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.142-py3-none-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.13.142-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 420fcde09cea70d052aecff7686ad7479da66b2817bd247d7e23b01e7801c926
MD5 4b3d8b31aa89a4d176fe4f0d244306f1
BLAKE2b-256 b65144769cdd7cef518d9841b9ec4f8b3fa93035f62a963a0061a05558ed42c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for power_grid_model-1.13.142-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