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

Removed implicit calls from iterative script.

parent 84001769
No related branches found
No related tags found
1 merge request!79EDGE-T Validation Output - Fix
......@@ -47,12 +47,9 @@ EDGE_scenario <- cfg$gms$cm_EDGEtr_scen
EDGEscenarios <- fread("../../modules/35_transport/edge_esm/input/EDGEscenario_description.csv")[scenario_name == EDGE_scenario]
merge_traccs <<- EDGEscenarios[options == "merge_traccs", switch]
addvintages <<- EDGEscenarios[options == "addvintages", switch]
inconvenience <<- EDGEscenarios[options == "inconvenience", switch]
selfmarket_taxes <<- EDGEscenarios[options == "selfmarket_taxes", switch]
selfmarket_policypush <<- EDGEscenarios[options == "selfmarket_policypush", switch]
selfmarket_acceptancy <<- EDGEscenarios[options == "selfmarket_acceptancy", switch]
inconvenience <- EDGEscenarios[options == "inconvenience", switch]
selfmarket_policypush <- EDGEscenarios[options == "selfmarket_policypush", switch]
selfmarket_acceptancy <- EDGEscenarios[options == "selfmarket_acceptancy", switch]
if (EDGE_scenario == "Conservative_liquids") {
techswitch <<- "Liquids"
......@@ -65,13 +62,6 @@ if (EDGE_scenario == "Conservative_liquids") {
exit()
}
endogeff <<- EDGEscenarios[options== "endogeff", switch]
enhancedtech <<- EDGEscenarios[options== "enhancedtech", switch]
rebates_febates <<- EDGEscenarios[options== "rebates_febates", switch] ##NB THEY ARE ONLY IN PSI! ONLY WORKING IN EUROPE
smartlifestyle <<- EDGEscenarios[options== "smartlifestyle", switch]
REMIND2ISO_MAPPING <- fread(REMINDpath(cfg$regionmapping))[, .(iso = CountryCode, region = RegionCode)]
EDGE2teESmap <- fread(mapspath("mapping_EDGE_REMIND_transport_categories.csv"))
......@@ -98,8 +88,7 @@ price_nonmot = inputdata$price_nonmot
## optional average of prices
average_prices = FALSE
## inconvenience costs instead of preference factors
inconvenience = TRUE
ES_demand = readREMINDdemand(gdx, REMIND2ISO_MAPPING, EDGE2teESmap, REMINDyears)
## select from total demand only the passenger sm
......@@ -172,7 +161,9 @@ if (inconvenience) {
inco_data = inco_data,
logit_params = logit_params,
intensity_data = int_dat,
price_nonmot = price_nonmot)
price_nonmot = price_nonmot,
selfmarket_policypush = selfmarket_policypush,
selfmarket_acceptancy = selfmarket_acceptancy)
} else{
......
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