Skip to main content

Python/C++ library for distribution power system analysis

Project description

PyPI version Anaconda-Server Badge License: MPL2.0 Downloads Downloads

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

Nightly build

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 Grid 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.10.4.tar.gz (856.2 kB view details)

Uploaded Source

Built Distributions

power_grid_model-1.10.4-py3-none-win_amd64.whl (619.1 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.10.4-py3-none-musllinux_1_2_x86_64.whl (1.9 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.10.4-py3-none-manylinux_2_24_x86_64.whl (941.0 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.10.4-py3-none-manylinux_2_24_aarch64.whl (873.1 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.10.4-py3-none-macosx_11_0_arm64.whl (705.8 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.10.4-py3-none-macosx_10_9_x86_64.whl (769.8 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: power_grid_model-1.10.4.tar.gz
  • Upload date:
  • Size: 856.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for power_grid_model-1.10.4.tar.gz
Algorithm Hash digest
SHA256 ca49b7569053b9db46b04281ffc1cbffbdf8f078e97c2b51541ee454c0ed87e6
MD5 e8660a6cd73fd0bc54f1c82847db257a
BLAKE2b-256 81a5c7f6c0e3f26e77c14b230aba7d1caeb73c60803e143b49c86f14e7c5578d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.10.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e20f9b0f52e435583bb5d8261c28115e626720247f8c990d89a9ed4b652ca395
MD5 40a61ac5d3ac7f1e0d553323e8b7a104
BLAKE2b-256 733902530ac6804ff51b8dd0802ca7c5d1d5cc07e0f039154c532d56101ed8e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.10.4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b2289eb8ef8561fbf7bcf8124f7ce0ee7e61fe523a975ebc78f88bbbf9e9c12
MD5 b212f4701b542f9ea47c28eb5810519d
BLAKE2b-256 1e73560abd9d7a7b6bf4c4fa19e4a1bcd321565297f4b276780f894699d37e7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.10.4-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 1f37f87176807145a26ced77f0445b53796b0cd7c0292024b55e19a18fd2f7c8
MD5 fd9c3ce97aea39fbb170600f89d9b347
BLAKE2b-256 163ef8829bd6a8848c95e6aafacddee59e4b9944f77b73b90a5d866a656a28a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.10.4-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 b04fdc1607b4e990f902bd514d4f85d2685d7246c3c4dafc95b9515d30e56b5b
MD5 d49c8917553ed6786240fa89e260c74c
BLAKE2b-256 1699b3e68c7bd05a3353a873fd06cb87a73c76f12bba9cc887f4f74c9abaef6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.10.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e52f77d79340d576290800b3a4edb2ec6d735513618309bcf2fb53b9af870a34
MD5 3c4d6ebbe62f3ae42bd99b582ba4e2f6
BLAKE2b-256 464e7fd5eeeb2fa501bcfa9a6fb529f495632b5b2b74468f67cbd25fcda5b5e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.10.4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9af0c06fc7ab2082547594d5590a16e24ebdf0dacfce3f478ed3c1ce39902e7f
MD5 7f0a97f8bc2e1b101ece4bd34efffe68
BLAKE2b-256 0abf473b68b2a63fceb9f24eac397e4e4b913eb2e73256c280f9b216a36755ad

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