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.0rc9235211826225.tar.gz (324.1 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.0rc9235211826225-py3-none-win_amd64.whl (380.2 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.5.0rc9235211826225-py3-none-musllinux_1_2_x86_64.whl (1.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

power_grid_model-1.5.0rc9235211826225-py3-none-manylinux_2_24_x86_64.whl (532.4 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9235211826225-py3-none-manylinux_2_24_aarch64.whl (494.7 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9235211826225-py3-none-macosx_11_0_arm64.whl (392.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9235211826225-py3-none-macosx_10_9_x86_64.whl (413.6 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9235211826225.tar.gz
Algorithm Hash digest
SHA256 909bb8cb8a46ff7fce7767815861b4d3919537cae72c8edfead0f1c39fc55c9c
MD5 d7c8c689cf82c69a032389b7c193e1a8
BLAKE2b-256 c95744cfdd27d6722959931a1650fd5f27b700dd4d9f0b38a9abc234887b0dd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9235211826225-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9d38221d026907ea2ec5ddd33974ce9c59b22d69ef107920da7f94100e741859
MD5 c002c3728999cb43bf1476d6f1965a08
BLAKE2b-256 2c05d403176f2a3801d210864e5025587cdbc933658125a080ddcc7c3ba808dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9235211826225-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6d103d11d6f0ee84bdd9aedc324f8ce76204cd370575429e5f554515a39101d7
MD5 f5b0c55b3e4b93d1863d609e52b1152a
BLAKE2b-256 78e261d2504610ef47da9e39adfbe3b62ece77added88be2840bf9c083930395

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9235211826225-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 85b19f99619a5c63703f431e1c65d87687f9f20d83d4a314d250918f9042129a
MD5 43c36218f4ea0bef528f48e1c46d9db5
BLAKE2b-256 824597af4b5634923990e1a617c97f1b285cf0607709bf957b5fc06c4a5a239d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9235211826225-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 ea1e5eac7d6f87e610f80a3b72999ec10b7762feef8771bba1d18b1332242c10
MD5 bb81d59200dee6296ff008aea361e1e7
BLAKE2b-256 9d0ed2421c793296b8b289580d54bf704ac27f812bf2d371e80934e5cb488967

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9235211826225-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f4de57404ef389303dbf4690ddb2a6a375a8950e045531f408e66b92e56764c5
MD5 8b789252974511bb1ec80fe650cb7ffa
BLAKE2b-256 fb04cd022792f9e0892434818d54dd28671ca5f3a75e0881829e323f91b90094

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9235211826225-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2d3733f3c85de89a872bc3283e696c310194f483e7fb530fbbb879656cb57e66
MD5 f25c939325dd0ba6f7846d7ffdc59f9c
BLAKE2b-256 1aa88e9e17797098acc5d4070342ca4601b238cb5f43ccbb200e04354e98d7d1

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