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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

power_grid_model-1.4.18-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.18-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.18-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.18-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.18-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6f8ecdc3d00dfb7ea75f06b7a7a08283274884283723ebd7b9a8580f9705ff5e
MD5 4510d5a3c76db43d5f758ae4601921cc
BLAKE2b-256 ae44b7e5ec0a51d798586deaa15e0594f297b123c178d2f139349ffba934015e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 949c1e0e4218e657e50748f571e47cac0a57c9c53cd7f056fd600f3eb984f550
MD5 32e26556b6edb1088a54503c9b1b494c
BLAKE2b-256 148742928c1378b59219b573a4a3989f102436283b0a807d42e90be256cc4bdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7101e58bb424b330a2511ea6dc84797095fd7966d5fc225339a783b270f5ac90
MD5 fa63b440e2e13a4a4f85673c2897a3e2
BLAKE2b-256 ba43ca98689bf79d78046738165678929e08934a2aa072a49de46d6b24e4f0ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 865256f7f12434237ce25f68292882e8c49bbe0862ea9cb54b2a019924999713
MD5 2b636a105f71c24e96b6c3e500df2676
BLAKE2b-256 4b1489807ed44f73138059fe8a82632bb04ebfa070c4b499a1200a9875df2fb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9fecf8591659ca15bfb8fe0dd8deeadce8236e400f6a17afd5893a383b816dd4
MD5 971a8e589df73d15af5d4b331ca28789
BLAKE2b-256 99bfa9e18c349cc9e0d5e7145b886920ea737dab619532a4e82800e9f16ae438

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b1d50e09babfdfb4d26a8b7e8336614b7f10cc1acb73b965f18e979d9b1ed799
MD5 983ecb853a13cad53141a3649fd3976b
BLAKE2b-256 eb84324f63ce41994465129e9f65dad291b8d4f3474f34417ce3a7b0402f141c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd6024c4b4f8733ba85547fdf48b9a028f8619f40215a3edee9f84e62e11b1ea
MD5 66b16e22fcbd520a466acd1f83f196fc
BLAKE2b-256 153702d07909b45e38a6b146ffe37b036ba740e5c8bdb1e13445ca75487b6c82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 19dfa06edc3f5ae18115d2d8a3872978ba4fecddeb044a1eb196d6bcb0cc3b76
MD5 7312eec290238002bf544456601eaab8
BLAKE2b-256 ba11f4f0dcc21ef6957297c1ca3d98a69f7a7b581fb92e35a6516e4e023fb2c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cf569672f3cc68df23f34089af080e5ccb143142204cc6eb3c8fbd9362ab2d00
MD5 ee51c4bbaaec87fca212be4fe2315e25
BLAKE2b-256 b2384b38e6cfede1ea28750492ba12cd0cc69ad066f9463c6e97efb32e8ea93c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a640cec32330c347f9fd903e2ab156b4d2069008818f1f2d70b40d1c62156d1b
MD5 8c145692acaab3755329fa70eb2b89dc
BLAKE2b-256 447c9d2a0be20d911f5b8a951ab61daefac15ae4358b55007c5ce23632449010

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bfb1e8b84a046a327ffdbdc276bd9c11a8bf9de07501b18660181dd853249c3c
MD5 1f1f8a1a3ee212e92eb0bbbf32d2dfdf
BLAKE2b-256 50d606328cc50ea70e8577f0bfd9b1546b06c8662acebfa2acefd54d9268cd23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 689c8a9e724c3a24104f066db476256bf4f00b7f2d09157ae497da46e1de97ff
MD5 8e4a9fee78cf59c95592cf36de21af28
BLAKE2b-256 15ce13858f3b410d36fd4b78614e813b4949edfe5e67a6082bdbaaf03601ede2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b68f7a7542fdba0114e419758a3fceac00dbe267419fe012fcb920c0c6aa0b4e
MD5 2fa421fdb9e03ec216d446a06a63f65d
BLAKE2b-256 abe2d8d4e5a85637f4b3f9903478aacd444b48dad74711e272d76b210594e8b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff3b07ada6e116a048a729419bb8b686d8451b3fcb1fde7c3672e6d2538c11e3
MD5 6782f8170c09793bf9e3376f00e8bb40
BLAKE2b-256 d4a430ddd17906f8f2bc43f340c1c1eaa7dd62d21822f5266fa83377529b20cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 945900419123af0ef2ba5849ae266ca660a663f2b600c838ee60775ce081aa97
MD5 cdbe760ca54b5702942cbe053d29fdac
BLAKE2b-256 9e261a4734f49cd342ee635f2375f6668e435bbd26290b2bba9e87690e81b924

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9d72c17748e6f12f4f4ba5aacc33479abb26cc18ef7e15d238993168e4101f10
MD5 198cf0748c360c3e0291ceb2a6dfdb7c
BLAKE2b-256 a95b289a6c17b09c1b07a976a05e5457f203e0376ba4a79388fd9f47e35cb769

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d171690cae26cbf4b9e3868f07996630891c272cec0e633f329fdc32a87fde9f
MD5 85f038560b403ba5f1186657bec7bff3
BLAKE2b-256 663d1bf9e2128dbf6e06a1529b26865605fc2fb7841adf4de4dd376c38472069

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 64e4a2a0da897ee6cd6d56a377a51e8b2d2ee12255dde3a292996f9ede924582
MD5 44c955ef15a43a61a888a47b5839fa2e
BLAKE2b-256 76bdc433a4244a2d80978580cc8660b4b21de0082e039b8d99d526cf2a1a4eda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8b31fd1914eb208ad811703668b99ca3b235214e14dbadcef1bb4424d0c1877b
MD5 1df31e710f105052bd57840d6c108940
BLAKE2b-256 b4486c1694b66f3ca74874af879a3ddfde598ef5bfa6c2a5e42d3224ee5587f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.4.18-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 99f59caa39982fe9081fd3b1abace8b0481efc9bdac40c6c809e82f86fc25284
MD5 9f27997c350090031cb5157985a374b0
BLAKE2b-256 1371f8f184a7c18b8d57688e629e2b09fd696f6e2be09f9eac57a47b2cc9b2f3

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