Skip to main content

Python/C++ library for distribution power system analysis

Project description

PyPI version License: MIT Build and Test C++ and Python Check Code Quality REUSE Compliance Check docs

Quality Gate Status Coverage Maintainability Rating Reliability Rating Security Rating Vulnerabilities

Power Grid Model logo

Power Grid Model

power-grid-model is a Python library for steady-state distribution power system analysis. 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

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.

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

power_grid_model-1.4.19-cp311-cp311-win_amd64.whl (472.9 kB view details)

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.19-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (577.0 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.19-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.3 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.19-cp311-cp311-macosx_11_0_arm64.whl (477.6 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

power_grid_model-1.4.19-cp311-cp311-macosx_10_9_x86_64.whl (506.7 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

power_grid_model-1.4.19-cp310-cp310-win_amd64.whl (473.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

power_grid_model-1.4.19-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (577.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.19-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.19-cp310-cp310-macosx_11_0_arm64.whl (478.3 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

power_grid_model-1.4.19-cp310-cp310-macosx_10_9_x86_64.whl (507.3 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

power_grid_model-1.4.19-cp39-cp39-win_amd64.whl (472.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

power_grid_model-1.4.19-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (577.4 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.19-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.19-cp39-cp39-macosx_11_0_arm64.whl (477.2 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

power_grid_model-1.4.19-cp39-cp39-macosx_10_9_x86_64.whl (506.4 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

power_grid_model-1.4.19-cp38-cp38-win_amd64.whl (481.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.19-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (587.2 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.19-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.19-cp38-cp38-macosx_11_0_arm64.whl (486.4 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

power_grid_model-1.4.19-cp38-cp38-macosx_10_9_x86_64.whl (515.4 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file power_grid_model-1.4.19-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 924272a48d8843fe8c326b1b8422ac15ba8775bab0be15186f0b1a9b7f2e6812
MD5 485ced22d8d04c562f20aac6bece6be0
BLAKE2b-256 fa0de2a8fc89154238da035234a89a00c23aff1a1366567f61512bf193ec62b4

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d4ca6892de52b3c401358f4a7e4980af2354927e3d508158225d0610538ada7
MD5 600d298b425959afb4bb7acd662ccabf
BLAKE2b-256 6c417695eed7510a3ceeb959663e8388b4fdf72f8da3ee14bad8d51be38a83fd

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bb33b89e29ecf921f047e9a6e0a8b46f804aa0913c0a644c59618937cbba132b
MD5 f3d70062086829408ae231a2ae1c6883
BLAKE2b-256 be3a987b92aaf97ad26a0157a0d8d7547e3ba31f193547c499810d473b967c46

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 653997d6603421789bcdf7a9488ddc5af980fca337d3e02dce6215e056c09514
MD5 dfc21348f3225221a22967c44481a061
BLAKE2b-256 24643b0ddb3b4e776c4e8fd7510f510121b99d8cce3e8beb21e2285d06457e0c

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4c6ffedccf7c3c3cd630f9cb450f464d5da92f2449497b93873ad4095c0cb914
MD5 827a22769a4f9b96473b78cdc18f71c7
BLAKE2b-256 4058dbc122d1ed031c0f5863d76de57a4b479b8395902e1573db2ca38261299f

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8fb3f9bd9c585d2035c31d308a1e750bab7da07f23cdc088e683409db2ead8d7
MD5 bb92b88a891c8e19dda0d0fc5f2aea36
BLAKE2b-256 7f4321dec5ae49af96aa0c5b15f1afbc065d639603226af7e7d7af6d84be8420

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48ae47d3fcc9fb96a02d72fcb9a8205b6eabc96247f0fbe13616c0d5d242ad92
MD5 709e37c7cc0fad07c637582c6b69f0ef
BLAKE2b-256 0a88d39e94357571cfbd062d06a0d7ddf61fa7ef61c273d5aeca42bdee5dc2bc

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ba500d0d17116dbd76548495ca45fe147e60b6c30e107a8fff81ec7ec2dd4422
MD5 491978c9edf5d1b632258f9673eb2e6b
BLAKE2b-256 18aee59ab30fd940d6b86cbde93d261f6bd1d9b4841729e67e199f91b0d2b4b4

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46db073e08f549cd606b9b701824c8939facbb9d962c02e8e00ec21b98a7d412
MD5 e53a40c6618204c093e85c48c6f1a3ad
BLAKE2b-256 b0684ae4408cc2315fae60519a1638e02295d6b1c57c4baac3b91a6555f30625

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 27a438650fca8ba92177e2e71792a6f0ae3deac353a5116b38fccce900831d66
MD5 a7ea850850dff8e44f1503757c278489
BLAKE2b-256 86f9fdf28884599c7a9bbb7edbce98c37081dcb04de2c0b4439f89f84bd042d0

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9d51b10f5d55bcdaea9fa763c7c3bb8d130c5028d342ab789c887954fd83e74a
MD5 0ba92767ef451cb6a0cde0bc653b9a85
BLAKE2b-256 6443835df358d419c28f5d563332a03b90fb71e091111d4f47485f7c3f311d64

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eed0f92ecadf557e82c19177d3b49ce52e4a022b66f4d225c25bcedeabfb9123
MD5 381092890d4888c2c9116c8a88caf84a
BLAKE2b-256 8fb21b8d56869641c73159e8de19817f937574939052ee958cf5d9615f299726

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eacaee2af6123fc9529030dcecb5227db8c80ea496080f32f86d13c6dad5b77b
MD5 7830559b40da55796a8ed7cfd43f7135
BLAKE2b-256 1429b6534410d5cc6f3aa16d698df8586d1d873613b44c7c606a5699c5aac7c3

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce69afa640627c37fc5f7e95c590c2e81416e14811e9f8ee827029799bd70ffc
MD5 65676ded21b01cdedaddb2e96d57f181
BLAKE2b-256 4cad712962f97407ad5d288ada32f247a8a0e1d7a2d2cd1ffa24d3cf6cd4f27c

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e97ec04103443bfccdc3d0cf51d1ba2f206f1a8644b9d1c31f0a65d3842dee12
MD5 8d801924f516a22effbd5c5b915889a9
BLAKE2b-256 9ff4c060e1e8da55ed866c016c93f97f65039fda077fc911be98e2dec4f2478e

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f51ce11135fcc38e89f51dccb20912ddcb0c143767299e800a47a6973a6db26d
MD5 a68e8daf0c2e849fd9f2eb780abb9227
BLAKE2b-256 8023661c67e803a51a47074094ecbf4954b7c7a1361a5903ebd8e82d0ae0be26

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0ee98fb45de181df319ef0025deae33c4256d77de6e65513a337e376385ab24
MD5 80059c8f25d1b7daa8b801f06df726c8
BLAKE2b-256 e134608e4ead64b2631a3bda1b945ed14907acca9c11d227036f23136d09a3b4

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 354f92f25d19962822434db84d8d733968e0e0232c7c6ef1851840b1442571b4
MD5 8c394a4668d2c056e3cb6f7d7968fda4
BLAKE2b-256 1a3405e1b109ab183b4f25957d59a8f6796243e7ff5e80c523487f8038eb201f

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f541d2a0b5007bae7e4cfba3d3d26f6593c4df49694fc1045972c0c78c84ce75
MD5 ca319eb5d62225dbb9e7fa87392dfbf2
BLAKE2b-256 c74c96715ccd2f8a8c84d4da1c9c69b8e1db5088105fa8da31488c153e31aa0c

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.19-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.19-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 29fd2d19e9614f03af0bc0b054d2bf4196135eb7d2adda4d67a88d07d70dbcb8
MD5 2f9df52c32bd4a7a1f7d0a5688fa47d4
BLAKE2b-256 abbe78f2760696f2d01061971c2a5149aaecc1f507f332a2f0f7ed12918dda48

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