From 4e5186f7c92f7447f568e9e4720a42a5eccfdf81 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Thu, 29 Feb 2024 11:02:45 +0100 Subject: [PATCH 01/25] fix tabs to spaces --- config/default.cfg | 4 ++-- scripts/start/extra/recalibrate_FSEC.R | 2 +- scripts/start/projects/project_EAT2p0.R | 12 +++++------- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/config/default.cfg b/config/default.cfg index c75508aa0d..cac897172f 100644 --- a/config/default.cfg +++ b/config/default.cfg @@ -565,7 +565,7 @@ cfg$gms$c20_scp_type <- "sugar" # def = sugar # * to exports cfg$gms$trade <- "selfsuff_reduced" # def = selfsuff_reduced -# * option for `exo` realization only: +# * option for `exo` realization only: # * fix `v21_manna_from_heaven` to zero (0) or not (1) # Note: Without fixing to zero, v21_manna_from_heaven might be used unnecessarily in runs started with highres.R cfg$gms$s21_manna_from_heaven <- 0 @@ -1961,7 +1961,7 @@ cfg$files2export$start <- c("input/info.txt", "input/regionmapping*.csv", "input/kba_land_0.5.mz", "input/f58_peatland_area_0.5.mz", - "input/MAPSPAM_croparea_0.5.mz", + "input/MAPSPAM_croparea_0.5.mz", "input/LUH2_croparea_0.5.mz") # Files that should be copied after the MAgPIE run is finished diff --git a/scripts/start/extra/recalibrate_FSEC.R b/scripts/start/extra/recalibrate_FSEC.R index 0e7313584a..9260ac24eb 100644 --- a/scripts/start/extra/recalibrate_FSEC.R +++ b/scripts/start/extra/recalibrate_FSEC.R @@ -6,7 +6,7 @@ # | Contact: magpie@pik-potsdam.de # -------------------------------------------------------- -# description: calculate and store new calibration factors for +# description: calculate and store new calibration factors for # land conversion costs for FSEC regional setup # (time consuming; up to 40 model runs with 5 time steps) # -------------------------------------------------------- diff --git a/scripts/start/projects/project_EAT2p0.R b/scripts/start/projects/project_EAT2p0.R index cbc789fbc5..5058442aff 100644 --- a/scripts/start/projects/project_EAT2p0.R +++ b/scripts/start/projects/project_EAT2p0.R @@ -70,18 +70,16 @@ bau <- function(cfg) { cfg$gms$c60_2ndgen_biodem <- "R21M42-SSP2-NPi" # default # Climate Change - cfg$input['cellular'] <- "WARNINGS2_rev4.95_h12_c6a7458f_cellularmagpie_c200_IPSL-CM6A-LR-ssp370_lpjml-8e6c5eb1.tgz" - + cfg$input['cellular'] <- "rev4.99_h12_c6a7458f_cellularmagpie_c200_IPSL-CM6A-LR-ssp370_lpjml-8e6c5eb1.tgz" + return(cfg) } ### Diet component ## -# Globally achieves EL2 diet by 2050 # To Do: Check implementation +# Globally achieves EL2 diet by 2050 diet <- function(cfg) { cfg$gms$s15_exo_diet <- 3 - cfg$gms$s15_alc_scen <- 0 # No alcohol allowed as in the definition of EATLancet - cfg$gms$c15_kcal_scen <- "healthy_BMI" # default: not necessary to set it again (To Do: remove) - cfg$gms$c15_EAT_scen <- "FLX" # default: not necessary to set it again (To Do: remove) + return(cfg) } @@ -146,7 +144,7 @@ noCC <- function(cfg) { ### RCP 2.6 ### # Decomposition Scenario. Apply lower climate impacts based on RCP 2.6 to BAU rcp26 <- function(cfg) { - cfg$input['cellular'] <- "WARNINGS4_rev4.95_h12_5033a1ce_cellularmagpie_c200_IPSL-CM6A-LR-ssp126_lpjml-8e6c5eb1.tgz" + cfg$input['cellular'] <- "rev4.99_h12_5033a1ce_cellularmagpie_c200_IPSL-CM6A-LR-ssp126_lpjml-8e6c5eb1.tgz" return(cfg) } From 2c28ce076bcb992cd1d8233203739198df281e5e Mon Sep 17 00:00:00 2001 From: Felicitas Date: Fri, 1 Mar 2024 11:20:24 +0100 Subject: [PATCH 02/25] bugfix in agmip output script --- scripts/output/projects/agmip_report.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/output/projects/agmip_report.R b/scripts/output/projects/agmip_report.R index f16d59fe75..e16f53e7a4 100644 --- a/scripts/output/projects/agmip_report.R +++ b/scripts/output/projects/agmip_report.R @@ -29,7 +29,7 @@ mif <- paste0(outputdir, "/agmip_report.mif") rds <- paste0(outputdir, "/agmip_report.rds") ############################################################################### -report <- getReportAgMIP(gdx, scenario = cfg$title) +report <- getReportAgMIP(gdx, scenario = cfg$title, dir = outputdir) ### regional aggregation write.report(report, file = mif) From 59aab55fd813ccb670337d7f85668c5859afa11f Mon Sep 17 00:00:00 2001 From: Felicitas Date: Fri, 1 Mar 2024 17:13:52 +0100 Subject: [PATCH 03/25] moved PAL scenario from energy to humanWelfare (institutions) --- config/scenario_fsec.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv index 7d55a17ed6..0934d6ae94 100644 --- a/config/scenario_fsec.csv +++ b/config/scenario_fsec.csv @@ -1,7 +1,7 @@ ;FSEC;population;institutions;energy;bioplastics;capitalSubst;minWage;noUnderweight;halfOverweight;fruitsNutsVegSeeds;monogastrics;ruminants;pulses;processed;fish;waste;awms;livestock;cropefficiency;nueMAC;riceMAC;biodiversity;fairTrade;timberCities;REDDaff;REDD;landscapeElements;landSharing;landSparing;waterSparing;peatland;soil;allDiet;allDietAndWaste;allEnvPrice;allEmisPrice;SSP1;SSP2;SSP3;SSP4;SSP5;RCP19;RCP26;RCP34;RCP45;RCP60;RCP70;RCP85;SSP1energy gms$c09_pop_scenario;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c09_gdp_scenario;;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c09_pal_scenario;;;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c09_pal_scenario;;;SDP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s12_interest_lic;;;0.06;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s12_interest_hic;;;0.04;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$food;anthro_iso_jun22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; From d1bc94315c992fd1dde16321d77e1f0324a7d7f9 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Fri, 1 Mar 2024 17:32:59 +0100 Subject: [PATCH 04/25] updated FSDP_collect: added Davids variables and the status from revision branch --- scripts/output/projects/FSDP_collect.R | 462 ++++++++++++++++++++++--- 1 file changed, 407 insertions(+), 55 deletions(-) diff --git a/scripts/output/projects/FSDP_collect.R b/scripts/output/projects/FSDP_collect.R index f9b0961aa8..828a939756 100644 --- a/scripts/output/projects/FSDP_collect.R +++ b/scripts/output/projects/FSDP_collect.R @@ -46,77 +46,77 @@ if (length(unique(x)) == 1) rev <- unique(x) else stop("version prefix is not id hi_datasets_path <- "/p/projects/magpie/data/FSEC_healthImpactsDatasets_raw" if (dir.exists(hi_datasets_path)) { - hi_datasets <- list.files(hi_datasets_path) - hi_versionToUse <- grep(rev, hi_datasets, value = TRUE) + hi_datasets <- list.files(hi_datasets_path) + hi_versionToUse <- grep(rev, hi_datasets, value = TRUE) - if (length(hi_versionToUse) == 0) { + if (length(hi_versionToUse) == 0) { - message("No corresponding version ID was found within the health impacts datasets. Using the latest available.") + message("No corresponding version ID was found within the health impacts datasets. Using the latest available.") - highestVersionNr <- max(as.numeric(str_extract(hi_datasets, "(?<=v)(.*?)(?=_)"))) - hi_versionToUse <- grep(paste0("v", highestVersionNr), hi_datasets, value = TRUE) + highestVersionNr <- max(as.numeric(str_extract(hi_datasets, "(?<=v)(.*?)(?=_)"))) + hi_versionToUse <- grep(paste0("v", highestVersionNr), hi_datasets, value = TRUE) - } else if (length(hi_versionToUse) >= 2) { - stop("Duplicated version IDs were found in the health impacts datasets, only one is expected.") - } + } else if (length(hi_versionToUse) >= 2) { + stop("Duplicated version IDs were found in the health impacts datasets, only one is expected.") + } - hi_versionToUse_path <- file.path(hi_datasets_path, hi_versionToUse) - hi_gdx <- suppressWarnings(readGDX(hi_versionToUse_path)) - - .appendHealthImpacts <- function(.x) { - cfg <- gms::loadConfig(file.path(.x, "config.yml")) - title <- cfg$title - - message("Appending health impact report: ", title) - tryCatch( - expr = { - appendReportHealthImpacts(healthImpacts_gdx = hi_gdx, scenario = title, dir = .x) - }, error = function(e) { - message("Unable to append health impacts for scenario: ", title, ". Likely it is non-dietary.") - } - ) - } - lapply(X = outputdir, FUN = .appendHealthImpacts) + hi_versionToUse_path <- file.path(hi_datasets_path, hi_versionToUse) + hi_gdx <- suppressWarnings(readGDX(hi_versionToUse_path)) + + .appendHealthImpacts <- function(.x) { + cfg <- gms::loadConfig(file.path(.x, "config.yml")) + title <- cfg$title + + message("Appending health impact report: ", title) + tryCatch( + expr = { + appendReportHealthImpacts(healthImpacts_gdx = hi_gdx, scenario = title, dir = .x) + }, error = function(e) { + message("Unable to append health impacts for scenario: ", title, ". Likely it is non-dietary.") + } + ) + } + lapply(X = outputdir, FUN = .appendHealthImpacts) } else { - message("The directory storing health impacts datasets wasn't found. Skipping health impacts.") + message("The directory storing health impacts datasets wasn't found. Skipping health impacts.") } magicc7_datasets_path <- "/p/projects/magpie/data/FSEC_magicc7Datasets_raw" if (dir.exists(magicc7_datasets_path)) { - magicc7_datasets <- list.files(magicc7_datasets_path) - magicc7_versionToUse <- grep(rev, magicc7_datasets, value = TRUE) + magicc7_datasets <- list.files(magicc7_datasets_path) + magicc7_versionToUse <- grep(rev, magicc7_datasets, value = TRUE) - if (length(magicc7_versionToUse) == 0) { + if (length(magicc7_versionToUse) == 0) { - message("No corresponding version ID was found within the MAGICC7 datasets. Using the latest available.") + message("No corresponding version ID was found within the MAGICC7 datasets. Using the latest available.") - highestVersionNr <- max(as.numeric(str_extract(magicc7_datasets, "(?<=v)(.*?)(?=_)"))) - magicc7_versionToUse <- grep(paste0("v", highestVersionNr), magicc7_datasets, value = TRUE) + highestVersionNr <- max(as.numeric(str_extract(magicc7_datasets, "(?<=v)(.*?)(?=_)"))) + magicc7_versionToUse <- grep(paste0("v", highestVersionNr), magicc7_datasets, value = TRUE) - } else if (length(magicc7_versionToUse) >= 2) { - stop("Duplicated version IDs were found in the MAGICC7 datasets, only one is expected.") - } + } else if (length(magicc7_versionToUse) >= 2) { + stop("Duplicated version IDs were found in the MAGICC7 datasets, only one is expected.") + } - magicc7_versionToUse_path <- file.path(magicc7_datasets_path, magicc7_versionToUse) + magicc7_versionToUse_path <- file.path(magicc7_datasets_path, magicc7_versionToUse) .appendMAGICC7 <- function(.x) { - cfg <- gms::loadConfig(file.path(.x, "config.yml")) - title <- cfg$title - - tryCatch( - expr = { - appendReportMAGICC7(resultsPath = magicc7_versionToUse_path, scenario = title, dir = .x) - }, error = function(e) { - message("Unable to append MAGICC7 dataset for scenario: ", title) - } - ) + cfg <- gms::loadConfig(file.path(.x, "config.yml")) + title <- cfg$title + + tryCatch( + expr = { + appendReportMAGICC7(resultsPath = magicc7_versionToUse_path, scenario = title, dir = .x) + }, error = function(e) { + message("Unable to append MAGICC7 dataset for scenario: ", title) + } + ) } lapply(X = outputdir, FUN = .appendMAGICC7) } else { - message("The directory storing MAGICC7 datasets wasn't found. Skipping AR6 global warming calculations.") + message("The directory storing MAGICC7 datasets wasn't found. Skipping AR6 global warming calculations.") } @@ -149,7 +149,24 @@ var_reg <- c(indicators_main, "Nutrition|Calorie Supply|+|Crops", "Nutrition|Calorie Supply|+|Livestock products", "Demand|++|Crops", + "Demand|Food|+|Crops", + "Demand|Feed|+|Crops", + "Demand|Feed|+|Pasture", + "Demand|Feed|+|Secondary products", + "Demand|Feed|+|Crop residues", + "Demand|Seed|+|Crops", + "Demand|Material|+|Crops", + "Demand|Processing|+|Crops", "Demand|++|Livestock products", + "Production|+|Crops", + "Production|Crops|+|Cereals", + "Production|Crops|+|Oil crops", + "Production|Crops|+|Sugar crops", + "Production|Crops|Other crops|+|Fruits Vegetables Nuts", + "Production|+|Livestock products", + "Production|+|Secondary products", + "Production|+|Pasture", + "Timber|Volumetric|Production|Roundwood", "Resources|Land Cover", "Resources|Land Cover|+|Cropland", "Resources|Land Cover|+|Pastures and Rangelands", @@ -159,10 +176,60 @@ var_reg <- c(indicators_main, "Resources|Land Cover|Forest|Natural Forest|+|Secondary Forest", "Resources|Land Cover|+|Other Land", "Resources|Land Cover|+|Urban Area", + "Resources|Land Cover|Cropland|+|Croparea", + "Resources|Land Cover|Cropland|+|Fallow Cropland", + "Resources|Land Cover|Cropland|Croparea|Crops|+|Cereals", + "Resources|Land Cover|Cropland|Croparea|Crops|Cereals|+|Maize", + "Resources|Land Cover|Cropland|Croparea|Crops|Cereals|+|Rice", + "Resources|Land Cover|Cropland|Croparea|Crops|Cereals|+|Temperate cereals", + "Resources|Land Cover|Cropland|Croparea|Crops|Cereals|+|Tropical cereals", + "Resources|Land Cover|Cropland|Croparea|Crops|+|Oil crops", + "Resources|Land Cover|Cropland|Croparea|Crops|Oil crops|+|Cotton seed", + "Resources|Land Cover|Cropland|Croparea|Crops|Oil crops|+|Groundnuts", + "Resources|Land Cover|Cropland|Croparea|Crops|Oil crops|+|Oilpalms", + "Resources|Land Cover|Cropland|Croparea|Crops|Oil crops|+|Other oil crops incl rapeseed", + "Resources|Land Cover|Cropland|Croparea|Crops|Oil crops|+|Soybean", + "Resources|Land Cover|Cropland|Croparea|Crops|Oil crops|+|Sunflower", + "Resources|Land Cover|Cropland|Croparea|Crops|+|Sugar crops", + "Resources|Land Cover|Cropland|Croparea|Crops|Sugar crops|+|Sugar beet", + "Resources|Land Cover|Cropland|Croparea|Crops|Sugar crops|+|Sugar cane", + "Resources|Land Cover|Cropland|Croparea|Crops|Other crops|+|Fruits Vegetables Nuts", + "Resources|Land Cover|Cropland|Croparea|Crops|Other crops|+|Potatoes", + "Resources|Land Cover|Cropland|Croparea|Crops|Other crops|+|Pulses", + "Resources|Land Cover|Cropland|Croparea|Crops|Other crops|+|Tropical roots", + "Resources|Land Cover|Cropland|Croparea|+|Bioenergy crops", "Productivity|Landuse Intensity Indicator Tau", + "Productivity|Feed conversion efficiency|Ruminant meat and dairy", + "Productivity|Feed conversion efficiency|Monogastric meat", + "Productivity|Feed conversion efficiency|Poultry meat and eggs", + "Productivity|Feed conversion efficiency|+|Cereal Intensity", + "Productivity|Feed conversion efficiency|+|Oilcrop intensity", + "Productivity|Feed conversion efficiency|+|Pasture intensity", + "Productivity|Yield by physical area|+|Crops", + "Productivity|Yield by physical area|Crops|+|Cereals", + "Productivity|Yield by physical area|Crops|+|Oil crops", + "Productivity|Yield by physical area|Crops|+|Sugar crops", + "Productivity|Yield by physical area|Crops|+|Other crops", + "Productivity|Yield by physical area|Crops|Other crops|+|Fruits Vegetables Nuts", + "Productivity|Yield by physical area|+|Pasture", + "Productivity|Yield by physical area|+|Bioenergy crops", + "Productivity|Yield by physical area|+|Forage", + "Resources|Nitrogen|Cropland Budget|Inputs", "Resources|Nitrogen|Cropland Budget|Inputs|+|Fertilizer", - "Resources|Nitrogen|Nutrient surplus from land and manure management", + "Resources|Nitrogen|Cropland Budget|Inputs|+|Biological Fixation Symbiotic Crops", + "Resources|Nitrogen|Cropland Budget|Inputs|+|Manure Recycled from Confinements", + "Resources|Nitrogen|Cropland Budget|Inputs|+|Recycled Aboveground Crop Residues", + "Resources|Nitrogen|Cropland Budget|Withdrawals|+|Harvested Crops", + "Resources|Nitrogen|Cropland Budget|Withdrawals|+|Aboveground Crop Residues", + "Resources|Nitrogen|Cropland Budget|Balance|+|Nutrient Surplus", + "Resources|Nitrogen|Cropland Budget|Balance|+|Soil Organic Matter", + "Resources|Nitrogen|Pollution|Surplus|+|Cropland", + "Resources|Nitrogen|Pollution|Surplus|+|Pasture", + "Resources|Nitrogen|Pollution|Surplus|+|Animal Waste Management", + "Resources|Nitrogen|Pollution|Surplus|+|Non-agricultural land", "Resources|Water|Withdrawal|Agriculture", + "Resources|Land Cover|Cropland|Area equipped for irrigation", + "Value|Bioeconomy Demand", ### Maps "Costs", "Population", @@ -174,6 +241,17 @@ var_reg <- c(indicators_main, "Prices|Index2020|Agriculture|Food products|Livestock", "Prices|Index2020|Agriculture|Food products|Plant-based", "SDG|SDG02|Investment in AgR&D", + "Household Expenditure|Food|Expenditure|Crops", + "Household Expenditure|Food|Expenditure|Crops|Cereals", + "Household Expenditure|Food|Expenditure|Crops|Oil crops", + "Household Expenditure|Food|Expenditure|Crops|Other crops", + "Household Expenditure|Food|Expenditure|Crops|Sugar crops", + "Household Expenditure|Food|Expenditure|Fish", + "Household Expenditure|Food|Expenditure|Livestock products", + "Household Expenditure|Food|Expenditure|Secondary products", + "Household Expenditure|Food|Food Expenditure Share", + "SDG|SDG02|Food expenditure share", + "Value|Agriculture GDP", "Costs|TC", "Agricultural Research Intensity", "Nutrition|Calorie Intake", @@ -251,6 +329,68 @@ var_reg <- c(indicators_main, "Demand|+|Seed", "Demand|+|Roundwood", "Demand|+|Domestic Balanceflow", + "Trade|+|Net-Trade", + "Trade|Net-Trade|+|Crops", + "Trade|Net-Trade|+|Fish", + "Trade|Net-Trade|+|Forest products", + "Trade|Net-Trade|+|Livestock products", + "Trade|Net-Trade|+|Secondary products", + "Trade|Net-Trade|Crops|+|Cereals", + "Trade|Net-Trade|Crops|+|Oil crops", + "Trade|Net-Trade|Crops|+|Other crops", + "Trade|Net-Trade|Crops|+|Sugar crops", + "Trade|Net-Trade|Crops|Cereals|+|Maize", + "Trade|Net-Trade|Crops|Cereals|+|Rice", + "Trade|Net-Trade|Crops|Cereals|+|Temperate cereals", + "Trade|Net-Trade|Crops|Cereals|+|Tropical cereals", + "Trade|Net-Trade|Crops|Oil crops|+|Cotton seed", + "Trade|Net-Trade|Crops|Oil crops|+|Groundnuts", + "Trade|Net-Trade|Crops|Oil crops|+|Other oil crops incl rapeseed", + "Trade|Net-Trade|Crops|Oil crops|+|Soybean", + "Trade|Net-Trade|Crops|Oil crops|+|Sunflower", + "Trade|Net-Trade|Crops|Other crops|+|Fruits Vegetables Nuts", + "Trade|Net-Trade|Crops|Other crops|+|Potatoes", + "Trade|Net-Trade|Crops|Other crops|+|Pulses", + "Trade|Net-Trade|Crops|Other crops|+|Tropical roots", + "Trade|Net-Trade|Crops|Sugar crops|+|Sugar beet", + "Trade|Net-Trade|Crops|Sugar crops|+|Sugar cane", + "Trade|Net-Trade|Forest products|+|Industrial roundwood", + "Trade|Net-Trade|Forest products|+|Wood fuel", + "Trade|Net-Trade|Livestock products|+|Dairy", + "Trade|Net-Trade|Livestock products|+|Eggs", + "Trade|Net-Trade|Livestock products|+|Monogastric meat", + "Trade|Net-Trade|Livestock products|+|Poultry meat", + "Trade|Net-Trade|Livestock products|+|Ruminant meat", + "Trade|Net-Trade|Secondary products|+|Sugar", + "Trade|Self-sufficiency|Crops|Cereals", + "Trade|Self-sufficiency|Crops|Cereals|Maize", + "Trade|Self-sufficiency|Crops|Cereals|Rice", + "Trade|Self-sufficiency|Crops|Cereals|Temperate cereals", + "Trade|Self-sufficiency|Crops|Cereals|Tropical cereals", + "Trade|Self-sufficiency|Crops|Other crops", + "Trade|Self-sufficiency|Crops|Other crops|Fruits Vegetables Nuts", + "Trade|Self-sufficiency|Crops|Other crops|Potatoes", + "Trade|Self-sufficiency|Crops|Other crops|Pulses", + "Trade|Self-sufficiency|Crops|Other crops|Tropical roots", + "Trade|Self-sufficiency|Crops|Sugar crops|Sugar cane", + "Trade|Self-sufficiency|Fish", + "Trade|Self-sufficiency|Livestock products", + "Trade|Self-sufficiency|Livestock products|Dairy", + "Trade|Self-sufficiency|Livestock products|Eggs", + "Trade|Self-sufficiency|Livestock products|Monogastric meat", + "Trade|Self-sufficiency|Livestock products|Poultry meat", + "Trade|Self-sufficiency|Livestock products|Ruminant meat", + "Trade|Self-sufficiency|Secondary products", + "Trade|Self-sufficiency|Secondary products|Alcoholic beverages", + "Trade|Self-sufficiency|Secondary products|Brans", + "Trade|Self-sufficiency|Secondary products|Cotton lint", + "Trade|Self-sufficiency|Secondary products|Distillers grains", + "Trade|Self-sufficiency|Secondary products|Ethanol", + "Trade|Self-sufficiency|Secondary products|Microbial protein", + "Trade|Self-sufficiency|Secondary products|Molasses", + "Trade|Self-sufficiency|Secondary products|Oilcakes", + "Trade|Self-sufficiency|Secondary products|Oils", + "Trade|Self-sufficiency|Secondary products|Sugar", "Emissions|CO2|Land|+|Land-use Change", "Emissions|CH4|Land|+|Agriculture", "Emissions|N2O|Land|+|Agriculture", @@ -280,13 +420,225 @@ var_reg <- c(indicators_main, "Resources|Land Cover|Cropland|Crops|Other crops|+|Potatoes", "Resources|Land Cover|Cropland|Crops|Other crops|+|Pulses", "Resources|Land Cover|Cropland|Crops|Other crops|+|Tropical roots", + "Resources|Land Cover|Cropland|Crops|Cereals|irrigated", + "Resources|Land Cover|Cropland|Crops|Cereals|Maize|irrigated", + "Resources|Land Cover|Cropland|Crops|Cereals|Maize|rainfed", + "Resources|Land Cover|Cropland|Crops|Cereals|rainfed", + "Resources|Land Cover|Cropland|Crops|Cereals|Rice|irrigated", + "Resources|Land Cover|Cropland|Crops|Cereals|Rice|rainfed", + "Resources|Land Cover|Cropland|Crops|Cereals|Temperate cereals|irrigated", + "Resources|Land Cover|Cropland|Crops|Cereals|Temperate cereals|rainfed", + "Resources|Land Cover|Cropland|Crops|Cereals|Tropical cereals|irrigated", + "Resources|Land Cover|Cropland|Crops|Cereals|Tropical cereals|rainfed", + "Resources|Land Cover|Cropland|Crops|irrigated", + "Resources|Land Cover|Cropland|Crops|Oil crops|Groundnuts|irrigated", + "Resources|Land Cover|Cropland|Crops|Oil crops|Groundnuts|rainfed", + "Resources|Land Cover|Cropland|Crops|Oil crops|irrigated", + "Resources|Land Cover|Cropland|Crops|Oil crops|Other oil crops incl rapeseed|irrigated", + "Resources|Land Cover|Cropland|Crops|Oil crops|Other oil crops incl rapeseed|rainfed", + "Resources|Land Cover|Cropland|Crops|Oil crops|rainfed", + "Resources|Land Cover|Cropland|Crops|Other crops|Fruits Vegetables Nuts|irrigated", + "Resources|Land Cover|Cropland|Crops|Other crops|Fruits Vegetables Nuts|rainfed", + "Resources|Land Cover|Cropland|Crops|Other crops|irrigated", + "Resources|Land Cover|Cropland|Crops|Other crops|Potatoes|irrigated", + "Resources|Land Cover|Cropland|Crops|Other crops|Potatoes|rainfed", + "Resources|Land Cover|Cropland|Crops|Other crops|Pulses|irrigated", + "Resources|Land Cover|Cropland|Crops|Other crops|Pulses|rainfed", + "Resources|Land Cover|Cropland|Crops|Other crops|rainfed", + "Resources|Land Cover|Cropland|Crops|Other crops|Tropical roots|irrigated", + "Resources|Land Cover|Cropland|Crops|Other crops|Tropical roots|rainfed", + "Resources|Land Cover|Cropland|Crops|rainfed", + "Resources|Land Cover|Cropland|Crops|Sugar crops|irrigated", + "Resources|Land Cover|Cropland|Crops|Sugar crops|rainfed", + "Resources|Land Cover|Cropland|Crops|Sugar crops|Sugar beet|irrigated", + "Resources|Land Cover|Cropland|Crops|Sugar crops|Sugar beet|rainfed", + "Resources|Land Cover|Cropland|Crops|Sugar crops|Sugar cane|irrigated", + "Resources|Land Cover|Cropland|Crops|Sugar crops|Sugar cane|rainfed", + "Resources|Land Cover|Cropland|Forage|irrigated", + "Resources|Land Cover|Cropland|Forage|rainfed", "Resources|Land Cover|Cropland|+|Bioenergy crops", "Resources|Land Cover|Cropland|+|Fallow Cropland", + + "SDG|SDG15|Biological nitrogen fixation on cropland", + "SDG|SDG15|Non-agricultural land share", + "SDG|SDG15|Other natural land share", + "Resources|Nitrogen|Pollution|Surplus|+|Cropland", "Resources|Nitrogen|Pollution|Surplus|+|Pasture", "Resources|Nitrogen|Pollution|Surplus|+|Animal Waste Management", "Resources|Nitrogen|Pollution|Surplus|+|Non-agricultural land", "Resources|Water|Withdrawal|Agriculture", + + "Productivity|Feed conversion", + "Productivity|Feed conversion|Ruminant meat and dairy", + "Productivity|Feed conversion|Poultry meat and eggs", + "Productivity|Feed conversion|Monogastric meat", + "Productivity|Roughage share|Ruminant meat and dairy", + "Productivity|Pasture share|Ruminant meat and dairy", + "Productivity|Yield by physical area|+|Forage", + "Productivity|Yield by physical area|Crops|+|Cereals", + "Productivity|Yield by physical area|Crops|+|Oil crops", + "Productivity|Yield by physical area|Crops|+|Sugar crops", + "Productivity|Yield by physical area|+|Bioenergy crops", + "Productivity|Yield by physical area|Crops|+|Other crops", + + "Emissions|CH4_GWP*AR6|Land", + "Emissions|CH4_GWP*AR6|Land|+|Agriculture", + "Emissions|CH4_GWP*AR6|Land|+|Biomass Burning", + "Emissions|CH4_GWP*AR6|Land|+|Peatland", + "Emissions|CH4_GWP*AR6|Land|Agriculture|+|Animal waste management", + "Emissions|CH4_GWP*AR6|Land|Agriculture|+|Enteric fermentation", + "Emissions|CH4_GWP*AR6|Land|Agriculture|+|Rice", + "Emissions|CH4_GWP*AR6|Land|Biomass Burning|+|Burning of Crop Residues", + "Emissions|CH4_GWP*AR6|Land|Peatland|+|Managed", + "Emissions|CH4_GWP100AR6|Land", + "Emissions|CH4_GWP100AR6|Land|+|Agriculture", + "Emissions|CH4_GWP100AR6|Land|+|Biomass Burning", + "Emissions|CH4_GWP100AR6|Land|+|Peatland", + "Emissions|CH4_GWP100AR6|Land|Agriculture|+|Animal waste management", + "Emissions|CH4_GWP100AR6|Land|Agriculture|+|Enteric fermentation", + "Emissions|CH4_GWP100AR6|Land|Agriculture|+|Rice", + "Emissions|CH4_GWP100AR6|Land|Biomass Burning|+|Burning of Crop Residues", + "Emissions|CH4_GWP100AR6|Land|Peatland|+|Managed", + "Emissions|CH4|Land", + "Emissions|CH4|Land|+|Agriculture", + "Emissions|CH4|Land|+|Biomass Burning", + "Emissions|CH4|Land|+|Peatland", + "Emissions|CH4|Land|Agriculture|+|Animal waste management", + "Emissions|CH4|Land|Agriculture|+|Enteric fermentation", + "Emissions|CH4|Land|Agriculture|+|Rice", + "Emissions|CH4|Land|Biomass Burning|+|Burning of Crop Residues", + "Emissions|CH4|Land|Peatland|+|Managed", + "Emissions|CO2|Land", + "Emissions|CO2|Land RAW", + "Emissions|CO2|Land RAW|+|Indirect RAW", + "Emissions|CO2|Land RAW|+|Land-use Change RAW", + "Emissions|CO2|Land|+|Indirect", + "Emissions|CO2|Land|+|Land-use Change", + "Emissions|CO2|Land|Cumulative", + "Emissions|CO2|Land|Cumulative|+|Indirect", + "Emissions|CO2|Land|Cumulative|+|Land-use Change", + "Emissions|CO2|Land|Cumulative|Land-use Change|+|Gross LUC", + "Emissions|CO2|Land|Cumulative|Land-use Change|+|Peatland", + "Emissions|CO2|Land|Cumulative|Land-use Change|+|Regrowth", + "Emissions|CO2|Land|Cumulative|Land-use Change|Gross LUC|+|Forest Degradation", + "Emissions|CO2|Land|Cumulative|Land-use Change|Regrowth|CO2-price AR", + "Emissions|CO2|Land|Cumulative|Land-use Change|Regrowth|NPI_NDC AR", + "Emissions|CO2|Land|Cumulative|Land-use Change|Regrowth|Other Land", + "Emissions|CO2|Land|Cumulative|Land-use Change|Regrowth|Secondary Forest", + "Emissions|CO2|Land|Cumulative|Land-use Change|Regrowth|Timber Plantations", + "Emissions|CO2|Land|Land-use Change|++|Above Ground Carbon", + "Emissions|CO2|Land|Land-use Change|++|Below Ground Carbon", + "Emissions|CO2|Land|Land-use Change|+|Gross LUC", + "Emissions|CO2|Land|Land-use Change|+|Peatland", + "Emissions|CO2|Land|Land-use Change|+|Regrowth", + "Emissions|CO2|Land|Land-use Change|Gross LUC|+|Forest Degradation", + "Emissions|CO2|Land|Land-use Change|Regrowth|CO2-price AR", + "Emissions|CO2|Land|Land-use Change|Regrowth|NPI_NDC AR", + "Emissions|CO2|Land|Land-use Change|Regrowth|Other Land", + "Emissions|CO2|Land|Land-use Change|Regrowth|Secondary Forest", + "Emissions|CO2|Land|Land-use Change|Regrowth|Timber Plantations", + "Emissions|GWP100AR6|Land", + "Emissions|GWP100AR6|Land|Cumulative", + "Emissions|N2O_GWP100AR6|Land", + "Emissions|N2O_GWP100AR6|Land|+|Agriculture", + "Emissions|N2O_GWP100AR6|Land|+|Biomass Burning", + "Emissions|N2O_GWP100AR6|Land|+|Peatland", + "Emissions|N2O_GWP100AR6|Land|Agriculture|+|Agricultural Soils", + "Emissions|N2O_GWP100AR6|Land|Agriculture|+|Animal Waste Management", + "Emissions|N2O_GWP100AR6|Land|Agriculture|Agricultural Soils|+|Decay of Crop Residues", + "Emissions|N2O_GWP100AR6|Land|Agriculture|Agricultural Soils|+|Inorganic Fertilizers", + "Emissions|N2O_GWP100AR6|Land|Agriculture|Agricultural Soils|+|Manure applied to Croplands", + "Emissions|N2O_GWP100AR6|Land|Agriculture|Agricultural Soils|+|Pasture", + "Emissions|N2O_GWP100AR6|Land|Agriculture|Agricultural Soils|+|Soil Organic Matter Loss", + "Emissions|N2O_GWP100AR6|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Cropland", + "Emissions|N2O_GWP100AR6|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Pasture", + "Emissions|N2O_GWP100AR6|Land|Biomass Burning|+|Burning of Crop Residues", + "Emissions|N2O_GWP100AR6|Land|Peatland|+|Managed", + "Emissions|N2O|Direct|Land", + "Emissions|N2O|Direct|Land|+|Agriculture", + "Emissions|N2O|Direct|Land|+|Biomass Burning", + "Emissions|N2O|Direct|Land|Agriculture|+|Agricultural Soils", + "Emissions|N2O|Direct|Land|Agriculture|+|Animal Waste Management", + "Emissions|N2O|Direct|Land|Agriculture|Agricultural Soils|+|Decay of Crop Residues", + "Emissions|N2O|Direct|Land|Agriculture|Agricultural Soils|+|Inorganic Fertilizers", + "Emissions|N2O|Direct|Land|Agriculture|Agricultural Soils|+|Manure applied to Croplands", + "Emissions|N2O|Direct|Land|Agriculture|Agricultural Soils|+|Pasture", + "Emissions|N2O|Direct|Land|Agriculture|Agricultural Soils|+|Soil Organic Matter Loss", + "Emissions|N2O|Direct|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Cropland", + "Emissions|N2O|Direct|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Pasture", + "Emissions|N2O|Direct|Land|Biomass Burning|+|Burning of Crop Residues", + "Emissions|N2O|Indirect|Land", + "Emissions|N2O|Indirect|Land|+|Agriculture", + "Emissions|N2O|Indirect|Land|+|Biomass Burning", + "Emissions|N2O|Indirect|Land|Agriculture|+|Agricultural Soils", + "Emissions|N2O|Indirect|Land|Agriculture|+|Animal Waste Management", + "Emissions|N2O|Indirect|Land|Agriculture|Agricultural Soils|+|Decay of Crop Residues", + "Emissions|N2O|Indirect|Land|Agriculture|Agricultural Soils|+|Inorganic Fertilizers", + "Emissions|N2O|Indirect|Land|Agriculture|Agricultural Soils|+|Manure applied to Croplands", + "Emissions|N2O|Indirect|Land|Agriculture|Agricultural Soils|+|Pasture", + "Emissions|N2O|Indirect|Land|Agriculture|Agricultural Soils|+|Soil Organic Matter Loss", + "Emissions|N2O|Indirect|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Cropland", + "Emissions|N2O|Indirect|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Pasture", + "Emissions|N2O|Indirect|Land|Biomass Burning|+|Burning of Crop Residues", + "Emissions|N2O|Land", + "Emissions|N2O|Land|+|Agriculture", + "Emissions|N2O|Land|+|Biomass Burning", + "Emissions|N2O|Land|+|Peatland", + "Emissions|N2O|Land|Agriculture|+|Agricultural Soils", + "Emissions|N2O|Land|Agriculture|+|Animal Waste Management", + "Emissions|N2O|Land|Agriculture|Agricultural Soils|+|Decay of Crop Residues", + "Emissions|N2O|Land|Agriculture|Agricultural Soils|+|Inorganic Fertilizers", + "Emissions|N2O|Land|Agriculture|Agricultural Soils|+|Manure applied to Croplands", + "Emissions|N2O|Land|Agriculture|Agricultural Soils|+|Pasture", + "Emissions|N2O|Land|Agriculture|Agricultural Soils|+|Soil Organic Matter Loss", + "Emissions|N2O|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Cropland", + "Emissions|N2O|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Pasture", + "Emissions|N2O|Land|Biomass Burning|+|Burning of Crop Residues", + "Emissions|N2O|Land|Peatland|+|Managed", + "Emissions|NH3|Land", + "Emissions|NH3|Land|+|Agriculture", + "Emissions|NH3|Land|+|Biomass Burning", + "Emissions|NH3|Land|Agriculture|+|Agricultural Soils", + "Emissions|NH3|Land|Agriculture|+|Animal Waste Management", + "Emissions|NH3|Land|Agriculture|Agricultural Soils|+|Decay of Crop Residues", + "Emissions|NH3|Land|Agriculture|Agricultural Soils|+|Inorganic Fertilizers", + "Emissions|NH3|Land|Agriculture|Agricultural Soils|+|Manure applied to Croplands", + "Emissions|NH3|Land|Agriculture|Agricultural Soils|+|Pasture", + "Emissions|NH3|Land|Agriculture|Agricultural Soils|+|Soil Organic Matter Loss", + "Emissions|NH3|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Cropland", + "Emissions|NH3|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Pasture", + "Emissions|NH3|Land|Biomass Burning|+|Burning of Crop Residues", + "Emissions|NO2|Land", + "Emissions|NO2|Land|+|Agriculture", + "Emissions|NO2|Land|+|Biomass Burning", + "Emissions|NO2|Land|Agriculture|+|Agricultural Soils", + "Emissions|NO2|Land|Agriculture|+|Animal Waste Management", + "Emissions|NO2|Land|Agriculture|Agricultural Soils|+|Decay of Crop Residues", + "Emissions|NO2|Land|Agriculture|Agricultural Soils|+|Inorganic Fertilizers", + "Emissions|NO2|Land|Agriculture|Agricultural Soils|+|Manure applied to Croplands", + "Emissions|NO2|Land|Agriculture|Agricultural Soils|+|Pasture", + "Emissions|NO2|Land|Agriculture|Agricultural Soils|+|Soil Organic Matter Loss", + "Emissions|NO2|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Cropland", + "Emissions|NO2|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Pasture", + "Emissions|NO2|Land|Biomass Burning|+|Burning of Crop Residues", + "Emissions|NO3-|Land", + "Emissions|NO3-|Land|+|Agriculture", + "Emissions|NO3-|Land|+|Biomass Burning", + "Emissions|NO3-|Land|Agriculture|+|Agricultural Soils", + "Emissions|NO3-|Land|Agriculture|+|Animal Waste Management", + "Emissions|NO3-|Land|Agriculture|Agricultural Soils|+|Decay of Crop Residues", + "Emissions|NO3-|Land|Agriculture|Agricultural Soils|+|Inorganic Fertilizers", + "Emissions|NO3-|Land|Agriculture|Agricultural Soils|+|Manure applied to Croplands", + "Emissions|NO3-|Land|Agriculture|Agricultural Soils|+|Pasture", + "Emissions|NO3-|Land|Agriculture|Agricultural Soils|+|Soil Organic Matter Loss", + "Emissions|NO3-|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Cropland", + "Emissions|NO3-|Land|Agriculture|Agricultural Soils|Inorganic Fertilizers|+|Pasture", + "Emissions|NO3-|Land|Biomass Burning|+|Burning of Crop Residues", + + "SDG|SDG15|Afforestation", + + "Nutrition|Anthropometrics|People normalweight", "Nutrition|Anthropometrics|People obese", "Nutrition|Anthropometrics|People overweight", @@ -315,7 +667,7 @@ var_reg <- c(indicators_main, "Health|Percent change in Years of life lost|Disease|+|Cancer", "Health|Percent change in Years of life lost|Disease|+|Type-2 Diabetes", "Health|Percent change in Years of life lost|Disease|+|Respiratory Disease" - ) +) var_reg <- unique(var_reg) var_iso <- c("Population", @@ -372,10 +724,10 @@ for (i in 1:length(outputdir)) { ## Gridded temperature data from ISIMIP archive for relevant SSP/RCP rcp <- switch(thisScen, - "BAU" = "ssp460", - "FSDP" = "ssp119", - "SSP2fsdp" = "ssp245", - "Invalid case") + "BAU" = "ssp460", + "FSDP" = "ssp119", + "SSP2fsdp" = "ssp245", + "Invalid case") nc_file <- "./input/FSEC_GlobalSurfaceTempPerRCP_v3_04-05-23/FSEC_GlobalSurfaceTempPerRCP_v3_04-05-23.mz" if (file.exists(nc_file)) { @@ -516,7 +868,7 @@ write.csv(reg2iso, file.path("output", "reg2iso.csv")) saveRDS(reg2iso, file = file.path("output", "reg2iso.rds"), version = 2, compress = "xz") # save validation file -val <- file.path(outputdir[1], "validation.mif") +val <- file.path("input", "validation.mif") val <- as.data.table(read.quitte(val)) saveRDS(val, file = file.path("output", paste0(rev, "_FSDP_validation.rds")), version = 2, compress = "xz") From 3441ff4123835146f05f0aa3ce308947975d9f26 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 4 Mar 2024 10:36:03 +0100 Subject: [PATCH 05/25] added labor productivity scenarios as sensitivity check for FSEC revision --- config/scenario_fsec.csv | 152 +++++++++--------- scripts/projects/fsec.R | 8 + .../start/projects/project_FSEC_Scenarios.R | 12 +- 3 files changed, 88 insertions(+), 84 deletions(-) diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv index 0934d6ae94..9da4acfe72 100644 --- a/config/scenario_fsec.csv +++ b/config/scenario_fsec.csv @@ -1,75 +1,77 @@ -;FSEC;population;institutions;energy;bioplastics;capitalSubst;minWage;noUnderweight;halfOverweight;fruitsNutsVegSeeds;monogastrics;ruminants;pulses;processed;fish;waste;awms;livestock;cropefficiency;nueMAC;riceMAC;biodiversity;fairTrade;timberCities;REDDaff;REDD;landscapeElements;landSharing;landSparing;waterSparing;peatland;soil;allDiet;allDietAndWaste;allEnvPrice;allEmisPrice;SSP1;SSP2;SSP3;SSP4;SSP5;RCP19;RCP26;RCP34;RCP45;RCP60;RCP70;RCP85;SSP1energy -gms$c09_pop_scenario;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c09_gdp_scenario;;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c09_pal_scenario;;;SDP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s12_interest_lic;;;0.06;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s12_interest_hic;;;0.04;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$food;anthro_iso_jun22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s14_use_yield_calib;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_waste;;;;;;;;0;0;0;0;0;0;0;0;1;;;;;;;;;;;;;;;;;0;1;;;;;;;;;;;;;;; -gms$s15_exo_diet;;;;;;;;1;1;1;1;1;1;1;1;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$c15_kcal_scen;;;;;;;;no_underweight;half_overweight;endo;endo;endo;endo;endo;endo;endo;;;;;;;;;;;;;;;;;no_underweight_half_overweight;no_underweight_half_overweight;;;;;;;;;;;;;;; -gms$c15_EAT_scen;;;;;;;;FLX;FLX;FLX;FLX;FLX;FLX;FLX;FLX;FLX;;;;;;;;;;;;;;;;;FLX;FLX;;;;;;;;;;;;;;; -gms$s15_exo_monogastric;;;;;;;;0;0;0;1;0;0;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$s15_exo_ruminant;;;;;;;;0;0;0;0;1;0;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$s15_exo_fish;;;;;;;;0;0;0;0;0;0;0;1;0;;;;;;;;;;;;;;;;;0;0;;;;;;;;;;;;;;; -gms$s15_exo_fruitvegnut;;;;;;;;0;0;1;0;0;0;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$s15_exo_roots;;;;;;;;0;0;1;0;0;0;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$s15_exo_pulses;;;;;;;;0;0;0;0;0;1;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$s15_exo_sugar;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$s15_exo_oils;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$s15_exo_scp;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$s15_exo_alcohol;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;; -gms$s15_alc_scen;0.014;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c15_food_scenario;;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c21_trade_liberalization;;;;;;;;;;;;;;;;;;;;;;;l908080r807070;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c22_protect_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;BH_IFL;;;;;;;;;;;;;;;;;;;; -gms$crop;penalty_apr22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c30_rotation_scenario;default;;;;;;;;;;;;;;;;;;;;;;;;;;;agroecology;;;;;;;;;;;;;;;;;;;;; -gms$s30_rotation_scenario_target;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;; -gms$c30_marginal_land;q33_marginal;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c30_bioen_water;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rainfed;;;;;;;;;;;;;;;;;;; -gms$s30_snv_scenario_target;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;; -gms$s30_snv_shr;;;;;;;;;;;;;;;;;;;;;;;;;;;0.2;;;;;;;;;;;;;;;;;;;;;; -gms$past;endo_jun13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c32_aff_policy;;;;;;;;;;;;;;;;;;;;;;;;;ndc;;;;;;;;;;;;;;;;;;;;;;;; -gms$c32_aff_mask;;;;;;;;;;;;;;;;;;;;;;;;;onlytropical;;;;;;;;;;;;;;;;;;;;;;;; -gms$s32_max_aff_area;;;;;;;;;;;;;;;;;;;;;;;;;500;;;;;;;;;;;;;;;;;;;;;;;; -gms$c34_urban_scenario;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s35_forest_damage_end;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;2050;2050;2050;2050;;;;;;;; -gms$s36_minimum_wage;0;;;;;;3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$factor_costs;sticky_labor;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c38_fac_req;reg;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s38_target_labor_share;0;;;;;0.8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s42_watdem_nonagr_scenario;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c42_env_flow_policy;off;;;;;;;;;;;;;;;;;;;;;;;;;;;;;on;;;;;;;;;;;;;;;;;;; -gms$s42_efp_startyear;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020;;;;;;;;;;;;;;;;;;; -gms$s42_efp_targetyear;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;; -gms$s44_bii_lower_bound;;;;;;;;;;;;;;;;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c44_bii_decrease;;;;;;;;;;;;;;;;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$nitrogen;rescaled_jan21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c50_scen_neff;;;baseeff_add3_add10_add20_max75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c50_scen_neff_noselect;;;baseeff_add3_add10_add20_max75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c52_land_carbon_sink_rcp;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;RCP19;RCP26;RCP34;RCP45;RCP60;RCPBU;RCPBU; -gms$c55_scen_conf;;;;;;;;;;;;;;;;;GoodPractice;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c56_emis_policy;none;;;;;;;;;;;;;;;;;;sdp_cropeff;;;;;;sdp_redd;sdp_redd;;;;;sdp_peatland;sdp_soil;;;sdp_redd_soil_peat;sdp_all;;;;;;;;;;;;; -gms$c56_pollutant_prices;R32M46-SSP2EU-PkBudg1050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s56_c_price_induced_aff;0;;;;;;;;;;;;;;;;;;;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;; -gms$s57_maxmac_n_soil;-1;;;;;;;;;;;;;;;;;;;201;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s57_maxmac_ch4_rice;-1;;;;;;;;;;;;;;;;;;;;201;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s57_maxmac_ch4_entferm;-1;;;;;;;;;;;;;;;;;201;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s57_maxmac_ch4_awms;-1;;;;;;;;;;;;;;;;201;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s58_rewetting_switch;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;Inf;;;;;;;;;;;;;;;;;; -gms$som;cellpool_aug16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c60_2ndgen_biodem;;;;R32M46-SSP2EU-PkBudg650;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;R32M46-SSP1-PkBudg650 -gms$c60_res_2ndgenBE_dem;;;;sdp;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s62_max_dem_bioplastic;0;;;;400;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c70_fac_req_regr;reg;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c70_feed_scen;;;;;;;;;;;;;;;;;;ssp1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c73_build_demand;;;;;;;;;;;;;;;;;;;;;;;;50pc;;;;;;;;;;;;;;;;;;;;;;;;; -input['cellular'];rev4.99_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rev4.99_FSEC_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz;rev4.99_FSEC_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz;;rev4.99_FSEC_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz;rev4.99_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;rev4.99_FSEC_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz;rev4.99_FSEC_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz; -input['regional'];rev4.99_FSEC_magpie.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['validation'];rev4.99_FSEC_validation.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['additional'];additional_data_rev4.48.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['calibration'];calibration_FSEC_24Mar23.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -magicc_emis_scen;bjoernAR6_C_SSP2-NDC.mif;;;bjoernAR6_C_SSP2-PkBudg900.mif;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bjoernAR6_C_SSP1-NDC.mif;;;;;;;;;;;;bjoernAR6_C_SSP1-PkBudg900.mif +;FSEC;population;institutions;energy;bioplastics;capitalSubst;minWage;noUnderweight;halfOverweight;fruitsNutsVegSeeds;monogastrics;ruminants;pulses;processed;fish;waste;awms;livestock;cropefficiency;nueMAC;riceMAC;biodiversity;fairTrade;timberCities;REDDaff;REDD;landscapeElements;landSharing;landSparing;waterSparing;peatland;soil;allDiet;allDietAndWaste;allEnvPrice;allEmisPrice;SSP1;SSP2;SSP3;SSP4;SSP5;RCP19;RCP26;RCP34;RCP45;RCP60;RCP70;RCP85;SSP1energy;labor8p5;labor1p9 +gms$c09_pop_scenario;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c09_gdp_scenario;;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c09_pal_scenario;;;SDP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s12_interest_lic;;;0.06;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s12_interest_hic;;;0.04;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$food;anthro_iso_jun22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s14_use_yield_calib;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_waste;;;;;;;;0;0;0;0;0;0;0;0;1;;;;;;;;;;;;;;;;;0;1;;;;;;;;;;;;;;;;; +gms$s15_exo_diet;;;;;;;;1;1;1;1;1;1;1;1;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$c15_kcal_scen;;;;;;;;no_underweight;half_overweight;endo;endo;endo;endo;endo;endo;endo;;;;;;;;;;;;;;;;;no_underweight_half_overweight;no_underweight_half_overweight;;;;;;;;;;;;;;;;; +gms$c15_EAT_scen;;;;;;;;FLX;FLX;FLX;FLX;FLX;FLX;FLX;FLX;FLX;;;;;;;;;;;;;;;;;FLX;FLX;;;;;;;;;;;;;;;;; +gms$s15_exo_monogastric;;;;;;;;0;0;0;1;0;0;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$s15_exo_ruminant;;;;;;;;0;0;0;0;1;0;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$s15_exo_fish;;;;;;;;0;0;0;0;0;0;0;1;0;;;;;;;;;;;;;;;;;0;0;;;;;;;;;;;;;;;;; +gms$s15_exo_fruitvegnut;;;;;;;;0;0;1;0;0;0;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$s15_exo_roots;;;;;;;;0;0;1;0;0;0;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$s15_exo_pulses;;;;;;;;0;0;0;0;0;1;0;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$s15_exo_sugar;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$s15_exo_oils;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$s15_exo_scp;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$s15_exo_alcohol;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; +gms$s15_alc_scen;0.014;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c15_food_scenario;;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c21_trade_liberalization;;;;;;;;;;;;;;;;;;;;;;;l908080r807070;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c22_protect_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;BH_IFL;;;;;;;;;;;;;;;;;;;;;; +gms$crop;penalty_apr22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c30_rotation_scenario;default;;;;;;;;;;;;;;;;;;;;;;;;;;;agroecology;;;;;;;;;;;;;;;;;;;;;;; +gms$s30_rotation_scenario_target;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;; +gms$c30_marginal_land;q33_marginal;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c30_bioen_water;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rainfed;;;;;;;;;;;;;;;;;;;;; +gms$s30_snv_scenario_target;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;;; +gms$s30_snv_shr;;;;;;;;;;;;;;;;;;;;;;;;;;;0.2;;;;;;;;;;;;;;;;;;;;;;;; +gms$past;endo_jun13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c32_aff_policy;;;;;;;;;;;;;;;;;;;;;;;;;ndc;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c32_aff_mask;;;;;;;;;;;;;;;;;;;;;;;;;onlytropical;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s32_max_aff_area;;;;;;;;;;;;;;;;;;;;;;;;;500;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c34_urban_scenario;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s35_forest_damage_end;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;2050;2050;2050;2050;;;;;;;;;; +gms$s36_minimum_wage;0;;;;;;3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$factor_costs;sticky_labor;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$labor_prod;off;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;on;on +gms$c37_labor_rcp;rcp119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rcp585;rcp119 +gms$c38_fac_req;reg;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s38_target_labor_share;0;;;;;0.8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s42_watdem_nonagr_scenario;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c42_env_flow_policy;off;;;;;;;;;;;;;;;;;;;;;;;;;;;;;on;;;;;;;;;;;;;;;;;;;;; +gms$s42_efp_startyear;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020;;;;;;;;;;;;;;;;;;;;; +gms$s42_efp_targetyear;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;; +gms$s44_bii_lower_bound;;;;;;;;;;;;;;;;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c44_bii_decrease;;;;;;;;;;;;;;;;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$nitrogen;rescaled_jan21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c50_scen_neff;;;baseeff_add3_add10_add20_max75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c50_scen_neff_noselect;;;baseeff_add3_add10_add20_max75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c52_land_carbon_sink_rcp;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;RCP19;RCP26;RCP34;RCP45;RCP60;RCPBU;RCPBU;;; +gms$c55_scen_conf;;;;;;;;;;;;;;;;;GoodPractice;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c56_emis_policy;none;;;;;;;;;;;;;;;;;;sdp_cropeff;;;;;;sdp_redd;sdp_redd;;;;;sdp_peatland;sdp_soil;;;sdp_redd_soil_peat;sdp_all;;;;;;;;;;;;;;; +gms$c56_pollutant_prices;R32M46-SSP2EU-PkBudg1050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s56_c_price_induced_aff;0;;;;;;;;;;;;;;;;;;;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s57_maxmac_n_soil;-1;;;;;;;;;;;;;;;;;;;201;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s57_maxmac_ch4_rice;-1;;;;;;;;;;;;;;;;;;;;201;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s57_maxmac_ch4_entferm;-1;;;;;;;;;;;;;;;;;201;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s57_maxmac_ch4_awms;-1;;;;;;;;;;;;;;;;201;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s58_rewetting_switch;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;Inf;;;;;;;;;;;;;;;;;;;; +gms$som;cellpool_aug16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c60_2ndgen_biodem;;;;R32M46-SSP2EU-PkBudg650;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;R32M46-SSP1-PkBudg650;; +gms$c60_res_2ndgenBE_dem;;;;sdp;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s62_max_dem_bioplastic;0;;;;400;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c70_fac_req_regr;reg;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c70_feed_scen;;;;;;;;;;;;;;;;;;ssp1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c73_build_demand;;;;;;;;;;;;;;;;;;;;;;;;50pc;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['cellular'];rev4.99_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rev4.99_FSEC_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz;rev4.99_FSEC_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz;;rev4.99_FSEC_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz;rev4.99_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;rev4.99_FSEC_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz;rev4.99_FSEC_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz;;; +input['regional'];rev4.99_FSEC_magpie.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['validation'];rev4.99_FSEC_validation.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['additional'];additional_data_rev4.48.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['calibration'];calibration_FSEC_24Mar23.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +magicc_emis_scen;bjoernAR6_C_SSP2-NDC.mif;;;bjoernAR6_C_SSP2-PkBudg900.mif;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bjoernAR6_C_SSP1-NDC.mif;;;;;;;;;;;;bjoernAR6_C_SSP1-PkBudg900.mif;; diff --git a/scripts/projects/fsec.R b/scripts/projects/fsec.R index 8800339922..b2cfeecaab 100644 --- a/scripts/projects/fsec.R +++ b/scripts/projects/fsec.R @@ -18,6 +18,8 @@ fsecScenario <- function(scenario) { x <- list(c_BAU = list(standard = c("cc", "SSP2", "NDC", "ForestryEndo"), fsec = c("FSEC", "RCP60")), + f_BAUlabor8p5 = list(standard = c("cc", "SSP2", "NDC", "ForestryEndo"), + fsec = c("FSEC", "RCP60", "labor8p5")), d_SSP1bau = list(standard = c("cc", "SSP1", "NDC", "ForestryEndo"), fsec = c("FSEC", "SSP1", "RCP45")), d_SSP1PLUSbau = list(standard = c("cc", "SSP1", "NDC", "ForestryEndo"), @@ -36,6 +38,12 @@ fsecScenario <- function(scenario) { "awms", "livestock", "nueMAC", "riceMAC", "biodiversity", "fairTrade", "capitalSubst", "minWage", "REDDaff", "REDD", "landscapeElements", "landSharing", "landSparing", "waterSparing", "peatland", "soil", "allDietAndWaste", "allEnvPrice", "SSP1energy", "RCP19")), + f_FSDPlabor1p9 = list(standard = c("cc", "SSP2", "NDC", "ForestryEndo"), + fsec = c("FSEC", + "energy", "bioplastics", "population", "institutions", "timberCities", + "awms", "livestock", "nueMAC", "riceMAC", "biodiversity", "fairTrade", "capitalSubst", "minWage", + "REDDaff", "REDD", "landscapeElements", "landSharing", "landSparing", "waterSparing", "peatland", + "soil", "allDietAndWaste", "allEnvPrice", "SSP1energy", "RCP19", "labor1p9")) # FSDPs (without external) d_SSP1fsdp = list(standard = c("cc", "SSP1", "NDC", "ForestryEndo"), fsec = c("FSEC", "SSP1", diff --git a/scripts/start/projects/project_FSEC_Scenarios.R b/scripts/start/projects/project_FSEC_Scenarios.R index e9fd046b76..c561f64530 100644 --- a/scripts/start/projects/project_FSEC_Scenarios.R +++ b/scripts/start/projects/project_FSEC_Scenarios.R @@ -29,15 +29,9 @@ for (scenarioName in c( "c_BAU", "d_SSP1bau", "d_SSP1PLUSbau", "d_SSP3bau", "d_SSP4bau", "d_SSP5bau", "d_SSP1fsdp", "d_SSP2fsdp", "d_SSP3fsdp", "d_SSP4fsdp", "d_SSP5fsdp", "e_FSDP", - "b_Diet", "b_Livelihoods", "b_NatureSparing", "b_AgroMngmt", "b_ExternalPressures" - # "b_WaterSoil", "b_REDDaffRuminants", "b_DietRotations", "b_MonogastricsRotations", - # "b_TradeRotations", "b_TradeREDDaff", "b_TradeSoil", - # "b_TradeMonogastrics", "b_TradeRuminants", "b_TradeVeggies", - # "b_SoilMonogastric", "b_SoilMonogastricRuminants", "b_SoilRotations", - # "b_MonogastricsVeggies", "b_LivestockManureMngmt", "b_LivestockNUEMngmt", - # "b_AllNitrogen", "b_AllClimate", "b_FullBiodiv", - # "b_AllEnvironment", "b_AllHealth", "b_Protection", "b_Efficiency", - # "b_AllInclusion", "b_LivelihoodsExt", "b_Bioeconomy", + "b_Diet", "b_Livelihoods", "b_NatureSparing", "b_AgroMngmt", "b_ExternalPressures", + # Sensitivity checks + "f_BAUlabor8p5", "f_FSDPlabor1p9" )) { # Start runs From 8a8625bbc57e70352789524fd823ad546e40e917 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 4 Mar 2024 10:40:52 +0100 Subject: [PATCH 06/25] switched off yield calib for FSEC runs --- config/scenario_fsec.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv index 9da4acfe72..4b0a0c309c 100644 --- a/config/scenario_fsec.csv +++ b/config/scenario_fsec.csv @@ -5,7 +5,7 @@ gms$c09_pal_scenario;;;SDP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s12_interest_lic;;;0.06;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s12_interest_hic;;;0.04;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$food;anthro_iso_jun22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s14_use_yield_calib;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s14_use_yield_calib;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s15_exo_waste;;;;;;;;0;0;0;0;0;0;0;0;1;;;;;;;;;;;;;;;;;0;1;;;;;;;;;;;;;;;;; gms$s15_exo_diet;;;;;;;;1;1;1;1;1;1;1;1;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; gms$c15_kcal_scen;;;;;;;;no_underweight;half_overweight;endo;endo;endo;endo;endo;endo;endo;;;;;;;;;;;;;;;;;no_underweight_half_overweight;no_underweight_half_overweight;;;;;;;;;;;;;;;;; @@ -73,5 +73,5 @@ input['cellular'];rev4.99_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lp input['regional'];rev4.99_FSEC_magpie.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; input['validation'];rev4.99_FSEC_validation.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; input['additional'];additional_data_rev4.48.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['calibration'];calibration_FSEC_24Mar23.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['calibration'];calibration_FSEC2024Mar01.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; magicc_emis_scen;bjoernAR6_C_SSP2-NDC.mif;;;bjoernAR6_C_SSP2-PkBudg900.mif;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bjoernAR6_C_SSP1-NDC.mif;;;;;;;;;;;;bjoernAR6_C_SSP1-PkBudg900.mif;; From 3d0c41cbeea346f392121cc6e477b0ff88896479 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 4 Mar 2024 11:11:04 +0100 Subject: [PATCH 07/25] bugfix: missing comma in fsec.R --- scripts/projects/fsec.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/projects/fsec.R b/scripts/projects/fsec.R index b2cfeecaab..353b948605 100644 --- a/scripts/projects/fsec.R +++ b/scripts/projects/fsec.R @@ -43,7 +43,7 @@ fsecScenario <- function(scenario) { "energy", "bioplastics", "population", "institutions", "timberCities", "awms", "livestock", "nueMAC", "riceMAC", "biodiversity", "fairTrade", "capitalSubst", "minWage", "REDDaff", "REDD", "landscapeElements", "landSharing", "landSparing", "waterSparing", "peatland", - "soil", "allDietAndWaste", "allEnvPrice", "SSP1energy", "RCP19", "labor1p9")) + "soil", "allDietAndWaste", "allEnvPrice", "SSP1energy", "RCP19", "labor1p9")), # FSDPs (without external) d_SSP1fsdp = list(standard = c("cc", "SSP1", "NDC", "ForestryEndo"), fsec = c("FSEC", "SSP1", From 4767d060cdf61a8d349d2c1b2a563b9431af64ca Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 4 Mar 2024 12:01:57 +0100 Subject: [PATCH 08/25] corrected typo in FSEC scenario config calibration tgz --- config/scenario_fsec.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv index 4b0a0c309c..d305e9c815 100644 --- a/config/scenario_fsec.csv +++ b/config/scenario_fsec.csv @@ -73,5 +73,5 @@ input['cellular'];rev4.99_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lp input['regional'];rev4.99_FSEC_magpie.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; input['validation'];rev4.99_FSEC_validation.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; input['additional'];additional_data_rev4.48.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['calibration'];calibration_FSEC2024Mar01.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['calibration'];calibration_FSEC_01Mar24.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; magicc_emis_scen;bjoernAR6_C_SSP2-NDC.mif;;;bjoernAR6_C_SSP2-PkBudg900.mif;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bjoernAR6_C_SSP1-NDC.mif;;;;;;;;;;;;bjoernAR6_C_SSP1-PkBudg900.mif;; From e1ba1cc143abc586411c5377379fa265500ee5a1 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Tue, 5 Mar 2024 09:24:37 +0100 Subject: [PATCH 09/25] change 1e-10 to 1e-6 for if condition of peatland equation --- modules/58_peatland/v2/equations.gms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/58_peatland/v2/equations.gms b/modules/58_peatland/v2/equations.gms index 02697f4001..fc39c057e4 100644 --- a/modules/58_peatland/v2/equations.gms +++ b/modules/58_peatland/v2/equations.gms @@ -50,8 +50,8 @@ q58_scalingFactorExp(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. v58_scalingFactorExp(j2,manPeat58) =e= (m58_LandLeft(pc58_peatland,"land58",v58_peatland,pc58_peatland) / m58_LandLeft(pcm_land,"land",v58_manLand,pc58_manLand)) - $(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) > 1e-10 AND m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) > 1e-10) - + 0$(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) <= 1e-10 OR m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) <= 1e-10); + $(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) > 1e-6 AND m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) > 1e-6) + + 0$(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) <= 1e-6 OR m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) <= 1e-6); *' Costs for peatland degradation and rewetting From da723737db57a0c6c87319dd7233c53c618c65e2 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Thu, 7 Mar 2024 09:25:09 +0100 Subject: [PATCH 10/25] changed som if condition to 1e-15 --- modules/59_som/cellpool_aug16/postsolve.gms | 2 +- modules/59_som/cellpool_aug16/presolve.gms | 2 +- modules/59_som/cellpool_jan23/postsolve.gms | 2 +- modules/59_som/cellpool_jan23/presolve.gms | 2 +- scripts/projects/fsec.R | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/59_som/cellpool_aug16/postsolve.gms b/modules/59_som/cellpool_aug16/postsolve.gms index a42deca6c5..63b99b4fbd 100644 --- a/modules/59_som/cellpool_aug16/postsolve.gms +++ b/modules/59_som/cellpool_aug16/postsolve.gms @@ -7,7 +7,7 @@ p59_som_pool(j,land) = v59_som_pool.l(j,land); p59_land_before(j,land) = vm_land.l(j,land); -p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-20) = p59_som_pool(j,land) / pcm_land(j,land); +p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-15) = p59_som_pool(j,land) / pcm_land(j,land); *#################### R SECTION START (OUTPUT DEFINITIONS) ##################### ov59_som_target(t,j,land,"marginal") = v59_som_target.m(j,land); diff --git a/modules/59_som/cellpool_aug16/presolve.gms b/modules/59_som/cellpool_aug16/presolve.gms index b07f421a73..e5a58b96cf 100644 --- a/modules/59_som/cellpool_aug16/presolve.gms +++ b/modules/59_som/cellpool_aug16/presolve.gms @@ -26,4 +26,4 @@ p59_som_pool(j,"primforest") = p59_som_pool(j,"primforest") - (p59_land_before(j,"primforest") - pcm_land(j,"primforest")) * p59_carbon_density(t-1,j,"primforest"); -p59_carbon_density(t,j,land)$(pcm_land(j,land)>1e-20) = p59_som_pool(j,land) / pcm_land(j,land); +p59_carbon_density(t,j,land)$(pcm_land(j,land)>1e-15) = p59_som_pool(j,land) / pcm_land(j,land); diff --git a/modules/59_som/cellpool_jan23/postsolve.gms b/modules/59_som/cellpool_jan23/postsolve.gms index a42deca6c5..63b99b4fbd 100644 --- a/modules/59_som/cellpool_jan23/postsolve.gms +++ b/modules/59_som/cellpool_jan23/postsolve.gms @@ -7,7 +7,7 @@ p59_som_pool(j,land) = v59_som_pool.l(j,land); p59_land_before(j,land) = vm_land.l(j,land); -p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-20) = p59_som_pool(j,land) / pcm_land(j,land); +p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-15) = p59_som_pool(j,land) / pcm_land(j,land); *#################### R SECTION START (OUTPUT DEFINITIONS) ##################### ov59_som_target(t,j,land,"marginal") = v59_som_target.m(j,land); diff --git a/modules/59_som/cellpool_jan23/presolve.gms b/modules/59_som/cellpool_jan23/presolve.gms index b07f421a73..e5a58b96cf 100644 --- a/modules/59_som/cellpool_jan23/presolve.gms +++ b/modules/59_som/cellpool_jan23/presolve.gms @@ -26,4 +26,4 @@ p59_som_pool(j,"primforest") = p59_som_pool(j,"primforest") - (p59_land_before(j,"primforest") - pcm_land(j,"primforest")) * p59_carbon_density(t-1,j,"primforest"); -p59_carbon_density(t,j,land)$(pcm_land(j,land)>1e-20) = p59_som_pool(j,land) / pcm_land(j,land); +p59_carbon_density(t,j,land)$(pcm_land(j,land)>1e-15) = p59_som_pool(j,land) / pcm_land(j,land); diff --git a/scripts/projects/fsec.R b/scripts/projects/fsec.R index 353b948605..50402a0412 100644 --- a/scripts/projects/fsec.R +++ b/scripts/projects/fsec.R @@ -14,7 +14,7 @@ fsecScenario <- function(scenario) { source("config/default.cfg") # Version number - v <- "v36_FSEC" + v <- "v37_FSEC" x <- list(c_BAU = list(standard = c("cc", "SSP2", "NDC", "ForestryEndo"), fsec = c("FSEC", "RCP60")), From 4737d9a3e78463b042fbfb3e9f66b17dc88b6784 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Thu, 7 Mar 2024 12:09:12 +0100 Subject: [PATCH 11/25] changed protection scenario to 30by30 in FSEC and added additional output scripts to EAT project for deep dive analysis --- config/scenario_fsec.csv | 2 +- scripts/start/projects/project_EAT2p0.R | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv index d305e9c815..cbf298cb44 100644 --- a/config/scenario_fsec.csv +++ b/config/scenario_fsec.csv @@ -23,7 +23,7 @@ gms$s15_exo_alcohol;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;; gms$s15_alc_scen;0.014;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c15_food_scenario;;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c21_trade_liberalization;;;;;;;;;;;;;;;;;;;;;;;l908080r807070;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c22_protect_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;BH_IFL;;;;;;;;;;;;;;;;;;;;;; +gms$c22_protect_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30by30;;;;;;;;;;;;;;;;;;;;;; gms$crop;penalty_apr22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c30_rotation_scenario;default;;;;;;;;;;;;;;;;;;;;;;;;;;;agroecology;;;;;;;;;;;;;;;;;;;;;;; gms$s30_rotation_scenario_target;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;; diff --git a/scripts/start/projects/project_EAT2p0.R b/scripts/start/projects/project_EAT2p0.R index 5058442aff..659eba4ba8 100644 --- a/scripts/start/projects/project_EAT2p0.R +++ b/scripts/start/projects/project_EAT2p0.R @@ -24,6 +24,17 @@ source("config/default.cfg") # set title and date cfg$results_folder <- "output/:title::date:" +cfg$force_download <- TRUE + +# Special outputs required for Deep Dive +cfg$qos <- "standby_maxMem_dayMax" +cfg$output <- c("output_check", + "extra/highres", + "extra/disaggregation", + "projects/FSEC_nitrogenPollution", + "projects/FSEC_water", + "agmip_report", + "rds_report") ####################### # SCENARIO DEFINITION # From 59dd8f22d1038dd92d2e9677c23185d06a1e244f Mon Sep 17 00:00:00 2001 From: Felicitas Date: Thu, 7 Mar 2024 14:35:40 +0100 Subject: [PATCH 12/25] bugfix: we want the NAs included in the mif for AgMIP reporting because of irrigated bioenergy --- scripts/output/projects/agmip_report.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/output/projects/agmip_report.R b/scripts/output/projects/agmip_report.R index e16f53e7a4..0a6f8db1bc 100644 --- a/scripts/output/projects/agmip_report.R +++ b/scripts/output/projects/agmip_report.R @@ -32,5 +32,5 @@ rds <- paste0(outputdir, "/agmip_report.rds") report <- getReportAgMIP(gdx, scenario = cfg$title, dir = outputdir) ### regional aggregation -write.report(report, file = mif) +write.report(report, file = mif, skipempty = FALSE) saveRDS(as.quitte(report), file = rds) From 52010fc057d1382057c84f2b3de22b1dfac559b4 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Fri, 8 Mar 2024 09:21:55 +0100 Subject: [PATCH 13/25] added GFDL climate scenario preprocessing to 2p6 scenario in eat start script --- scripts/output/projects/eat2p0_report.R | 36 ------------------------- scripts/start/projects/project_EAT2p0.R | 4 +-- 2 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 scripts/output/projects/eat2p0_report.R diff --git a/scripts/output/projects/eat2p0_report.R b/scripts/output/projects/eat2p0_report.R deleted file mode 100644 index 1e7be72a54..0000000000 --- a/scripts/output/projects/eat2p0_report.R +++ /dev/null @@ -1,36 +0,0 @@ -# | (C) 2008-2023 Potsdam Institute for Climate Impact Research (PIK) -# | authors, and contributors see CITATION.cff file. This file is part -# | of MAgPIE and licensed under AGPL-3.0-or-later. Under Section 7 of -# | AGPL-3.0, you are granted additional permissions described in the -# | MAgPIE License Exception, version 1.0 (see LICENSE file). -# | Contact: magpie@pik-potsdam.de - -# -------------------------------------------------------------- -# description: extract agmip-report in rds format from run -# comparison script: FALSE -# --------------------------------------------------------------- - -library(magclass) -library(magpie4) -library(lucode2) -library(quitte) -library(gms) -options("magclass.verbosity" = 1) - -############################# BASIC CONFIGURATION ############################# -if(!exists("source_include")) { - outputdir <- "/p/projects/landuse/users/miodrag/projects/tests/flexreg/output/H12_setup1_2016-11-23_12.38.56/" - readArgs("outputdir") -} - -cfg <- gms::loadConfig(file.path(outputdir, "config.yml")) -gdx <- file.path(outputdir, "fulldata.gdx") -mif <- paste0(outputdir, "/eat2p0_report.mif") -rds <- paste0(outputdir, "/eat2p0_report.rds") -############################################################################### - -report <- getReportAgMIP(gdx, scenario = cfg$title) - -### regional aggregation -write.report(report, file = mif) -saveRDS(as.quitte(report), file = rds) diff --git a/scripts/start/projects/project_EAT2p0.R b/scripts/start/projects/project_EAT2p0.R index 659eba4ba8..9de67ce757 100644 --- a/scripts/start/projects/project_EAT2p0.R +++ b/scripts/start/projects/project_EAT2p0.R @@ -153,9 +153,9 @@ noCC <- function(cfg) { } ### RCP 2.6 ### -# Decomposition Scenario. Apply lower climate impacts based on RCP 2.6 to BAU +# Decomposition Scenario. Apply lower climate impacts based on RCP 2.6 to BAU using GFDL climate model. rcp26 <- function(cfg) { - cfg$input['cellular'] <- "rev4.99_h12_5033a1ce_cellularmagpie_c200_IPSL-CM6A-LR-ssp126_lpjml-8e6c5eb1.tgz" + cfg$input["cellular"] <- "rev4.99_h12_05fd702e_cellularmagpie_c200_GFDL-ESM4-ssp126_lpjml-8e6c5eb1.tgz" return(cfg) } From 76676b9bf4f4d5f996f6d2f1dcb9f2516fd26d01 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Fri, 8 Mar 2024 09:30:47 +0100 Subject: [PATCH 14/25] changed if conditions to 1e-10 in peatland and carbon modules --- modules/58_peatland/v2/equations.gms | 4 ++-- modules/59_som/cellpool_aug16/postsolve.gms | 2 +- modules/59_som/cellpool_aug16/presolve.gms | 2 +- modules/59_som/cellpool_jan23/postsolve.gms | 2 +- modules/59_som/cellpool_jan23/presolve.gms | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/58_peatland/v2/equations.gms b/modules/58_peatland/v2/equations.gms index fc39c057e4..02697f4001 100644 --- a/modules/58_peatland/v2/equations.gms +++ b/modules/58_peatland/v2/equations.gms @@ -50,8 +50,8 @@ q58_scalingFactorExp(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. v58_scalingFactorExp(j2,manPeat58) =e= (m58_LandLeft(pc58_peatland,"land58",v58_peatland,pc58_peatland) / m58_LandLeft(pcm_land,"land",v58_manLand,pc58_manLand)) - $(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) > 1e-6 AND m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) > 1e-6) - + 0$(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) <= 1e-6 OR m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) <= 1e-6); + $(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) > 1e-10 AND m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) > 1e-10) + + 0$(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) <= 1e-10 OR m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) <= 1e-10); *' Costs for peatland degradation and rewetting diff --git a/modules/59_som/cellpool_aug16/postsolve.gms b/modules/59_som/cellpool_aug16/postsolve.gms index 63b99b4fbd..80a0ea0b72 100644 --- a/modules/59_som/cellpool_aug16/postsolve.gms +++ b/modules/59_som/cellpool_aug16/postsolve.gms @@ -7,7 +7,7 @@ p59_som_pool(j,land) = v59_som_pool.l(j,land); p59_land_before(j,land) = vm_land.l(j,land); -p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-15) = p59_som_pool(j,land) / pcm_land(j,land); +p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-10) = p59_som_pool(j,land) / pcm_land(j,land); *#################### R SECTION START (OUTPUT DEFINITIONS) ##################### ov59_som_target(t,j,land,"marginal") = v59_som_target.m(j,land); diff --git a/modules/59_som/cellpool_aug16/presolve.gms b/modules/59_som/cellpool_aug16/presolve.gms index e5a58b96cf..5e73985c02 100644 --- a/modules/59_som/cellpool_aug16/presolve.gms +++ b/modules/59_som/cellpool_aug16/presolve.gms @@ -26,4 +26,4 @@ p59_som_pool(j,"primforest") = p59_som_pool(j,"primforest") - (p59_land_before(j,"primforest") - pcm_land(j,"primforest")) * p59_carbon_density(t-1,j,"primforest"); -p59_carbon_density(t,j,land)$(pcm_land(j,land)>1e-15) = p59_som_pool(j,land) / pcm_land(j,land); +p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-10) = p59_som_pool(j,land) / pcm_land(j,land); diff --git a/modules/59_som/cellpool_jan23/postsolve.gms b/modules/59_som/cellpool_jan23/postsolve.gms index 63b99b4fbd..80a0ea0b72 100644 --- a/modules/59_som/cellpool_jan23/postsolve.gms +++ b/modules/59_som/cellpool_jan23/postsolve.gms @@ -7,7 +7,7 @@ p59_som_pool(j,land) = v59_som_pool.l(j,land); p59_land_before(j,land) = vm_land.l(j,land); -p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-15) = p59_som_pool(j,land) / pcm_land(j,land); +p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-10) = p59_som_pool(j,land) / pcm_land(j,land); *#################### R SECTION START (OUTPUT DEFINITIONS) ##################### ov59_som_target(t,j,land,"marginal") = v59_som_target.m(j,land); diff --git a/modules/59_som/cellpool_jan23/presolve.gms b/modules/59_som/cellpool_jan23/presolve.gms index e5a58b96cf..5e73985c02 100644 --- a/modules/59_som/cellpool_jan23/presolve.gms +++ b/modules/59_som/cellpool_jan23/presolve.gms @@ -26,4 +26,4 @@ p59_som_pool(j,"primforest") = p59_som_pool(j,"primforest") - (p59_land_before(j,"primforest") - pcm_land(j,"primforest")) * p59_carbon_density(t-1,j,"primforest"); -p59_carbon_density(t,j,land)$(pcm_land(j,land)>1e-15) = p59_som_pool(j,land) / pcm_land(j,land); +p59_carbon_density(t,j,land)$(pcm_land(j,land) > 1e-10) = p59_som_pool(j,land) / pcm_land(j,land); From d9290c383c3030b80abc78c623e055e23563478a Mon Sep 17 00:00:00 2001 From: Felicitas Date: Tue, 12 Mar 2024 13:43:34 +0100 Subject: [PATCH 15/25] added indicators to FSDP_collect --- scripts/output/projects/FSDP_collect.R | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/output/projects/FSDP_collect.R b/scripts/output/projects/FSDP_collect.R index 828a939756..0988e7694f 100644 --- a/scripts/output/projects/FSDP_collect.R +++ b/scripts/output/projects/FSDP_collect.R @@ -475,12 +475,13 @@ var_reg <- c(indicators_main, "Productivity|Feed conversion|Monogastric meat", "Productivity|Roughage share|Ruminant meat and dairy", "Productivity|Pasture share|Ruminant meat and dairy", - "Productivity|Yield by physical area|+|Forage", + "Productivity|Yield by physical area|+|Forage", "Productivity|Yield by physical area|Crops|+|Cereals", "Productivity|Yield by physical area|Crops|+|Oil crops", - "Productivity|Yield by physical area|Crops|+|Sugar crops", - "Productivity|Yield by physical area|+|Bioenergy crops", + "Productivity|Yield by physical area|Crops|+|Sugar crops" + "Productivity|Yield by physical area|+|Bioenergy crops", "Productivity|Yield by physical area|Crops|+|Other crops", + "Resources|Nitrogen|Cropland Budget|Soil Nitrogen Uptake Efficiency", "Emissions|CH4_GWP*AR6|Land", "Emissions|CH4_GWP*AR6|Land|+|Agriculture", From 3b20103084f78b0d45150bc5653f6d1414433250 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Wed, 13 Mar 2024 09:40:44 +0100 Subject: [PATCH 16/25] commented out lines that will be necessary only later --- scripts/start/projects/project_EAT2p0.R | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/start/projects/project_EAT2p0.R b/scripts/start/projects/project_EAT2p0.R index 9de67ce757..2bb239c602 100644 --- a/scripts/start/projects/project_EAT2p0.R +++ b/scripts/start/projects/project_EAT2p0.R @@ -29,11 +29,12 @@ cfg$force_download <- TRUE # Special outputs required for Deep Dive cfg$qos <- "standby_maxMem_dayMax" cfg$output <- c("output_check", - "extra/highres", + # "extra/highres", # do manually on last magpie run "extra/disaggregation", - "projects/FSEC_nitrogenPollution", - "projects/FSEC_water", + # "projects/FSEC_nitrogenPollution", # do manually on last (high-res) magpie run + # "projects/FSEC_water", # do manually on last (high-res) magpie run "agmip_report", + # add output file: pb_report (magpie (special mif created by getReportPBindicators & remind mif (REMIND_generic_scenName.mif)) "rds_report") ####################### From 62855d1b4ef2572c40ea7af76ce1563d08192745 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Wed, 13 Mar 2024 17:05:46 +0100 Subject: [PATCH 17/25] updated FSEC version number --- scripts/projects/fsec.R | 2 +- scripts/start/extra/recalibrate_FSEC.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/projects/fsec.R b/scripts/projects/fsec.R index 50402a0412..df6adc916b 100644 --- a/scripts/projects/fsec.R +++ b/scripts/projects/fsec.R @@ -14,7 +14,7 @@ fsecScenario <- function(scenario) { source("config/default.cfg") # Version number - v <- "v37_FSEC" + v <- "v38_FSEC" x <- list(c_BAU = list(standard = c("cc", "SSP2", "NDC", "ForestryEndo"), fsec = c("FSEC", "RCP60")), diff --git a/scripts/start/extra/recalibrate_FSEC.R b/scripts/start/extra/recalibrate_FSEC.R index 9260ac24eb..3dd0fd2231 100644 --- a/scripts/start/extra/recalibrate_FSEC.R +++ b/scripts/start/extra/recalibrate_FSEC.R @@ -20,7 +20,7 @@ source("scripts/projects/fsec.R") # Calibration run cfg <- fsecScenario(scenario = "c_BAU") -cfg$title <- "FSEC24Mar23" +cfg$title <- "FSEC13Mar2024" cfg$results_folder <- "output/:title:" cfg$recalibrate <- FALSE # required when penality_apr22 activated cfg$best_calib <- TRUE From 4706b8e82cc837864e8b9ac8bd9b3487cc411fab Mon Sep 17 00:00:00 2001 From: Felicitas Date: Thu, 14 Mar 2024 09:59:48 +0100 Subject: [PATCH 18/25] updated calibration --- config/default.cfg | 2 +- config/scenario_fsec.csv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/default.cfg b/config/default.cfg index e6b18b9a37..ab44a66f47 100644 --- a/config/default.cfg +++ b/config/default.cfg @@ -26,7 +26,7 @@ cfg$input <- c(regional = "rev4.101_h12_magpie.tgz", cellular = "rev4.101_h12_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz", validation = "rev4.101_h12_validation.tgz", additional = "additional_data_rev4.48.tgz", - calibration = "calibration_H12_per_ton_fao_may22_glo_08Aug23.tgz") + calibration = "calibration_H12_per_ton_fao_may22_glo_13Mar24.tgz") # NOTE: It is recommended to recalibrate the model when changing cellular input data # as well as for any other setting that would affect initial values in the model, diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv index 5057e22363..a376b39481 100644 --- a/config/scenario_fsec.csv +++ b/config/scenario_fsec.csv @@ -73,5 +73,5 @@ input['cellular'];rev4.101_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_l input['regional'];rev4.101_FSEC_magpie.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; input['validation'];rev4.101_FSEC_validation.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; input['additional'];additional_data_rev4.48.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['calibration'];calibration_FSEC_01Mar24.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['calibration'];calibration_FSEC_13Mar24.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; magicc_emis_scen;bjoernAR6_C_SSP2-NDC.mif;;;bjoernAR6_C_SSP2-PkBudg900.mif;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bjoernAR6_C_SSP1-NDC.mif;;;;;;;;;;;;bjoernAR6_C_SSP1-PkBudg900.mif;; From 5a07b63f60a2c057b7921f40d22418ad0b394af8 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Thu, 14 Mar 2024 10:01:20 +0100 Subject: [PATCH 19/25] updated changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a17b1fea76..bd84c3fe63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] ### changed +- **config** updated FSEC scenario config for revision and included new calibration file (after cost fix in preprocessing) - **70_livestock** if `c70_fac_req_regr` is set to `reg`: use of USDA/FAO values for historic factor requirements for livestock instead of using regression values and change of calibration year from 2005 to 2010 for regional factor requirements regression ### added From b83c85cbbd8f80b3fb674b0006164828d14cd7cd Mon Sep 17 00:00:00 2001 From: Felicitas Date: Thu, 14 Mar 2024 15:23:03 +0100 Subject: [PATCH 20/25] bugfix in scenario_fsec config related to climate labor shocks --- config/scenario_fsec.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv index a376b39481..fcada46aaa 100644 --- a/config/scenario_fsec.csv +++ b/config/scenario_fsec.csv @@ -39,7 +39,7 @@ gms$c34_urban_scenario;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s35_forest_damage_end;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;2050;2050;2050;2050;;;;;;;;;; gms$s36_minimum_wage;0;;;;;;3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$factor_costs;sticky_labor;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$labor_prod;off;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;on;on +gms$labor_prod;off;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;exo;exo gms$c37_labor_rcp;rcp119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rcp585;rcp119 gms$c38_fac_req;reg;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s38_target_labor_share;0;;;;;0.8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; From b2dab9bc42daa95c5520ddb2f55fd16373e634a2 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Fri, 15 Mar 2024 17:01:22 +0100 Subject: [PATCH 21/25] fix for roundwood issue in MEA --- config/default.cfg | 4 +++- config/scenario_fsec.csv | 1 + modules/58_peatland/v2/equations.gms | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/default.cfg b/config/default.cfg index ab44a66f47..4754b25a8e 100644 --- a/config/default.cfg +++ b/config/default.cfg @@ -582,9 +582,11 @@ cfg$gms$s21_manna_from_heaven <- 0 # * 1995 happens through the self-sufficiency pool. For later time steps, additional # * scenarios of trade liberalization (i.e. of allocation to the comparative advantage pool) # * are implemented based on Schmitz et al. 2012 (also described in Popp et al. 2017) - cfg$gms$c21_trade_liberalization <- "l909090r808080" # def = l909090r808080 +# * Fraction to ease self sufficiency pool trade for roundwood +cfg$gms$s21_trade_bal_damper <- 0.65 # def 0.65 + # * whether trade tariff should be considered at all # * (0) without trade tariff # * (1) with trade tariff diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv index fcada46aaa..7647e5414a 100644 --- a/config/scenario_fsec.csv +++ b/config/scenario_fsec.csv @@ -23,6 +23,7 @@ gms$s15_exo_alcohol;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;; gms$s15_alc_scen;0.014;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c15_food_scenario;;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c21_trade_liberalization;;;;;;;;;;;;;;;;;;;;;;;l908080r807070;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s21_trade_bal_damper;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c22_protect_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30by30;;;;;;;;;;;;;;;;;;;;;; gms$crop;penalty_apr22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c30_rotation_scenario;default;;;;;;;;;;;;;;;;;;;;;;;;;;;agroecology;;;;;;;;;;;;;;;;;;;;;;; diff --git a/modules/58_peatland/v2/equations.gms b/modules/58_peatland/v2/equations.gms index 02697f4001..4f2352272a 100644 --- a/modules/58_peatland/v2/equations.gms +++ b/modules/58_peatland/v2/equations.gms @@ -50,8 +50,8 @@ q58_scalingFactorExp(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. v58_scalingFactorExp(j2,manPeat58) =e= (m58_LandLeft(pc58_peatland,"land58",v58_peatland,pc58_peatland) / m58_LandLeft(pcm_land,"land",v58_manLand,pc58_manLand)) - $(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) > 1e-10 AND m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) > 1e-10) - + 0$(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) <= 1e-10 OR m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) <= 1e-10); + $(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) > 1e-8 AND m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) > 1e-8) + + 0$(m58_LandLeft(pc58_peatland,"land58",pc58_peatland,pc58_peatland) <= 1e-8 OR m58_LandLeft(pcm_land,"land",pc58_manLand,pc58_manLand) <= 1e-8); *' Costs for peatland degradation and rewetting From 0b387103a9625cd7209cef2cbb528d984ac1b053 Mon Sep 17 00:00:00 2001 From: Felicitas Beier Date: Mon, 18 Mar 2024 09:32:19 +0100 Subject: [PATCH 22/25] bugfix in FSDP_collect --- scripts/output/projects/FSDP_collect.R | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/scripts/output/projects/FSDP_collect.R b/scripts/output/projects/FSDP_collect.R index 0988e7694f..4f1818647c 100644 --- a/scripts/output/projects/FSDP_collect.R +++ b/scripts/output/projects/FSDP_collect.R @@ -205,15 +205,15 @@ var_reg <- c(indicators_main, "Productivity|Feed conversion efficiency|+|Cereal Intensity", "Productivity|Feed conversion efficiency|+|Oilcrop intensity", "Productivity|Feed conversion efficiency|+|Pasture intensity", - "Productivity|Yield by physical area|+|Crops", - "Productivity|Yield by physical area|Crops|+|Cereals", - "Productivity|Yield by physical area|Crops|+|Oil crops", - "Productivity|Yield by physical area|Crops|+|Sugar crops", - "Productivity|Yield by physical area|Crops|+|Other crops", - "Productivity|Yield by physical area|Crops|Other crops|+|Fruits Vegetables Nuts", - "Productivity|Yield by physical area|+|Pasture", - "Productivity|Yield by physical area|+|Bioenergy crops", - "Productivity|Yield by physical area|+|Forage", + "Productivity|Yield by physical area|Crops", + "Productivity|Yield by physical area|Crops|Cereals", + "Productivity|Yield by physical area|Crops|Oil crops", + "Productivity|Yield by physical area|Crops|Sugar crops", + "Productivity|Yield by physical area|Crops|Other crops", + "Productivity|Yield by physical area|Crops|Other crops|Fruits Vegetables Nuts", + "Productivity|Yield by physical area|Pasture", + "Productivity|Yield by physical area|Bioenergy crops", + "Productivity|Yield by physical area|Forage", "Resources|Nitrogen|Cropland Budget|Inputs", "Resources|Nitrogen|Cropland Budget|Inputs|+|Fertilizer", "Resources|Nitrogen|Cropland Budget|Inputs|+|Biological Fixation Symbiotic Crops", @@ -474,13 +474,7 @@ var_reg <- c(indicators_main, "Productivity|Feed conversion|Poultry meat and eggs", "Productivity|Feed conversion|Monogastric meat", "Productivity|Roughage share|Ruminant meat and dairy", - "Productivity|Pasture share|Ruminant meat and dairy", - "Productivity|Yield by physical area|+|Forage", - "Productivity|Yield by physical area|Crops|+|Cereals", - "Productivity|Yield by physical area|Crops|+|Oil crops", - "Productivity|Yield by physical area|Crops|+|Sugar crops" - "Productivity|Yield by physical area|+|Bioenergy crops", - "Productivity|Yield by physical area|Crops|+|Other crops", + "Productivity|Pasture share|Ruminant meat and dairy", "Resources|Nitrogen|Cropland Budget|Soil Nitrogen Uptake Efficiency", "Emissions|CH4_GWP*AR6|Land", From fc35c7fc48ab9bdf84a43c10c44d1b6e0ea7b42b Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 18 Mar 2024 10:22:16 +0100 Subject: [PATCH 23/25] updated fsec scripts --- config/scenario_fsec.csv | 6 +++--- scripts/projects/fsec.R | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv index 7647e5414a..431df58cc5 100644 --- a/config/scenario_fsec.csv +++ b/config/scenario_fsec.csv @@ -5,7 +5,7 @@ gms$c09_pal_scenario;;;SDP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s12_interest_lic;;;0.06;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s12_interest_hic;;;0.04;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$food;anthro_iso_jun22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s14_use_yield_calib;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s14_use_yield_calib;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$s15_exo_waste;;;;;;;;0;0;0;0;0;0;0;0;1;;;;;;;;;;;;;;;;;0;1;;;;;;;;;;;;;;;;; gms$s15_exo_diet;;;;;;;;1;1;1;1;1;1;1;1;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;;; gms$c15_kcal_scen;;;;;;;;no_underweight;half_overweight;endo;endo;endo;endo;endo;endo;endo;;;;;;;;;;;;;;;;;no_underweight_half_overweight;no_underweight_half_overweight;;;;;;;;;;;;;;;;; @@ -23,7 +23,7 @@ gms$s15_exo_alcohol;;;;;;;;0;0;0;0;0;0;1;0;0;;;;;;;;;;;;;;;;;1;1;;;;;;;;;;;;;;;; gms$s15_alc_scen;0.014;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c15_food_scenario;;;SSP1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c21_trade_liberalization;;;;;;;;;;;;;;;;;;;;;;;l908080r807070;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s21_trade_bal_damper;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s21_trade_bal_damper;0.65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c22_protect_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30by30;;;;;;;;;;;;;;;;;;;;;; gms$crop;penalty_apr22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c30_rotation_scenario;default;;;;;;;;;;;;;;;;;;;;;;;;;;;agroecology;;;;;;;;;;;;;;;;;;;;;;; @@ -74,5 +74,5 @@ input['cellular'];rev4.101_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_l input['regional'];rev4.101_FSEC_magpie.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; input['validation'];rev4.101_FSEC_validation.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; input['additional'];additional_data_rev4.48.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['calibration'];calibration_FSEC_13Mar24.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['calibration'];calibration_FSEC_14Mar24.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; magicc_emis_scen;bjoernAR6_C_SSP2-NDC.mif;;;bjoernAR6_C_SSP2-PkBudg900.mif;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bjoernAR6_C_SSP1-NDC.mif;;;;;;;;;;;;bjoernAR6_C_SSP1-PkBudg900.mif;; diff --git a/scripts/projects/fsec.R b/scripts/projects/fsec.R index df6adc916b..9636af24d4 100644 --- a/scripts/projects/fsec.R +++ b/scripts/projects/fsec.R @@ -14,7 +14,7 @@ fsecScenario <- function(scenario) { source("config/default.cfg") # Version number - v <- "v38_FSEC" + v <- "v39_FSEC" x <- list(c_BAU = list(standard = c("cc", "SSP2", "NDC", "ForestryEndo"), fsec = c("FSEC", "RCP60")), From 32256fdd6158ef1d58a4cb550a14fe3b9ec750a4 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 18 Mar 2024 10:36:23 +0100 Subject: [PATCH 24/25] activated yield calibration for FSEC runs --- scripts/start/extra/recalibrate_FSEC.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start/extra/recalibrate_FSEC.R b/scripts/start/extra/recalibrate_FSEC.R index 3dd0fd2231..4217585859 100644 --- a/scripts/start/extra/recalibrate_FSEC.R +++ b/scripts/start/extra/recalibrate_FSEC.R @@ -22,7 +22,7 @@ source("scripts/projects/fsec.R") cfg <- fsecScenario(scenario = "c_BAU") cfg$title <- "FSEC13Mar2024" cfg$results_folder <- "output/:title:" -cfg$recalibrate <- FALSE # required when penality_apr22 activated +cfg$recalibrate <- TRUE # required when penality_apr22 activated cfg$best_calib <- TRUE cfg$recalibrate_landconversion_cost <- TRUE cfg$best_calib_landconversion_cost <- FALSE From 22d4e4c42bed6e51c5d714299a583bf1691eeb39 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 18 Mar 2024 10:37:05 +0100 Subject: [PATCH 25/25] changed title of calibration file --- scripts/start/extra/recalibrate_FSEC.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start/extra/recalibrate_FSEC.R b/scripts/start/extra/recalibrate_FSEC.R index 4217585859..62f45a2910 100644 --- a/scripts/start/extra/recalibrate_FSEC.R +++ b/scripts/start/extra/recalibrate_FSEC.R @@ -20,7 +20,7 @@ source("scripts/projects/fsec.R") # Calibration run cfg <- fsecScenario(scenario = "c_BAU") -cfg$title <- "FSEC13Mar2024" +cfg$title <- "FSEC14Mar2024" cfg$results_folder <- "output/:title:" cfg$recalibrate <- TRUE # required when penality_apr22 activated cfg$best_calib <- TRUE