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

Uploaded CPython 3.11 Windows x86-64

power_grid_model-1.4.16-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.16-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.16-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.16-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.16-cp310-cp310-win_amd64.whl (473.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.16-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (587.2 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

power_grid_model-1.4.16-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.16-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.16-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.16-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ac39e0debfcd91cdca3bb2b5065befb5115975fb9ffde142683e57553cca5873
MD5 d883bfe34137eb6edc459a4ab6de5936
BLAKE2b-256 8116daaea4de8a869d14f3888d2a0f5b87ceb9396f0b2b17b0848640618fd846

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 27861668b6c7487b30bc215f186216d6a7f13daca1d93cf143aaba178dc4f0fc
MD5 3265e366cb6df1b9bc67a7ab3f821787
BLAKE2b-256 1c3c0302f0b048b93bf10d23e28f4e87836b71b5389a9c06de6b632cdd249cff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f10b3efc11bc781b87326f00a69e8ec73dbc3c8a65df9033ccf0824dd353d8cf
MD5 53e330aa5902182bc99212c7c4a3e074
BLAKE2b-256 41dc3f98d803a0160aad64df1d26b12a2599e56d28b89182c8ba9880a62859b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0af48b27a11b1f567913f8830a26f570bd64bc0d86d9afe6a9e239e4c8d8fdbd
MD5 d19a40275008c1397c19c73a17acef24
BLAKE2b-256 80c8772050c1a60b5b93b2d9a24391d7e22c78d3f32daca6384c7644738f3d44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 30453829daa9e0ea0e368472d49a414803f695cecfef79713849ab6576087738
MD5 a028df0d14240465b9f9649a101aa461
BLAKE2b-256 2f2c892d950afea4722b0b0747cbe38bb39fe8d29b1ce79916e730d0a88488b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 60b285706cc93ddf95351989f84bc4788aafd442391090020f16523f99182d73
MD5 6fb62b41c34be294990177385b5f56fc
BLAKE2b-256 4b80f3377f8037c99434c64e51d6395333a98eff171ce3be4b5d3839a1fadd17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a037818b91f7b6a874ea37c388bf7ef4cbdd76bbb3374bb99e189376a2315db6
MD5 3aece7a40100a2b92535d3dcbff0b027
BLAKE2b-256 fe538e628a44bde172332b62d2ed97e4bb8f958f7e33bc4b59db1af8083fb384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 991e23a369ed3f20c55f36d1996dee2a82f0f3bef2cf9be31d6d659db5e16d1d
MD5 373c2ecf1fbedaaf8057842cd56233c0
BLAKE2b-256 0a662b4f4bc26cb36fc465a71629ad699d7fd632b0e819dbfd11d34254ed176c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 72e35c8a64dae565006964c137cf064af2ea088ea199c17eb1af79bb9cba669a
MD5 2febb4c21517ceca48424424ee811d15
BLAKE2b-256 7a936e7b098e10c5e623771e25d604fd57e95c2b019d0c327d98ccad17197d9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 661429e7a2b90ca457efe80ad0dcd4b0c7a36c298ecace073189043dd669b224
MD5 f55056f7d2905c0cc2c6a8dc202d1084
BLAKE2b-256 57019d81093387ed8cacd29d1b4caac1e6df836ddc02fb60400c8c016798a9f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 fc8aa15b5b32959c9b1d70240bb342fbf346f206c0157cca30b0fd1a1fd3c172
MD5 585b36b18e8b73898129c4a016abdfcc
BLAKE2b-256 3bfe91e9ef83d4ad5797a9682a860f646e9833241f51823ae3820f80b23b5260

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f2bcdd290183aa3339e92b8cdba5b78f1ba5bc9b4676574d567cfe65b3eb84a
MD5 bf3b64eae79755e2e6256a4f5c9bc9ce
BLAKE2b-256 1276d2a2f0c522ffa3f07d46b447db7a134ffca2be7ef46a426e858e64ff580d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 04fca55c73ab78e009422129e5fc0b152d8932eefa8d80946ca37b49275832ec
MD5 c9a8485b0b5d10e43af1255f11c60ff0
BLAKE2b-256 0800b68a5a213b1b1bfb21b4d68704ae10cc954506b93f8b5be68bda96e9e4a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 473fdfb828b73b3596f8becd9e12261af1e7bf688a21db96328ce21b1763e3da
MD5 30b84d5e1120d949e959ed6e4a80deb4
BLAKE2b-256 2332821dc0e139a734b71d39b8e81fa2314029135f985ffa39ce3543852707c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 821c9b700f0bc2d713640f1cf0c87ae9938171277ea2065219e1b4cf5ab7c2cb
MD5 b0abe773199b4bb38882135f575fccb5
BLAKE2b-256 23bd70542f35e5d07d7addefb6ef93b6935cd623e306402b80cd307f945ea567

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ae304bee64b1f8b763770a539da70a266b1a622bc29d068b800de0ea861b7d90
MD5 29558cba75e6757d6f9d7b91e3d58433
BLAKE2b-256 3d36c24c2f21db6e199bdcdbf9377b29bff05bf2e991f996d9c73d6519a4e463

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dfe2921ba0e4fd944aeff26525c0c02c0ff57eeb171ad4fb8e0be3103a764bb9
MD5 dec3da3ebfc5f35f62de4bc2819d51d9
BLAKE2b-256 cc7d49f3e9ff8cc9cd831b9bc9fe5cde25eec1553eb74d6f1ee55f48a0768d52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e7a75187832b88b9da03bbfbb4cdf652873be7d766b55538eabef2e930510691
MD5 8dda50e9069034c1b203b90aaecccc05
BLAKE2b-256 b03573ce76ef0765a1f6394bb61934f9efad6ec2557ad1eec82ec6ac6ed102d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e501ebbeca4447b1fa852bda5952bd8c0ced277a332c5d79cf35942029db614
MD5 592cb83cb5c89aa3733729331ae9778b
BLAKE2b-256 baa6f0ae44db271843c21462e8607230d77f3e0d6300966d1b4ecc883d9dd023

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.16-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bf8783a49af909d9e75c3d0e03b557fd3016125949c8fa879555d630c8ec49a1
MD5 e2e60ec9fae620a801277dbc21033dae
BLAKE2b-256 ff4e4aea2377a09d511d56c44b0fccd4cb0d89bf317877de8ec69f865b5ed5e7

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