This directory provides example Jupyter notebooks demonstrating how to use the GreenHEART tool for technoeconomic analysis of green technology applications. These workflows and calculations cover hydrogen production, steel manufacturing, ammonia synthesis, and Proton Exchange Membrane (PEM) electrolyzer modeling. GreenHEART enables co-design and simulation of an integrated renewable energy and hydrogen production plant, along with optional end-use applications.
The first three notebooks focus on the GreenHEART simulation interface, which supports single analysis cases as well as optimization for levelized cost of product. The final example, 04-PEM_electrolyzer.ipynb
, illustrates how to use GreenHEART's PEM electrolyzer model.
Note: The
reference_plants
directory, containing reference designs for green hydrogen, ammonia, and steel plants across the U.S., will be removed in future releases. Reference plant data is now hosted at NREL/ReferenceHybridSystemDesigns.
- 01-green-hydrogen.ipynb: Demonstrates a workflow for green hydrogen production using renewable energy and electrolysis.
- 02-green-steel.ipynb: Illustrates green steel production using hydrogen as a reducing agent via hydrogen direct reduced iron and electric arc furnace (HDRI-EAF) technology.
- 03-green-ammonia.ipynb: Covers green ammonia production through renewable hydrogen in the Haber-Bosch process.
- 04-PEM_electrolyzer.ipynb: Details the use of the GreenHEART PEM Water Electrolyzer model, including key components and operation.
-
Clone the repository:
git clone https://github.com/NREL/GreenHEART.git
-
Create a conda environment from the
environment.yml
:conda env create -f environment.yml
-
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
-
Open a Jupyter Notebook environment to explore the examples:
jupyter notebook
OR
-
Clone the repository:
git clone https://github.com/NREL/GreenHEART.git
-
Follow the setup instructions in the main
README.md
-
Open a Jupyter Notebook environment to explore the examples:
jupyter notebook