I am trying to transplant settings from the DeepEl scenario config to another project and was checking where they differ from the current default. One set of differences raised the question of defaults being defined in scenario_config.csv or main.gms.
read_delim(file = 'config/scenario_config.csv', delim = ';', comment = '#',
show_col_types = FALSE) %>%
mutate(across(-'title', as.character)) %>%
filter('testOneRegi-Base' != title) %>% # debug run (probably outdated)
pivot_longer(-'title') %>%
group_by(name) %>%
filter(1 == length(unique(value)),
!all(is.na(value))) %>% # NAs are explicit defaults
pivot_wider()
# A tibble: 47 × 3
title cm_altFeEmiFac water
<chr> <chr> <chr>
1 SSP2EU-NPi-calibrate EUR_regi, NEU_regi heat
2 SSP2EU-Base EUR_regi, NEU_regi heat
3 SSP2EU-NDC EUR_regi, NEU_regi heat
4 SSP2EU-NPi EUR_regi, NEU_regi heat
5 SSP2EU-PkBudg500 EUR_regi, NEU_regi heat
6 SSP2EU-PkBudg650 EUR_regi, NEU_regi heat
7 SSP2EU-PkBudg1050 EUR_regi, NEU_regi heat
8 SSP2EU-EU21-NPi-calibrate EUR_regi, NEU_regi heat
9 SSP2EU-EU21-Base EUR_regi, NEU_regi heat
10 SSP2EU-EU21-NDC EUR_regi, NEU_regi heat
cm_altFeEmiFac is almost three years old (#311), while water is positively antediluvian.
- Should those two settings not be moved to
main.gms
- Can we have a process that checks this kind of stuff regularly?
I am trying to transplant settings from the DeepEl scenario config to another project and was checking where they differ from the current default. One set of differences raised the question of defaults being defined in
scenario_config.csvormain.gms.cm_altFeEmiFacis almost three years old (#311), whilewateris positively antediluvian.main.gms