Skip to main content

Python/C++ library for distribution power system analysis

Project description

PyPI version Anaconda-Server Badge License: MIT 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

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:

  • Symmetric and asymmetric power flow calculation with Newton-Raphson method, iterative current method and linear method
  • Symmetric and asymmetric state estimation with iterative linear method

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.

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 Jagutis, Laurynas and Wang, Chenguang and {Contributors from 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.4.84.tar.gz (236.9 kB view details)

Uploaded Source

Built Distributions

power_grid_model-1.4.84-py3-none-win_amd64.whl (362.6 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.4.84-py3-none-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.4.84-py3-none-manylinux_2_24_x86_64.whl (432.5 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.4.84-py3-none-manylinux_2_24_aarch64.whl (412.3 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.4.84-py3-none-macosx_11_0_arm64.whl (374.9 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.4.84-py3-none-macosx_10_9_x86_64.whl (395.4 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file power-grid-model-1.4.84.tar.gz.

File metadata

  • Download URL: power-grid-model-1.4.84.tar.gz
  • Upload date:
  • Size: 236.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for power-grid-model-1.4.84.tar.gz
Algorithm Hash digest
SHA256 f6180479afee01606663634f324dcbd6dd2cc07f86d892b39653c4a877c82ddf
MD5 a860a75f2d7cdbecc67551e3952fbe6b
BLAKE2b-256 1d69dc997b2f60c4851cdf8b98ce1b1fe277c7b610731d1186504496388edf6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.84-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8d54224824172de1109022751d1412d2837054390ab1263df06ea4e1a682d830
MD5 223a6770de38f5d223b4e4bdff142615
BLAKE2b-256 c3508511d6654568857d644115cdd7421cdb45ba3edcf2e357e4ef190264c535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.84-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1d9c0f3e149f239152320796c0d14192c6ce905802ba549461b83b73dfb25a32
MD5 30d75929eba2f592de7ac8b52461aedd
BLAKE2b-256 ab76fc97bf77bbc7f0d47a51f958b885dacd23cae8ceedd6275ded8c6a046b96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.84-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 54f61f4af869bbac059d848195706dae235ab693c80fd68af459cf3dd173dfe2
MD5 dd5be993d451680ac054b85711de9152
BLAKE2b-256 8b37d7a86c2b3a6dfb29e45d4213d73a21a93ad9f7d79f2f54a8ad72e400adbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.84-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 52de328f0c333d2ee93077cd9bf9f998130a4b639ad590707fd0f6e2b211549c
MD5 a4e8e82e910f33b5e08ee9e80ae16683
BLAKE2b-256 9b33499976e649c32a0052720b54dcf236bbe78407b8a7ba71914315dddb364a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.84-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5aa478c8ff9aaea24464a3d5620013de8aa50761302d9df45ad4c84e101f45bc
MD5 86b64256375320fa36abf08771419099
BLAKE2b-256 8fa04d9557152a8ef1849c8c3f80368cb181d07505ca4c889eb98e33fef3eeea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.84-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2bc9a5566ad38641820219f3370e91909a41040af8fcd525ee04e2cecd39cebb
MD5 c3e0daf751bb777e75b1e43408fe056d
BLAKE2b-256 dffbf2cf97725cb1ed35f7eb0fd6c0988759ec3d6f9e10b231b22f943bb29949

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