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

DOI

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.

Citations

If you are using Power Grid Model in your research work, please consider citing our library using the following references.

DOI

@software{Xiang_PowerGridModel_power-grid-model,
  author = {Xiang, Yu and Salemink, Peter and Bharambe, Nitish and Govers, Martinus and van den Bogaard, Jonas and Stoeller, Bram and Jagutis, Laurynas and Wang, Chenguang and {Contributors from the LF Energy project Power Grid Model}},
  doi = {10.5281/zenodo.8054429},
  license = {MPL-2.0},
  title = {{PowerGridModel/power-grid-model}},
  url = {https://github.com/PowerGridModel/power-grid-model}
}
@inproceedings{Xiang2023,
  author = {Xiang, Yu and Salemink, Peter and Stoeller, Bram and Bharambe, Nitish and van Westering, Werner},
  booktitle = {CIRED 2023 - The 27th International Conference and Exhibition on Electricity Distribution},
  title = {Power grid model: A high-performance distribution grid calculation library},
  year = {2023},
  volume={2023},
  number = {},
  pages={1-5}
}

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.0rc9207800836909.tar.gz (299.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

power_grid_model-1.5.0rc9207800836909-py3-none-win_amd64.whl (370.4 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.5.0rc9207800836909-py3-none-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

power_grid_model-1.5.0rc9207800836909-py3-none-manylinux_2_24_x86_64.whl (443.6 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9207800836909-py3-none-manylinux_2_24_aarch64.whl (423.1 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9207800836909-py3-none-macosx_11_0_arm64.whl (386.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9207800836909-py3-none-macosx_10_9_x86_64.whl (408.7 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9207800836909.tar.gz
Algorithm Hash digest
SHA256 3a5cd35b014dbae3fa9617347869ebf1768ddebd601509648b4f4b56494952b6
MD5 afa7d28e6c38a2c54d77def763c378cd
BLAKE2b-256 b9c9fc5e12f4cbd7509974e3b7c344689b63c99ab5ca757e6ec7a507b6d19e4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207800836909-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 35cb710e308ea277fba1827db08e3b2739d279e60fa269b53058333d284d3f79
MD5 cd9365832714c978d33d70713b995382
BLAKE2b-256 b1bafea0863c43b99c2b57eb3a842081745f8ec6897287777c35df6bd94bfefb

See more details on using hashes here.

File details

Details for the file power_grid_model-1.5.0rc9207800836909-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207800836909-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 de13e841bcabfb30c4951343bd3b16c29fba14dd44404db6e6cf39263bb72fb2
MD5 2d0e024a50c47e77aff21167e8beb24f
BLAKE2b-256 b196ba3fc3a8c468aec19065e331bb7628de0c2153cf1b75f1d9c076bec39651

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207800836909-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 cfbfd473aab804d5365970afee5487807e1dc6c8ca4b774513927240bf10dffc
MD5 b65128c95736efe474c21d349fac339d
BLAKE2b-256 51306aef96a415ba8c858e562987da27d352e881a86c2ad04db81629ccb02555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207800836909-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 7803a30c4ee9aeeeb7bd40368d773b8bf3ce9cdebfb1db1909927a6d82c9b693
MD5 9664930897bd3b1a657f2ad191f36596
BLAKE2b-256 07d89c78efa69d9481075ddd4746786d7b291f42ba33fe1765fb6420ffbe0ad4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207800836909-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d701093e1e8f644f79559ed40490cc89641233a4025de7c5c2c85b426b1e974f
MD5 cafc296033ab8ab0eb81200d293da44f
BLAKE2b-256 8eed5c3a5d733609386cc18bbe9c906be143b8c402c0d38982776d8b2b7aa825

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9207800836909-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fce1b1354754a00b7c574eff9f3075d436ecd88c9d245ab80744fdc1736a061a
MD5 a5339d3abe3372ab02d3d3b01b9c24b3
BLAKE2b-256 7a6b50fa6bc00b206a1fc02bfe5f2ce4c2467cad619a1078a34a343920d8089e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page