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

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.24-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.24-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.24-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.24-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.24-cp310-cp310-win_amd64.whl (475.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

power_grid_model-1.4.24-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.24-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.24-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.24-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.24-cp39-cp39-win_amd64.whl (474.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.24-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.24-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.24-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.24-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.24-cp37-cp37m-win_amd64.whl (482.3 kB view details)

Uploaded CPython 3.7m Windows x86-64

power_grid_model-1.4.24-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (583.9 kB view details)

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

power_grid_model-1.4.24-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.24-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.24-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3b4a5721f77569c86777f5ce7b9ac3fdd353c8174609e008fc0ce92d38d3b1d4
MD5 1195be7f0df4538263a62eaf32137e91
BLAKE2b-256 21fe5020975491109f22cbb8f75893220c8ffccb62c4cb26ab4f76393cb7bd72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 938f0b46f61037e656755f33f890c2e16a00acea991267c92c43d3c87f2183a8
MD5 c0f2fc0d377016681b22578957af4a2f
BLAKE2b-256 23cbb3248e1de9066d3b41d1a20816efb09055b596c3936a6788e5323384e086

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 272b2b6b576e4c163f18d758901835938fdfc669307d5853407f05dbe1f43488
MD5 0fc9e7e8a843d00a7e0c22532fe02145
BLAKE2b-256 aee306a387dd4e1b7309963ebfe3cb4eeb9105ea23db1dd0766635fc424f50c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e277e27fcb99e428c10cab1f94f067f3f51c1a7993cd7c4d91abc21a36ebb462
MD5 ac292130654c8fac5d2136f9792d2975
BLAKE2b-256 aa10654c7d56ac2e9372a16907203c8090b2820ea9a47652f90b767304a0bf19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 274aec83bffd847d05e1cc49d0a15a3a5714dcef971778b0ed0064102633e107
MD5 5a172b281ef5812ec06d7f87189894d2
BLAKE2b-256 e9750fe1a22ad9dd49163c0b5ece1f73d0a6656c065f522accea6cade824a702

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a7a606d292fd1399d074274c6a888c6e511dd806d49923a703063ad781c92388
MD5 f58bfbd4076111cfe4c51f4db3330281
BLAKE2b-256 74773f28af861beef65f45c84d40fa71a88656a00cf87ab0dea88abf00bf9184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e4b22045719ab3dd6a451d08034545b5e212b54be9599a19ff07e4c2a8c2e7f4
MD5 57b08a4394dd5a719b49d21be2ba3df6
BLAKE2b-256 0ccae21246be6162ffeaac2b1a58fc951125b729154ff67d06b58c726385d96b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0f35e5ef1515ee37644a63846341b1d1a858576d7899de3dc23e28aad99d8670
MD5 df58e8ce2999fd9555f0803b770594f3
BLAKE2b-256 3b5508ecdf6e5183e0343363ad422c2b006a94742c48be38d57535cb498206ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7743119549e78e2ea5a6e8b074beaebf2c1816de4d929be120401f034a03c412
MD5 5568592a3cb38b36d2adff6a0292ae08
BLAKE2b-256 00655e48abed9996974cb02d3859a85b95f9b10282291b4903dca67b02ac5e63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f47db253767b1884d09dc3b05f9662c7ef6ab9c76b5f5635d1d800e1393685c0
MD5 5ddc7fddc05266423d4e493440bb4841
BLAKE2b-256 6a3ebd0a5911b0398563c3d721c1be3e7b8bbe108b7ab1d3b2f06b0318977e4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7f6c9967bf0f7fa261ed1541209af52a979bf47c4e13d56dca75ec8658094c5a
MD5 5c57836748380e3eeec5b67a79009c91
BLAKE2b-256 a746492c0eaef5f89f14089d9d06cb813d87bc0656add8182cfd00d5c76334d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 12e835c227f7a565f16246dd3c0e06bd745abe95b2943aab1eca3898d3205b35
MD5 11d87cd3d09ef24d4f27248585ab53b3
BLAKE2b-256 6d1d6cf747a18ab2e735545b0c137f4a3bf6c71445b9bca3daa172f055091c84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 747745755970bdee978c6420c92c8bab6bc9091e6b0cbcf1371a1a6f7b3554e8
MD5 9c9660ad3a1c0b0944ac2322694dc3fb
BLAKE2b-256 930a56190827ee260315c2932132802fe0a081f8b84e0ffc899bdc7294d9b3ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b203fbe2ee6ca0dce60d1daa9b2eeefdfdd2108058df7a79045fee4e286665a3
MD5 1231b66d0952c626e21fa8d7889ce559
BLAKE2b-256 2076802d7b1423159311fed33977b4d0a00bcc42942a26608cbad7191f11e615

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d24dc38fabd418f466d3ced320b6c71e9a4146a402258121488d993e8aaeaa84
MD5 cb3906d3a91669770a59f4c526e782d8
BLAKE2b-256 3fceae2c3f63337a4cf644b68280f5cad123c60c49ce89fd5c7d0c44bac25f23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 42164dfdf068c017022fd99f6498e9fa9e24b709062c0d41680183c6a4ba6d25
MD5 53cc3189f6cdc652b83370c037c8e00d
BLAKE2b-256 6957fb11d174266cf43344afb108e626aabf1039ac7aa4d17c09eab5c6b9f044

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d4e731babd0ae97cad35929ad08e1760fc63fba77e6aadddd5f336735bda6452
MD5 94b46a81c7ba0f5a1ce124df7508099a
BLAKE2b-256 ab158ddd453c9f5446f428c2fedeef0c83de71a4f2703d98a253e00e429040aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 11160d2517b64d7fb7c25791775130d0edc9aa658f435319aab60be2365f0708
MD5 4612df37981b05393468a2de8a442f57
BLAKE2b-256 e64fc1bbed09968e628a27d5814fd48b0eefa413a61f0ce28cc42072b317e493

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15db895e82c4da85a5dd9d93a38d0b55efec725fc11313065e2dc016b96ecfbe
MD5 e7e8b7e6626bf9229f07178368458fb0
BLAKE2b-256 8ec670d2b96a63381b6ed8924ffc363427cb32812ac5f3e70f97b9de56a21242

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1b0ea88b7eb5b20014cd69e1370171bde02eaf3490d60638e9efa1737e7725c6
MD5 e5324eade0782040315cb43abbe0fa96
BLAKE2b-256 55b5d264e7774c6747dc9853f66359b5d08ef872838aee3e739d8a5325da2363

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 14a867badefe8a8ef0a231b067cb195595eff4e522aead92110563fd8e0b4d6e
MD5 642dd90eca295aeceef95e5633b29d20
BLAKE2b-256 8c24fa5757bd0285ae36d8ebf5da0d35d3f50a5954fc440602db013895a43173

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b867bac819407b2ad150fbe289a0673d38c60616a4fdcefa608439adde4f9bb
MD5 634a08a27e3081173884d204be6b53f8
BLAKE2b-256 3eebadccd81ff340421c55a5a2b36a897887abb3c1e28ce2a36f760cf6811470

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bb3f524c7775648b5fec4391146763a92ca2899a9dc672383235c138400ca84e
MD5 f9537cf8a882c69bafed73584e9e99d8
BLAKE2b-256 b8316c27352b05d9d39560d5dd4a1d1fc4cfe813a4da4a0f7c45715e8a7a6eb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.24-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1ceb4e21f80d7ab914620ed0a35892f3641bb78af53fdab1341285638b2ff3ee
MD5 ef8288f61518c01501cd8641e4c03fef
BLAKE2b-256 80b4366bbc42dc1e5824dd375a833795147408d1d22023a551146c0e943bbfd5

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