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.29-cp311-cp311-win_amd64.whl (479.7 kB view details)

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (581.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.29-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (559.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.29-cp311-cp311-macosx_11_0_arm64.whl (481.8 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

power_grid_model-1.4.29-cp311-cp311-macosx_10_9_x86_64.whl (512.0 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

power_grid_model-1.4.29-cp310-cp310-win_amd64.whl (479.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

power_grid_model-1.4.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (582.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.29-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (559.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.29-cp310-cp310-macosx_11_0_arm64.whl (482.8 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

power_grid_model-1.4.29-cp310-cp310-macosx_10_9_x86_64.whl (512.4 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

power_grid_model-1.4.29-cp39-cp39-win_amd64.whl (479.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

power_grid_model-1.4.29-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (581.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.29-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (560.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.29-cp39-cp39-macosx_11_0_arm64.whl (481.6 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

power_grid_model-1.4.29-cp39-cp39-macosx_10_9_x86_64.whl (511.7 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

power_grid_model-1.4.29-cp38-cp38-win_amd64.whl (488.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.29-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (591.9 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.29-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (560.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.29-cp38-cp38-macosx_11_0_arm64.whl (491.0 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

power_grid_model-1.4.29-cp38-cp38-macosx_10_9_x86_64.whl (520.6 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

power_grid_model-1.4.29-cp37-cp37m-win_amd64.whl (486.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

power_grid_model-1.4.29-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.1 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.29-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (557.5 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.29-cp37-cp37m-macosx_10_9_x86_64.whl (521.1 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 90bfcc8846182af137304eed0861452e18d2aa979fe5c1eccf15f7d059364449
MD5 5bf2863f936b45a82ffd956ab6daa787
BLAKE2b-256 303056aab53ee844bd05e0c8defa03905db6909cd89017b2d7cb803255c78cf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90d9140cc30104cc5aa9299c6dcb59ff7b99fd4f072d9c148a043a0300969824
MD5 5263fb0a6c0a0ac3ed6fde40f20126d2
BLAKE2b-256 ef8988b73c9b84e2b559fd6fe5479176f0f78be8392d9c1a1fcc2f7666ee3401

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 39e6a46ca591d378bed4ca7b993e8b4fb0831db17b449cf4d5dd2984bb9098a0
MD5 cb3620768b349b08e64f69c6ffa3aa46
BLAKE2b-256 ee9ffe65a4c7e355e137cd62bd791d035554448ccb8743866859af08bbae6470

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dffcfe6f03caa3e2e4aeba586ce94654ae0a6f2197527fb8b5260e509501c74b
MD5 6b326752c32ef77b18a6c6053bda78f8
BLAKE2b-256 26ea8b0ef1e623c23dd9644727c2b6298e2edfe6e8c43a6ec76818d21162bfd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7dc964b6bada2e40e4bba630952c26198e31566cc46ab88c04d6598b85fc46e4
MD5 f1c2070b53b3d2b12df08a304ddf92ca
BLAKE2b-256 e4db94d29b82e5274682953970cc4a78d3b478f78cda3791a93ad78a8e000b76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 568e03ab661ce189af4aff89350509fd89da4ca07d7321c146b4c63ec98d3fd0
MD5 01af8e5ce82c252c74ec2c2faf99f58b
BLAKE2b-256 e905a0c2d860dff7c342f3a6e4a5d5bd975c23a4a660b25c95d464fbdb4d9702

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4927c32075936ff8e1ef74a81a1dc87031b31101ad5a02b9527226364667378
MD5 143cd12f7885400e6deea490435e876a
BLAKE2b-256 32ce948b958bae7a53b2b90e73252089f93aea9a28fdc21926f38a666187ba94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7737b1fd47e6ad0afab0e9781e6e638217abb4bbc3dcefea37fa956f6b8bdf74
MD5 9c05828bd0971db7db5dac887c882b26
BLAKE2b-256 667c897b1b3df3e83b34a49a0388cc8df94ef863629af6e0df1bdb9a2569e2a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4e4e74bd107fa0c0cbb11e6af7b9d1e6101207c0fec6af2291cf2a4972ecfcb6
MD5 f380a9757f32ffc4df12dafa9e455d0a
BLAKE2b-256 2f3b16825057d6bc96ad4c5bd82abdd91ae18ae14436773fddc4338632448697

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2c603b8c139f339d67f9cd37e7be969a9d5e459472f66cc31c9a6c91f5996529
MD5 29a892546008d233e9eeb9fda68f087a
BLAKE2b-256 521f256358493b7a3839fd7131c28e0979bffb4da716797fcb977cb50b2dfd8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c767a72c6a2ee6a7a2094a5b8d1ce43c8268a0f4104679b38b3ab6fa38ee609b
MD5 5fc8947ca6edf81b9d505a396d479d48
BLAKE2b-256 fca4dc4c9dd0954da6156691b7f9e2a1b12e6e430cba8894b7078dc3f94ffdf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5df9dec1c3162b94d9bf818ebae6ce3c7c09583df2cc2e8c2c1afb4873115d12
MD5 283c2fa5667412a6d8e461996a900a04
BLAKE2b-256 5d3145a32f9bd16bdaa34635f31d6f2219455d6e5dbc58b214cd61e3624758e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 06e6002939565d4dbeac52f703965e45cb919748669df89a8ab5e07f09f27085
MD5 25503ab3a7459f822d30c3d693c3f88a
BLAKE2b-256 a95f5bb09064628786b89b4c7879fdf99645bc784270122abf725f67d4bcf19c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1e9a2c75aa7dce751cae225c78e03dc6cded5a4e18fd6b0d28b759a0182b389a
MD5 112bbc302efc157e8cf4b211d1e105d1
BLAKE2b-256 68f27f1f9e2c051f9348d294ae1840a933ae848274b037a71abaf782efccc10e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d1604f322155443615b6c381101ae56f022070c6fa4f06852a399e45c775e738
MD5 5b01ec66b5281d5b2e937c27525a7eae
BLAKE2b-256 29f269be3de4747a7c9d7a8715f3ce314a21bb93af71379d708f00b935a9f6ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 448330998d55f66caf4a823469df3d09a8d8414f52dbf4d1d3bea831964d78b7
MD5 91088cf1f55b4faf1a635ce93840850a
BLAKE2b-256 71eb23efcccb4115c76086f48a40dcf5e620fad8bf9f0c1cbc747a464e89c288

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d9da45c35292a4ac46c9867c10f5a2607213720b7a546538b6ed3c577564f3d
MD5 699a5dc7e90e4f6ebc6cd845ff59d6cc
BLAKE2b-256 87394be79dbcc25e16eb557491745e4442e827ef1e432945aa0fb0665731988e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 634e9459ee4a005d02a9594b44ad24c65de0eda3bf99506609b3f92bba3eb4fa
MD5 1a9ed257d117f3dd8acf7086f8f5a015
BLAKE2b-256 7892b22d39ae205442d0c40a921814ce9eee36d1b547b4e8e4ff348d82eb6f55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5e4925976fd4b69882b490fe7431f58c932902634bb9604f2d75ffc03489980
MD5 783df83e15168e9ea65fc3eb9827d95b
BLAKE2b-256 ce5e21ab54699fdab615a5f9df309d54993efac1f6585f8282f0b40c9641b0ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 20991bcbb1fb1ae5a0a4be4ea0aba30781f5a2417b49f57235b38a39741a89b8
MD5 9d488bdcd9e1780415c62a9446ab18b7
BLAKE2b-256 8818808c1eff7fc43ccfe4b3583abdf624d3c021ba2ae78a8dcb1104932dd943

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.29-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e0e2c98daa0ac5a6e122d626b97fc3ba75126a6330e5788fe795a12b1fa78e56
MD5 89c9c0dede38b840750e287e4160d1a3
BLAKE2b-256 c450c16908e23b8cb7dc316a5d45f0fa65cc00931a8a761747e19bd43796dc01

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.29-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a97ca5b32874165b45ffa5abc034582ef3435da9edad3a337d87104809b7bd6
MD5 398e93b5d963a14bdd5b2f35d4f58cc3
BLAKE2b-256 87022c36293fb035719ed932cdb0d9cfe075723a4bb589edef83d893833b9879

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.29-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 049bda1e90c5ef052f757ae8de64f5a45c6fa5421e64c30f0143e35d1019b477
MD5 6a3be8cb1aafa12c235613b4131216c4
BLAKE2b-256 a985c9e66d9585dc516d94ab0b35e1c5eb9e437904c85d4ab10b24ec66423f00

See more details on using hashes here.

File details

Details for the file power_grid_model-1.4.29-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.29-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 928c9cb54705cc2c70d0a5311bb14f4e6f74a9a3676154ec9f38881510230d45
MD5 ca82c48cab41db87245ee58b9635b330
BLAKE2b-256 169565911419b223c41cc0d169320e25752d30fc663099dd88b1affce4e5029c

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