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

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (577.0 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.17-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.3 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.17-cp311-cp311-macosx_11_0_arm64.whl (477.6 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

power_grid_model-1.4.17-cp311-cp311-macosx_10_9_x86_64.whl (506.7 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

power_grid_model-1.4.17-cp310-cp310-win_amd64.whl (473.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

power_grid_model-1.4.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (577.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.17-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.17-cp310-cp310-macosx_11_0_arm64.whl (478.3 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

power_grid_model-1.4.17-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.17-cp39-cp39-win_amd64.whl (472.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

power_grid_model-1.4.17-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.17-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.17-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.17-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.17-cp38-cp38-win_amd64.whl (481.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.17-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.17-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (555.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.17-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.17-cp38-cp38-macosx_10_9_x86_64.whl (515.4 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 778d80700a0c79a1aee5dfe4976d1007804507a751e53124ab617fb1b732eec1
MD5 a1fd7de6ae975ff7ad5ab1535d6be572
BLAKE2b-256 f112f850e3f986acca166e5b523dfd0374a447d51648c71472f61cb8caed3f44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 19d844feaf844ed736789976714d2346dd1b5f96abc7fc416e8b8e38f49dd524
MD5 d3c77362ea148978dfdd35a8596ead74
BLAKE2b-256 45c8924cc685a2d90d54586badcd1ae107aa169f84382fcac4a1257850a81f02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f83bf29309aa45ec8ecbcf4d6060a5a41020df1d119ea5a2fc460ba473f49753
MD5 bd28fae2d8d2f8c99329f77dfaad4afc
BLAKE2b-256 db54248bfb41e61484593aff62c7528191d18c76bf3241d86d8cf58079a818da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fbfdd440a47d325d145db8dd3ebb28fb93c8d0a833834002fc48342866147e26
MD5 437d03fabb2718fba0141dbb30f9b7d6
BLAKE2b-256 77448fe060e96aa92d268bd47a2835d512d9b7d1bc9c03e404ee7eef0770e490

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7238d4f0b457ffcd5a21d22ca9b13b4f0485302703fababacb9bef3ab5ca35a1
MD5 84be87c9ccc45ceefcd9ce87da2431fa
BLAKE2b-256 ac139ad2ed3ab5a6082b368a79169d9bbff4a9c5983d8437c3aeea6d333866c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 79d1a15953beca3290936381c101877cea873f0f71ee7b2e460598df73268f0a
MD5 7054ba0739f446ec153ceff1dc31694b
BLAKE2b-256 5eaef446f097efc9d82c0e8d3688d118f4c4624fab2805da2b2bde92092d28db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f2307f979ef491a3a0a802c2669c91a05db95ec0109a20dab76bb7d93f19ec29
MD5 44e2db178d95d94d497bc86a3fdadf86
BLAKE2b-256 7403215a3422b1d8e4e8ee17a3dde9fd2e5fd8555c16cc4ea4dfe743d95ac6cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3fbbffbc3824348b8b70fb28e1fc0a6cc3636fde2646b66b0c68d95419619c9c
MD5 b8a95776e9db361cd04d7ee20ee7e05a
BLAKE2b-256 0f42ef2edfe733c9cb4030df0e5e9a4c0bed3805cacba5de824264c26c3d9ea7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64f44319dab272d994db92a6d9d7a27da5fd8e62bf50a77d32a0c32fe381b9b7
MD5 7d6185598c4bf405c50ca2911f67ea9a
BLAKE2b-256 716c2b13bf73052c33f4c565b2e84a8174575e463a8ffd26f88cb3eeffc6b2d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7dc593ae2bb8f4f59014c81d58bd84d0ab3a7e72e256da1385db53d06a7db84e
MD5 6ac697a3d36d1a358e3e6327b90d2e81
BLAKE2b-256 2e6dee7f35e4cdbf593dda89487516704b841023d22910ea641bba23b92415a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2096430983310c0dbc63761846bb00355db9fed6aaa8599a8f9302a3be1f0bc7
MD5 b2b863bdac518159f89479e0174c130d
BLAKE2b-256 08018080f9ac057b5f8f3dffb00f5d5bcc3dbc5cdd00d160e909266760833407

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 67d82d51c0b87552b69998fd9783a3d36d4b7ddfb6051e778ed4be750a5c4bde
MD5 2501c55798311e01abadaa84514b2ee1
BLAKE2b-256 4f27f73a580942e9b7ae3ecbf5a2dc06bd953955289971b79a650a074a454095

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ce4eec3bf463b75c437fb703c1d5e5e6dd7e41124d36a5abf375c89602bcadc4
MD5 96e9ffe937ce5394973478c56783daa6
BLAKE2b-256 5ed25151f8e7234586b69758caadeee92aa9cf2b58ce2c07b553b481deff8ea3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d516fedc9eb428cb98b55427245a57cd14164ff9ef921c5782f6511b1edaf6b
MD5 5ddac585ef80950da075815a87f368d4
BLAKE2b-256 254db9646b38bc88fd3e3076cab64bb10bd8f18616138464a6ca60cb302e6ea9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 30ed2f3b6f5387a1454a3ef5e5a199227de7c2d80191d1b82e34fe27984771f0
MD5 3c9b0841e319d027575f2b56bbd1e268
BLAKE2b-256 076f7062eb8083e2b0674f907cac159bc101d0982f8b746ed5231b40eab0a1f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4f4972beb5cd8a8c3c55eeb0cb5940d8ffc7790104e62a6ffc99a94cfc5749a5
MD5 aa7936b3be52f2bc4bc09b127fa3aca9
BLAKE2b-256 be6c6b3a5113c216310e444881d8c58a0c0972b9d910fe90e5cbebda9e03cc2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 509c405d78aa3a1b468fea7f2c21c1174c4bfabf46f63c38207b10c5c394af20
MD5 556eaffc997d2e6672b49bcc3bdd42d6
BLAKE2b-256 f4aee5084307fdd2a87f9a394ef7c9e427f5e4a2fd192e569cc2128383845427

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6e3121dd02dd0ea1ed9f76de31f25b1d8c37b39b62590688adf1dbedc4d2cc13
MD5 e80f87adb96a6c73a4d9bfcee03071ee
BLAKE2b-256 adfcc2837cca0d86af591ff6c60df8df852881c742e2dc5b76080a250130c5d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 04b1572733131052b2da225f97800448b6ac2792a5546029cb16a1e1cb049d7e
MD5 a2f3bb2958ddfee39afcfebb196e123f
BLAKE2b-256 7731662cbde3bd959a36118ace4f15cd71bcb0c1cfeec2f46859816980eba493

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.17-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6f33670a800c77331c1ee41229c8c40ea74b53901a8121bbfdf49b77232caa44
MD5 659708663182f5fe61e9b11494c7e139
BLAKE2b-256 66d925e2f230deb89d077820ad82aafc2a2819787434eec9085eb717f9cb4534

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