Green Hydrogen Energy and Renewable Technologies
Project description
GreenHEART: Green Hydrogen Energy and Renewable Technologies
Hybrid project power-to-x component-level system performance and financial modeling for control and design optimization. GreenHEART currently includes renewable energy, hydrogen, ammonia, and steel. Other elements such as desalination systems, pipelines, compressors, and storage systems can also be included as needed.
Publications where GreenHEART has been used
For more context about GreenHEART and to see analyses that have been performed using the tool, please see some of these publications. PDFs are available in the linked titles.
Nationwide techno-economic analysis of clean hydrogen production powered by a hybrid renewable energy plant for over 50,000 locations in the United States.
The levelized cost of hydrogen is calculated for varying technology costs, and tax credits to explore cost sensitivities independent of plant design, performance, and site selection. Our findings suggest that strategies for cost reduction include selecting sites with abundant wind resources, complementary wind and solar resources, and optimizing the sizing of wind and solar assets to maximize the hybrid plant capacity factor.
Grant, E., et al. "Hybrid power plant design for low-carbon hydrogen in the United States." Journal of Physics: Conference Series. Vol. 2767. No. 8. IOP Publishing, 2024.
Exploring the role of producing low-carbon hydrogen using water electrolysis powered by offshore wind in facilitating the United States’ transition to a net-zero emissions economy by 2050.
Conducting a regional techno-economic analysis at four U.S. coastal sites, the study evaluates two energy transmission configurations and examines associated costs for the years 2025, 2030, and 2035. The results highlight that locations using fixed-bottom technology may achieve cost-competitive water electrolysis hydrogen production by 2030 through leveraging geologic hydrogen storage and federal policy incentives.
Brunik, K., et al. "Potential for large-scale deployment of offshore wind-to-hydrogen systems in the United States." Journal of Physics: Conference Series. Vol. 2767. No. 6. IOP Publishing, 2024.
Examining how tightly-coupled gigawatt-scale wind- and solar-sourced H2 depends on the ability to store and deliver otherwise-curtailed H2 during times of shortages.
Modeling results suggest that the levelized cost of storage is highly spatially heterogeneous, with minor impact on the cost of H2 in the Midwest, and potentially significant impact in areas with emerging H2 economies such as Central California and the Southeast. While TOL/MCH may be the cheapest aboveground bulk storage solution evaluated, upfront capital costs, modest energy efficiency, reliance on critical materials, and greenhouse gas emissions from heating remain concerns.
Breunig, Hanna, et al. "Hydrogen Storage Materials Could Meet Requirements for GW-Scale Seasonal Storage and Green Steel." (2024).
DOE Hydrogen Program review presentation of GreenHEART
King, J. and Hammond, S. "Integrated Modeling, TEA, and Reference Design for Renewable Hydrogen to Green Steel and Ammonia - GreenHEART" (2024).
Software requirements
- Python version 3.9, 3.10, 3.11 64-bit
- Other versions may still work, but have not been extensively tested at this time
Installing from Package Repositories
pip install greenheart
Installing from Source
Easiest approach (recommended)
-
Using Git, navigate to a local target directory and clone repository:
git clone https://github.com/NREL/GreenHEART.git
-
Navigate to
GreenHEART
cd GreenHEART
-
Create a conda environment and install GreenHEART and all its dependencies
conda env create -f environment.yml
-
Install Cbc.
-
If using a Unix machine (not Windows), install a final dependency
conda install -y -c conda-forge coin-or-cbc=2.10.8
-
Windows users will have to manually install Cbc: https://github.com/coin-or/Cbc
-
An additional step can be added if additional dependencies are required, or you plan to use this environment for development work.
- Pass
-e
for an editable developer install - Use one of the extra flags as needed:
examples
: allows you to use the Jupyter Notebooksdevelop
: adds developer and documentation toolsall
simplifies adding all the dependencies
This looks like the following for a developer installation:
pip install -e ".[all]"
Customizable
-
Using Git, navigate to a local target directory and clone repository:
git clone https://github.com/NREL/GreenHEART.git
-
Navigate to
GreenHEART
cd GreenHEART
-
Create a new virtual environment and change to it. Using Conda Python 3.11 (choose your favorite supported version) and naming it 'greenheart' (choose your desired name):
conda create --name greenheart python=3.11 -y conda activate greenheart
-
Install GreenHEART and its dependencies:
conda install -y -c conda-forge glpk pip install electrolyzer@git+https://github.com/jaredthomas68/electrolyzer.git@smoothing
Note: Unix users should install Cbc via:
conda install -y -c conda-forge coin-or-cbc=2.10.8
Windows users will have to manually install Cbc: https://github.com/coin-or/Cbc.
-
If you want to just use GreenHEART:
pip install .
-
If you want to work with the examples:
pip install ".[examples]"
-
If you also want development dependencies for running tests and building docs:
pip install -e ".[develop]"
-
In one step, all dependencies can be installed as:
pip install -e ".[all]"
-
-
The functions which download resource data require an NREL API key. Obtain a key from:
-
To set up the
NREL_API_KEY
andNREL_API_EMAIL
required for resource downloads, you can create Environment Variables calledNREL_API_KEY
andNREL_API_EMAIL
. Otherwise, you can keep the key in a new file called ".env" in the root directory of this project.Create a file ".env" that contains the single line:
NREL_API_KEY=key NREL_API_EMAIL=your.name@email.com
-
Verify setup by running tests:
pytest
-
To set up
NREL_API_KEY
for resource downloads, first refer to section 7 and 8 above. But for the.env
file method, the file should go in the working directory of your Python project, e.g. directory from where you runpython
.
Parallel processing for GreenHEART finite differences and design of experiments
GreenHEART is set up to run in parallel using MPI and PETSc for finite differencing and for design of experiments runs through OpenMDAO. To use this capability you will need to follow the addtional installation instruction below:
conda install -c conda-forge mpi4py petsc4py
For more details on implementation and installation, reference the documentation for OpenMDAO.
To to check that your installation is working, do the following:
cd tests/greenheart/
mpirun -n 2 pytest test_openmdao_mpi.py
Getting Started
The Examples contain Jupyter notebooks and sample YAML files for common usage scenarios in GreenHEART. These are actively maintained and updated to demonstrate GreenHEART's capabilities. For full details on simulation options and other features, documentation is forthcoming.
Contributing
Interested in improving GreenHEART? Please see the Contributor's Guide section for more information.
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
Built Distribution
File details
Details for the file greenheart-0.1.3.tar.gz
.
File metadata
- Download URL: greenheart-0.1.3.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f97958450e65c24ff39b1255bac8f0ae50eda35990cd24a30974a80945c7f27 |
|
MD5 | 99ff69fcd20f619b9ed9168288069092 |
|
BLAKE2b-256 | 0a61cc9261d3bc19aaf922e46c424178ac26b040279ba06836b2c5adcb050d3b |
Provenance
The following attestation bundles were made for greenheart-0.1.3.tar.gz
:
Publisher:
publish_to_pypi.yml
on NREL/GreenHEART
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
greenheart-0.1.3.tar.gz
- Subject digest:
0f97958450e65c24ff39b1255bac8f0ae50eda35990cd24a30974a80945c7f27
- Sigstore transparency entry: 146003041
- Sigstore integration time:
- Predicate type:
File details
Details for the file greenheart-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: greenheart-0.1.3-py3-none-any.whl
- Upload date:
- Size: 828.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | baf93f1a99af942b4a6e6305dda96625fc8c7793ce8fe8c816189db451fe31ec |
|
MD5 | d384f8f3e7657e7b8870b1b18d718a93 |
|
BLAKE2b-256 | bdadda535c1de2d90cea550b3ca7ab170e7496dfc1087a2d6f3b1e6ccf3acbbf |
Provenance
The following attestation bundles were made for greenheart-0.1.3-py3-none-any.whl
:
Publisher:
publish_to_pypi.yml
on NREL/GreenHEART
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
greenheart-0.1.3-py3-none-any.whl
- Subject digest:
baf93f1a99af942b4a6e6305dda96625fc8c7793ce8fe8c816189db451fe31ec
- Sigstore transparency entry: 146003042
- Sigstore integration time:
- Predicate type: