Skip to main content

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

Project description

HydroGenerate

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 git@github.com: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},
author = {Mitra, Bhaskar and Gallego-Calderon, Juan F. and Elliott, Shiloh N and Mosier, Thomas M and Bastidas Pacheco, Camilo Jose, and Nag, Soumyadeep 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, Nag, Soumyadeep, 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,  Nag, Soumyadeep, & 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,  Nag, Soumyadeep, 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hydrogenerate-1.4.1.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

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

hydrogenerate-1.4.1-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file hydrogenerate-1.4.1.tar.gz.

File metadata

  • Download URL: hydrogenerate-1.4.1.tar.gz
  • Upload date:
  • Size: 40.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hydrogenerate-1.4.1.tar.gz
Algorithm Hash digest
SHA256 67c0040e7547ad0b82a31bb17d9ede7e417abc1afdf9ded371693cfcbe9f99fa
MD5 631633776cf4ee43c6452598c4533f1f
BLAKE2b-256 c517f105ab23bccc8264efaf179b8ee215d67c67705727443c49103f9e289b75

See more details on using hashes here.

Provenance

The following attestation bundles were made for hydrogenerate-1.4.1.tar.gz:

Publisher: publish.yml on IdahoLabResearch/HydroGenerate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hydrogenerate-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: hydrogenerate-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hydrogenerate-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8115d832ec8b782598f60fa0ed05be4f6d71eaf51252b7288c7f02dc9d652f07
MD5 98819f5a9590b691d55e6bf4815f68af
BLAKE2b-256 65ce5cb53b8b786469eca63fed7298bb04eaf16c403436e99b1bbc68789b606a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hydrogenerate-1.4.1-py3-none-any.whl:

Publisher: publish.yml on IdahoLabResearch/HydroGenerate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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