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.0rc9193215149708.tar.gz (292.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.0rc9193215149708-py3-none-win_amd64.whl (365.4 kB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9193215149708-py3-none-manylinux_2_24_aarch64.whl (417.9 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9193215149708-py3-none-macosx_11_0_arm64.whl (380.7 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9193215149708-py3-none-macosx_10_9_x86_64.whl (402.9 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9193215149708.tar.gz
Algorithm Hash digest
SHA256 5a85f28d799bde113e773fe1c50bf38db09aa766657b28e0df884aaff37153e8
MD5 6f18b7cbef8ac46408fbae391c265da1
BLAKE2b-256 2c8978b3829019deaa6011fd848d4d9b1fcc94f9826c4734bca058c2378ec50f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9193215149708-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 efe52ac34fdeb3c1aa18d4c86703428ce1262c38251cefedc333a4c29345e67c
MD5 8b6dd54c158919f9c464f06d19b8c483
BLAKE2b-256 66cebbea54db9ce575eb9fac3506971852c58dc1350b53c526bd7633277fff71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9193215149708-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 79e8a4d20ce9a4e688f5dc3b334c91e7addc4418c78a6dee5366e5e92b90733d
MD5 29f92256d444d38c42f0377d0980ca79
BLAKE2b-256 bc50478a411a945b95ce3c2eef15d3ba386e7fe0e48b7b3b52a184c5a795fad4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9193215149708-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 f3c1a06fa8ebff21ae03fcf073b96ebebca2c425c8fec8db963eb7fa23281499
MD5 c95b538c6a082bae71cbda778fa505e1
BLAKE2b-256 f5fcf6871271c493074c0a2ed92ff9b6c3dcee3d58a799e1e81415811d2228c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9193215149708-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 68bad79f07f8807c8ff44a7ad17052f6c360075e08bdd106d86c6f69d2269f8b
MD5 d9f882795911c899132a1711fa6c2f0e
BLAKE2b-256 a394d3010a5f3f17250c0832179cc4b0148507536a53c529fcdc22182d5ce94f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9193215149708-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59fab0ea3502dc063c4babdfd7f0c597126670a5c8640989c771919e695fdc34
MD5 03a54a26089e4cbb22a57c50bfdde96d
BLAKE2b-256 da9bf77cb0bb7c9f51e05aa7c3105efbe1b135d3b345afd6d0746ccef218c1b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9193215149708-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fab3fdc14d9fadbeec436540b50b21368cb14d5d17576ce841fa3129f0e618ed
MD5 3cbf63d1fba8bb50c933f2c7d10dd66c
BLAKE2b-256 85df2157930e2924cbd9c841c8399eba9bfcc835be8642160a459e494cc02cef

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