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

Uploaded Python 3Windows x86-64

power_grid_model-1.13.136-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.136-py3-none-musllinux_1_2_aarch64.whl (3.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

power_grid_model-1.13.136-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (3.2 MB view details)

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

power_grid_model-1.13.136-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.136-py3-none-macosx_13_0_x86_64.whl (2.4 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

power_grid_model-1.13.136-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.136.tar.gz.

File metadata

  • Download URL: power_grid_model-1.13.136.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.136.tar.gz
Algorithm Hash digest
SHA256 84f03f1dc1811bb15610a2d2302f87de4d75f5f44328f05afa2f20be0e6f6795
MD5 76384f7f996d359dc3fc73e0b6f29596
BLAKE2b-256 ca4ec5a60a672cc8bd89c26ac7947303ebc6a0155ae8b39830fc08e08b6faa3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.136-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 973377ec34a862aa9dc39aede38dafa7ea6f8e27bc8de3727db9a93b430b869a
MD5 d7fafc15882fcfddd5588e933834dfe9
BLAKE2b-256 dd5ca1829db5a7127508a26d7ab8f19913ee2e87cd9d26b55766f4fe6e9904d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.136-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f994835c45509646ff62328bb9ecac132d35c3f59c8916723fca9d1c0653e496
MD5 e6b1edb1a51fecf677e74b79fa8396dd
BLAKE2b-256 b651e4423c49a676ce62d3cf66bdaf8b0288c12b56fc52405a04c2d21fb21bf4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.136-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 06219942367c671ae96603549528b60ef5e237a9cf76074fe4f6325e3cb83805
MD5 a834d0cd2af44caae382dcfb1c5fe7e0
BLAKE2b-256 833529041c1f6512843c1737355dc691f56724597874c50a1d3da102a606ce9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.136-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd85e8969ca09e57dc5c0acba4f40dd127caf463eab1e40a2d50645262b0b843
MD5 273f2b5cb0b9dc09b3a24434db715f83
BLAKE2b-256 a1652a75aeca936647753a66762fe15f1306fbbdf2234f542eb8d73afb65cfd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.136-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dfc54f73ab857c8c569475f836827da0e3b42c308dbd07637724d2c0c58ecf51
MD5 10d803090ff7bed5c905970553e233ff
BLAKE2b-256 5bdaf6b8223b1eb4fb4b37affffabb1c35e1da389a4dd5837b8eefa27607ee05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.136-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d391c225a1cace01a146f1a142c1710ababa40ed65af85c629cbe7bc7e30f622
MD5 2c69e2efc6065effeb1e95e61f340153
BLAKE2b-256 d9bca0791b6cc0553445dfacd2014e7b7c34fa7143de2db267d6fb2f8bf23ba1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.136-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 605d8f52679265318db18502b96d2f12cb8625d6215ca7dbc5ca425e7be4df2d
MD5 ef2ce264b99ce5bca92805c608ca87f4
BLAKE2b-256 8189e1d888cfffb1dc6df9667fc9ae755a4070011bdab9cc05dae5b94ba88463

See more details on using hashes here.

Provenance

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