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

Uploaded Source

Built Distributions

power_grid_model-1.9.42-py3-none-win_amd64.whl (603.3 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.9.42-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.9.42-py3-none-manylinux_2_24_x86_64.whl (929.6 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.9.42-py3-none-manylinux_2_24_aarch64.whl (855.3 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.9.42-py3-none-macosx_11_0_arm64.whl (680.2 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.9.42-py3-none-macosx_10_9_x86_64.whl (741.7 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for power_grid_model-1.9.42.tar.gz
Algorithm Hash digest
SHA256 59d3754b75ec6d8f10599ba7c524d98746bc0bb8f4f28ed7ebeb8435149ed42a
MD5 c78dad0317b86b8bfdd3fa77b9a3cf55
BLAKE2b-256 5005e4208dec20d7811364dd3f70373c6b6bd41c16ebe11ae080b08f8cbe9c56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.42-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 80bd9050c8f4fcf0995ce34833e2720b0ab91b62c37ecf0baa1a2e75c9abeda6
MD5 c637ce3ea7469372563d355212fdf2a7
BLAKE2b-256 bab476ec73586e7ba5a0b52210359fd766a18684b0be1738e01fe094fd80ca7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.42-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a00a53ac3e9c3760345f2f5799137d5d8f94832ba4d1d328721272b3d1e4e149
MD5 227b89fc30626d77b24daf274b6c408d
BLAKE2b-256 2078d623351e6e80c55b302eec64c62b5ecc7ece0027c4713c9fd9bc4cba63b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.42-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8e8371e15623cfe76e69dd2814a66242cf84e4ec139e116328e5a33d2b5048c3
MD5 3c2a04e3edac3b2dbfc9a8ec545970c8
BLAKE2b-256 4350756871b9636edba83527ba7ad98e095938fa90780da8acf1a081cf17782f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.42-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 c67c90ade031b3b4efd97ea74584fd00c66ef3c1e7d6aefea229f0ff09d18a78
MD5 772bd6a1d40e00e9a7b3e8e9cd0d5090
BLAKE2b-256 12e634b97e7a4ee1e219ae214c0e89d86d4b0aae3120951e13677a58a24cd961

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.42-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a78e482186e727f813fe51a487c35084ac49b2a9c3728174e9b254d95d58ea13
MD5 ccab2140da7d2a81ab26d4451067ba94
BLAKE2b-256 15c2cf46221b990db001e64649037f109879bc4e6d8cf8299e4eba17d0501466

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.9.42-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6c7baf4246480156d355469b4211f24c456ff26c35d5de572505a0dcfdd6cbb6
MD5 d52c9f656476bcdfa53aba60e089f571
BLAKE2b-256 07ae869a6a9b539da762111a8c3913aa6d4b82cf57ff41be50fa3a8f2caf614b

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