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

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.35-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (585.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.35-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (561.7 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.35-cp311-cp311-macosx_11_0_arm64.whl (482.6 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

power_grid_model-1.4.35-cp311-cp311-macosx_10_9_x86_64.whl (513.1 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

power_grid_model-1.4.35-cp310-cp310-win_amd64.whl (479.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

power_grid_model-1.4.35-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (585.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.35-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (561.7 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.35-cp310-cp310-macosx_11_0_arm64.whl (483.4 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

power_grid_model-1.4.35-cp310-cp310-macosx_10_9_x86_64.whl (513.4 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

power_grid_model-1.4.35-cp39-cp39-win_amd64.whl (479.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

power_grid_model-1.4.35-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (585.4 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.35-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (561.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.35-cp39-cp39-macosx_11_0_arm64.whl (482.3 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

power_grid_model-1.4.35-cp39-cp39-macosx_10_9_x86_64.whl (512.8 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

power_grid_model-1.4.35-cp38-cp38-win_amd64.whl (488.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.35-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.1 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.35-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (561.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.35-cp38-cp38-macosx_11_0_arm64.whl (491.6 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

power_grid_model-1.4.35-cp38-cp38-macosx_10_9_x86_64.whl (521.7 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

power_grid_model-1.4.35-cp37-cp37m-win_amd64.whl (486.3 kB view details)

Uploaded CPython 3.7m Windows x86-64

power_grid_model-1.4.35-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (592.2 kB view details)

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

power_grid_model-1.4.35-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (559.1 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.35-cp37-cp37m-macosx_10_9_x86_64.whl (522.2 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 80cabdc3b0fffbc71ad43d3eb2f2d729e1d16d0d149c6083a06ebf5de18da499
MD5 d3114a0bf978d655c4093e4678260bca
BLAKE2b-256 81ed0dd6a400d534b5d8af2a17206d9a7d9332ed08273b76e6d9460373edf8e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7ba5d67e4d488e097c5f3e02fee9f21cd660192c3dace8fad4c0ec7ea91d5e7
MD5 40c58dc23f0686c06a29284f4de1708c
BLAKE2b-256 cd36957cdcc1df7770006d47545993095653f7c663048af0201a03af27b2012f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 87c0646ead43765cda5a0fb7c728ba4f8c8795afe0300aadfa6263b947521130
MD5 738819caa352f5dcebb40c8f42d57044
BLAKE2b-256 93ebc3e1da2de047b22eb14453c10719a38f71274f89857953b55d0a6243f4b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 011a389a79084eb89e9a45f8a279dc85ddbdc283f5c7855dadcc4884e3ba6e70
MD5 ab12bf0debff8792a70bd792de5738e3
BLAKE2b-256 73a0da2664283efe7b3107d52f7f2b5343bfcd6cc52818c01fa5fea754581d0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 be167322e2c3c14eacd319ea9cd7c43d91f03f0d0baf262bde136c4cdb8f06b6
MD5 30e4ee5bfd1167f9c57914a98e5da834
BLAKE2b-256 031105a4d2ff2b5c2ef06df61ee9d0eed2eb6aa9c871ea478a816b22442cadef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 29103d37c951a136f222bc1e48a73c3576814f84344e0b354fe4160110aef654
MD5 8525ccddd049bcb916ced6a68e83b136
BLAKE2b-256 e1fb225a1d3ddf9eb8a319a5021a4ac2d7ec7e3ca05624fa980c4f0b6b30b0b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0d88b32cfa485de3499a01ae931b23a5d2510949f99ad9e9c68e8f6278b9a926
MD5 babc2e89e1f2cb59d5133b2dfe495b7b
BLAKE2b-256 07e9a94cd44eda0f721a2621dd8d4fa0e3a6f6c7401a04a305f2a2dda26c8942

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e21fa5d9968745b99b986ba4c8985c4658aeaad8386ba11d51a83494d3f3f71c
MD5 d876641f5e85c893ce239143cbfc2768
BLAKE2b-256 a9e363ab090995ca5a31741193e707a6aa087218c45fd07a0a7a90851c28b1f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 baeac04f378d99dd3cd4612f70f407a63deb2cb7a3e863fa1ce3321171a3f607
MD5 b3ca9a28199b46b881206a275a292506
BLAKE2b-256 7b85aa0056e2850e1bb9ba01b9df371348bed93f0a99877d74e706a4296c9678

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bae2ed18d6f8ddd9a9c27787e363bb50b8af4e52c241af4ef1896a879833269a
MD5 0d853b5ab3eab67e9adbd2de72506ea9
BLAKE2b-256 c34dc79e65c03aee7f450bda951692cd3f22593498799d3391b8aa827aeaac79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ec810cf0404f42cc0e510dee54c36d3d75e55e70ba5cab9d562cfa137f1237c1
MD5 6129bbc1fac1376d5ce96f38f5ba4b3f
BLAKE2b-256 338741eb5055fb43a768e46a5d494b4fadc1a2e8e124f3b9fa1d1ce36191bc57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eed960347aebe5f7df60237343149820461109dc185c51e8415f979943a242f2
MD5 4ba6968a65fcd6de6b127da7b0d8ed4b
BLAKE2b-256 e844b29c0124b948fae4f309d3290a967d52b6ec6726a18cfb781a773127de61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 854b6e8a64b3c40488999452a73b5658e1df9b332e80e13e5d6ad7770f6a0ee1
MD5 cbfbec0f937b094bccc96222e1a780e1
BLAKE2b-256 530ad05eabd53f49bc3cfbd2fe0761cdfa4fcae3a5c8f9bb41910fb98cbaf318

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36b21946d39278eeb00adf04c65b3b708126012f5da6c01d7466b444705ab935
MD5 7408cffd91c599cfa8b5c8914a072d08
BLAKE2b-256 1044a77743a33a35a45c523c982f402535ffaf86c1081f27f55fa619227f35ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cc71f4fad26d399ae8f77258214aacd83e06fd1fe4c1fe87999d8149629057fd
MD5 9cbeea9afcccd733a2c6916013feb4e2
BLAKE2b-256 bf4a694243144d3b7211484e00c414c071e867d06bdfca86bb915b459db6c4a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c93dcc9f93d4ca67790864252b0e9fa53c2b6f655334512d844f851845a27399
MD5 0dffdb45b14062a4643ce6123022af19
BLAKE2b-256 efa2366f3ae6a8e72582bc9ec1823fcc68a198acaaf5ca71872499f819c4f278

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cec702ede6e2ffb9f833236b99fb802c79be589fbc26217ebd0d3f70b8f69d37
MD5 9e571525b9cec95ea525de05d41cced7
BLAKE2b-256 20f4338575ca4e4297e3359b52025a59feaaa7c90c81642b7593e82d0579ad36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 999c92fe7a312b956763b96d6b762ff7f6ef30782ae4a5e6425f8df85a2f0514
MD5 8e74f10429b4a91f011ff619e8e7fa11
BLAKE2b-256 5d17868cdfbedd6f3192b005aaa1ddd8e9720650f34b2175da93be5d11146407

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e50f04eafd2509737f8353898e3ef94db558f16353e7ae8b66237de3fd502b5e
MD5 5bb6a0afc25b9580ffa54b6a9325a87e
BLAKE2b-256 8904436f2273728d577227449b4f5f044510dd285d6a63df6b8e03fcd352cd55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a21e1ac9883675731f59f225a44f68c362aa8f2a03dea0a41984054a7b44e691
MD5 593abe60e602c1a7f4d1d07ce68a318a
BLAKE2b-256 da9b5729117feae35a6efc3e5c77b24bb449609a36663a32b85b3a3f7dcf0c48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 784d67a692136ab7ad42439091597201f09538a066ca81fae636c706999aefdf
MD5 a3f3d6d1ff2a64e20fa01fa6f5b8f65b
BLAKE2b-256 86fd0ce8266536362b7ef3c2e4e4c3062e37df26fac8f21d6550f6941e3c4a52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 368cc81e49bc2b9352da2778f4426e507a00a6635608b13b83d77702970592f0
MD5 3cd6730ea70112aaf9f2563dd5d7b549
BLAKE2b-256 5bb8294d1dc1fdcfe656141bd16027eb9435fdc4e81c77c99c2831bbd907bc6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6843191032bb58b7ddbefd190980fa79fb5fd6a618c300edfe79a35dd1f59f07
MD5 29778333629d565a99a0de9d61dede4a
BLAKE2b-256 ed71102f91a2ebf07d15e00d4419a84ad1c8034e68fdb02e8a182196d5d2bac4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.35-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7b8042907f1b58009dc2911a18d274ab8b484a1b357a5da9dcec55b2a95270d2
MD5 ba16da2c37c13e392308769d3ef7497a
BLAKE2b-256 aeb96d5f0604d96bfec09c2aa52077f25f79f27b1db6dfef22bd38a7ecb65029

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