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.0rc9210200991489.tar.gz (299.4 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.0rc9210200991489-py3-none-win_amd64.whl (370.4 kB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.24+ x86-64

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

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9210200991489-py3-none-macosx_11_0_arm64.whl (386.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9210200991489-py3-none-macosx_10_9_x86_64.whl (408.7 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9210200991489.tar.gz
Algorithm Hash digest
SHA256 aa28d4f054606ded6d28a9aa34372c5a97c0a8575dff98bb9fc385e18db1b7e6
MD5 8af4b3ffee628776e973530df0fbf6fa
BLAKE2b-256 0fa64f3d66a1a63eaef7b170a61a6e634027cc5e03929d396ce5daadf44f4a85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9210200991489-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 625e505cb19f20cbfa860ace6afb6329d66457d0c45b077aa650d6b5afb83271
MD5 db8df98b8af5d3ffd579979409ebc547
BLAKE2b-256 9faf4a1457ee54201a116bfe630c94c789d04ed6a24769ac1f36089276d40ece

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9210200991489-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5d671f68f48262c2085a164fe013ca4e63bcfc722dddad3988e79477ec8df937
MD5 826fcdbd03cf8ab298a05afaf4af97a0
BLAKE2b-256 a73ccb77310214771cf7ff2c75e870e41958d3f57f13f760e0c57dfa87752b42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9210200991489-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 cc19e583e5a8ba1651a254d8b6b698f8c1fb5be4e73ef94e3434f24c009e1782
MD5 c21cf56e1be1772fc2afe4dab2044bea
BLAKE2b-256 0db588bc453971ae9e8b16e7649068a8b18acc99c527160027a2f519188e322f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9210200991489-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 a7d6905321a85bf2a12b0befcc6923bdbae0706ea594fb701f9a3bc1108df827
MD5 56126992b13debc7c0db097a35bbcb6c
BLAKE2b-256 877e154390aae6b90614e9e273407220bbb54a75b9da94d5bdf0fce4d422c309

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9210200991489-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc0dfbb30e9ae6f1b2f3bb384d07c53acea76e91e54d4aa4c813040dad865dd7
MD5 1c74892721b0a0e9d148339d1e38d05d
BLAKE2b-256 7aff94dbc9b5ba66fe2ea9cf0aed1285071fbb8907e29b2959e6c46079f68186

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9210200991489-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c6441a667c2f889e875485f6f3ca2d4c9e10bdb6ddaab12b5647382253961951
MD5 cba65a8f9acc963ca8030be343c52ec5
BLAKE2b-256 76495a9efc8363e594378fbd8cc352da9c04bafcfbb874c03fb00848674c2e9f

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