arfc / pride

(P)lan for (R)ap(I)d (DE)carbonization
BSD 3-Clause "New" or "Revised" License
3 stars 7 forks source link

Created scenario 11 incorporating fixed costs #134

Closed yardasol closed 3 years ago

yardasol commented 3 years ago

This PR fills introduces scenario11, which the CostFixed table for a few of our technologies, so far:

Some things to consider:

samgdotson commented 3 years ago

https://webstore.iea.org/projected-costs-of-generating-electricity-2020

Katy shared this link in the slack

samgdotson commented 3 years ago

@yardasol What's the status on this? Roberto is waiting to merge his PR.

yardasol commented 3 years ago

@samgdotson my snakemake process is getting snagged on the second step. I am getting a /usr/bin/bash: TEMOA: unbound variable message. Here's the full log:

Error in rule temoa_run:
    jobid: 2
    output: data_files/11_uiuc_scenario11_model/scenario11_OutputLog.log, data_files/11_uiuc_scenario11_model/scenario11.lp
    shell:
        set +o pipefail; yes | python $TEMOA/temoa_model --config=data_files/run_scenario11.txt
        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

System: Ubuntu 20.04 LTS Python: 3.7.3 snakemake: 5.10.0

Any ideas on how to solve this? It seems my system can't find the $TEMOA variable, which is odd. My gut is telling me I'll need to reinstall TEMOA very carfefully...

samgdotson commented 3 years ago

Try running the temoa config file alone. I.e not in snakemake. The scenario may be failing.

On Mon, Jan 11, 2021 at 1:36 PM yardasol notifications@github.com wrote:

@samgdotson https://urldefense.com/v3/__https://github.com/samgdotson__;!!DZ3fjg!rfel5RiuWry-Iby3X_XlkE3JibK9zgqzTGVKqyx-XV2mj8BJCkZcsBLRIr0geHT7$ my snakemake process is getting snagged on the second step

`` Error in rule temoa_run: jobid: 2 output: data_files/11_uiuc_scenario11_model/scenario11_OutputLog.log, data_files/11_uiuc_scenario11_model/scenario11.lp shell: set +o pipefail; yes | python $TEMOA/temoa_model --config=data_files/run_scenario11.txt (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!) ''

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/arfc/pride/pull/134*issuecomment-758176096__;Iw!!DZ3fjg!rfel5RiuWry-Iby3X_XlkE3JibK9zgqzTGVKqyx-XV2mj8BJCkZcsBLRIu3FCXLZ$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKSJ4WPQX5F3JINEA5DDRS3SZNHMXANCNFSM4VWHEG5Q__;!!DZ3fjg!rfel5RiuWry-Iby3X_XlkE3JibK9zgqzTGVKqyx-XV2mj8BJCkZcsBLRIpoZFVGy$ .

-- Samuel G. Dotson Master of Science in Nuclear Engineering 2021 Bachelor of Science in Engineering Physics University of Illinois at Urbana-Champaign Office: 133 Computer Applications Building, 605 E Springfield Ave Pronouns: he/him/his sgd2@illinois.edu

yardasol commented 3 years ago

@samgdotson I found the problem:

RuntimeError: Failed to set value for param=CostFixed, index=('uiuc', 2021, 'IMPWIND', 2020), value=2.634e-05.
    source error message="Index '('uiuc', 2021, 'IMPWIND', 2020)' is not valid for indexed component 'CostFixed'"

This is odd because I have the vintage for IMPWIND as 2021, but here I am told it is 2020...

yardasol commented 3 years ago

commit 1887ab6 addressed Issue #135, however I am still having trouble on my system and have not been able to get plots to generate so this is untested.

robfairh commented 3 years ago

Also, see new issue #140