Skip to main content

Python/C++ library for distribution power system analysis

Project description

PyPI version Anaconda-Server Badge License: MPL2.0 Downloads Downloads

Build and Test C++ and Python Check Code Quality Clang Tidy REUSE Compliance Check docs

Quality Gate Status Coverage Maintainability Rating Reliability Rating Security Rating Vulnerabilities

Nightly build

DOI

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.

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 Bharambe, Nitish and Govers, Martinus and van den Bogaard, Jonas and Stoeller, Bram and Wang, Zhen and Guo, Jerry 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 = {CIRED 2023 - The 27th International Conference and Exhibition on Electricity Distribution},
  title = {Power grid model: A high-performance distribution grid calculation library},
  year = {2023},
  volume={2023},
  number = {},
  pages={1-5}
}

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.9.87.tar.gz (855.3 kB view details)

Uploaded Source

Built Distributions

power_grid_model-1.9.87-py3-none-win_amd64.whl (623.9 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.9.87-py3-none-musllinux_1_2_x86_64.whl (2.0 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.9.87-py3-none-manylinux_2_24_x86_64.whl (954.5 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.9.87-py3-none-manylinux_2_24_aarch64.whl (878.5 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.9.87-py3-none-macosx_11_0_arm64.whl (710.7 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.9.87-py3-none-macosx_10_9_x86_64.whl (773.4 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: power_grid_model-1.9.87.tar.gz
  • Upload date:
  • Size: 855.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for power_grid_model-1.9.87.tar.gz
Algorithm Hash digest
SHA256 adb0fe1c38ef5fddc526f27812ea2c258348e4bd4a5dc1d0a00c19150b5437bf
MD5 c131492f0c2b2e4ba48c84db43a01d72
BLAKE2b-256 14714f9b63778b6dfabb0df26e28ae8e0d89699e93ed9feb9b5a32217e616535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.87-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bcccce26a7f47ff4bcc1387403ec7044fa3be421d5fff7ca718c6c1d2c013e2f
MD5 3af704d83d700d475e6e75a03cd3d081
BLAKE2b-256 9fca0d0d033fdd4f103730490351f9c66ee449605c9300f06fa5eb3a9b3496e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.87-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9dacbb4900fa4df5b241bb8f36d09ac687c42b8442ae65aed898d712b6010c01
MD5 0165aa08685ae0f281bcff10e03ebe3d
BLAKE2b-256 a06fd339f161baefd798220cb0159c42044154f95c6c4925d76112d96151430c

See more details on using hashes here.

File details

Details for the file power_grid_model-1.9.87-py3-none-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.9.87-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4d6050f4797c3866e4de7784f9387070673fa84f5e468bc8beac45a1b6373326
MD5 6f2b73653d6887be4d14f60e6f0e062f
BLAKE2b-256 1e53ec4f3e789642863aec04dab8ca788a42cd7124533ec60c91e70d8d6962bb

See more details on using hashes here.

File details

Details for the file power_grid_model-1.9.87-py3-none-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.9.87-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 0a4a9038e9c2ecd0868fa19c79f3a297c5a8e5ab411ff6dd273bb9534667db09
MD5 6b5386cdb9ad9cdca8b7723fc7664c71
BLAKE2b-256 952175989f271dfd9ebe1f89c61d5a58d40e9c2f87db23bd42c2e94158232f50

See more details on using hashes here.

File details

Details for the file power_grid_model-1.9.87-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.9.87-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 02293ef79260df4916ec07cd1d0082aa92c5c5db016945e888037a6d24bf1055
MD5 6507972a9eb2888366e7f280005fe394
BLAKE2b-256 67e462230c0b36cbaab48fee4a67f9c88ed8321fcb194ef5383750dad02b16ce

See more details on using hashes here.

File details

Details for the file power_grid_model-1.9.87-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.9.87-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e638292fe897eb1be8d0eb0bc465a741398d0f7a236d91d2e37a05c61b287365
MD5 ebba756910162b4e6eca8ff1bd070923
BLAKE2b-256 94a77095b06b58371cb488e032511b769266b25305a1aadc96c203ad82ed1d41

See more details on using hashes here.

Supported by

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