This repository contains analysis tools, models, and publications associated with planning for rapid decarbonization.
This repository holds:
- data of the fuel consumed by the MTD and UI fleet.
- analysis of the hydrogen required by those fleet to become carbon free.
- information of different methods to produce hydrogen.
This repository holds the data analysis, figures, that will lead to quantitative recommendations for the optimal reactor size.
Multiple scenarios will be addressed:
- The reactor itself is free (significant reduction in capital cost).
- The reactor still has a price tag and higher capital cost.
- Increasing penetration of variable renewable energy sources.
- Add grid flexibility in the form of H2 and thermal storage.
TEMOA is an open source modeling tool available on GitHub. Follow the installation instructions here.
After creating a database in sql, navigate to the directory with your database:
sqlite3 [filename].sqlite < [filename].sql
if you don't have sqlite installed, run:
sudo apt-get install sqlite
or sudo apt-get install sqlite3
TEMOA models can be run from the command line, current iterations use the online model platform at model.temoacloud.com
.
To run a single TEMOA scenario first add the path to Temoa to your ~/.bashrc
:
echo "export TEMOA=/path/to/temoa" >> ~/.bashrc
for example:
echo "export TEMOA=/home/roberto/github/temoa" >> ~/.bashrc
Remember to either close and open the terminal, or run source ~/.bashrc
.
Then, write the following commands in the terminal:
cd temoa-uiuc
source activate temoa-py3
# Example scenario
sqlite3 data_files/bau_uiuc.sqlite < data_files/bau_uiuc.sql
yes | python $TEMOA/temoa_model/ --config=data_files/run_bau.txt
The data processing must be done separately. Figures can be produced using
tools in data_parser.py
. An example of how this is done can be found in
mga_analysis.ipynb
.
To run all scenarios (except for MGA, which must be run individually):
snakemake
must be installed.
cd temoa-uiuc
source activate temoa-py3
pip install snakemake
snakemake --cores=4
# if the build fails due to file system latency, try
# snakemake --cores=4 --latency-wait=10
This automatically generates figures in the /figures/
folder.
Generating typical time histories was done by using RAVEN
an open source tool from INL. This repository should be in a folder adjacent to raven
. See directory map below for an example.
To install RAVEN
follow the instructions from INL.
Some of the data has not yet been cleared for publication so a shared link cannot yet be provided. Shared links for data that is already publicly available have been provided below.
In order to execute the jupyter notebooks the data files should be downloaded to your computer in a folder called
data
such that your directories look like:
home
|
|--2020-dotson-optimal-sizing
|
|--raven
|
|--data
- Champaign County (Willard Airport)
- Logan County (Lincoln Airport)
- UIUC Solar Farm
- Solar Irradiance (At UIUC Solar Farm)
- UIUC Steam Demand : Not cleared for public access
- UIUC Electricity Demand : Not cleared for public access