Skip to main content

Python/C++ library for distribution power system analysis

Project description

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.

Project details


Release history Release notifications | RSS feed

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.74.tar.gz (1.5 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.74-py3-none-win_amd64.whl (877.6 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.13.74-py3-none-musllinux_1_2_x86_64.whl (3.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

power_grid_model-1.13.74-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.74-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.9 MB view details)

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

power_grid_model-1.13.74-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.74-py3-none-macosx_13_0_arm64.whl (2.1 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: power_grid_model-1.13.74.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for power_grid_model-1.13.74.tar.gz
Algorithm Hash digest
SHA256 da998477f719f1aa07f8950397a4d6a86186b40a7e31dfd5088b4c28ed2025a5
MD5 56f5466a0d57ab3933259c1b4dd76faf
BLAKE2b-256 9aeccafdca99aba0df97dda31bfb93aa60a706439dbd8e10d3f2b4f7677afff9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.74-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3847fa19797d802e5d393b5519909b00cec9db44e85485134604ddf8c5fad7da
MD5 ca8fa1cdb29115e374666ed73870ccce
BLAKE2b-256 a79ce0b337939275cdb4d5bfd9e78d4b1a275bbff37ba559b617f2cf9bcb0efb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.74-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7d8b1e52d8d64297e2193fbc5bc521ba8ce0e30210ef03edc7b6f91c5e09c65f
MD5 0d09ebb47f7bc94a7af4e836d4821ebf
BLAKE2b-256 5778793ad9458502935472ef1a7f80e6576f1f0c1bd892f30617f09f8cec4455

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.74-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c5f9d35120c678af984acacf693064183319a48c47a4c10f3428a2d0f5641461
MD5 1d6a350e9cad7135c46d01247777248d
BLAKE2b-256 071feeff67f4f9b7fdd3af2010e353c90e0a502d4b642949b53abb62e1bc3f2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.74-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3173534da02e6e4476b314287db3885cbc85e729ec9d21af999f7491ec640954
MD5 dea50fed24799e14d71cc39ba02a4ce4
BLAKE2b-256 b46ebb200812a6eadc6fe8949eaf8ea20c03cc95a3374bc64f0e7dd33d3ffe0a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.74-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 90b38cf4d3aadf9caa0eb9fffbfe76cf8936c71d631851a8d0313492837c293e
MD5 ff79301997135c2ea7b6a8d1c627907a
BLAKE2b-256 fb3c46d6aa0f8630ac395591bf03f66aa481e685e7bbebfda6b0f2157cd78851

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.74-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d6ea28b96bb0705f8a436657552c3f7392eb012b427e86b1d3e02494416c9010
MD5 374c1f394408d4432255ee4f695d4c3b
BLAKE2b-256 100fcbb42c472a81b71d9fb79efcd4766c035b7d4547a2786e8d55db0d178492

See more details on using hashes here.

Provenance

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

Supported by

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