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.
Want to be updated on the latest news and releases? Subscribe to the Power Grid Model mailing list by sending an (empty) email to: powergridmodel+subscribe@lists.lfenergy.org
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 Wang, Zhen and Guo, Jerry and Jagutis, Laurynas and Wang, Chenguang and van Raalte, Marc and {Contributors to 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 Grid 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.10.6.tar.gz
.
File metadata
- Download URL: power_grid_model-1.10.6.tar.gz
- Upload date:
- Size: 856.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73c1cf08bbbe79052c394afab8bd1bd610781f60659b14070cea1a1506de2b93 |
|
MD5 | 28435097d310db6fd0bfa4caf2897a21 |
|
BLAKE2b-256 | 6787545abd3ef4f77b6ef4addc73a6e19caef1b1e9aa0a2befc655d6a79a47a6 |
File details
Details for the file power_grid_model-1.10.6-py3-none-win_amd64.whl
.
File metadata
- Download URL: power_grid_model-1.10.6-py3-none-win_amd64.whl
- Upload date:
- Size: 619.4 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60c8f12931dcec81009f10f64823b8e85ddf7bcd1845eaa5913d95bd6ed63d0e |
|
MD5 | 21ca64818c5ddb0c9084018b5ab7186b |
|
BLAKE2b-256 | 4edaaf52d801197e940902b3775ecb523aaee265e922186c066fbe6f8892c048 |
File details
Details for the file power_grid_model-1.10.6-py3-none-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: power_grid_model-1.10.6-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e6dd5c1bfc71775cb2c8a6c64c2aa54cc2960b77ede0dcf29211a5b92587620 |
|
MD5 | 9782e2d4687b42a9cca33d9ae911a549 |
|
BLAKE2b-256 | 2c0c99caa9db8b16710a2323b78f5d1121776cfc3c8a11f78a59972e29a034da |
File details
Details for the file power_grid_model-1.10.6-py3-none-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: power_grid_model-1.10.6-py3-none-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 946.9 kB
- Tags: Python 3, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b5f2d17717d5e72fc1b77a97ffe54427ce18c76e8ac18cfe72f910a32534adf |
|
MD5 | 0fa9e0d8f405cb7247c0669caa013f0d |
|
BLAKE2b-256 | f80e35a44cd22b47b60e7974b36ead6d5588ebb7843602af86e1eb0d9a2f73c4 |
File details
Details for the file power_grid_model-1.10.6-py3-none-manylinux_2_24_aarch64.whl
.
File metadata
- Download URL: power_grid_model-1.10.6-py3-none-manylinux_2_24_aarch64.whl
- Upload date:
- Size: 871.1 kB
- Tags: Python 3, manylinux: glibc 2.24+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff895884cb8cf4d625ef74533fe187957a51daf289c95accd2f78709e34778aa |
|
MD5 | a3214bff10bd8f52cc1287cb963ceeee |
|
BLAKE2b-256 | 713b5f959d2e0c7cf1e49a458a4a0cc5b1f4d08c9c743a137d8762847bec198f |
File details
Details for the file power_grid_model-1.10.6-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: power_grid_model-1.10.6-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 706.1 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcbe4688352eb157e946b268bb4a3c46f368e0fd4a6e6db1b1abcfceffb2ced7 |
|
MD5 | b40d08dea68fa1a3506b8d919f1b4b84 |
|
BLAKE2b-256 | 7b61fb6d82f1ba50cf85410355a3a2a7e7b772fbdcc61eadf3391059b54229c5 |
File details
Details for the file power_grid_model-1.10.6-py3-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: power_grid_model-1.10.6-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 770.1 kB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3af2e3f25e2f95d71663025eb0a70b06c52e2443f5f6e8bb477479e4554f66f1 |
|
MD5 | 5b2a9886701a7307535dcbec0141e0ab |
|
BLAKE2b-256 | 1441fc26f18829741249e8204af8735bfe96e61d0fe46b8fc8c55a7a018f851d |