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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

power_grid_model-1.4.81-py3-none-musllinux_1_1_x86_64.whl (992.0 kB view details)

Uploaded Python 3 musllinux: musl 1.1+ x86-64

power_grid_model-1.4.81-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.81-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.81-py3-none-macosx_11_0_arm64.whl (374.9 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.4.81-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.81.tar.gz.

File metadata

  • Download URL: power-grid-model-1.4.81.tar.gz
  • Upload date:
  • Size: 236.6 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.81.tar.gz
Algorithm Hash digest
SHA256 8bd3bb8c07941a6aaeebaff055d942adcf0f65065541bcf77ba0fb9adb2c61e6
MD5 226ecf4fe2572114413c66d175609350
BLAKE2b-256 44f738a4897463722f4dc7701bf2bd8025dec4ed4bc7adcaf42474607860ce21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.81-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 cd541ac46b5d11d8f69c0448dc2e0b26414a242d9e7b110c6c8b996a54b37477
MD5 f9794bc16a6c2cc06969d7fd07702284
BLAKE2b-256 70344ca2651107f52d117b37e9904cf020ef6b954cbce2eccf4ef726915b3370

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.81-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.81-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 97677627a0bb60c89767cb6b176124a23a0f955b7119e885c5696fdef8ed864e
MD5 274c1ee2606243535d1a02289130a08e
BLAKE2b-256 7d7068c5e8d1fe94dbd2cdd7def80a7b31c500cdf6e7867abde989d1d4959b9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.81-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8172f28d290a65c40ed4da1d3655febefd3295a1fd8f7ff7527881e15e079220
MD5 6cb86fef2a5e54ecbc0ed4d6e01c13ca
BLAKE2b-256 eb928cf06690a82d418f4d8a4c3901ce7dfc42df96211a1f78847f1676ab6059

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.81-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 896742bc9dd1ed40855dc417c8fc3e4902e902dac372f688e814f72ef6e833f2
MD5 c72a5076c459e9a72f1043f3d2adc0b7
BLAKE2b-256 a0066e0ee2daa0a57542c096afeb98ec43d2f31f020f17ce91dcd15f0457545e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.81-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7858202fd8c7cf5b58f6ed0bdd88e41db66d28f631b7de9f841af8b82d5affd8
MD5 3231561583add5deab0ed040c83bd0f6
BLAKE2b-256 777dbedfe145236f728a1f5b70ad0b4ea31726afaf812f05a056d1aea0eb0f20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.81-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2e815964667da06d83338422a97fa4b503a6b7d054a7ea808b43d47d97d78c9e
MD5 415d77a2d9160bab6414043e61ec0ae0
BLAKE2b-256 554bdeca423790901fc7b10a0ec9b270c359612f471352c2a13788fe67680056

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