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.0rc9195400270327.tar.gz (292.3 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.0rc9195400270327-py3-none-win_amd64.whl (365.4 kB view details)

Uploaded Python 3Windows x86-64

power_grid_model-1.5.0rc9195400270327-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.0rc9195400270327-py3-none-manylinux_2_24_x86_64.whl (438.4 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64

power_grid_model-1.5.0rc9195400270327-py3-none-manylinux_2_24_aarch64.whl (417.8 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64

power_grid_model-1.5.0rc9195400270327-py3-none-macosx_11_0_arm64.whl (380.7 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

power_grid_model-1.5.0rc9195400270327-py3-none-macosx_10_9_x86_64.whl (402.9 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for power-grid-model-1.5.0rc9195400270327.tar.gz
Algorithm Hash digest
SHA256 d3a0367f3c2515f5e7c233253bd269dc1593bd02fc4510e2a2aaae07d54cff91
MD5 cad8d7125592d38009c69e54fbd93ee9
BLAKE2b-256 f5eb6cde65083e68ebced5ccb6021fa2339b2aa2a25868b1b0b801828b94eb98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9195400270327-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1fa5d40429247633c572cf862cbdaa9091e6951a55c57632e33a716f7e57f06e
MD5 7e1db6a73c225bc1bdf5d89a89c14d7c
BLAKE2b-256 46a9a56e1e5e209b5d5145afd97c5a279a926a3dd65f676e146d8990e313e8e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9195400270327-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 99d00e3f740e6a85e1fc41142a397b56f93283174a8ef7b06304bf7dbe1cc810
MD5 dc6b6316ecadf9ebd128ead9b0ca5386
BLAKE2b-256 3440e1f032064b2cf602b716db746efa63a6bec4d66a5d466e2fbb8933dcd2a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9195400270327-py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 700a337a3be57b83738d0154e4d10749f7ef029220aef951e7486f820406b2f8
MD5 c3a5673bfa5a059e8489b915bc928105
BLAKE2b-256 34d4a42b449249e70622a3d999b8325545c8b483653328df7f03b2edbc4ad24c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9195400270327-py3-none-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 047ae157783bdf72fe4fbf6ebeed37e960bbb0bb2fab28c5323a7e665da5c42d
MD5 cc9e771a6ed08a2fd36df41456eea2c0
BLAKE2b-256 b4fd61536ee5032b4df139f950865ac6cf23763eac08022485efbf94017ac6b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9195400270327-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 966f92604fb6d9f1a58783c64011372fb36f8c379fc37f42d5b62a7f0e64f19d
MD5 d0332c7b02a46a3f7eceec56af432919
BLAKE2b-256 b0cd75b810a3eab1dfc7381eec806b01f5974e8fe3fbd9b61af2e54e12735adf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for power_grid_model-1.5.0rc9195400270327-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 01c2ed307fa7209e3dd3b1e0cef329ad2fbdb87837c61123d3acbdddf38f96aa
MD5 ba03964a7387145da07d17d186e2e0c9
BLAKE2b-256 84b8e35a109377449bec26bd2e4498dc26f49270579d79db1d39761d247da0bf

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