Skip to main content

Python/C++ library for distribution power system analysis

Project description

PyPI version Anaconda-Server Badge License: MPL2.0 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.63.tar.gz (774.7 kB view details)

Uploaded Source

Built Distributions

power_grid_model-1.7.63-py3-none-win_amd64.whl (531.3 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.7.63-py3-none-musllinux_1_2_x86_64.whl (1.8 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.7.63-py3-none-manylinux_2_24_x86_64.whl (853.4 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.7.63-py3-none-manylinux_2_24_aarch64.whl (794.1 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.7.63-py3-none-macosx_11_0_arm64.whl (606.1 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.7.63-py3-none-macosx_10_9_x86_64.whl (650.6 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file power_grid_model-1.7.63.tar.gz.

File metadata

  • Download URL: power_grid_model-1.7.63.tar.gz
  • Upload date:
  • Size: 774.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for power_grid_model-1.7.63.tar.gz
Algorithm Hash digest
SHA256 8a66a2b451255bb9277ee0200a2112cfeb7d2531e4759d4d9774218a1dce71a7
MD5 fbaea58db8893d4b686bda2893bf3722
BLAKE2b-256 8a8b08dd3b20b2af331caf1504ef277413ad895ab550fd63d738672f0eb6b248

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.63-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a1d6c2bba8bb444ac661bc9727b7eee382b531fe60655e9697bb3b5d3f1d6023
MD5 c39f7eb0883ec5744a0833959cd9a4d5
BLAKE2b-256 e26b4ea478dab6cef19a12283a7f7a552728c410aa520e2ee3c9f37f8b4cc78c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.63-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 165b7c6c27bd33c894a4052f5d447f724d17298a616bcc2868496c7249e09cff
MD5 e1e4419038db308b501702de76671475
BLAKE2b-256 f333469c0f76f4313dc9a7b618b0d581689c554a74cdcba0a46ced18b2f72976

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.63-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 f9a612ae0c7d75b3987b16b3adc12b702e09c6edaa5828cf0cc8fb8d623d5188
MD5 43ef51c841c8a908e796b28e9a32a8a3
BLAKE2b-256 39c4c96591856f22630a5b12d079a182e41ce644c5452ed59b628ab3af17073e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.63-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 22cd7d3cb83d177be11525090fab705550bb743cc8c83bc27d570b16a4d73d99
MD5 b69d5eca472ca801e05be7a1eeece54d
BLAKE2b-256 792e78b8a69a1f077a99328773e89cb446ba7c7e7ac54a04ff8f46f9eb7ab26c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.63-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec5a5a9d0e7f424f86cba6ce7e8f429b0d4575b63cf938555b6abc11bc3dadfa
MD5 2332b65953436bd5b0246e3a2ee6dff6
BLAKE2b-256 ef33851cf70e2938052af457e7d0c2339f407ec9e41705c206cf1badf56acf6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.7.63-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ce5ef0791a154d208d6bc9091baeb649f4d5020b757a8c95543c1cb944033180
MD5 f8cdf5d1b724a1e99c34e555d0819df6
BLAKE2b-256 bdc5d8ea286d4d2a0a57b471aee36b8471f2cf51638d5e48decf6d9ee6ae9153

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