-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from kbrunik/public
Updating GreenHEART Examples
- Loading branch information
Showing
12 changed files
with
189 additions
and
824 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: greenheart | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
- python=3.11 | ||
- coin-or-cbc=2.10.8 | ||
- glpk | ||
- pip | ||
- pip: | ||
- electrolyzer@git+https://github.com/jaredthomas68/electrolyzer.git@smoothing | ||
- ProFAST@git+https://github.com/NREL/ProFAST.git | ||
- "." |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Examples Overview | ||
|
||
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](https://github.com/NREL/ReferenceHybridSystemDesigns). | ||
## Structure | ||
|
||
- **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. | ||
|
||
## Quick Start | ||
1. Clone the repository: | ||
```bash | ||
git clone https://github.com/NREL/GreenHEART.git | ||
``` | ||
2. Create a conda environment from the `environment.yml`: | ||
```bash | ||
conda env create -f environment.yml | ||
``` | ||
3. The functions which download resource data require an NREL API key. Obtain a key from: | ||
|
||
[https://developer.nrel.gov/signup/](https://developer.nrel.gov/signup/) | ||
|
||
4. To set up the `NREL_API_KEY` and `NREL_API_EMAIL` required for resource downloads, you can create | ||
Environment Variables called `NREL_API_KEY` and `NREL_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: | ||
|
||
```bash | ||
NREL_API_KEY=key | ||
[email protected] | ||
``` | ||
5. Open a Jupyter Notebook environment to explore the examples: | ||
|
||
```bash | ||
jupyter notebook | ||
``` | ||
|
||
**OR** | ||
1. Clone the repository: | ||
```bash | ||
git clone https://github.com/NREL/GreenHEART.git | ||
``` | ||
2. Follow the setup instructions in the main `README.md` | ||
3. Open a Jupyter Notebook environment to explore the examples: | ||
|
||
```bash | ||
jupyter notebook | ||
``` | ||
|
41 changes: 0 additions & 41 deletions
41
examples/greenheart/05-offshore-h2/greenheart-h2-offshore.py
This file was deleted.
Oops, something went wrong.
78 changes: 0 additions & 78 deletions
78
examples/greenheart/05-offshore-h2/input/floris/floris_input_osw_18MW.yaml
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
examples/greenheart/05-offshore-h2/input/plant/default_fin_config.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.