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

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.32-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (585.5 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.32-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (561.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.32-cp311-cp311-macosx_11_0_arm64.whl (482.5 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

power_grid_model-1.4.32-cp311-cp311-macosx_10_9_x86_64.whl (513.0 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

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

Uploaded CPython 3.10 Windows x86-64

power_grid_model-1.4.32-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (585.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.32-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (561.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.32-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.32-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.32-cp39-cp39-win_amd64.whl (479.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

power_grid_model-1.4.32-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (585.3 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.32-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.32-cp39-cp39-macosx_11_0_arm64.whl (482.2 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

power_grid_model-1.4.32-cp39-cp39-macosx_10_9_x86_64.whl (512.7 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.32-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.0 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.32-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (561.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.32-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.32-cp38-cp38-macosx_10_9_x86_64.whl (521.6 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

power_grid_model-1.4.32-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (592.1 kB view details)

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

power_grid_model-1.4.32-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.32-cp37-cp37m-macosx_10_9_x86_64.whl (522.1 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c66bf1b735d5ea3225f1e08ebb9fe243bf8e99c8113c0bd56efc492f996e32ca
MD5 b8e38fe7f885e8b390a0ea7917efef68
BLAKE2b-256 4e7949698df30b19fccbab872054c145bd465e904ba9e0b10c3141937156f265

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 677168f2563ab124d1c620092b1857de3390276588b8d6c2c01646d990fb2798
MD5 eed794fe33d3bab4dc20b7a7c498b816
BLAKE2b-256 d22c5db7ff93fbf32ca9fcdff0b751bc589bdd0575460ced380d97fff331c73d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 664a896ba6af9589a452ca46243dd22b6c8cc67b5c1bb52e1b43095c25d9f16e
MD5 2d2ccec4bd2f2acd397124fb528047dc
BLAKE2b-256 6626f6712e8a55efc51083a4e7581325cc77d9448d91ccd657d4b1fd1762622d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 086bf2bc1eebfac74414c4bcf8c538b05f7e5d03782d68527aaf346602da0604
MD5 fef2056cbb4fb3a8dc12d8138e7789e5
BLAKE2b-256 7ef45054815cb3fce6fb3b16e2213d5ece4cf3b95408d26df1f87693af29ed83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d8bf68a340de7d15c183e6ff2ba9e7fdfea96f2d1dbc8dc3fee748c2853f62c5
MD5 0a47528f935e73274e4561fc5a74b635
BLAKE2b-256 c03214cadbb1821f73ccd66ee72a500e51bdf802f76c2c9d2890f12ee3d7a6c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4bd94ec7022f91cdd7803e3ca0e2a47afbd0c431e411a84cdbdc082f0c1e7a69
MD5 3c6bb3c909dd56970f0cc46e54cf8a8a
BLAKE2b-256 9b81aca97bfbbd742a438fd5eb95c98841cea0a3abcd4bd4d8eb171181d32ebf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f45c09915abafb2c0818876f691f9b858355d508657dfa0d1ccdaa76774ce7b7
MD5 29b1bb211256ce55c4eacf14c84d2af4
BLAKE2b-256 c6948372217d8fe69d86083fe1c9d8ff50a55fba9c1fa9b5059722a11a446da2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a3ea1d07d78cbf39ac0e9362e6d3f94eddea5c4c4a077151c5de960c700c110a
MD5 bab33491e67677fd701aa4b7259ec106
BLAKE2b-256 7d2e96f955c047764f35ee41dd70ae7b0a16b75337df1792ce444e90af25791c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e06017eef06ab3adc6ba0d4646688aa485e9c3b156fe2b0ffcda983b8abbb82b
MD5 cdd1e1398cadab8a8aec9ce1c16ae733
BLAKE2b-256 95114ef85018d5d8e7f77f56409d40711c48db893dc584c127cda53e5261c65e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5280f1e0d26cb26f9a8b5677dcb743fcbdfb0b8f469345d55a9e4679a51bf512
MD5 c19017e9d2c394162539748d45b6b1b8
BLAKE2b-256 a63af154a8b514a3fe63e9dc60fc520d9bd7f7364c80aedecdfcb5b6518ed406

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 511c69c85c5e63b08a5b06b93e1f5a96de935d6be4d07f6d044b7a8a4ffa1208
MD5 1916da1b0af70e3fc7fc099c02f2ae46
BLAKE2b-256 22dc23c4f7b28124101f8b46b5b34281935c83c82f3d39ce19f923fbb0deb8db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e555b8d4ad205506772bcf2f32e8c9aecda0c714c07fd7196b68c5e412ec5d4
MD5 cc54825bd2549f90dec13839e4a6cf0d
BLAKE2b-256 49ef7cbd81d71c4d19f8c5abb2514b6923e491c07fe6c8b98a38635ffacf2f3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d98521491a2f6c76054fa4fa0a00f94f5c3dceeb119a7cb98cdbbc1845233da8
MD5 b0b9fe4fdf65ef0beb64f9319003d0aa
BLAKE2b-256 18ea1ce00950b3989e249b157b59674f43accc93c547cb004299aea4a05b3a92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1124d6ebc18ef008b6e6d0bbfb5518b57bdbcbd88f924b74b7974c2df4704a84
MD5 95d351c6f945c760c002690209fee613
BLAKE2b-256 1c340c017ad833752255921fe723120d2f4b01f907e141c747f29a4516b02e28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0472d23d8299010987cb27ba51eb2827461031be573ed2081b42e88116f5259b
MD5 dbc77dfbd0002291dad51c06f0ee9e51
BLAKE2b-256 727acd47a7f9d3eecd5b5f25015b6c84e9d036daced816d8f83df68898942a09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 898f68bd26efe73aecec4598440e5bf110d26e056c3d1b11b40c12fbc4c30d89
MD5 093b4279c5c21756c816d41abc1a68bb
BLAKE2b-256 d8b9332a3bd699fb20b7fd464031b1ef98666f2ef14d9ba4526ab539e8791983

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5bd974974fbc760cada5500d5357f3a80327206f2003640f1a8f7769ad75976a
MD5 e957ee1468b9beaa48b1275ca46fa0a7
BLAKE2b-256 5f09ec471e3f9f4e13074be2bc87dfdfbcb80bb956eed585db584f39a57b3400

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 57955fc5d388a334d6de27d264e9f93be40b90ea54ef6a529ef3a88b578c9d05
MD5 920dff748831677f7ec2f860ad13bac3
BLAKE2b-256 8cb5d81b09c54680df1e1e84273d0b2a6fa09d7448b8f6ac154d735df9715b9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e3ba584f8abc857dc050f836351e2d3d0503de8043ffcc8b2392dd712996a22
MD5 593c883efec248dfe2eda8ded40dc7b4
BLAKE2b-256 7341e506196278f7cc95faea29e799c0f91cf87502def793b1cce93aca88af74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7cd3810c92ee3328f60e26d984207fb164b21d3fa9d4e2fecbdd951135cc07dd
MD5 602698c83ca9b3e4507db216c4393a0a
BLAKE2b-256 d8d23a9c4bf5cdb1178e1c898ee8fb37745f2616a85e26eb682c1ac044c54d67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7ce3264512697d9a272646c2db54ef00ecbe59f1831b158b812d0f78c2574eb3
MD5 2664a1a39c94f2bdc4646aecdfbeb2f4
BLAKE2b-256 adbfe29beb2d38a6d1d046d18359a5d9744e86dc25be73a2a50357624d34fcec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9cbe35aa18c13760df04b4d1946f5c795a8a42ba974f820dc795f4e2060e3156
MD5 c80b16b0f43145ec334a9b1beba01453
BLAKE2b-256 7547d2b6fb7fe212f029207d190f11c60f7883b058a1c3406b2cdf85d80b6be2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 56f04a21b177a3ec0e9c0486faef140ec3ec3a269d0f29b2517faa4dd4a340ba
MD5 ce6597865d05fe1b45f192ed61aef994
BLAKE2b-256 0ee31bbfd9aa9f371ab1bea525fe540020ac29f0237890f83dd33187e850d0cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.32-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fa79eb832493aa958b2f2a93f9aa0b677a141cfa3ca3a7adc28954ce233920db
MD5 54dfcfbe3e6e5811869d51fed6bc63c3
BLAKE2b-256 b4c72f54a2b469c379f594f26e30fbdafdf39f9a1d85f75bcae5261f94e006ef

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