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 Downloads Downloads

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:

  • Power Flow
  • State Estimation
  • Short Circuit

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.

Want to be updated on the latest news and releases? Subscribe to the Power Grid Model mailing list by sending an (empty) email to: powergridmodel+subscribe@lists.lfenergy.org

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 Wang, Zhen and Guo, Jerry and Jagutis, Laurynas and Wang, Chenguang and van Raalte, Marc and {Contributors to 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.7.29.tar.gz (755.1 kB view details)

Uploaded Source

Built Distributions

power_grid_model-1.7.29-py3-none-win_amd64.whl (513.1 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.7.29-py3-none-musllinux_1_2_x86_64.whl (1.7 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.7.29-py3-none-manylinux_2_24_x86_64.whl (831.1 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.7.29-py3-none-manylinux_2_24_aarch64.whl (767.4 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.7.29-py3-none-macosx_11_0_arm64.whl (582.4 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.7.29-py3-none-macosx_10_9_x86_64.whl (641.4 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file power-grid-model-1.7.29.tar.gz.

File metadata

  • Download URL: power-grid-model-1.7.29.tar.gz
  • Upload date:
  • Size: 755.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for power-grid-model-1.7.29.tar.gz
Algorithm Hash digest
SHA256 7de6b4dcababb1139d8df96067e6252203e0aea74b6bf3251b0accd259d931e5
MD5 aa1baeeb943e7b143c4fe97e43ee0b07
BLAKE2b-256 cbdd5a7189b7f2ecbbf68486ffbbf16a0beb2193d13586b82f6a7ca0445cd38b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.29-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 02dcbffae8d85e829d640c50d3c3283f7fb806aa85f8a936ce7785e0f69cc0b4
MD5 6d889eeeb98866d15b2732e59768ae4e
BLAKE2b-256 279a149aa7e52175df3276a19fa0cd6eb9d745a4e05c04c1ab7b1684edbead7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.29-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a5690bdf1b30e0e810fd91bc7dce769b0424df1ca05e2e40c76204497dd579e8
MD5 4a8ebf99a23794e1c44b765598f2a237
BLAKE2b-256 4def1a9d80ff1bfefdf2ba7f9db4f904150873142b97e3bcdfd54af1004fdb2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.29-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 dc47c900b13399c104ed4de8654a36ffc85666bf91d82480b7299fab672e4c66
MD5 ecc14da56ab02b55d645dbda25615341
BLAKE2b-256 9e8d854f111c302b610fb23f94e9ade042e4d2193ed11621140c5ed14c7a555a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.29-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3809569bdbcb81586fb24f9b8449f7e71ccf6c6889bb0d5178196657a2394360
MD5 b3a47a8561c4f04cb5182093e82ad470
BLAKE2b-256 fee290e438f439999eda7abbacfcef944a9de4b8e92f1eb6e3cba735327f4156

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.29-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 29b68d1597b7cc35e86ffcda92a1712ebb4d3bce949d7a80737d022980c0e4b1
MD5 e6cf2680a951672caf8e72d23227a992
BLAKE2b-256 d00b8464247d6641a31200a88b79cbc0c8c0005d70bf1e7182fe1fec98fe95e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.29-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3701aa77ff8e5ccdf30a3008035cea706b901a47642e35ed4510d70f53a64e69
MD5 c42cb557ecf803083d1dd4eacd7fca5a
BLAKE2b-256 3ab0942dd28a702605b06fbbf07b54d5748a47682291fdb6a9577881bdbb2cc6

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