Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase time resolution of the Temoa UIUC model #106

Open
samgdotson opened this issue Nov 6, 2020 · 0 comments
Open

Increase time resolution of the Temoa UIUC model #106

samgdotson opened this issue Nov 6, 2020 · 0 comments
Assignees
Labels
Comp:Analysis This issue has to do with the analysis component of the code or document. (plots, postprocessing) Difficulty:2-Challenging This issue may be complex or require specialized skills. Priority:2-Normal This work is important and should be completed ASAP. Status:3-Selected The assignee has chosen to work on this item next (after their current, in progress, issue) Type:Feature New feature or feature request

Comments

@samgdotson
Copy link
Collaborator

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:

  1. Add an experimental branch in your forked repository

git checkout -b iss106

  1. 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
  1. 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.
  2. 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.

  3. Edit the .sql database to add a new sector, transportation. (You can visually check the model at model.temoacloud.com)

  4. Run the model by executing

source activate temoa-py3
snakemake --cores=4
  1. 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.
@samgdotson samgdotson added Comp:Analysis This issue has to do with the analysis component of the code or document. (plots, postprocessing) Difficulty:2-Challenging This issue may be complex or require specialized skills. Priority:2-Normal This work is important and should be completed ASAP. Status:3-Selected The assignee has chosen to work on this item next (after their current, in progress, issue) Type:Feature New feature or feature request labels Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Comp:Analysis This issue has to do with the analysis component of the code or document. (plots, postprocessing) Difficulty:2-Challenging This issue may be complex or require specialized skills. Priority:2-Normal This work is important and should be completed ASAP. Status:3-Selected The assignee has chosen to work on this item next (after their current, in progress, issue) Type:Feature New feature or feature request
Projects
None yet
Development

No branches or pull requests

3 participants