HydroGenerate

An open-source python library that has the capability of estimating hydropower generation based on flow rate either provided by the user or received from United States Geological Survey water data services.
https://github.com/idaholabresearch/hydrogenerate

Category: Renewable Energy
Sub Category: Hydro Energy

Keywords

hydropower hydropower-model techno-economic-analysis

Last synced: 19 minutes ago
JSON representation

Repository metadata

Tool to estimate the hydropower potential of a site.

README.md

HydroGenerate

About

HydroGenerate is an open-source python library that has the capability of estimating hydropower generation based on flow rate either provided by the user or received from United States Geological Survey (USGS) water data services. The tool calculates the efficiency as a function of flow based on the turbine type either selected by the user or estimated based on the “head” provided by the user.

For more information please refer to the OSTI webpage.

Installation Instructions

HydroGenerate is offered as a python package. This means that the classes and utilities can be used anywhere in your system, without risks of making unwanted changes to the core code in the repo, issues with finsing the module in path, etc.

For Basic Usage

HydroGenerate can be installed by downloading the source code from GitHub or via the PyPI package manager using pip.

For those interested only in using the code, the simplest way to obtain it is with pip by using this command:

pip install HydroGenerate

For developers

  1. Clone the repo:
git clone [email protected]:IdahoLabResearch/HydroGenerate.git
cd HydroGenerate
  1. It is recommended that a dedicated conda environment be created for developing/using this repo and prior to the installation below.
conda create --name hat-env python=3.6

To activate the environment, execute the following command:

conda activate hat-env
  1. Install the package in your environment:
pip install -e .

Optional

  1. Install jupyter lab in your new environment
conda install -c conda-forge jupyterlab

Authors

Juan Gallego-Calderon

Camilo J. Bastidas Pacheco

Soumyadeep Nag

Bhaskar Mitra

Shiloh Elliott

Thomas M. Mosier

Citation

If you are using our repository kindly use the following citation format(s).

Bibtex


@misc{osti_1829986,
title = {Hydrogenerate: Open Source Python Tool To Estimate Hydropower Generation Time-series, Version 3.6 or newer},
author = {Mitra, Bhaskar and Gallego-Calderon, Juan F. and Elliott, Shiloh N and Mosier, Thomas M and Bastidas Pacheco, Camilo Jose and USDOE Office of Energy Efficiency and Renewable Energy},
abstractNote = {Hydropower is one of the most mature forms of renewable energy generation. The United States (US) has almost 103 GW of installed, with 80 GW of conventional generation and 23 GW of pumped hydropower [1]. Moreover, the potential for future development on Non-Powered Dams is up to 10 GW. With the US setting its goals to become carbon neutral [2], more renewable energy in the form of hydropower needs to be integrated with the grid. Currently, there are no publicly available tool that can estimate the hydropower potential for existing hydropower dams or other non-powered dams. The HydroGenerate is an open-source python library that has the capability of estimating hydropower generation based on flow rate either provided by the user or received from United States Geological Survey (USGS) water data services. The tool calculates the efficiency as a function of flow based on the turbine type either selected by the user or estimated based on the “head” provided by the user.},
url = {https://www.osti.gov//servlets/purl/1829986},
doi = {10.11578/dc.20211112.1},
url = {https://www.osti.gov/biblio/1829986}, year = {2021},
month = {10},
note =
}

Chicago


Mitra, Bhaskar, Gallego-Calderon, Juan F., Elliott, Shiloh N, Mosier, Thomas M, Bastidas Pacheco, Camilo Jose, and USDOE Office of Energy Efficiency and Renewable Energy. Hydrogenerate: Open Source Python Tool To Estimate Hydropower Generation Time-series. Computer software. Version 3.6 or newer. October 19, 2021. https://www.osti.gov//servlets/purl/1829986. doi:https://doi.org/10.11578/dc.20211112.1.

APA


Mitra, Bhaskar, Gallego-Calderon, Juan F., Elliott, Shiloh N, Mosier, Thomas M, Bastidas Pacheco, Camilo Jose, & USDOE Office of Energy Efficiency and Renewable Energy. (2021, October 19). Hydrogenerate: Open Source Python Tool To Estimate Hydropower Generation Time-series (Version 3.6 or newer) [Computer software]. https://www.osti.gov//servlets/purl/1829986. https://doi.org/10.11578/dc.20211112.1

MLA


Mitra, Bhaskar, Gallego-Calderon, Juan F., Elliott, Shiloh N, Mosier, Thomas M, Bastidas Pacheco, Camilo Jose, and USDOE Office of Energy Efficiency and Renewable Energy. Hydrogenerate: Open Source Python Tool To Estimate Hydropower Generation Time-series. Computer software. https://www.osti.gov//servlets/purl/1829986. Vers. 3.6 or newer. USDOE Office of Energy Efficiency and Renewable Energy (EERE). 19 Oct. 2021. Web. doi:10.11578/dc.20211112.1.

Citation (citation.cff)

Hydrogenerate: Open Source Python Tool To Estimate Hydropower Generation Time-series
message: "If you use this software, please cite it as below."
preferred-citation:
type: misc
authors:
- family-names: "Mitra"
  given-names: "Bhaskar"
- family-names: "Gallego-Calderon"
  given-names: "Juan F"
- family-names: "Elliott"
  given-names: "Shiloh N"
- family-names: "Mosier"
  given-names: "Thomas M"
- family-names: "Bastidas Pacheco"
  given-names: "Camilo J."
- given-names: "USDOE Office of Energy Efficiency and Renewable Energy"
title: "Hydrogenerate: Open Source Python Tool To Estimate Hydropower Generation Time-series"
version: 1.0.0
doi: 10.11578/dc.20211112.1
date-released: 2021-10-01
url: "https://github.com/IdahoLabResearch/HydroGenerate"

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: about 22 hours ago

Total Commits: 131
Total Committers: 7
Avg Commits per committer: 18.714
Development Distribution Score (DDS): 0.542

Commits in past year: 52
Committers in past year: 3
Avg Commits per committer in past year: 17.333
Development Distribution Score (DDS) in past year: 0.212

Name Email Commits
cjbasp22 c****o@i****v 60
Bhaskar Mitra 3****c 32
Juan F. Gallego-Calderon j****n@i****v 20
Camilo J. Bastidas Pacheco c****s@g****m 12
ellishil48 6****8 3
Wendy Skinner A****N@I****v 2
Juan F. Gallego Calderon g****f@i****v 2

Committer domains:


Issue and Pull Request metadata

Last synced: about 23 hours ago

Total issues: 8
Total pull requests: 38
Average time to close issues: 6 months
Average time to close pull requests: 8 days
Total issue authors: 1
Total pull request authors: 3
Average comments per issue: 1.0
Average comments per pull request: 0.05
Merged pull request: 24
Bot issues: 0
Bot pull requests: 0

Past year issues: 2
Past year pull requests: 20
Past year average time to close issues: N/A
Past year average time to close pull requests: 4 days
Past year issue authors: 1
Past year pull request authors: 2
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.0
Past year merged pull request: 8
Past year bot issues: 0
Past year bot pull requests: 0

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

Top Issue Authors

  • jgallegocalderon (8)

Top Pull Request Authors

  • cjbas22 (28)
  • jgallegocalderon (8)
  • snag427 (2)

Top Issue Labels

  • enhancement (4)
  • documentation (4)

Top Pull Request Labels


Package metadata

pypi.org: hydrogenerate

HydroGenerate is an open-source python library that has the capability of estimating hydropower generation based on flow and head.

  • Homepage: https://github.com/IdahoLabResearch/HydroGenerate
  • Documentation: https://idaholabresearch.github.io/HydroGenerate/
  • Licenses: bsd-3-clause
  • Latest release: 1.3.0 (published 9 months ago)
  • Last Synced: 2025-07-04T13:45:32.396Z (1 day ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 64 Last month
  • Rankings:
    • Dependent packages count: 9.879%
    • Average: 37.539%
    • Dependent repos count: 65.199%
  • Maintainers (1)

Dependencies

setup.py pypi

Score: 9.211339872309265