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

Uploaded Python 3Windows x86-64

power_grid_model-1.13.69-py3-none-musllinux_1_2_x86_64.whl (3.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

power_grid_model-1.13.69-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

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

power_grid_model-1.13.69-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.0 MB view details)

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

power_grid_model-1.13.69-py3-none-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

power_grid_model-1.13.69-py3-none-macosx_13_0_arm64.whl (1.5 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: power_grid_model-1.13.69.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.69.tar.gz
Algorithm Hash digest
SHA256 148db3bc1fd3f4a47b008f9112bd06d977710d87307da7a184abf36f0f56c73a
MD5 6a18685eb2470f3ddb036d66546a02b0
BLAKE2b-256 47621bcae62e856d0ad5c8c5cd5ce86c1c97636807133e142d9955bb0b813b4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.69-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c6c18a6e339e85bdd079b041604532932320a8142cf19ab3f37efd38d2a6d135
MD5 b4c98530e64c95e6c6ed6ecb31e3d48c
BLAKE2b-256 a2c0043f7d50535281455eb0d7bbaa0bd533f5ab1a507f7e0eb52bfebb5b939b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.69-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2c8cf49423340ed2f499179ac3a19eda0bef779bc5a4c495b8eb11b3870edea7
MD5 b7bcbdcf9439db8009cca3a5281689f8
BLAKE2b-256 79fdcc4d82e02ca4d56dcab316b1d52b0cb0c4a3a1bea3942348997fa2f2933a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.69-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a91eda17fc4c8c7ccb0ba37498528f118a0d5da5168e2959d980e3969784b586
MD5 b0e2947b0d9bf9bb29bea6a9ae98302d
BLAKE2b-256 1157c79f15f1b60e7324bcf19d6b67c59c063310454b7b9788163aff14c77972

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.69-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 aa16ce5bc3bf970ad6bba187fddfb59ebea1f645d2fcbd91cca26af4b6acbeb9
MD5 1c44621d63579a434cd3096519984d92
BLAKE2b-256 64631b70965782dcea2fd53b55a15b92341ffb619729a36d5412018dfeaabf6a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.69-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8024768ddd794e3bb9890392d74c0af43972810c577dda778251d7e05116c09b
MD5 448cf0dcf06829f1448d3fa5ee9d4aa9
BLAKE2b-256 fbc5049a423e4ccc672ed4f15618e61fbe06c637f0eb671536cc38ece2cf1faf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for power_grid_model-1.13.69-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d861a72a0450a6591e40d0f485e628048ffbec6c77472e33ad6e3e4593e24ae7
MD5 022a7b1183d11f22c43c7fb024d6c737
BLAKE2b-256 122ad50192cef7fa1c1c0b71b3d95102cd69f960f821b3f04af60ca390f6ecbc

See more details on using hashes here.

Provenance

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