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

Uploaded Source

Built Distributions

power_grid_model-1.9.7-py3-none-win_amd64.whl (539.1 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.9.7-py3-none-musllinux_1_2_x86_64.whl (1.8 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.9.7-py3-none-manylinux_2_24_x86_64.whl (831.1 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.9.7-py3-none-manylinux_2_24_aarch64.whl (767.2 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.9.7-py3-none-macosx_11_0_arm64.whl (595.0 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.9.7-py3-none-macosx_10_9_x86_64.whl (647.5 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for power_grid_model-1.9.7.tar.gz
Algorithm Hash digest
SHA256 025fa7bb84f3b13fa26ed39124fbca923a510a2e0d8ae39ae6148506711929a4
MD5 bc31dfd17b87ca75fcd1216797b778bf
BLAKE2b-256 4946d06caa194c7ec1258f1216ec311017e4bb6d86051d5a5a765a8664b5f449

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7127fa9c510bdd948d5777d6fe2e324b7a916c2c940ae489d1f9e0900c7e8dd1
MD5 f5270135370d9d26a03a727a8986636e
BLAKE2b-256 11e5ae3c59ffda645ff4b5e2e73873fae9fc9c2bc3ccbe262ba7ab6cfb87657c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.7-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 925d5128f7e4ef7da6f89ca8668d9bdeb053271a48db382d70d6159a66570524
MD5 c8e78d91b2d952761da86adbd0f1434d
BLAKE2b-256 1628e9493124fb1dabdc57213559d958fcfcaec22ae1528e2a129d1ee274b1ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.7-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e0393167915da6e0122e71001ace196b56df04f3d5ac8d3a1d8487f55424a46b
MD5 e2b13d07547e7acb5446d87914b45e0b
BLAKE2b-256 97ecd488b289ef031c45ee7c2b5efc2060c464e762d47f2c6f8a65f6da346f6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.7-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 a97c252c331f5bfc39a9dfcede693ac8f9896fbae469ba8a30e5b490d704239d
MD5 7b80247a5dab1ff6d0c5cd42f2c652f4
BLAKE2b-256 cfe928a82e674c0437cd8281776fd7ae20b4ac2028325761edc956e4b3d78813

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4e6ec0ba8a1e351f2cb29a88705161e78f9aafcc6b9e67c59d6f0c03b9818765
MD5 7f30e1c934346c4a8877ac99d8bb4d6d
BLAKE2b-256 b8e0ee4b07bcac0969f63576564d7c2fbaab5921bb6f7837e42b664eef9ac122

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.7-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 afae1cb439fe248e2a686ac9e47e6138c85841516ca6bc40394e684e7cac74e3
MD5 6d5cd419a5a252beb00aa4754efd62fc
BLAKE2b-256 9c47ac5c395b1b30c9b5a164948477ab1788ab1e07a2817a6659f03ca7004b8b

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