Python/C++ library for distribution power system analysis
Project description
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:
- Power Flow
- State Estimation
- Short Circuit
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.
@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
Built Distributions
File details
Details for the file power-grid-model-1.5.23.tar.gz
.
File metadata
- Download URL: power-grid-model-1.5.23.tar.gz
- Upload date:
- Size: 462.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05e565e85415611e8a90f0473568171dbefee0ecd17ea4cd56101a892d0a0f4c |
|
MD5 | 135b38461850f886c73877d7e136088e |
|
BLAKE2b-256 | bcd442bdf9c53e331cd7e2ed6bf24121d2ec08e1b8a67dfc343831443c4f11c7 |
File details
Details for the file power_grid_model-1.5.23-py3-none-win_amd64.whl
.
File metadata
- Download URL: power_grid_model-1.5.23-py3-none-win_amd64.whl
- Upload date:
- Size: 414.0 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd152b75a0a7ee0e3cb4bbd8013fb02a9fdaa08f4da931d95de8c059ffa04d56 |
|
MD5 | 45eaefa59fd8e5638b8e02db1166f381 |
|
BLAKE2b-256 | f4d02514d7bfb2dc8d107582666140a58fe1f62b309b1707ff23c968108e1a63 |
File details
Details for the file power_grid_model-1.5.23-py3-none-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: power_grid_model-1.5.23-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1899d5e40d392dea5a690fb45c1120b10e9a06d87f63346ff4da04f179769f97 |
|
MD5 | 53b2efab4956ee0a2dade9524cf5e307 |
|
BLAKE2b-256 | e93f53bee08630eceb33b5246d8b047f42a0a338f8344e703eefbee26791d95e |
File details
Details for the file power_grid_model-1.5.23-py3-none-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: power_grid_model-1.5.23-py3-none-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 569.1 kB
- Tags: Python 3, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c2d9669c5c08f25458696101b90bb728b51f1fafe32a6312249d95e4d533514 |
|
MD5 | 757056eacc8c52300b6b28ebaf8b229b |
|
BLAKE2b-256 | 61f3f2b95aea7ee25ccf7730a9c55ec664c45a19d2a9c41943db922047e7d239 |
File details
Details for the file power_grid_model-1.5.23-py3-none-manylinux_2_24_aarch64.whl
.
File metadata
- Download URL: power_grid_model-1.5.23-py3-none-manylinux_2_24_aarch64.whl
- Upload date:
- Size: 534.4 kB
- Tags: Python 3, manylinux: glibc 2.24+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ffed255dc4d89866137d6595e58b82c47a1fc45edd077bafd29278f916fe5de |
|
MD5 | 2e0d2d786f09514654a1ad7b82321553 |
|
BLAKE2b-256 | ba24415354bb87abc9f634260dc0e47f9376ecf9a4e5db97543afb640a5f62f3 |
File details
Details for the file power_grid_model-1.5.23-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: power_grid_model-1.5.23-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 420.2 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c42982516759d609d32dd7c68085043ef32ad64985156a8aa57db716e2faa3 |
|
MD5 | 1685e2cccd6f7e083d5df386ff3f2898 |
|
BLAKE2b-256 | ea5973c155263accd3f69358e6649e2e78e742d54262fd688c57bb62cf83b7f1 |
File details
Details for the file power_grid_model-1.5.23-py3-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: power_grid_model-1.5.23-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 446.1 kB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d44313f01e44916bb57a87f9da62b42a09e8b57aa8e19c98675d6df10490b11a |
|
MD5 | d7ba855a250f5322884fef64e0ff84c0 |
|
BLAKE2b-256 | 0d9921546abeecbf9e97181aa87016b4e32803c8385882644425f1767631d27a |