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.0rc9183513819989.tar.gz (288.9 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.0rc9183513819989-py3-none-win_amd64.whl (367.9 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.5.0rc9183513819989-py3-none-musllinux_1_1_x86_64.whl (997.2 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

power_grid_model-1.5.0rc9183513819989-py3-none-manylinux_2_24_x86_64.whl (441.3 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9183513819989-py3-none-manylinux_2_24_aarch64.whl (420.1 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9183513819989-py3-none-macosx_11_0_arm64.whl (384.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9183513819989-py3-none-macosx_10_9_x86_64.whl (406.0 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9183513819989.tar.gz
Algorithm Hash digest
SHA256 62f802e5cbe1b102336137922eadd47d9133be0a58d3a986e6a7f9806b10b4d3
MD5 470a3c13126a23053d7ec11d90394214
BLAKE2b-256 0d58750f3232b5f982c87c4f9df8e0d329fbe75d51d60032f85022d4a0876459

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9183513819989-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 92d9eddf98ef145506640c9691dc6eb77beafd1cf7581db9f1d2d45174999e99
MD5 20c67190de5f7b9f13f71e600a8a5cca
BLAKE2b-256 aa0b4576a257cf8fcf201be6e074fbfff643fba9f09a9d1ad265dd9fb8c6d738

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9183513819989-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9183513819989-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 fde69f7e3f52907557a1d6e351ff2fc815ae49d1e8fdc8108bb5d3b7b70cf5d0
MD5 10548fe9878e8c2a818aa79c9f5dd320
BLAKE2b-256 bca958571eaad4e3ff559fcf1ecc12b3e13080ef6b75825d70d1131668cbdeff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9183513819989-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 aaeeb578047f4320bd6d6ddb906b1ea4754940df87294a3baa07dc4e8d9a63c6
MD5 bc475d7b7fac91d053cabbfdc7155163
BLAKE2b-256 a1db9cc64fe4f917751a6b29fc60348b859a2eed1382f4a94c66508eecced0a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9183513819989-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 138bcc322d5680a27b787fc073998da67fed33b41d0eca1466eed6e4b898a42e
MD5 c727761b0c5c7dc5906132cbcfc8249e
BLAKE2b-256 11cce304bc9d364b2674f71a3c06d4e548bde4a61cdc9d9bf8d33e3f9b654ca1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9183513819989-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a4b5dbc67a9e51cccc416c175a3be228572a01b0cb84b108b77a98cc93b89de6
MD5 08a9a012b834561b710475b12082b3fc
BLAKE2b-256 65a269fa69fe618e98a847bf48e435fbd2055c39465e2b9a448d49fc74dc65ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9183513819989-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8abe0bd0a52415bae809f7718c35a18f560805cdc4e2ea0792e9a8920aa90021
MD5 5afebf98b90440710361f567f1ebcd44
BLAKE2b-256 88007184713154ed4f620a72966c5b9a05f005b5ab8e7f322ad461406bc569c6

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