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.5.0rc9152109758095-py3-none-win_amd64.whl (370.1 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.5.0rc9152109758095-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (474.7 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

power_grid_model-1.5.0rc9152109758095-py3-none-macosx_11_0_arm64.whl (382.1 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.5.0rc9152109758095-py3-none-macosx_10_9_x86_64.whl (404.3 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file power_grid_model-1.5.0rc9152109758095-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9152109758095-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 94fb452f5501e6eacc6870cf61018ea7902aef5d35b65b244ebb8d09e2bc446d
MD5 bde31110a650370ad9730c05d35ab437
BLAKE2b-256 02c4503417c810664c23f1e3aa64a1ff506a344b38a70a951d7aff85e172d5d8

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9152109758095-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9152109758095-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 653501a45361567cec7b90f3dadf228d5d9c8d6fc372ce90db7d9c75516a0f75
MD5 8ff3a2c554ed8c4cd2677adea56e4d5e
BLAKE2b-256 1bc049c8b5269504ea857e1d44be418ce444d35d8e2f138ba4b67cd3ec237cf6

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9152109758095-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9152109758095-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 63da1263d508d3d734808c3c56e53a2ea5b864f6fa4bdbd1fce590aa9677e396
MD5 74332d5c98e01821316ef21a9cdfb429
BLAKE2b-256 1d12c821c2f37e030d73eeda9820f67013f7ae51e02374e9fa8d3b45f67c77c9

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9152109758095-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9152109758095-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 851d7e9e088168d7add46861b3613519edc8ec46d9a3454c17c576776222977a
MD5 45646cf5442f13de88235ef51c4d1afe
BLAKE2b-256 e9112217bd1a79c43c097e6ce28c8e016e1097bd0dfa4aed7ff9d22451ec6d45

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9152109758095-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9152109758095-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a0093f4b9f4e68aadea6424069b7dbd9e0fb656c62ab2c5c14cdf2e09b44b0f7
MD5 1fdc859c56c93fb1eb48510a4de1a2f9
BLAKE2b-256 1b2d0d425cba411a848b959a0a765ecc70def6a1fdde1f1f59b99dacc5fa894f

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