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

Uploaded Source

Built Distributions

power_grid_model-1.6.42-py3-none-win_amd64.whl (483.9 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.6.42-py3-none-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.6.42-py3-none-manylinux_2_24_x86_64.whl (713.6 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.6.42-py3-none-manylinux_2_24_aarch64.whl (657.3 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.6.42-py3-none-macosx_11_0_arm64.whl (524.3 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.6.42-py3-none-macosx_10_9_x86_64.whl (561.4 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for power-grid-model-1.6.42.tar.gz
Algorithm Hash digest
SHA256 09d892e34e2c6d8756cfa71eb7be598863f0e78cd55e3f411782462a32887f1d
MD5 1dab52bf03a716b5324bf2f6512b3598
BLAKE2b-256 fc6b1252b57244385295068bb38b66a3112a68de95e6bc87771300dea3bda670

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.6.42-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2682afa209684b6241251948c88c85c1bea5b1445ecea90eabd3d329dc5cd2bb
MD5 da3b1f9c7905a35ffc6af87e97ab3abd
BLAKE2b-256 bbb06ccd1504a418b1ac6b1e06f1805e42db638e00bb46478b6b021828e41294

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.6.42-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6568f030450a53c24d89c4511ed88eaa0d003a2c53572706a7a74f8aa86fc19d
MD5 7025781885a4b78c09068f52bea06282
BLAKE2b-256 cdcfd55cc6fc2da338887e7bd370091f3d1c9b672ddbe8bf1f42f54af4d055b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.6.42-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 c7ed39505564634cdf087795d3924185b933c1cf7067a635024f45dfac57ecd4
MD5 0ce6b993b0758e40ef4a914b8740697c
BLAKE2b-256 2704218b815b5d95ec0b28e29783cb659558c0786d75ccc8c91dc379a1727faa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.6.42-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 0864d86f1c657a675b938ddeef7446ddf81d2d85966eecc8d484a7638a177661
MD5 35cf25f91422a4b2df6f05963ec89b20
BLAKE2b-256 07340b884e96758e9be773a321b9fc7b2075fdf61656869ad75747e4227a4388

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.6.42-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f579e18f54e31bf5be45ce800488b7777164b4f25cde65169837fc910e14c418
MD5 91ebc0c6a156f5b1bae9d24e69bcc337
BLAKE2b-256 4e6dd84f67a62f1e72f4bee42b63682bca2ebfe6dc9d32314918f382eb2bc839

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.6.42-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d43cc9a0c2d92d6d86885688bdc558fc5bc1fc96b8bea44a6d18eaaf00d50fef
MD5 3a69c859b864cfcc0e1f4de0c66c5cc9
BLAKE2b-256 92b9b7088b2607cc70f1b07b1be1c0c8a1effb1c3c832f3f50b97986b451f192

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