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

Uploaded Source

Built Distributions

power_grid_model-1.4.85-py3-none-win_amd64.whl (361.6 kB view details)

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.4.85-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.85.tar.gz.

File metadata

  • Download URL: power-grid-model-1.4.85.tar.gz
  • Upload date:
  • Size: 236.9 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.85.tar.gz
Algorithm Hash digest
SHA256 fabedf4b96a24e18b5484fa92b538ade0b2d560c062e6ad3c4b34042d65088ef
MD5 f4445c14ed2a192a08fc20a088816866
BLAKE2b-256 a394ef0e26beb0ca8e5ecc18bd4688d26536fa7821a8dc0167414745bdcd9f33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.85-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 36bac12e510b95f90b070cd0294aec6d12c1b5aac12dda96c1d1b1365455ac9f
MD5 70eb9f43135908a99bf8d3a1b6defa54
BLAKE2b-256 a68b864fd9e43ada2ce11997f82954b057c34bd99923f2c20189f55626daa1c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.85-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 82e9162b96b855ad3495246db6d1f6905b13051d0b0746b327d988dd878f291f
MD5 bc1a37849011dbfa55068737bf75ab0f
BLAKE2b-256 f7ec70b860969e539dc2ea5a69e0ca8e4cd35cab4b801d55db0c9c960c4f929e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.85-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e9b956972a2f0db46e2c266fd299caeeacc91245099f2e255b9126453cac6f4e
MD5 3bb2b9d4e3da19046e09d1175d0ba285
BLAKE2b-256 86d2fb0bbe42c21a2d5e43038789e8eb1786959b56d058afc9808149d9b1690a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.85-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 022ea06d7a8727992faa613b7623c4e075a37828b242bdb7a8ec0be5198f0d9e
MD5 473b627a87bc8c6ea45f1eec9a2684e3
BLAKE2b-256 c873a5661f9f14519e357159c74de260bdfc0750ca00d108bf037dfb8248b707

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.85-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c465a9bf31c7c7fdf7b7670a0b354216af6c817f96eea532c968888dd40ba84f
MD5 97288949c16f652b8cbbaf021e81484c
BLAKE2b-256 8f213c2f34c71e5fff0adb832797cd2414a77cab376d097782bfbf23caf399e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.85-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fede774383b4b48092f1177563522ba1a4e20dc25e8bb80da616b00cbcf6eb05
MD5 fa6324f7041493be26ec6c187eb6f242
BLAKE2b-256 e345067c89b6b97b31b5ffbda8437a62d0c59c4ba1a973f860070c5d14c20669

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