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

Uploaded Source

Built Distributions

power_grid_model-1.5.0rc9201513259057-py3-none-win_amd64.whl (368.6 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.5.0rc9201513259057-py3-none-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.5.0rc9201513259057-py3-none-manylinux_2_24_x86_64.whl (442.5 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9201513259057-py3-none-manylinux_2_24_aarch64.whl (421.2 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9201513259057-py3-none-macosx_11_0_arm64.whl (384.6 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.5.0rc9201513259057-py3-none-macosx_10_9_x86_64.whl (406.9 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9201513259057.tar.gz
Algorithm Hash digest
SHA256 4c26956ae6fb64ab3b7c3d95508e6b387d362493307d9e5e87277ef09b68bbe1
MD5 b36aa3ce4d7d4083f14e7777c6409d0a
BLAKE2b-256 7a8d0c8f5b490041bd5650a9026c0e4b09fe438ae7c684e52aa416f57b97fbef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9201513259057-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bfd532814de2daab5dca89c2c475e2f454a1104b47f6338dd196bbb0e2e5539f
MD5 ca68960f3844bcdfa2c0ba2e7508a190
BLAKE2b-256 4de351f5bfc14c1f6b7d6c5ab0d8991a05e2f66fa60eb53af22134a33a766f53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9201513259057-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a8a11723f876a32e3ce475b9e4ff1fbe8d4c60da74f94704c2c67e0e092bf1c4
MD5 2a86e73c222cd056b1464a0b4befc076
BLAKE2b-256 39188bafd33de66a25e00d23ecefdecca1755cd481add7c1aa34e753d5e6c2f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9201513259057-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 cb3c642892f2feebc795e235e2c9114dd782db897a2ce5cc8fef3faf3b8358c8
MD5 e3e0fd7b4b01c380176be14f1f17a13d
BLAKE2b-256 45dffabd6e3c873934b4068677a088ee9765276b9a12fe4918b9924c1151f331

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9201513259057-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 6b2b70709a2ee43ca714b02e0ed8a234c69dd75e8a5d567a9943a3e9755ebdd7
MD5 764d0be0fa829e62597755d6e9321440
BLAKE2b-256 31ceec1f841ffe412b35048975b0d922dae2ae478fc568a78c57416b167c8c6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9201513259057-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 49dc84c1a5d1338f091e222dd8170aed594fcb1811a8e524c647741a54b8deb4
MD5 0747d5adf08b0adf6615ed5c3f7812a5
BLAKE2b-256 2afb3f2be14e02d3b8c773560113f9e99d17f03815ca957ad4b5ba5797269fe7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9201513259057-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5fb4d3934cf54d4c86a9b6d2e67f1e26e2e8f20e4699d82abab8bfa5a15d38ce
MD5 62750ea514a8a86c8fd470ede3eada64
BLAKE2b-256 5d9864556b16986ea5881243df0f5e1f3a68785130cb2609c40c6c0c00fb9fba

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