This issue can be closed when a temoa model has been added to temoa-uiuc that has greater time resolution.
Currently, time is separated into six slices:
- day and night for each of:
- spring/fall
- winter
- summer
It will be helpful to have a model with higher time resolution. To do this you need to break down the
availability each energy source by hour and the fraction of demand per hour. temoaproject on github has other examples of datafiles that you can use for reference.
Guidance:
- Add an experimental branch in your forked repository
git checkout -b iss106
- Each subsequent
TEMOA model should build on the previous one (in most cases). Thus, copy the most recent model, in this case scenario04. Since this is not a new scenario, but repeating a scenario with greater resolution, call it something descriptive like model24hr.
cp data_files/04_uiuc.sql data_files/05_uiuc.sql
cp data_files/run_scenario04.txt data_files/run_scenario04.txt
-
Edit the configuration file, run_scenario04.txt and change the name of the input database to data_files/05_uiuc.sqlite
- Also change the scenario name, and the output file name.
-
In Snakefile comment out the "All Scenarios" block, and uncomment the "Experimental Scenario" block. Replace the name in experimental scenario with the name of the model you're working on.
-
Edit the .sql database to add a new sector, transportation. (You can visually check the model at model.temoacloud.com)
-
Run the model by executing
source activate temoa-py3
snakemake --cores=4
- If the results look appropriate, add the experimental scenario to all scenarios in the snakefile (maybe run it again with all files) and make a pull request.
This issue can be closed when a temoa model has been added to
temoa-uiucthat has greater time resolution.Currently, time is separated into six slices:
It will be helpful to have a model with higher time resolution. To do this you need to break down the
availability each energy source by hour and the fraction of demand per hour. temoaproject on github has other examples of datafiles that you can use for reference.
Guidance:
git checkout -b iss106TEMOAmodel should build on the previous one (in most cases). Thus, copy the most recent model, in this casescenario04. Since this is not a new scenario, but repeating a scenario with greater resolution, call it something descriptive like model24hr.Edit the configuration file,
run_scenario04.txtand change the name of the input database todata_files/05_uiuc.sqliteIn
Snakefilecomment out the "All Scenarios" block, and uncomment the "Experimental Scenario" block. Replace the name in experimental scenario with the name of the model you're working on.Edit the
.sqldatabase to add a new sector, transportation. (You can visually check the model at model.temoacloud.com)Run the model by executing
source activate temoa-py3 snakemake --cores=4