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.0rc9220010604950.tar.gz (320.6 kB view details)

Uploaded Source

Built Distributions

power_grid_model-1.5.0rc9220010604950-py3-none-win_amd64.whl (379.1 kB view details)

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.5.0rc9220010604950-py3-none-manylinux_2_24_x86_64.whl (528.0 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9220010604950-py3-none-manylinux_2_24_aarch64.whl (493.4 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9220010604950-py3-none-macosx_11_0_arm64.whl (391.0 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.5.0rc9220010604950-py3-none-macosx_10_9_x86_64.whl (410.9 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9220010604950.tar.gz
Algorithm Hash digest
SHA256 93d8bab8c964a9749bbff207849419aa2802c52ccfed207987c9808ca9312d2c
MD5 fd91f6d1027022a2aafc88c4fcc108a6
BLAKE2b-256 201ae10102e51209d06e54c321f153716c1001b3732c4bbce803c2aaa383bc5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9220010604950-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a9e4245999e7fd2b6c9930d072d24c9f0ccf0b83408099c7a5c1122fc41d4fa4
MD5 af332552777ec474ce0012621d92ca1f
BLAKE2b-256 7b7d25c93d908af64801ef6733425ffa82907fa7731cd5f66dfda8f5865e8719

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9220010604950-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7933b0eae789461656e108ab55398f180b55b8a57b5735d3cc19badeab9133c2
MD5 66cdd6b56985553a4433f29a2b943c13
BLAKE2b-256 50063a0b58eae24a898cd401655e2d8d0497939d13bc5b2305234e2480dd0730

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9220010604950-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 98a8839e47202faa0ee8388df5831d8a54fe034d589b3acd7bd21ab852b69e5b
MD5 2e23bd497fa2a5cc5543befe469dc158
BLAKE2b-256 291a9f122ad3357bbf8272be79db2ff32e7f7d53860211cde4a9ea092e87ce57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9220010604950-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 69784954b71b27e94104f861ed6a5b1ff839fdbc36c0110a7b337ba9528fcbd1
MD5 7e8ebc94f918f34df15958699a98dced
BLAKE2b-256 4506821a0c63c6bfc3d97364cc2421d0337fed2915f6e37abeee8ff558d2ad25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9220010604950-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dff5db93962ab4f270901f32c496d633c9c8a34b545554e63097dca7eed957c2
MD5 53e9b42dc0f6cdb20d30e3daebdf19b0
BLAKE2b-256 b93f91b20bb2c1ac0d40fb6215431b556164053eec61dc611cbee5e45041d371

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9220010604950-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cffe6d8b670d8a3fb11d9a24b25e761564234c9da71f9f4be6082662a1c80823
MD5 91d04fa0e6ec4c212d5fe8b6e29bb725
BLAKE2b-256 d4cb3c387cb9ce59b8e8f74131f86cfae166163811937fffcd8bab42b0431165

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page