OpenHPL

An open source hydropower library that consists of hydropower unit models and is modeled using Modelica.
https://github.com/OpenSimHub/OpenHPL

Category: Renewable Energy
Sub Category: Hydro Energy

Keywords

hydropower modelica-library open-source

Keywords from Contributors

power-grid

Last synced: about 19 hours ago
JSON representation

Repository metadata

The OpenHPL is an open-source hydropower library that consists of hydropower unit models and is modelled using Modelica.

README.md

OpenHPL

OpenHPL is an open-source Modelica hydropower library for modelling hydropower systems of varying complexity, from simple single-component tests to complete hydropower plants with integrated power system controls.

Library description

The OpenHPL library provides comprehensive models for:

  • Hydraulic Components (Waterway package): Penstocks, pipes, reservoirs, surge tanks, open channels, gates, and valves
  • Turbines: Simple turbine models, Francis turbines, and Pelton turbines with realistic performance characteristics
  • Generators: Simple generators and synchronous generators for power output modelling
  • Power System Integration: Grid models with frequency-droop control, seamlessly integrated via OpenIPSL
  • Controllers: Governor and hydraulic control systems for load governing and system stability
  • Advanced Features: Elastic penstock modelling using the KP method for pressure transients, discretised flow components for detailed hydraulics

OpenHPL makes it possible to model hydropower systems of different complexity and connect them with models from other libraries, e.g., with models of the power system or other power generating sources. The library is built on Modelica 4.0.0 and integrates with OpenIPSL for power system analysis.

Current release

Download OpenHPL v3.0.1 (2026-02-05)

Acknowledgements

The very first version 1.0.0 of this library was created as part of the PhD thesis Vytvytskyi2019, which was supported by the Norwegian Research Council under the project "Hydropower Systems Design and Analysis" (HydroCen Grant No. 257588).

License

Copyright © 2019-2026

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.

Contact

The maintainers can be contacted by email: OpenHPL@opensimhub.org


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 322
Total Committers: 7
Avg Commits per committer: 46.0
Development Distribution Score (DDS): 0.248

Commits in past year: 61
Committers in past year: 4
Avg Commits per committer in past year: 15.25
Development Distribution Score (DDS) in past year: 0.197

Name Email Commits
Dietmar Winkler d****r@d****o 242
pandeysudan27 p****7@g****m 45
Madhusudhan Pandey p****1@g****m 15
tbeu t****u 7
Bjarne Børresen 3****j 6
Dietmar Winkler 1****e 6
hellb0rg 5****g 1

Committer domains:


Issue and Pull Request metadata

Last synced: 5 days ago

Total issues: 32
Total pull requests: 52
Average time to close issues: 11 months
Average time to close pull requests: about 1 month
Total issue authors: 7
Total pull request authors: 7
Average comments per issue: 1.38
Average comments per pull request: 0.71
Merged pull request: 39
Bot issues: 0
Bot pull requests: 0

Past year issues: 5
Past year pull requests: 16
Past year average time to close issues: 2 months
Past year average time to close pull requests: 6 days
Past year issue authors: 3
Past year pull request authors: 4
Past year average comments per issue: 1.6
Past year average comments per pull request: 0.31
Past year merged pull request: 11
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/OpenSimHub/OpenHPL

Top Issue Authors

  • dietmarw (22)
  • boerrebj (4)
  • casella (2)
  • satviksinha12 (1)
  • hellb0rg (1)
  • pandeysudan27 (1)
  • maltelenz (1)

Top Pull Request Authors

  • dietmarw (16)
  • pandeysudan27 (15)
  • tbeu (8)
  • boerrebj (7)
  • dietmarw-se (4)
  • hellb0rg (1)
  • pandeysudan1 (1)

Top Issue Labels

  • enhancement (17)
  • rewrite (5)
  • bug (3)
  • documentation (3)
  • refactor (1)
  • wontfix (1)
  • invalid (1)

Top Pull Request Labels

  • enhancement (12)
  • feat (7)
  • fix (3)
  • feature (3)
  • bug (2)
  • breaking (1)
  • refactor (1)
  • documentation (1)

Package metadata

proxy.golang.org: github.com/opensimhub/openhpl

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/opensimhub/openhpl#section-documentation
  • Licenses: mpl-2.0
  • Latest release: v3.0.1+incompatible (published 3 months ago)
  • Last Synced: 2026-05-10T14:01:53.453Z (3 days ago)
  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 5.395%
    • Average: 5.576%
    • Dependent repos count: 5.758%
proxy.golang.org: github.com/OpenSimHub/OpenHPL

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/OpenSimHub/OpenHPL#section-documentation
  • Licenses: mpl-2.0
  • Latest release: v3.0.1+incompatible (published 3 months ago)
  • Last Synced: 2026-05-10T14:01:53.687Z (3 days ago)
  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 5.395%
    • Average: 5.576%
    • Dependent repos count: 5.758%

Dependencies

.github/workflows/checkCI.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/checkCron.yml actions
  • actions/checkout v6 composite
  • actions/setup-python v5 composite
.github/workflows/label-pr.yml actions
  • actions/github-script v7 composite

Score: -Infinity