Skip to main content

Python/C++ library for distribution power system analysis

Project description

PyPI version Anaconda-Server Badge License: MPL2.0 Build and Test C++ and Python Check Code Quality Clang Tidy REUSE Compliance Check docs Downloads Downloads

Quality Gate Status Coverage Maintainability Rating Reliability Rating Security Rating Vulnerabilities

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 Gird 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.45.tar.gz (837.6 kB view details)

Uploaded Source

Built Distributions

power_grid_model-1.9.45-py3-none-win_amd64.whl (604.8 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.9.45-py3-none-musllinux_1_2_x86_64.whl (1.9 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.9.45-py3-none-manylinux_2_24_x86_64.whl (931.4 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.9.45-py3-none-manylinux_2_24_aarch64.whl (858.0 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.9.45-py3-none-macosx_11_0_arm64.whl (681.8 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.9.45-py3-none-macosx_10_9_x86_64.whl (742.5 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for power_grid_model-1.9.45.tar.gz
Algorithm Hash digest
SHA256 e01d52d4d814cfcee4ac0be17d91f1966457ba0ffa8af644b04052d2258dd419
MD5 2ee8059cebd781ce75b5efe236b80dc0
BLAKE2b-256 8e335c20e9e5a3f0af4ec47fa87701fb0fc1470837e1e638c5db2aec1b4f8ee1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.45-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 16d1023dae10e6b5308ccb032684ddb7517a73a678362b555c5e3d9744767205
MD5 4b9d1390a9dd43f39d05a6df6f04cf13
BLAKE2b-256 3d59c7fe21934e0d3985ea900e4feed51e2f48a7dab89057bc1ef6ccbb6386d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.45-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a045bf2f2fa7765af74d160d8926cb67400ca99ed2312cb8448668ef0e7fe2f2
MD5 1ec8733a130f11afa8104b0ba5549db5
BLAKE2b-256 678966be3d0e299227a418867374ed3d4dbcb61761327a9b17706cc590cd0a16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.45-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 30714376adaa22627e760e1cf5bd021bb11118195aa3a5ab6e15efa3687fef21
MD5 464df2adc9e6f5c289134af87d0cf866
BLAKE2b-256 27783c9db4c1ba10aebbf2bfa090fdbf40e89c0206b1d83712d646fa21b0507a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.45-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 aa28d97b0ce091c070f12d47dfd8a8f720bd2e2fabb2557975029e982bf943ec
MD5 bd494f273e5221ffff1c0087edbaccae
BLAKE2b-256 00804caca50b4f58c7791911057bd0973c1dc5a52b767f1a2b56e75981d12b89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.45-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ccacac3d69920c69abf81255d2b300724076097746cac0672ec625404e200036
MD5 4ce6178011881770bfa3bb5dbf5899ba
BLAKE2b-256 769ec09a2353a20817c52290cb09b686dc5f27949502a3a8ad6441bee1a996d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.45-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3aafbd23315193da70275dc38dd311b29395319395ac555cf9517e1c0c52114e
MD5 50dcc2b0260f9b37f9b8712f11f4c0f1
BLAKE2b-256 82e352fb5bffdf2b66ca969d88040b6de9cadcdc2794dfc7af6ee74a5a697ea4

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