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.0rc9232904017091.tar.gz (324.2 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.0rc9232904017091-py3-none-win_amd64.whl (380.2 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.5.0rc9232904017091-py3-none-musllinux_1_2_x86_64.whl (1.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

power_grid_model-1.5.0rc9232904017091-py3-none-manylinux_2_24_x86_64.whl (532.4 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9232904017091-py3-none-manylinux_2_24_aarch64.whl (494.7 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9232904017091-py3-none-macosx_11_0_arm64.whl (392.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9232904017091-py3-none-macosx_10_9_x86_64.whl (413.6 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9232904017091.tar.gz
Algorithm Hash digest
SHA256 19b5c8a3e0faae0baa50f44382be2b21912531d6eb83812b7e884f1cfc8993a9
MD5 69b91b084513c42d439038f2dadd3667
BLAKE2b-256 02e709ce4b78ffa333720c1ff9b72664339e0d56c8e5ebbac23d8f3a475434e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9232904017091-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 70683d029bba6c676ce57c21a24734534d8a98b538c5d0373dab4e9660346ddc
MD5 f08c67b4b72b8cf415203cd26066ae11
BLAKE2b-256 4fd5bbc5c632cd40629453e7ac7d2ff6eb3c3af485eea4251c2216659b3f82fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9232904017091-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 71256a87f72a26f8c0059ddb299776f6f6b44c13f02fecca2da9432d85b2c619
MD5 58bd65da74aaea133a40635d3b7e6b95
BLAKE2b-256 749aaa2d00b9653b050dc27e49093945444360bc039f5f8f3cc4414755e744aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9232904017091-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 56cc69575103d6559bb4960460bb77ed103458424fb6af920ae87aec190ea5a5
MD5 cf5a7fb3edb306084efea8acc24e960d
BLAKE2b-256 5fc14391c7633a43e5403e55ca26baaa5fbbe6469db1ce2544d1380099dfc7e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9232904017091-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 c48ed8bd27c7f71f1f32ea56a950be6f5f93f863e673c57700e7e03101403e37
MD5 e76c270b5dc4ff6c9c7a99b1030eaed6
BLAKE2b-256 ee1f2e03e455212f205a12f9b9c816eeef499c5eab3dfe3c3178d0bfc450c72b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9232904017091-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e6ceb32786b5607f19a4c22d72f14c28393b6a3974c8c57c0e87626916d7eb25
MD5 9bdfce70ca001a4a2b5bead916bb15e1
BLAKE2b-256 0547d8287476d2d6802ee98773b95c6bdc7d3f614440e897e52e6d23731ae00d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9232904017091-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8f203e0eb19ed017a711e1adf1caee947c38c0272318d0e9b744541be0646aa9
MD5 d56ddd7d7e89bbb592cd77356080e8de
BLAKE2b-256 b47ed32884c5ecccf1df3a032829a8b388b9f6a8c6f480262bc3576a07b71677

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