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

Uploaded Source

Built Distributions

power_grid_model-1.5.0rc9211403024029-py3-none-win_amd64.whl (387.6 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.5.0rc9211403024029-py3-none-musllinux_1_2_x86_64.whl (1.4 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.5.0rc9211403024029-py3-none-manylinux_2_24_x86_64.whl (541.2 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9211403024029-py3-none-manylinux_2_24_aarch64.whl (505.3 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9211403024029-py3-none-macosx_11_0_arm64.whl (392.5 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.5.0rc9211403024029-py3-none-macosx_10_9_x86_64.whl (409.0 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file power-grid-model-1.5.0rc9211403024029.tar.gz.

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9211403024029.tar.gz
Algorithm Hash digest
SHA256 e26f1de733be05e084d6fcc6574a34b51e9d5acd52732b2c5aa43014000c5012
MD5 52c525abd2c5079d33dba3228503ecbe
BLAKE2b-256 b4d38553e7fe83bc27996a7ce42d02ead3ca4b084e37cc74c2186422beb964d7

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9211403024029-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9211403024029-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 39e7a8a8998aaec3f8d54dc759160b13e77cd291be3a43a0047ba3bcd28df709
MD5 6a8f757bdf17dd33b80f6ef8b541acb7
BLAKE2b-256 c21a5b58f2f2696298b4dfbcc6185698ff7c3a496e14b37b133c6314f7596cce

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9211403024029-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9211403024029-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 898472b25411284ff77ea7ad93b248650284057d7df7be0c4dd2aa7c99412466
MD5 8dcceaea827883e0e24d04cacb14964a
BLAKE2b-256 af264f94d09857f24436fb28e2e7e5febd26697ec2e716bee4e3e7057e6e4336

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9211403024029-py3-none-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9211403024029-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d41ecf5e60d80fdfdd6a01918d30e05d1c2d4eed15921e0bf3f99a116b68cd3a
MD5 ae2ff323442917dfab9b314eacbeb017
BLAKE2b-256 325894d45743c9f444b62bf09b53af44e9a13222e1cec069befe6e2f89a793ac

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9211403024029-py3-none-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9211403024029-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3d371d0f1c637dead5b3b668c4ba33d50194c5ba9d8b88c2f828347fff84abb1
MD5 4c69226938cc9756df582394845ffcfd
BLAKE2b-256 1ed7e99c8038a222fca65110002740c9a6ee5cf12be108919e6a674dc9a93858

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9211403024029-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9211403024029-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7bbac97f530c2a65e51056cdfb82b5d6482e0af0a02ea91360cd026601a186aa
MD5 833c42138adc72316bc3d77185a9a668
BLAKE2b-256 0134aa466c23b11d6076933ad861638d86a115af3358e74c98305f16664fc5b3

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9211403024029-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9211403024029-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 caf7397046723550a0292b29bac63136ea201be23f07477f1247c35e3b342dd6
MD5 1a636ed6477dee33e07d55b46fd1530f
BLAKE2b-256 d81153cab5ae64d98b6419461f44d062adffa130a774f69dc31b8486ccd1fd1b

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