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.0rc9205913270508.tar.gz (296.1 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.0rc9205913270508-py3-none-win_amd64.whl (368.5 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.5.0rc9205913270508-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.0rc9205913270508-py3-none-manylinux_2_24_x86_64.whl (442.3 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9205913270508-py3-none-manylinux_2_24_aarch64.whl (421.5 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9205913270508-py3-none-macosx_11_0_arm64.whl (384.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9205913270508-py3-none-macosx_10_9_x86_64.whl (407.0 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9205913270508.tar.gz
Algorithm Hash digest
SHA256 7b0f1d15d63f510f3254525f4dda7b1776a969776bc7ea78dcee1ec9b6449528
MD5 bf412e2f1e09396a165bc258c9997918
BLAKE2b-256 bc2c6da94439a82f5f763dfc0b3ab087b1a474431fbf87f0054f83cd04814291

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9205913270508-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a412d38f2b4e56c226ce39d535f34d9e53bdddcba8c5b29e5189e8aff07a44ca
MD5 349d3896cb3b5ee55c4ff33083e6c2f9
BLAKE2b-256 8f76d1bd62b60f89b26490bf9d4b899abb0191b6a1f5c999c5d6421ae56831a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9205913270508-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 968fe0375750c368bb7c6252dc504f8a4b3bf0bd772db380c1ce27d29e616ac0
MD5 4793751bd719f935dcadde0ca9e3f01b
BLAKE2b-256 adf3b1022b8ef9070acdb8bca7ea86228cf9cd024e6769f24cdf88b77a03825c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9205913270508-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 5f59a787b002786102364663a4e10350aebbaa4ed765d3a28fa9a5ff9a35f460
MD5 584755d620d97296794e22bf585b3268
BLAKE2b-256 85b66fb2e560b69b6a361001f5ff2961f06d1fc5ab34f4c2807a879125b20ef0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9205913270508-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 25abf65110b6019a3f0b0d25bd457f68b93da04d10b6dae4b8ef35fdfe3e3e72
MD5 4fed1f9bfa1b2857689c7871f0716ed0
BLAKE2b-256 660d76651d0c3beb4bb3c1701b3d5694f93531611a0b34243fe81a7c45693a80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9205913270508-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c8d78a728486d0b20794954f8c24712ad1b19cba1b896e416cc4e01acffb89c
MD5 c9bdddf9a6c7dba8422e491bd011860a
BLAKE2b-256 fce13ea2ee6d426fc9253ad30649f0517b3d49c7913731467c53ac846cc13357

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9205913270508-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 edbcf0be774f92908c8a759e89574f6bd580cef12389f0518c1d29b9ab45966f
MD5 bc7decdcf4f88234dc342d18d34e6963
BLAKE2b-256 54da2e88a52c7167251a41bb619d6763972c8cea8c6045dfb3bb0247e9bd29d9

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