Skip to content
Snippets Groups Projects
Commit 719ebec4 authored by Marianna Rottoli's avatar Marianna Rottoli
Browse files

Bugfix in call transport realization.

parent 02421f6f
No related branches found
No related tags found
1 merge request!159Pullreq1
......@@ -228,7 +228,7 @@ prepare <- function() {
#}
# select demand pathway for transportation: options are conv (conventional demand pathway) and wise (wiseways, limited demand)
if(transport == "edge_esm"){
if(cfg$gms$transport == "edge_esm"){
if(grepl("Wise", cfg$gms$cm_EDGEtr_scen)){
demTrsp = "wise"
} else {
......@@ -244,7 +244,7 @@ prepare <- function() {
"POP_", cfg$gms$cm_POPscen, "-",
"GDP_", cfg$gms$cm_GDPscen, "-",
"Kap_", cfg$gms$capitalMarket, "-",
ifelse(transport == "edge_esm", paste0( "demTrsp_", demTrsp, "-"), ""),
ifelse(cfg$gms$transport == "edge_esm", paste0( "demTrsp_", demTrsp, "-"), ""),
"Reg_", substr(regionscode(cfg$regionmapping),1,10))
# write name of corresponding CES file to datainput.gms
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment