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

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.31-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (581.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.31-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (559.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.31-cp311-cp311-macosx_11_0_arm64.whl (481.9 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

power_grid_model-1.4.31-cp311-cp311-macosx_10_9_x86_64.whl (512.0 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

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

Uploaded CPython 3.10 Windows x86-64

power_grid_model-1.4.31-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (582.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.31-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (559.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.31-cp310-cp310-macosx_11_0_arm64.whl (482.8 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

power_grid_model-1.4.31-cp310-cp310-macosx_10_9_x86_64.whl (512.4 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

power_grid_model-1.4.31-cp39-cp39-win_amd64.whl (479.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

power_grid_model-1.4.31-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (581.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.31-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (560.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.31-cp39-cp39-macosx_11_0_arm64.whl (481.6 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

power_grid_model-1.4.31-cp39-cp39-macosx_10_9_x86_64.whl (511.7 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.31-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (591.9 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.31-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (560.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.31-cp38-cp38-macosx_11_0_arm64.whl (491.0 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

power_grid_model-1.4.31-cp38-cp38-macosx_10_9_x86_64.whl (520.6 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

power_grid_model-1.4.31-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.1 kB view details)

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

power_grid_model-1.4.31-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (557.5 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

power_grid_model-1.4.31-cp37-cp37m-macosx_10_9_x86_64.whl (521.1 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 44e4ee174c5a8fad31fb5a3db5f4b3e21e625b3e908f84473b9874ab86017aeb
MD5 4d2d2fa08d7317d0b19f388988380b92
BLAKE2b-256 1127bfc39840a557b73a8385d1085f4211ef95fe060b6f51cf706f48be7935e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8954eb0f3b276f11614c7587c64b7a1fcf27cae793a9f26a7be6038039e71d9d
MD5 4087187bd1c22495c9e7afe5500ddf4e
BLAKE2b-256 d1936c6789c0c6c1f5e5dfb62b58ef4a46ebd33f343b4488c446af548f6ad4fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f64e82aa4355b2680af56a03fa02d0827b5b3d59f81835a865dffdbc7c602b7f
MD5 7bb1bf4c7e64b8f069281cfcd6e51261
BLAKE2b-256 0971799d512c8cd41584491ed7a68769e2f7da85eccf2cff2224dc582d9aa6fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 476f9eeb5d669f71c41aca8264b34d6eea9413dad1b003e170db538ee86833b0
MD5 0a791e45fae124054a8589cba6555826
BLAKE2b-256 db1d38e1c748cd9cb0ac7911cd72a3e68b3b7f45cacf31a7904594939b919bcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ec01faf5c506198609bb5b7e498fb530d7b8d58819b246914416e6dd6e9c7dcd
MD5 257f5ab6fa5a41728587e82784187f14
BLAKE2b-256 c38a9795e7cdc516b9260732c3b12554994b6fe3005a8b3bae3b461506100494

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 12f3dd95acb0c0bb9b1b952e608017e9d58c876b5b7e2012d043ece9ea5df301
MD5 0e8e7412784a84a51eccc3518bade8fd
BLAKE2b-256 1017187aea5a01f6f15c05da146bec3e4a5bea62cdcf018587c7aea4dcba6a54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 273a05ee2b9176f9cad764ef9f580e507102439aacde62ec622c9206adf449fd
MD5 80144e1ec0e74e2bca96a52c1e77ee29
BLAKE2b-256 440840104eb5d309690f587f24b8dbc7b2b3aaf30dc22884f68505270e5b2bf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0b554f4956805036a25e91ab422a4d5e050f6b35102d8394bf771c463861b7e0
MD5 7b4a2e83c8bdb102d56bf3d030a465d8
BLAKE2b-256 22d113444927af06586231bd306dc3fc8388546067bbcf2afcc241eb8594cfce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce33acabd22b1cb9478f59f931f8b5cdca50cee78563f8b20cd22adc73aa28cf
MD5 beefa620ffffe9339616a6baa1be597c
BLAKE2b-256 e061ee9051945934d3917d0d3242b9d1fd8753dca0aadbe12da85e63f593e37e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 af555a341d4183c5120066885431a239a218434d201cc9bdad0eeee9cf10bdf1
MD5 faa53a4e66ef0d813eaa0053e20f03b5
BLAKE2b-256 ecb1da9bfd7a4ddd778d85e2c651cbdccf4ebf1430aa89af1879036f7e406f48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ba438ced00c66cfa2d191d609dbb2bbe91d8d66ed19cc148665459b59c017433
MD5 a863cf5a3bae0323e0d5b336269c42df
BLAKE2b-256 57b56fe9ac954c51b8ed1f358317209a87ca1b74608cfd772cec1ff4be436335

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 468bc8c624ea351060297526f268df0dc37109c19d3c6b4c632105016f8ccd19
MD5 df03a147f5c44058474839ffc42d3def
BLAKE2b-256 1d8d4de1f9506dada0b724678c4acd3b73b4748875726ba6832f0f87da6ffc5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a36340302a54f8001348cbd465e6cd5b8b6d8756309c676ced003699bcd96de8
MD5 7c418c49adc8196ef8a6cca0952c124e
BLAKE2b-256 7723e961b94ccc82d0126a1e568704d2dc5b96a2482a92838da799c4e4cbf9d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef76a0a4f436b128cfd570be226e2b2e74ffeca9875aa9eea8ef43382f3bae4c
MD5 c4c1c0ecd4135ad42ef9527752d55874
BLAKE2b-256 fb6ba2d57d3c5f81b4d5c863cbfde466278724ae783eddf9b4da0d4853bd98f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b7a9aac9111d1b89413a9f9ddb187ee0d7720f108268d561d0e24f7ff9c3de8d
MD5 580be67e93e077739179fc9f170925b5
BLAKE2b-256 50c3fb402b1947b1cb8a05e804ef3d1a356c301c99e7e3c101c7803179359d16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 21a0471fc98de4e384b1ac1f0acb7b35ef6f940b71210606a0bdfa453c6eae7b
MD5 53e362f33e381a766d8795bbbf685e98
BLAKE2b-256 5f18913285051c2bccda548eae42207e8545a0bdba804c40e2aaabf458ed0c90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2074b5ef632aefc1732117f64620d3f47d07f3e386e7a8507829f38e00854424
MD5 4165a06cf26c8a21e1c6640a7d070d48
BLAKE2b-256 97f895012e8408b287defdcbbc6918b580fdd6379a6f1b369a95843eaebaa979

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0ff9d8b57086205cba0a8eb6c8ca471aaedde63cbe7797410f7a86086b2f2408
MD5 ae8244d11c8bcbf1a33ebd370e83a427
BLAKE2b-256 34dc2cc4a3bda5a7a223e35ada74b4f01826c82767007c70b1838a55a5dbfc64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b9a7fc1287d6afb96caf7b4ec0252befb584bb701a0d31d5cff2e145cedb723d
MD5 1525dea7ff9c2d5e5aa7b973a548dad0
BLAKE2b-256 a54c1f951d8b196e9916dd41ed8e80107ac2756dbbc96c663ad62ac69018f401

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 acb1b54b7a92bc684491f821c01e1515deb7e6f349db6df7c835e780e93566d3
MD5 4e3f52429e69b03326c4e40116e74e98
BLAKE2b-256 261c025cace45a610ac8cbdc69a51e55d7109ac392fd8fec42a8b499757d5e1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 a18120859c1b5a0a9304e6161aafadf9c8501e370a5f07c4d290264ad0b71c81
MD5 583d792e5be85b31d783239f0bc1e982
BLAKE2b-256 d7b6e4ff672c6cdcac9193154e0a5540cb2231cb43a82679782eb58e93d4c45b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38836f73bf86aaac649409d41df2a5e80f2cfdbe111e5b299ca368f39a31299b
MD5 8264c9ee345c56d6df06d1c75f49e596
BLAKE2b-256 b251d5d3b540184def397ae3d2a36ff6dad2bae4e23d909f2bcadc6a50531346

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 87156dadf0348014747a7a5dd2c50a26ce4ba778ad94bbcd5deb38891d317ab2
MD5 caeb80987da0dce1a252e6f59d644a14
BLAKE2b-256 e51a392521757d453b1ae572769198a0e197b62176c91d37d084a523da1d05e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.31-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cb2342adf54ac44ddb814d8595f2c88e205f485384b64e1a9adda0db770d7527
MD5 8f2d6fc3a71b8d3933494ad19e9692bf
BLAKE2b-256 329ed32212258de4f0546aebfbdedc3fcb69285a92f3e50300cec0bfa7f64f8b

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