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 Downloads Downloads

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:

  • 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.

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 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 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.7.15.tar.gz (742.8 kB view details)

Uploaded Source

Built Distributions

power_grid_model-1.7.15-py3-none-win_amd64.whl (506.5 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.7.15-py3-none-musllinux_1_2_x86_64.whl (1.7 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

power_grid_model-1.7.15-py3-none-manylinux_2_24_x86_64.whl (801.9 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.7.15-py3-none-manylinux_2_24_aarch64.whl (738.1 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.7.15-py3-none-macosx_11_0_arm64.whl (568.9 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.7.15-py3-none-macosx_10_9_x86_64.whl (629.6 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file power-grid-model-1.7.15.tar.gz.

File metadata

  • Download URL: power-grid-model-1.7.15.tar.gz
  • Upload date:
  • Size: 742.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for power-grid-model-1.7.15.tar.gz
Algorithm Hash digest
SHA256 419f622a1f98dc1fe41ae570246759c5da365e1a7ba319860b72f3465d8db7ba
MD5 7896d37192cb07e5bd4035e21a01e605
BLAKE2b-256 f29bf1a6fb810e8197c37ad1d7e74caa9a3a21fca7d896b4b40d172e121f3bf8

See more details on using hashes here.

File details

Details for the file power_grid_model-1.7.15-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.7.15-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2a9548a22708f6fc96591011e26967407e441d8d9c71287f1db53e0bab64ba73
MD5 33aa005bf84b8392bcc9c951ddef4cb8
BLAKE2b-256 68aaad2a3bc0e57709c011f6b052c6ab49f446478c9ec228cb4b383b976cb5a6

See more details on using hashes here.

File details

Details for the file power_grid_model-1.7.15-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.7.15-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 336fc2b68780ac541ce4f8089e0deda4e9cff0cfc60088624788c69c41d782e0
MD5 ff52930b75d557920ce9099d8404a7b4
BLAKE2b-256 b781a8c1c7ac148015aadeba615d1fe4e33c1518bec20298d4e318b6462e8317

See more details on using hashes here.

File details

Details for the file power_grid_model-1.7.15-py3-none-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.7.15-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 a7c4a60b2f9d403461866c71b4171ae0f787492ca35d2ade6f104add5ffc7636
MD5 e4f20858e46b94fde493de6f42855757
BLAKE2b-256 cc7a45dc36fa40ac0ac2b09809f32b0fa5e06414cc0df16d086940a0a9b4a6f8

See more details on using hashes here.

File details

Details for the file power_grid_model-1.7.15-py3-none-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.7.15-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3cb7fe7ab15ec868990a9530fed7ba6422b80aa44a4f82e9f4500da222ca4c48
MD5 b081dad1aa161462d322475f9515089c
BLAKE2b-256 9f10155565fa91115c9d8ef57954c9b2d9b951b9e773179b583f328b96d0f772

See more details on using hashes here.

File details

Details for the file power_grid_model-1.7.15-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.7.15-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f75a6fdd03769fe9d16abe2ec17fe272bc28fc0a06c8fd86fcdbbcfc98f8545a
MD5 044cf5658c39955e778381871530d635
BLAKE2b-256 ad3e984b0bb8140f9db7aa1d7dcfcba88c66d7f2f710a5d41d5015c8e3261f78

See more details on using hashes here.

File details

Details for the file power_grid_model-1.7.15-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.7.15-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6127a1643e1c5fe9d470306391523d6fb7f8e52860f73317d4b606d58bd9fa8d
MD5 bd10eb93dce9efe942a8634a2ae52441
BLAKE2b-256 e86c73d1d70a333cb1a4d032f5d0cbc19cb8a8828d1c40dbc06e15106291974e

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