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

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.37-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (590.4 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.37-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (565.0 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.37-cp311-cp311-macosx_11_0_arm64.whl (502.3 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

power_grid_model-1.4.37-cp311-cp311-macosx_10_9_x86_64.whl (529.2 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

power_grid_model-1.4.37-cp310-cp310-win_amd64.whl (489.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

power_grid_model-1.4.37-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (590.3 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.37-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (565.0 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.37-cp310-cp310-macosx_11_0_arm64.whl (503.4 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

power_grid_model-1.4.37-cp310-cp310-macosx_10_9_x86_64.whl (529.8 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

power_grid_model-1.4.37-cp39-cp39-win_amd64.whl (489.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

power_grid_model-1.4.37-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (590.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.37-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (565.3 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.37-cp39-cp39-macosx_11_0_arm64.whl (502.0 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

power_grid_model-1.4.37-cp39-cp39-macosx_10_9_x86_64.whl (528.9 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

power_grid_model-1.4.37-cp38-cp38-win_amd64.whl (498.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.37-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (599.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.37-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (565.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.37-cp38-cp38-macosx_11_0_arm64.whl (511.3 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

power_grid_model-1.4.37-cp38-cp38-macosx_10_9_x86_64.whl (537.8 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

power_grid_model-1.4.37-cp37-cp37m-win_amd64.whl (496.0 kB view details)

Uploaded CPython 3.7m Windows x86-64

power_grid_model-1.4.37-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.6 kB view details)

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

power_grid_model-1.4.37-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (562.0 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.37-cp37-cp37m-macosx_10_9_x86_64.whl (538.6 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 27d5a695f9896b1e73f2a3aa5d9fb840f070aedd122c7136e5ed73a6cb136347
MD5 4d1d099cacd922ce45fca6625cf04e65
BLAKE2b-256 e9c0af67cb5866abddc9453b480853d5d6ed09f7d07a405adc11a74e4b29ac1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 37ff11b6ebeb8c3f73adf560fc634e02f993487abdb932e2843b55f6540e77be
MD5 5e6b931f4d87e54fe580138480058d74
BLAKE2b-256 d8b119259b41422db3ad4dc4e3cb9bfd2e3d6ec4474d0655bb74a491a72520fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8bfedd600467109905e1180d686c5e1cabaf7b5a9214be257f52e58c65ce2dd6
MD5 905a5d70fcd9a0043d2426a91f1b879b
BLAKE2b-256 2e8fb11b8c0c9ec71920d6de32daf5cd23dba12b471fd3ddca164924e90f6d07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 04ab17e62dcdf3799769830f31d2a7134530b8517f9cce8ea91c3300865ed43c
MD5 0d4b0eb4a94e7da3d7929e620cb29cf8
BLAKE2b-256 73078a6d66632c963a94f25d4d391725ed8f87b250c5732306f603a972ae68a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 299198a315083cebe3f399236fa548cf6794bb0a96cfd8fd87fb621253149ed4
MD5 ccb296bf38e5dd7d233b6ad44bd5a0ec
BLAKE2b-256 a940b0011779cc0a7eaf1fc7ebb588694899ca501488faacfd56cc22ee0ebef5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0be6c7dbdcfb110982e5638073c21bed1b174d6488bac458b7f0d5a94124f8bf
MD5 22da6c6b3b4f38ed3c0c6c3a2ec37fb8
BLAKE2b-256 5d14c7ca38695e4fdfdfab744b87a9cd0c48ad853ebf89d680eb79a05efda975

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 083af6395c08d1d592ea07eece38b95d66bc4100d50d8987363d3cc24917a0c3
MD5 221aa017202d20ef1661769b634fa1ed
BLAKE2b-256 e4cb321520d59c585b056508898b2eb41518d4a36fc994f9ed430bb5fa6ddb90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a003c8b8a56dea8f24ba1cbd1b2acee6cd7d48e0314ac1886e0726691a129789
MD5 f20b0a68932f5f1caf26f80d65fa50f1
BLAKE2b-256 3435a499622826e5f4386d37231c792d6c3af067183bb9bec37d23f98b16a6f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d1f1259e1102d1bff81952d4572d5a7fa2745862a1b01b2361f51178cff244e
MD5 ef89ed4a24f178ad1995addc47139cb4
BLAKE2b-256 f97a0f7790e50bc4639ca7becd66423e8f83fc7043dfe1e970555af7a9b6b2fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9b588cb2b187cfbd9b7ee86c6abb43539d0a14f999a3c309938357be6ba820a0
MD5 7f7addc50f92fe8dde21be89a94cca47
BLAKE2b-256 632515c48bdc593c8994639a5b31ee9e171af26f8494dc0ea55a58ff31dd5fac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 64aac76ad9d83d09e643f2feff8f222796ab9a35fc30633b97d9739134f8ff30
MD5 86d133f40fde7388d491564cf108a3c0
BLAKE2b-256 e775910a71b489f1e6f3f978e7335a24360f08209155a584d567b742740bf5ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b85d5c57ad9671e6cceb61d28ad5d9ca91533c2e73a0ba45ec1308ca4505905e
MD5 536e267c8e1126edce658eeb57e1143f
BLAKE2b-256 77c6339b9cfc01edbc75068ea2dc7daf0174510590bf3ebece22fc84db201c99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e00d87e9799938952af8f6d7f06785272ae8eacfbc54ebaff60a92a0a5bb72fa
MD5 457499a80075fda11140736eb2e77779
BLAKE2b-256 e3a6b75a6739de4ccb4d4b2beb6b1acdf80f95002137536d3e039ffa5e9e97d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6cc211b517d852b5b7072509b3494ba6083aa57a4663416ba2871f91ff2ca2f7
MD5 c022339c93be9ed5a7b9cbd6908a6c20
BLAKE2b-256 4137cbcb0bf75e13a75566f1cb106e80be49daaec19cf4d670018383cdf5bd84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f72f2067a757637c70d573ebe1231b1fc251c379d8b0ab43f22994c05c9c5e21
MD5 ad8970984cbf86d3154245e4ce56ac05
BLAKE2b-256 f701109c22a990f9dcbbe894a788b3a74fad14f5016cbc3e77cb46b0a15afaae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6bd08d9d3cc02a6f82f9f44be4d3e2ee34fc431e60a1faf9f033712e65466087
MD5 909c9a89702489ef6b104e1dbd50096e
BLAKE2b-256 d471ba4fedef0e5132c1b2edb5a7da7313198a32cfe9bbfaf8a79d26d168c711

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 02db0e66a264c473ab40bc098664c441ac4c1f7ab3690abb1d87cd02a14bb787
MD5 ae9b03a55e71fdee10b126bf47d9c8b2
BLAKE2b-256 3f46f1f7a212fdc572290dc3a561c0db8c06817e9f06ae9b0a6f7709c4789c72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f0d85da4c2e33857c7fe6525055bb1105e3f8b29f0967816fd950f4402af0a8a
MD5 b40b7024c34def35a72f391e3226e586
BLAKE2b-256 42d5efc4cb2cdea242ec3a7689b56a008f1c1e03b84bbfe9678fdf40714ad439

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 306c226799a8f2effd5d089c7879538106e049d73e75592396fb6b2f7b472b07
MD5 b518877d5f61cb85d93dedb15b361539
BLAKE2b-256 06c9a03b12e93bcf36fe6be7b52017e1ac1a0f3bf7b45aa391921eb26e1a1cf0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ab859cbb188814201aa33131d7be3b8608ef6d8ba4a85a073ddf69d3db57fbe5
MD5 965a83ea900f3126121356819d1c0b2a
BLAKE2b-256 8857c43b4c6e525fbb119a49625441586928cf5bcf456bd091e53e481454d1ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3c95e730b11cfdf10c62fd27cfbf76e5ba8d2d05c897ddc72b8bb3d3c1481315
MD5 16f4c0f78719d43f2d2141fa8dae3fcd
BLAKE2b-256 8b1e56147c67d76a0573b628b227018200d3e5835f1e7c14459b9bcb4da3f379

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c47792886150f0b77258e3fae1c84308847296f17d4961d74be76b48329411f9
MD5 0783298631f133cac0c1b1d267d6e768
BLAKE2b-256 9131a9a7bc7da2001da97dd9acc76197d403a24d09223e317e8df5f7150065f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 76aebca1c51ccf78435ce24a3235a210c255ca415c71e6a06db85de16a7fae00
MD5 9fd0be4f961b1d90ea3266fcb13f11ec
BLAKE2b-256 880a5538bdb046d8574a12ebd5d632f29cc726b5d93033be2e1e80d34fd78d46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.37-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 eb9cb9cb076406499015dc3d5bb718930bdece1896c249de52f5c019de9c428f
MD5 65bfa03b96e5ec2be406ef0a8a6f55cc
BLAKE2b-256 3ac666e365e55f42d9000a8870f539b7e7ccccc8123133e11d22f712e3c38f86

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