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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

power_grid_model-1.5.0rc9186614649864-py3-none-win_amd64.whl (365.9 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.5.0rc9186614649864-py3-none-musllinux_1_1_x86_64.whl (994.6 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

power_grid_model-1.5.0rc9186614649864-py3-none-manylinux_2_24_x86_64.whl (436.9 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9186614649864-py3-none-manylinux_2_24_aarch64.whl (415.8 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9186614649864-py3-none-macosx_11_0_arm64.whl (380.0 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9186614649864-py3-none-macosx_10_9_x86_64.whl (402.4 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9186614649864.tar.gz
Algorithm Hash digest
SHA256 acf0af762a55bd8759ace55dfc1a738bcd1133c77425c08c4f6123f2804dbf1e
MD5 25acf33463a915a02fceca1043027865
BLAKE2b-256 9bd52982c9f44a86bd8f037520e0a8ad876e26824ab75d16484b007338a77157

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9186614649864-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 504f41d462594030319f0652062a7fa98ada8fedfc58bf33eea5cb75092cdf4f
MD5 5349ccd20c6689be476b91792f1e678a
BLAKE2b-256 77572d27d2a9a0b69ec486190c1390cf00fdd6dd8a694b92439c86966b059dd4

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9186614649864-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9186614649864-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 aa26deb0b0ff94efdf2d74d8cc31cc7c02ade5f4bb1a4c20770f9ec8fdc8b2e1
MD5 284604e91ab2f9a24af448fc05ee2cac
BLAKE2b-256 7eb9c9494bfef251d8051685c120e53ef6ea36fc0a6d7fba349a6d96f047c9e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9186614649864-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 79a2295cff970b7fe26f969783f713ef519325fb476fe7117e5937e9d9a8727d
MD5 aab4a7fed87468f8df2e24d178189ccf
BLAKE2b-256 e91f9c4f7a019824428cd1bc01c9463e6ebdba53ae43a7c8a84e6c27165c4241

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9186614649864-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 175965b6e851cb64e91ac27de498f57fb540db020802fe6e19a03a16fca5480b
MD5 d887d836a616099441d6b012717846a0
BLAKE2b-256 d7111b0365bbfe773c6c5a51b6e9b95102a0aff5ff77e372c86add26a9ef9f90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9186614649864-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fa4032a8f4c5437b256569fb8b9ddb050125e16d39461c161ea2591ab91fa113
MD5 dc85f2b359fefc1b9fd8553f0309d012
BLAKE2b-256 768acc6e2a9a068f534f384858aab8b65dfdfd56b473bc6172a03de3e9ee8c50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9186614649864-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0a51d3147be464ecd4935ddb38292234794363c575548b41838352fd505e68a9
MD5 bca2d956648b5a88f4d8ce17883307a9
BLAKE2b-256 008fb45a8bca231a95e1a2ff7cf61414ffb89d0da7b8a8f1e83db4081e424ef8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page