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.5.0rc9207011180609.tar.gz (299.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

power_grid_model-1.5.0rc9207011180609-py3-none-win_amd64.whl (370.1 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.5.0rc9207011180609-py3-none-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

power_grid_model-1.5.0rc9207011180609-py3-none-manylinux_2_24_x86_64.whl (443.2 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9207011180609-py3-none-manylinux_2_24_aarch64.whl (423.1 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9207011180609-py3-none-macosx_11_0_arm64.whl (386.6 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9207011180609-py3-none-macosx_10_9_x86_64.whl (408.6 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file power-grid-model-1.5.0rc9207011180609.tar.gz.

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9207011180609.tar.gz
Algorithm Hash digest
SHA256 040988baf4770e28a766a2afded44836431a9587f7458b18d7720f0a52760d0c
MD5 96734ea1ac4e3aff1d759206b2250f5e
BLAKE2b-256 84c411ac2d01182ec698c5c76cba67cbb639f1cbb34bc3f46b9d88ff07e207bb

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9207011180609-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207011180609-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bf92b421c2044f330aa402c2c88f0f5eab9eb9bcada220764487cf198daa5de7
MD5 a9c29104acaed2504362ea221955c9b3
BLAKE2b-256 ea0c4eea9de88453d2baeb00d1303a6880acb73dd464a797204440ec0524bbc9

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9207011180609-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207011180609-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fb58da470283b9ab3af7b6103283176f0a41d8a4f70c9acb5a6f48cc03fa4562
MD5 636e47b71f698c6c1a840a11d5c72d25
BLAKE2b-256 30d839b92029c10b4d9dcb5d18a785109d9a86e718e29bc984a20829738f0ecc

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9207011180609-py3-none-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207011180609-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 331156cf3d1c48389dca175ea0204c4171c668217d99ddfce71f5b21831e1644
MD5 b3acd5155a54e3fb1cf6396959945f5b
BLAKE2b-256 e354655ed0c84b467f53aa3e72cc892f73b3863375b32b09ffd720b41ee550a2

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9207011180609-py3-none-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207011180609-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 36105e0345ba6c3895a541e39fdabc0d5d09904796d19c0f6358ba58da81435f
MD5 089f4cae7a5c74c43af28d390f1958d0
BLAKE2b-256 7a7fc2534251f5177835a1aa9b8600eff6944d3a2115ed685ac4eb03c494b2ce

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9207011180609-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207011180609-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f980665e7cc23c668c42913efb41c6810ad41699e359982c4e6e93eec5fae939
MD5 410a70b295ce85f55c42b023b7bf4a1b
BLAKE2b-256 1aef0533c95651e7abf75d2bdd81a4470adf102a71193e171eea26b9fa142bef

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9207011180609-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207011180609-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 33bf5834633490479e44ffbe15061e16b24aef88f6937906ae7f943efbc15f9b
MD5 95a23b709b2f083c14c3bc7bf8baaadd
BLAKE2b-256 d40379ffca968a1170c6dc49b6a504417284aa8116a146fecf0a6aed7fec434f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page