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

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (576.9 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.23-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.2 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.23-cp311-cp311-macosx_11_0_arm64.whl (477.5 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

power_grid_model-1.4.23-cp311-cp311-macosx_10_9_x86_64.whl (506.6 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

power_grid_model-1.4.23-cp310-cp310-win_amd64.whl (475.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

power_grid_model-1.4.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (577.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.23-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.23-cp310-cp310-macosx_11_0_arm64.whl (478.2 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

power_grid_model-1.4.23-cp310-cp310-macosx_10_9_x86_64.whl (507.2 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

power_grid_model-1.4.23-cp39-cp39-win_amd64.whl (474.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

power_grid_model-1.4.23-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.23-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.23-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.23-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.23-cp38-cp38-win_amd64.whl (484.0 kB view details)

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (587.1 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.23-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.23-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.23-cp38-cp38-macosx_10_9_x86_64.whl (515.3 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

power_grid_model-1.4.23-cp37-cp37m-win_amd64.whl (482.3 kB view details)

Uploaded CPython 3.7m Windows x86-64

power_grid_model-1.4.23-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (583.8 kB view details)

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

power_grid_model-1.4.23-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (552.5 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.23-cp37-cp37m-macosx_10_9_x86_64.whl (515.8 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b182ca7941b2a0900a95689a6e065462564954e061201f1c01b59fd07263d9fe
MD5 e1d2f5d361a60f8343660b684a9b0752
BLAKE2b-256 a62f905b8be4b1ad2962367310f65998a84aae7706abb25f70184cb508cd45cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2569e3be636235a82d857ad2d442b60ad4f903be24a6218df670b1e3b2423691
MD5 04f817a6e808ad7234889ed98d48935c
BLAKE2b-256 48dc8b627bf7d82b6769bec32f3041ead8142c3481fb7553b6edbcfa0f0feec7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c64dc973b65bb1d6617b5f65cda9107ffab34e85fa621c3728fe958bed48e836
MD5 6eaf6cb392f6daed925274c28f265191
BLAKE2b-256 fe9fe8305d0fc57a01126821125f871e43481beba2c89cb1ccf8332647823eda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 091991844fb7acc7808fc0b02d7e4e444cdde74d6cfcedd88ceca38045877694
MD5 f0c22438d6d3d819fda71836e7fd5e5f
BLAKE2b-256 6d049c271938091699c73c9fcc31e68f9a50930cb153ed9c2270270f97543b9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 650ecff4788522fabdfee35e325dc6a74711fe580ad14981e87c5dde0f99dac7
MD5 7c654b90db3d7cfccec758cb75f6980f
BLAKE2b-256 390ea19cc3694335959f45751995602b925d6356dcab463b1db00fa0b14ecc0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6ba5de0682fce8a7606ea18b2af2cb2216e71adfc9ed87e5d80d9d8df69f3e68
MD5 4a91b70171d07801b386dda046e1a6d3
BLAKE2b-256 b3f7d66a0048dc183cf8b89d8015d4a892ef9b9ab1be9cf0292f3454721b5b72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0f05cf6cf998a2d95a67524c0451466625f125af9742e889fbbbfcf1bc6372dc
MD5 9bde87c7ca8dc68637687fa0c620c3fc
BLAKE2b-256 9715a7e09be5fffc52f73dbb594fb793ad50cb8cbfb62eb7d3e8d5d1d74f98e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e342e58c0ad18c99dc82df29110e9b3410600617f2e49909045d8e2865b6fb57
MD5 570b921099d897fffe5eec1f72b3edc1
BLAKE2b-256 6e857a7a1e73a173d86f8caf2163a6ee4876817efd002f0d52fc124d90b159d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 040acd95bec9e7791ce286151f58b034bd0cba9efead497d9da8a1e5b9cf95c4
MD5 9fee833855a6bc1dd6e7c69aa398dbfc
BLAKE2b-256 3a6893645135c69c2ddcd36c74cd913cdcc0da1e6c6e5d047cceefca13e114d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1684898edaeb94b26379daf9551a9b6a9bf5598f913c9159537ae1eee958d696
MD5 cf9eba99748d9137496108474ee9f983
BLAKE2b-256 c00c68f821d35e2f110bbd1f8e16b339693ad22dc78662ef8b442ea33c4a11ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1bc71fee9854109bb71873d32e1de30234788f5dc531e0dbaef1651738d8b38f
MD5 1add6ad4ce5add48255722bc5c38eec2
BLAKE2b-256 30286d94221aca46623238bcb79142b5664d8281b2743b7938dd3ea78819d054

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d122756abbf39c52f273daa6b29c44e124de40e006563a3237304a71ac7b058
MD5 4d76bae0c4af7cde39619a675c423f88
BLAKE2b-256 b74ed03b2a85845842f78bce3891dea791c95e89359dc6593a1cddd4016e7d76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9ccb8d4c4cda62dbbc0bdc67129c80091d16c085c6fabc4d0dfe447b9f63b60d
MD5 cdc7e4b0221f131d84e66657480c72cd
BLAKE2b-256 703f96aa5f19caff15fb97201a77deb136de4ee3612dc8323899415a4b95b317

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 40141d2eb826fcefa60b4dc24c4cce7b3b653cb3b401f463a270e2111f7d36ec
MD5 d7f4365e0b0c87cc78b581f1507edf06
BLAKE2b-256 bf3e977e134da11934767973e4e7b73ae8b906a37ced8fee3793dd0774c4a967

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4754ce7774702b29ce1db626f84be22db1ca9739cdc37a93ee7ff0fa1b3dc13f
MD5 af4bf754a029be7750b31309b724d063
BLAKE2b-256 395c4db0f252f93473e6184072c7e812955d50cd0c72fc0783681430a7abbe92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bd7a5ef6acded9945e677ff03c3fe20a47adba5b70a9d44129d9bcc31505317b
MD5 d6c51083c2305eaa2af19180b041ab4f
BLAKE2b-256 5a0e9b90b9d1153ad159f33182385d3ae4f95439e39520e50e865b3c00de2faa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 53b91f2da621fb435eb59ef3994834926fd0234f706046d7f3192ad8c21e41b5
MD5 704b0338f3bc5c3bda9a55cbebfbdef7
BLAKE2b-256 b5f639d239d35360b3ecfcdc9504ac5fa6b603d09ae5875894af310638622701

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d14133d2da7343e6e1a0fca60374e5cacf7ddf3a841d4a7bceabe892f9269aea
MD5 e9cab27694617ce7ecb6eb0551e449d2
BLAKE2b-256 f8b0a5a6295dd227fa26210f647edb9ef8c6a6d54eb5c38684ad70df99e9239f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2b94e6f1988d575994a785e57fa5643be753441744fa9033a7a5340eb4854219
MD5 afcf1aa06c72d7870fb532b4bf624469
BLAKE2b-256 933f3b767222180590a9c119c08a845c9fed2f935ade1abaebb0b01a0764e573

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 180de8851fd48c5c597c1bd8ceb048c76645772132b88fac817d359cabb18046
MD5 7c2207420f1d3c7b66b9f0cb962be1ce
BLAKE2b-256 ef2f3361bb3034e3827e3fc4fe347f08a7efd128926ff9eb1b86855dff9527e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 89ce2739fd490a18df41e8ca4f388fa176d5f1d520ccba3254f967d97b7cf0b9
MD5 c4f529436ef64ad8a184a00ac1d4ce55
BLAKE2b-256 8891fb90273ed82e587cc162b20325dba9da0dfd2039da243cea97d29094fabc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48ea149c6871301a812049e4aaa0510c6d47c6a6b24283376723ac09770b7027
MD5 4bb8496908d27bd1b09092391f998f57
BLAKE2b-256 34e8a744088af3d8906ce48b82cf605f98ecb834803be3d14d3fd269f4b57ed9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 32335bdcfb0ce711d6aabd61ba2d87268b534a20a5b11fc24e5b4026066d16e5
MD5 c64a7d945e17661231d87ec83baa8412
BLAKE2b-256 b15ca74c14829544fd7ab7f905d29bc9de63b199f30709030d2d5b0daa099b8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.23-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7d4f885bbe6ed71135d06021a76fa380b3162c45d8c83afe05191eeffae51cc5
MD5 2b0318144b1add49aa44f764cb174c13
BLAKE2b-256 cb09956bedbfd0e1065c94111fc8a227faf1de288c1fb5fe630dad20cf992ab3

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