Skip to main content

Python/C++ library for distribution power system analysis

Project description

PyPI version Anaconda-Server Badge License: MIT Build and Test C++ and Python Check Code Quality Clang Tidy REUSE Compliance Check docs

Quality Gate Status Coverage Maintainability Rating Reliability Rating Security Rating Vulnerabilities

Power Grid Model

power-grid-model is a library for steady-state distribution power system analysis distributed for Python and C. 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

Install from Conda

If you are using conda, you can directly install the package from conda-forge channel.

conda install -c conda-forge 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.

Visit Contribute for a list of good first issues in this repo.

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 Distribution

power-grid-model-1.5.0rc9178701900018.tar.gz (287.7 kB view details)

Uploaded Source

Built Distributions

power_grid_model-1.5.0rc9178701900018-py3-none-win_amd64.whl (367.4 kB view details)

Uploaded Python 3 Windows x86-64

power_grid_model-1.5.0rc9178701900018-py3-none-musllinux_1_1_x86_64.whl (996.7 kB view details)

Uploaded Python 3 musllinux: musl 1.1+ x86-64

power_grid_model-1.5.0rc9178701900018-py3-none-manylinux_2_24_x86_64.whl (440.9 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9178701900018-py3-none-manylinux_2_24_aarch64.whl (419.6 kB view details)

Uploaded Python 3 manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9178701900018-py3-none-macosx_11_0_arm64.whl (383.4 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

power_grid_model-1.5.0rc9178701900018-py3-none-macosx_10_9_x86_64.whl (404.9 kB view details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file power-grid-model-1.5.0rc9178701900018.tar.gz.

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9178701900018.tar.gz
Algorithm Hash digest
SHA256 0162a9af099260362b663a5b4337303f677ee8b5ff4c2bed56dfdd2905c69274
MD5 91a1c2b9f159b317b55958b9d8cc5574
BLAKE2b-256 197c30dc9d55a8e1a287287d90f98da34a6ca11318d04e39a4c7647e4242f2a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9178701900018-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7dd009dd3faa80faff89ced2338a1bb7276cd1031d4abb35b4db35aaec349b07
MD5 a931f7851754134360166a0b918c4b7c
BLAKE2b-256 8a6bbcf71bd6ecba06062bc7081122f51bb5d1ea5112c3362ea43056e9fcc7d2

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9178701900018-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9178701900018-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3606144933b997854599373cc7ebc82da9080b6fd8b5e01d4144aab980faecb0
MD5 298713f482e92c66d588072c017d98b1
BLAKE2b-256 d15f62391ab9d220e471e7fe47ebadf841feddf11cb31054e5f6ab2abb892892

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9178701900018-py3-none-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9178701900018-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 5ff80c7145e5450355f60b55a1ca912d75129efc75cec00b80be0a43edd94c29
MD5 619e1c3fb796d329ddd28df1a4644fe8
BLAKE2b-256 84ef91c163f8c3893beda431757c3544d3d31c33febdf95945193de3f94a3e21

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9178701900018-py3-none-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9178701900018-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3c7409791129493f54fce649f97a51081973509796875b72c3850ba316680a03
MD5 c91d23b1c32e8a2040a00765bf1f0f35
BLAKE2b-256 d321fddd11b0dd8e1f86ecad6c741366451c9090fa4aace603b5583917e16a9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9178701900018-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ffdcc6ee4e6379ba0008ba16c27ed79f9b02db2c7561e8dd4661cbd4f5521e2
MD5 438a3197539aa86eb0c804be08c9109e
BLAKE2b-256 951dd36946269f30939a3805f9b849af562bb4421118281617ca01a45ef96100

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9178701900018-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 60c79f1566d479c2906459e92c6eebff5b3b41c7430f348c2fc32ab7b59bff75
MD5 c69c21bcbdcfa2b36e0d942f82463b77
BLAKE2b-256 3f6e40008fe5737af25080111cd3a5f5a45ff63ac9a92707b057cc2f0e4d266d

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