From eb23e004ff85057b7179c826279fa9d7cdd5d399 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 8 Jul 2024 11:21:22 +0200 Subject: [PATCH 01/53] added default column to config for clean up --- config/default.cfg | 4 +- config/scenario_config.csv | 210 ++++++++++++++++++------------------- 2 files changed, 107 insertions(+), 107 deletions(-) diff --git a/config/default.cfg b/config/default.cfg index 578648c37..5d388701f 100644 --- a/config/default.cfg +++ b/config/default.cfg @@ -997,7 +997,7 @@ cfg$gms$s32_est_cost_natveg <- 2000 # def = 2000 # * such that the total plantation area remains constant. # * 2 = "Endogenous" scenario. Harvest from plantations including age-class shifting # * All plantations are harvested at rotation age. Plantation establishment is endogenous. -cfg$gms$s32_hvarea = 2 # def = 2 +cfg$gms$s32_hvarea <- 2 # def = 2 # Type of rotation length selection criteria # * ("mean_annual_increment") = Harvesting when the average annual increment is maximum @@ -1012,7 +1012,7 @@ cfg$gms$c32_rot_calc_type <- "current_annual_increment" # * ("004lin2030") Disturbance applied to 0p4 percent per year linear phase-in over 20yrs from 0 in 2030 # * ("008lin2030") Disturbance applied to 0p8 percent per year linear phase-in over 20yrs from 0 in 2030 # * ("016lin2030") Disturbance applied to 1p6 percent per year linear phase-in over 20yrs from 0 in 2030 -cfg$gms$c32_shock_scenario = "none" # def = "none" +cfg$gms$c32_shock_scenario <- "none" # def = "none" # ***--------------------- 34_urban --------------------------------------- # * 34_urban includes urban land diff --git a/config/scenario_config.csv b/config/scenario_config.csv index e30616b99..4b696bf99 100755 --- a/config/scenario_config.csv +++ b/config/scenario_config.csv @@ -1,105 +1,105 @@ -;cc;nocc;nocc_hist;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SDP;SDP-EI;SDP-RC;SDP-MC;BASE;NPI;NDC;coupling;emulator;input;Tland;eat_lancet_diet;EL2_PHD;EL2_Demand;EL2_default;LAMA_Inequal;LAMA_Inequal-SustDemand;LAMA_Inequal-EnvirProt;LAMA_Inequal-GHGPrice;LAMA_Sustainability;NAVIGATE_AllOff;NAVIGATE_LandSup;NAVIGATE_LandDem;NAVIGATE_AllOn;ForestryEndo;ForestryExo;ForestryOff;frst_shock_none;frst_shock_002lin2030;frst_shock_004lin2030;frst_shock_008lin2030;frst_shock_016lin2030;rcp1p9;rcp2p6;rcp4p5;rcp6p0;rcp7p0;rcp8p5;NGFS_o_lowdem;GENIE_SCP -gms$c_timesteps;;;;;;;;;;;;;;;;;less_TS;less_TS;;;;;;;5year;5year;5year;5year;5year;;;;;;;;;;;;;;;;;;;;coup2110 -gms$c09_pop_scenario;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SSP1;SSP1;SSP1;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; -gms$c09_gdp_scenario;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SDP_EI;SDP_RC;SDP_MC;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; -gms$c09_pal_scenario;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SSP2;SSP1;SSP1;;;;;;;;;SDP;SDP;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; -gms$s12_interest_lic;;;;;;;;;;;;;;;;;;;;;;0.06;0.1;0.1;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s12_interest_hic;;;;;;;;;;;;;;;;;;;;;;0.04;0.04;0.04;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c13_tccost;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;high -gms$c14_yields_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;;nocc -gms$food;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;anthropometrics_jan18 -gms$c15_food_scenario;;;;SSP1;SSP2;SSP2;SSP3;SSP4;SSP5;SSP1;SSP2;SSP1;SSP1;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;SSP2; -gms$c15_food_scenario_noselect;;;;;;;;;;;;;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;SSP2; -gms$s15_elastic_demand;;;;0;0;0;0;0;0;0;0;0;0;;;;;;;0;0;0;0;0;0;0;0;0;0;;;;;;;;;;;;;;;;;;;; -gms$s15_rumdairy_scp_substitution;;;;0;0;0;0;0;0;0;0.5;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s15_food_subst_functional_form;;;;;;;;;;;2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s15_food_substitution_start;;;;;;;;;;;2020;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s15_food_substitution_target;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$kfo_rd;;;;;;;;;;;livst_rum;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;livst_rum,livst_milk -gms$s15_exo_foodscen_convergence;;;;;;;;;;1;1;1;1;;;;;;;1;1;1;1;1;;1;;;1;;;;;;;;;;;;;;;;;;;1; -gms$s15_exo_foodscen_functional_form;;;;;;;;;;1;1;1;1;;;;;;;1;1;1;1;1;;1;;;1;;;;;;;;;;;;;;;;;;;1; -gms$s15_exo_foodscen_start;;;;;;;;;;2020;2020;2020;2020;;;;;;;2020;2025;2025;2025;2025;;2020;;;2020;;;;;;;;;;;;;;;;;;;2020; -gms$s15_exo_foodscen_target;;;;;;;;;;2050;2050;2050;2070;;;;;;;2050;2050;2050;2050;2050;;2050;;;2050;;;;;;;;;;;;;;;;;;;2050; -gms$s15_exo_waste;;;;0;0;0;0;0;0;1;1;1;1;;;;;;;1;0;1;1;0;0;1;0;0;1;0;0;1;1;;;;;;;;;;;;;;;1; -gms$s15_waste_scen;;;;;;;;;;1.2;1.3;1.2;1.25;;;;;;;1.2;1.2;1.2;1.2;;;1.2;;;1.2;;;;;;;;;;;;;;;;;;;1.2; -gms$s15_exo_diet;;;;0;0;0;0;0;0;1;1;1;1;;;;;;;1;1;3;3;0;0;1;0;0;1;0;0;1;1;;;;;;;;;;;;;;;1; -gms$c15_kcal_scen;;;;;;;;;;healthy_BMI;no_underweight;healthy_BMI;healthy_BMI;;;;;;;healthy_BMI;healthy_BMI;healthy_BMI;healthy_BMI;;;healthy_BMI;;;healthy_BMI;;;;;;;;;;;;;;;;;;;healthy_BMI; -gms$c15_EAT_scen;;;;;;;;;;FLX;;FLX;FLX;;;;;;;FLX;FLX;FLX;FLX;;;FLX;;;FLX;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_monogastric;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_ruminant;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_fish;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_fruitvegnut;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_roots;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_pulses;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_sugar;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_oils;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_brans;;;;;;;;;;1;0;1;1;;;;;;;1;1;0;0;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_scp;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_alcohol;;;;;;;;;;1;0;1;1;;;;;;;1;1;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_alc_scen;0.014;;;;;;;;;;;;;;;;;;;;;0;0;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c20_scp_type;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;hydrogen -gms$c21_trade_liberalization;;;;l908080r807070;l909090r808080;l909090r808080;l909595r809090;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l909595r809090;l908080r807070;;;;;;;;;;;;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l908080r807070;;;;;;;;;;;;;;;;;;;; -gms$c22_protect_scenario;;;;none;none;none;none;none;none;BH;none;BH_IFL;BH;;;;;;;BH;;;;;BH_IFL;BH_IFL;BH_IFL;BH_IFL;BH_IFL;;;;;;;;;;;;;;;;;;;; -gms$c22_protect_scenario_noselect;;;;;;;;;;;;;;;;;;;;;;;;;none;none;BH_IFL;none;BH_IFL;;;;;;;;;;;;;;;;;;;; -gms$s29_snv_shr;;;;0;0;0;0;0;0;0;0;0;0.2;;;;;;;0;;;;;0.2;0.2;0.2;0.2;0.2;;;;;;;;;;;;;;;;;;;; -gms$s29_snv_shr_noselect;;;;;;;;;;;;;;;;;;;;;;;;;0;0;0.2;0;0.2;;;;;;;;;;;;;;;;;;;; -gms$s29_snv_scenario_target;;;;;;;;;;;;;2030;;;;;;;;;;;;2030;2030;2030;2030;2030;;;;;;;;;;;;;;;;;;;; -gms$c30_bioen_water;;;;rainfed;rainfed;rainfed;rainfed;rainfed;rainfed;rainfed;all;rainfed;rainfed;;;;;;;rainfed;;;rainfed;rainfed;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s30_annual_max_growth;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0.02 -gms$c31_grassl_yld_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c32_shock_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;none;002lin2030;004lin2030;008lin2030;016lin2030;;;;;;;; -gms$s32_initial_distribution;;;;;;;;;;;;;;;;;;;;;;;;;1;1;1;1;1;;;;;1;1;0;;;;;;;;;;;;; -gms$s32_hvarea;;;;;;;;;;;;;;;;;;;;;;;;;2;2;2;2;2;;;;;2;1;0;;;;;;;;;;;;; -gms$s32_aff_plantation;;;;0;0;0;0;0;0;0;1;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s32_aff_bii_coeff;;;;0;0;0;0;0;0;0;1;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s32_max_aff_area;;;;Inf;Inf;Inf;Inf;Inf;Inf;500;350;0;700;;;;;;;500;;;;;Inf;Inf;Inf;500;500;;;;;;;;;;;;;;;;;;;; -gms$c32_aff_mask;;;;noboreal;noboreal;noboreal;noboreal;noboreal;noboreal;onlytropical;onlytropical;onlytropical;onlytropical;;;;;;;onlytropical;;;;;noboreal;noboreal;noboreal;noboreal;noboreal;;;;;;;;;;;;;;;;;;;; -gms$c34_urban_scenario;;;;SSP1;SSP2;SSP2;SSP3;SSP4;SSP5;SSP1;SSP1;SSP2;SSP1;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; -gms$c32_aff_policy;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;ndc;ndc;ndc;ndc;ndc;;;;;;;;;;;;;;;;;;;; -gms$s32_planing_horizon;;;;50;50;50;50;50;50;50;30;50;50;;;;;;;50;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c35_ad_policy;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;ndc;ndc;ndc;ndc;ndc;;;;;;;;;;;;;;;;;;;; -gms$c35_aolc_policy;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;ndc;ndc;ndc;ndc;ndc;;;;;;;;;;;;;;;;;;;; -gms$c35_pot_forest_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$s35_forest_damage_end;;;;2030;2050;2050;2050;2050;2030;2030;2030;2030;2030;;;;;;;2030;;;;;2030;2030;2030;2030;2030;;;;;;;;;;;;;;;;;;;; -gms$c35_shock_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;none;002lin2030;004lin2030;008lin2030;016lin2030;;;;;;;; -gms$s35_forest_damage;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4;4;4;4;4;;;;;;;; -gms$s35_secdf_distribution;;;;;;;;;;;;;;;;;;;;;;;;;2;2;2;2;2;;;;;2;2;0;;;;;;;;;;;;; -gms$s35_hvarea;;;;;;;;;;;;;;;;;;;;;;;;;2;2;2;2;2;;;;;2;2;0;;;;;;;;;;;;; -gms$factor_costs;;;;;;;;;;;;;;;;;;;;;;sticky_labor;sticky_labor;sticky_labor;;;;;;;;;;;;;;;;;;;;;;;;;sticky_feb18 -gms$c42_watdem_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$s42_watdem_nonagr_scenario;;;;1;2;2;3;2;1;1;1;3;1;;;;;;;;;;;;2;1;2;2;1;;;;;;;;;;;;;;;;;;;; -gms$s42_irrig_eff_scenario;;;;2;2;2;2;2;2;3;3;3;3;;;;;;;3;;;;;3;3;3;3;3;;;;;;;;;;;;;;;;;;;; -gms$c42_env_flow_policy;;;;on;off;off;off;mixed;on;on;on;on;on;;;;;;;on;;;;;on;on;on;on;on;;;;;;;;;;;;;;;;;;;; -gms$s42_efp_targetyear;;;;2040;2040;2040;2040;2040;2040;2040;2050;2070;2050;;;;;;;2040;;;;;2040;2040;2040;2040;2040;;;;;;;;;;;;;;;;;;;; -gms$c43_watavail_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$s44_target_price;;;;0;0;0;0;0;0;0;0;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s44_cost_bii_missing;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10000000 -gms$c50_scen_neff;;;;baseeff_add3_add10_add20_max75;baseeff_add3_add5_add10_max65;baseeff_add3_add5_add10_max65;baseeff_add3_add0_add0_max55;baseeff_add3_add10_add15_max75;baseeff_add3_add5_add15_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max65;baseeff_add3_add15_add25_max75;;;;;;;baseeff_add3_add15_add25_max75;;;;;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;;;;;;;;;;;;;;;;;;;; -gms$c50_scen_neff_noselect;;;;baseeff_add3_add10_add20_max75;baseeff_add3_add5_add10_max65;baseeff_add3_add5_add10_max65;baseeff_add3_add0_add0_max55;baseeff_add3_add10_add15_max75;baseeff_add3_add5_add15_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max65;baseeff_add3_add15_add25_max75;;;;;;;baseeff_add3_add15_add25_max75;;;;;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;;;;;;;;;;;;;;;;;;;; -gms$c52_carbon_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$c52_land_carbon_sink_rcp;;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;RCP19;RCP26;RCP45;RCP60;RCPBU;RCPBU;; -gms$c55_scen_conf;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp1;ssp1;ssp1;;;;;;;ssp1;;;;;ssp1;ssp1;ssp1;ssp1;ssp1;;;;;;;;;;;;;;;;;;;; -gms$c55_scen_conf_noselect;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp1;ssp1;ssp1;;;;;;;ssp1;;;;;ssp4;ssp4;ssp1;ssp4;ssp1;;;;;;;;;;;;;;;;;;;; -gms$c56_pollutant_prices;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi -gms$c56_pollutant_prices_noselect;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi -gms$s56_c_price_exp_aff;;;;50;50;50;50;50;50;50;30;50;50;;;;;;;50;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s56_buffer_aff;;;;0.5;0.5;0.5;0.5;0.5;0.5;0.5;0.5;0.2;0.3;;;;;;;0.5;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c56_emis_policy;;;;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;redd_nosoil;all_nosoil;;;;;;;reddnatveg_nosoil;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s56_minimum_cprice;;;;;;;;;;;;;;0;0;18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c56_mute_ghgprices_until;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;y2020 -gms$c57_macc_version;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;PBL_2022;PBL_2022;PBL_2022;PBL_2022;;;;;;;;;;;;;;;; -gms$c57_macc_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;Default;Optimistic;Default;Optimistic;;;;;;;;;;;;;;;; -gms$s58_rewetting_switch;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0;1;0;1;;;;;;;;;;;;;;;; -gms$c59_som_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$maccs;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$bioenergy;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1st2ndgen_priced_feb24 -gms$c60_2ndgen_biodem;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi -gms$c60_2ndgen_biodem_noselect;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi -gms$c60_1stgen_biodem;;;;phaseout2020;const2020;const2020;const2030;const2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;;;;;;;phaseout2020;;;;;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;;;;;;;;;;;;;;;;;;;;phaseout2020 -gms$c60_biodem_level;;;;;;;;;;;;;;;;;1;0;;;;;;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$c60_bioenergy_subsidy;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c60_res_2ndgenBE_dem;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;sdp;ssp2;sdp;sdp;;;;;;;sdp;;;;;ssp4;sdp;ssp4;ssp4;sdp;;;;;;;;;;;;;;;;;;;; -gms$c70_feed_scen;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp5;ssp1;ssp1;;;;;;;ssp1;;ssp1;ssp2;ssp2;ssp4;ssp1;ssp4;ssp4;ssp1;;;;;;;;;;;;;;;;;;;; -gms$s73_timber_demand_switch;;;;;;;;;;;;;;;;;;;;;;;;;1;1;1;1;1;;;;;1;1;0;;;;;;;;;;;;; -input['cellular'];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rev4.111_h12_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz;rev4.111_h12_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz;rev4.111_h12_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz;rev4.111_h12_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;rev4.111_h12_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz;rev4.111_h12_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz;; -magicc_emis_scen;;;;;;;;;;;;;;;;;;;;;;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;;;;;;;;;;;;;;;;;;;;;;;;; +;default;cc;nocc;nocc_hist;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SDP;SDP-EI;SDP-RC;SDP-MC;BASE;NPI;NDC;coupling;emulator;input;Tland;eat_lancet_diet_v1;eat_lancet_diet_v2;EL2_PHD;EL2_Demand;EL2_default;LAMA_Inequal;LAMA_Inequal-SustDemand;LAMA_Inequal-EnvirProt;LAMA_Inequal-GHGPrice;LAMA_Sustainability;NAVIGATE_AllOff;NAVIGATE_LandSup;NAVIGATE_LandDem;NAVIGATE_AllOn;ForestryEndo;ForestryExo;ForestryOff;frst_shock_none;frst_shock_002lin2030;frst_shock_004lin2030;frst_shock_008lin2030;frst_shock_016lin2030;rcp1p9;rcp2p6;rcp4p5;rcp6p0;rcp7p0;rcp8p5;NGFS_o_lowdem;GENIE_SCP +gms$c_timesteps;coup2100;;;;;;;;;;;;;;;;;less_TS;less_TS;;;;;;;;5year;5year;5year;5year;5year;;;;;;;;;;;;;;;;;;;;coup2110 +gms$c09_pop_scenario;SSP2;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SSP1;SSP1;SSP1;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; +gms$c09_gdp_scenario;SSP2;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SDP_EI;SDP_RC;SDP_MC;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; +gms$c09_pal_scenario;SSP2;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SSP2;SSP1;SSP1;;;;;;;;;;SDP;SDP;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; +gms$s12_interest_lic;0.1;;;;;;;;;;;;;;;;;;;;;;;0.06;0.1;0.1;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s12_interest_hic;0.04;;;;;;;;;;;;;;;;;;;;;;;0.04;0.04;0.04;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c13_tccost;medium;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;high +gms$c14_yields_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;;nocc +gms$food;anthro_iso_jun22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;anthropometrics_jan18 +gms$c15_food_scenario;SSP2;;;;SSP1;SSP2;SSP2;SSP3;SSP4;SSP5;SSP1;SSP2;SSP1;SSP1;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;SSP2; +gms$c15_food_scenario_noselect;SSP2;;;;;;;;;;;;;;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;SSP2; +gms$s15_elastic_demand;0;;;;0;0;0;0;0;0;0;0;0;0;;;;;;;0;0;;0;0;0;0;0;0;0;0;;;;;;;;;;;;;;;;;;;; +gms$s15_rumdairy_scp_substitution;0;;;;0;0;0;0;0;0;0;0.5;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s15_food_subst_functional_form;1;;;;;;;;;;;2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s15_food_substitution_start;2025;;;;;;;;;;;2020;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s15_food_substitution_target;2050;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$kfo_rd;livst_rum;;;;;;;;;;;livst_rum;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;livst_rum,livst_milk +gms$s15_exo_foodscen_convergence;1;;;;;;;;;;1;1;1;1;;;;;;;1;1;;1;1;1;;1;;;1;;;;;;;;;;;;;;;;;;;1; +gms$s15_exo_foodscen_functional_form;1;;;;;;;;;;1;1;1;1;;;;;;;1;1;;1;1;1;;1;;;1;;;;;;;;;;;;;;;;;;;1; +gms$s15_exo_foodscen_start;2025;;;;;;;;;;2020;2020;2020;2020;;;;;;;2020;2025;;2025;2025;2025;;2020;;;2020;;;;;;;;;;;;;;;;;;;2020; +gms$s15_exo_foodscen_target;2050;;;;;;;;;;2050;2050;2050;2070;;;;;;;2050;2050;;2050;2050;2050;;2050;;;2050;;;;;;;;;;;;;;;;;;;2050; +gms$s15_exo_waste;0;;;;0;0;0;0;0;0;1;1;1;1;;;;;;;1;0;;1;1;0;0;1;0;0;1;0;0;1;1;;;;;;;;;;;;;;;1; +gms$s15_waste_scen;1.2;;;;;;;;;;1.2;1.3;1.2;1.25;;;;;;;1.2;1.2;;1.2;1.2;;;1.2;;;1.2;;;;;;;;;;;;;;;;;;;1.2; +gms$s15_exo_diet;0;;;;0;0;0;0;0;0;1;1;1;1;;;;;;;1;1;;3;3;0;0;1;0;0;1;0;0;1;1;;;;;;;;;;;;;;;1; +gms$c15_kcal_scen;healthy_BMI;;;;;;;;;;healthy_BMI;no_underweight;healthy_BMI;healthy_BMI;;;;;;;healthy_BMI;healthy_BMI;;healthy_BMI;healthy_BMI;;;healthy_BMI;;;healthy_BMI;;;;;;;;;;;;;;;;;;;healthy_BMI; +gms$c15_EAT_scen;FLX;;;;;;;;;;FLX;;FLX;FLX;;;;;;;FLX;FLX;;FLX;FLX;;;FLX;;;FLX;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_monogastric;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_ruminant;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_fish;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_fruitvegnut;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_roots;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_pulses;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_sugar;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_oils;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_brans;0;;;;;;;;;;1;0;1;1;;;;;;;1;1;;0;0;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_scp;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_exo_alcohol;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$s15_alc_scen;0;;;;;;;;;;;;;;;;;;;;;;;0;0;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c20_scp_type;sugar;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;hydrogen +gms$c21_trade_liberalization;l909090r808080;;;;l908080r807070;l909090r808080;l909090r808080;l909595r809090;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l909595r809090;l908080r807070;;;;;;;;;;;;;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l908080r807070;;;;;;;;;;;;;;;;;;;; +gms$c22_protect_scenario;none;;;;none;none;none;none;none;none;BH;none;BH_IFL;BH;;;;;;;BH;;;;;;BH_IFL;BH_IFL;BH_IFL;BH_IFL;BH_IFL;;;;;;;;;;;;;;;;;;;; +gms$c22_protect_scenario_noselect;none;;;;;;;;;;;;;;;;;;;;;;;;;;none;none;BH_IFL;none;BH_IFL;;;;;;;;;;;;;;;;;;;; +gms$s29_snv_shr;0;;;;0;0;0;0;0;0;0;0;0;0.2;;;;;;;0;;;;;;0.2;0.2;0.2;0.2;0.2;;;;;;;;;;;;;;;;;;;; +gms$s29_snv_shr_noselect;0;;;;;;;;;;;;;;;;;;;;;;;;;;0;0;0.2;0;0.2;;;;;;;;;;;;;;;;;;;; +gms$s29_snv_scenario_target;2050;;;;;;;;;;;;;2030;;;;;;;;;;;;;2030;2030;2030;2030;2030;;;;;;;;;;;;;;;;;;;; +gms$c30_bioen_water;rainfed;;;;rainfed;rainfed;rainfed;rainfed;rainfed;rainfed;rainfed;all;rainfed;rainfed;;;;;;;rainfed;;;;rainfed;rainfed;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s30_annual_max_growth;Inf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0.02 +gms$c31_grassl_yld_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c32_shock_scenario;none;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;none;002lin2030;004lin2030;008lin2030;016lin2030;;;;;;;; +gms$s32_initial_distribution;1;;;;;;;;;;;;;;;;;;;;;;;;;;1;1;1;1;1;;;;;1;1;0;;;;;;;;;;;;; +gms$s32_hvarea;2;;;;;;;;;;;;;;;;;;;;;;;;;;2;2;2;2;2;;;;;2;1;0;;;;;;;;;;;;; +gms$s32_aff_plantation;0;;;;0;0;0;0;0;0;0;1;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s32_aff_bii_coeff;0;;;;0;0;0;0;0;0;0;1;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s32_max_aff_area;Inf;;;;Inf;Inf;Inf;Inf;Inf;Inf;500;350;0;700;;;;;;;500;;;;;;Inf;Inf;Inf;500;500;;;;;;;;;;;;;;;;;;;; +gms$c32_aff_mask;noboreal;;;;noboreal;noboreal;noboreal;noboreal;noboreal;noboreal;onlytropical;onlytropical;onlytropical;onlytropical;;;;;;;onlytropical;;;;;;noboreal;noboreal;noboreal;noboreal;noboreal;;;;;;;;;;;;;;;;;;;; +gms$c34_urban_scenario;SSP2;;;;SSP1;SSP2;SSP2;SSP3;SSP4;SSP5;SSP1;SSP1;SSP2;SSP1;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; +gms$c32_aff_policy;npi;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;;ndc;ndc;ndc;ndc;ndc;;;;;;;;;;;;;;;;;;;; +gms$s32_planing_horizon;50;;;;50;50;50;50;50;50;50;30;50;50;;;;;;;50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c35_ad_policy;npi;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;;ndc;ndc;ndc;ndc;ndc;;;;;;;;;;;;;;;;;;;; +gms$c35_aolc_policy;npi;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;;ndc;ndc;ndc;ndc;ndc;;;;;;;;;;;;;;;;;;;; +gms$c35_pot_forest_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; +gms$s35_forest_damage;2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4;4;4;4;4;;;;;;;; +gms$s35_forest_damage_end;2050;;;;2030;2050;2050;2050;2050;2030;2030;2030;2030;2030;;;;;;;2030;;;;;;2030;2030;2030;2030;2030;;;;;;;;;;;;;;;;;;;; +gms$c35_shock_scenario;none;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;none;002lin2030;004lin2030;008lin2030;016lin2030;;;;;;;; +gms$s35_secdf_distribution;2;;;;;;;;;;;;;;;;;;;;;;;;;;2;2;2;2;2;;;;;2;2;0;;;;;;;;;;;;; +gms$s35_hvarea;2;;;;;;;;;;;;;;;;;;;;;;;;;;2;2;2;2;2;;;;;2;2;0;;;;;;;;;;;;; +gms$factor_costs;per_ton_fao_may22;;;;;;;;;;;;;;;;;;;;;;;sticky_labor;sticky_labor;sticky_labor;;;;;;;;;;;;;;;;;;;;;;;;;sticky_feb18 +gms$c42_watdem_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; +gms$s42_watdem_nonagr_scenario;2;;;;1;2;2;3;2;1;1;1;3;1;;;;;;;;;;;;;2;1;2;2;1;;;;;;;;;;;;;;;;;;;; +gms$s42_irrig_eff_scenario;2;;;;2;2;2;2;2;2;3;3;3;3;;;;;;;3;;;;;;3;3;3;3;3;;;;;;;;;;;;;;;;;;;; +gms$c42_env_flow_policy;off;;;;on;off;off;off;mixed;on;on;on;on;on;;;;;;;on;;;;;;on;on;on;on;on;;;;;;;;;;;;;;;;;;;; +gms$s42_efp_targetyear;2040;;;;2040;2040;2040;2040;2040;2040;2040;2050;2070;2050;;;;;;;2040;;;;;;2040;2040;2040;2040;2040;;;;;;;;;;;;;;;;;;;; +gms$c43_watavail_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; +gms$s44_cost_bii_missing;1000000;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10000000 +gms$s44_target_price;0;;;;0;0;0;0;0;0;0;0;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c50_scen_neff;baseeff_add3_add5_add10_max65;;;;baseeff_add3_add10_add20_max75;baseeff_add3_add5_add10_max65;baseeff_add3_add5_add10_max65;baseeff_add3_add0_add0_max55;baseeff_add3_add10_add15_max75;baseeff_add3_add5_add15_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max65;baseeff_add3_add15_add25_max75;;;;;;;baseeff_add3_add15_add25_max75;;;;;;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;;;;;;;;;;;;;;;;;;;; +gms$c50_scen_neff_noselect;baseeff_add3_add5_add10_max65;;;;baseeff_add3_add10_add20_max75;baseeff_add3_add5_add10_max65;baseeff_add3_add5_add10_max65;baseeff_add3_add0_add0_max55;baseeff_add3_add10_add15_max75;baseeff_add3_add5_add15_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max65;baseeff_add3_add15_add25_max75;;;;;;;baseeff_add3_add15_add25_max75;;;;;;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;;;;;;;;;;;;;;;;;;;; +gms$c52_carbon_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; +gms$c52_land_carbon_sink_rcp;RCPBU;;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;RCP19;RCP26;RCP45;RCP60;RCPBU;RCPBU;; +gms$c55_scen_conf;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp1;ssp1;ssp1;;;;;;;ssp1;;;;;;ssp1;ssp1;ssp1;ssp1;ssp1;;;;;;;;;;;;;;;;;;;; +gms$c55_scen_conf_noselect;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp1;ssp1;ssp1;;;;;;;ssp1;;;;;;ssp4;ssp4;ssp1;ssp4;ssp1;;;;;;;;;;;;;;;;;;;; +gms$c56_pollutant_prices;R32M46-SSP2EU-NPi;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi +gms$c56_pollutant_prices_noselect;R32M46-SSP2EU-NPi;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi +gms$s56_c_price_exp_aff;50;;;;50;50;50;50;50;50;50;30;50;50;;;;;;;50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s56_buffer_aff;0.5;;;;0.5;0.5;0.5;0.5;0.5;0.5;0.5;0.5;0.2;0.3;;;;;;;0.5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c56_emis_policy;reddnatveg_nosoil;;;;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;redd_nosoil;all_nosoil;;;;;;;reddnatveg_nosoil;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s56_minimum_cprice;0;;;;;;;;;;;;;;0;0;18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c56_mute_ghgprices_until;y2030;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;y2020 +gms$maccs;on_aug22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c57_macc_version;PBL_2022;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;PBL_2022;PBL_2022;PBL_2022;PBL_2022;;;;;;;;;;;;;;;; +gms$c57_macc_scenario;Default;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;Default;Optimistic;Default;Optimistic;;;;;;;;;;;;;;;; +gms$s58_rewetting_switch;Inf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0;1;0;1;;;;;;;;;;;;;;;; +gms$c59_som_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; +gms$bioenergy;1stgen_priced_dec18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1st2ndgen_priced_feb24 +gms$c60_1stgen_biodem;const2020;;;;phaseout2020;const2020;const2020;const2030;const2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;;;;;;;phaseout2020;;;;;;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;;;;;;;;;;;;;;;;;;;;phaseout2020 +gms$c60_2ndgen_biodem;R32M46-SSP2EU-NPi;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi +gms$c60_2ndgen_biodem_noselect;R32M46-SSP2EU-NPi;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi +gms$c60_biodem_level;1;;;;;;;;;;;;;;;;;1;0;;;;;;;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; +gms$c60_bioenergy_subsidy;300;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c60_res_2ndgenBE_dem;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;sdp;ssp2;sdp;sdp;;;;;;;sdp;;;;;;ssp4;sdp;ssp4;ssp4;sdp;;;;;;;;;;;;;;;;;;;; +gms$c70_feed_scen;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp5;ssp1;ssp1;;;;;;;ssp1;;;ssp1;ssp2;ssp2;ssp4;ssp1;ssp4;ssp4;ssp1;;;;;;;;;;;;;;;;;;;; +gms$s73_timber_demand_switch;1stgen_priced_dec18;;;;;;;;;;;;;;;;;;;;;;;;;;1;1;1;1;1;;;;;1;1;0;;;;;;;;;;;;; +input['cellular'];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rev4.111_h12_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz;rev4.111_h12_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz;rev4.111_h12_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz;rev4.111_h12_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;rev4.111_h12_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz;rev4.111_h12_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz;; +magicc_emis_scen;;;;;;;;;;;;;;;;;;;;;;;;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;;;;;;;;;;;;;;;;;;;;;;;;; From 4b9955fb36a70c0e7a01d93dc1c2d8e0dc85c4ad Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 8 Jul 2024 11:43:49 +0200 Subject: [PATCH 02/53] renamed fsec scenario config to new convention --- config/scenario_fsec.csv | 84 ---------------------------------------- scripts/projects/fsec.R | 2 +- 2 files changed, 1 insertion(+), 85 deletions(-) delete mode 100644 config/scenario_fsec.csv diff --git a/config/scenario_fsec.csv b/config/scenario_fsec.csv deleted file mode 100644 index f986caf4c..000000000 --- a/config/scenario_fsec.csv +++ /dev/null @@ -1,84 +0,0 @@ -;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;SDPenergy;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$s14_minimum_wood_yield;10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -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$s21_trade_bal_damper;0.65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c22_protect_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;BH_IFL;;;;;;;;;;;;;;;;;;;;;; -gms$croparea;detail_apr24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c30_rotation_rules;FSEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c30_rotation_incentives;default;;;;;;;;;;;;;;;;;;;;;;;;;;;agroecology;;;;;;;;;;;;;;;;;;;;;;; -gms$s30_implementation;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s30_rotation_scenario_target;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;; -gms$c29_marginal_land;q33_marginal;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c30_bioen_water;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rainfed;;;;;;;;;;;;;;;;;;;;; -gms$s29_snv_scenario_target;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;;; -gms$s29_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$c35_ad_policy;ndc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c35_aolc_policy;ndc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s35_forest_damage_end;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;2050;2050;2050;2050;;;;;;;;;; -gms$s35_secdf_distribution;2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s36_minimum_wage;0;;;;;;3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$factor_costs;sticky_labor;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s42_watdem_nonagr_scenario;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c42_env_flow_policy;off;;;;;;;;;;;;;;;;;;;;;;;;;;;;;on;;;;;;;;;;;;;;;;;;;;; -gms$s42_efp_startyear;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2025;;;;;;;;;;;;;;;;;;;;; -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;R21M42-SSP2-PkBudg1300;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -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;R21M42-SSP2-NDC;;;R21M42-SSP2-PkBudg900;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;R21M42-SDP-PkBudg900;; -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.111_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rev4.111_FSEC_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz;rev4.111_FSEC_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz;;rev4.111_FSEC_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz;rev4.111_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;rev4.111_FSEC_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz;rev4.111_FSEC_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz;;; -input['regional'];rev4.111_FSEC_magpie.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['validation'];rev4.111_FSEC_validation.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['additional'];additional_data_rev4.51.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -input['calibration'];calibration_FSEC_26Mar24.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -magicc_emis_scen;bjoernAR6_C_SSP2-NDC.mif;;;bjoernAR6_C_SSP2-PkBudg900.mif;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bjoernAR6_C_SSP1-NDC.mif;;;;;;;;;;;;bjoernAR6_C_RemSDP-900-MagSSP1.mif;; diff --git a/scripts/projects/fsec.R b/scripts/projects/fsec.R index 0924c3f57..0449a6028 100644 --- a/scripts/projects/fsec.R +++ b/scripts/projects/fsec.R @@ -200,7 +200,7 @@ fsecScenario <- function(scenario) { ) # Assign selected scenario to cfg cfg <- setScenario(cfg, x[[scenario]]$standard) - cfg <- setScenario(cfg, x[[scenario]]$fsec, scenario_config = "config/scenario_fsec.csv") + cfg <- setScenario(cfg, x[[scenario]]$fsec, scenario_config = "config/projects/scenario_config_fsec.csv") # Download gridded population data gms::download_unpack(input = "FSEC_populationScenarios_v2_22-08-22.tgz", From 7f338f5a7027377052cf93915f33e7a16bbf1fe1 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 8 Jul 2024 12:11:44 +0200 Subject: [PATCH 03/53] bugfix in default settings --- config/scenario_config.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/scenario_config.csv b/config/scenario_config.csv index 4b696bf99..1e48441f7 100755 --- a/config/scenario_config.csv +++ b/config/scenario_config.csv @@ -100,6 +100,6 @@ gms$c60_biodem_level;1;;;;;;;;;;;;;;;;;1;0;;;;;;;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; gms$c60_bioenergy_subsidy;300;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; gms$c60_res_2ndgenBE_dem;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;sdp;ssp2;sdp;sdp;;;;;;;sdp;;;;;;ssp4;sdp;ssp4;ssp4;sdp;;;;;;;;;;;;;;;;;;;; gms$c70_feed_scen;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp5;ssp1;ssp1;;;;;;;ssp1;;;ssp1;ssp2;ssp2;ssp4;ssp1;ssp4;ssp4;ssp1;;;;;;;;;;;;;;;;;;;; -gms$s73_timber_demand_switch;1stgen_priced_dec18;;;;;;;;;;;;;;;;;;;;;;;;;;1;1;1;1;1;;;;;1;1;0;;;;;;;;;;;;; +gms$s73_timber_demand_switch;1;;;;;;;;;;;;;;;;;;;;;;;;;;1;1;1;1;1;;;;;1;1;0;;;;;;;;;;;;; input['cellular'];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rev4.111_h12_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz;rev4.111_h12_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz;rev4.111_h12_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz;rev4.111_h12_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;rev4.111_h12_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz;rev4.111_h12_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz;; magicc_emis_scen;;;;;;;;;;;;;;;;;;;;;;;;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;;;;;;;;;;;;;;;;;;;;;;;;; From 57a8a2bf9254c8fdf5064c8b638ba8dbda18102f Mon Sep 17 00:00:00 2001 From: Felicitas Date: Mon, 8 Jul 2024 13:31:11 +0200 Subject: [PATCH 04/53] added new project specific config files --- config/projects/scenario_config_el2.csv | 11 ++++ config/projects/scenario_config_fsec.csv | 84 ++++++++++++++++++++++++ config/projects/scenario_config_lama.csv | 39 +++++++++++ 3 files changed, 134 insertions(+) create mode 100644 config/projects/scenario_config_el2.csv create mode 100644 config/projects/scenario_config_fsec.csv create mode 100644 config/projects/scenario_config_lama.csv diff --git a/config/projects/scenario_config_el2.csv b/config/projects/scenario_config_el2.csv new file mode 100644 index 000000000..7bbc0a9b8 --- /dev/null +++ b/config/projects/scenario_config_el2.csv @@ -0,0 +1,11 @@ +;default;EL2_PHD;EL2_Demand;EL2_default +gms$c09_pal_scenario;SSP2;SDP;SDP;SSP2 +gms$s12_interest_lic;0.1;0.06;0.1;0.1 +gms$s12_interest_hic;0.04;0.04;0.04;0.04 +gms$s15_exo_waste;0;1;1;0 +gms$s15_waste_scen;1.2;1.2;1.2;1.2 +gms$s15_exo_diet;0;3;3;0 +gms$factor_costs;per_ton_fao_may22;sticky_labor;sticky_labor;sticky_labor +gms$c70_feed_scen;ssp2;ssp1;ssp2;ssp2 +input['cellular'];;rev4.111EL2_h12_c6a7458f_cellularmagpie_c200_IPSL-CM6A-LR-ssp370_lpjml-8e6c5eb1.tgz;; +magicc_emis_scen;;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif diff --git a/config/projects/scenario_config_fsec.csv b/config/projects/scenario_config_fsec.csv new file mode 100644 index 000000000..f986caf4c --- /dev/null +++ b/config/projects/scenario_config_fsec.csv @@ -0,0 +1,84 @@ +;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;SDPenergy;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$s14_minimum_wood_yield;10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +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$s21_trade_bal_damper;0.65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c22_protect_scenario;;;;;;;;;;;;;;;;;;;;;;;;;;;;;BH_IFL;;;;;;;;;;;;;;;;;;;;;; +gms$croparea;detail_apr24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c30_rotation_rules;FSEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c30_rotation_incentives;default;;;;;;;;;;;;;;;;;;;;;;;;;;;agroecology;;;;;;;;;;;;;;;;;;;;;;; +gms$s30_implementation;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s30_rotation_scenario_target;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;; +gms$c29_marginal_land;q33_marginal;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c30_bioen_water;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rainfed;;;;;;;;;;;;;;;;;;;;; +gms$s29_snv_scenario_target;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;;; +gms$s29_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$c35_ad_policy;ndc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c35_aolc_policy;ndc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s35_forest_damage_end;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2050;2050;2050;2050;2050;;;;;;;;;; +gms$s35_secdf_distribution;2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s36_minimum_wage;0;;;;;;3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$factor_costs;sticky_labor;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s42_watdem_nonagr_scenario;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c42_env_flow_policy;off;;;;;;;;;;;;;;;;;;;;;;;;;;;;;on;;;;;;;;;;;;;;;;;;;;; +gms$s42_efp_startyear;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2025;;;;;;;;;;;;;;;;;;;;; +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;R21M42-SSP2-PkBudg1300;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +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;R21M42-SSP2-NDC;;;R21M42-SSP2-PkBudg900;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;R21M42-SDP-PkBudg900;; +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.111_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rev4.111_FSEC_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz;rev4.111_FSEC_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz;;rev4.111_FSEC_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz;rev4.111_FSEC_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;rev4.111_FSEC_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz;rev4.111_FSEC_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz;;; +input['regional'];rev4.111_FSEC_magpie.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['validation'];rev4.111_FSEC_validation.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['additional'];additional_data_rev4.51.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +input['calibration'];calibration_FSEC_26Mar24.tgz;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +magicc_emis_scen;bjoernAR6_C_SSP2-NDC.mif;;;bjoernAR6_C_SSP2-PkBudg900.mif;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bjoernAR6_C_SSP1-NDC.mif;;;;;;;;;;;;bjoernAR6_C_RemSDP-900-MagSSP1.mif;; diff --git a/config/projects/scenario_config_lama.csv b/config/projects/scenario_config_lama.csv new file mode 100644 index 000000000..86c8aea9d --- /dev/null +++ b/config/projects/scenario_config_lama.csv @@ -0,0 +1,39 @@ +;default;LAMA_Inequal;LAMA_Inequal-SustDemand;LAMA_Inequal-EnvirProt;LAMA_Inequal-GHGPrice;LAMA_Sustainability +gms$c_timesteps;coup2100;5year;5year;5year;5year;5year +gms$c09_pop_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c09_gdp_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c09_pal_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c15_food_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c15_food_scenario_noselect;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$s15_exo_foodscen_start;2025;;2020;;;2020 +gms$s15_exo_foodscen_target;2050;;2050;;;2050 +gms$s15_exo_waste;0;0;1;0;0;1 +gms$s15_waste_scen;1.2;1.2;1.2;1.2;1.2;1.2 +gms$s15_exo_diet;0;0;1;0;0;1 +gms$s15_exo_brans;0;1;1;1;1;1 +gms$c21_trade_liberalization;l909090r808080;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l908080r807070 +gms$c22_protect_scenario;none;BH_IFL;BH_IFL;BH_IFL;BH_IFL;BH_IFL +gms$c22_protect_scenario_noselect;none;none;none;BH_IFL;none;BH_IFL +gms$s29_snv_shr;0;0.2;0.2;0.2;0.2;0.2 +gms$s29_snv_shr_noselect;0;0;0;0.2;0;0.2 +gms$s29_snv_scenario_target;2050;2030;2030;2030;2030;2030 +gms$s32_max_aff_area;Inf;Inf;Inf;Inf;500;500 +gms$c34_urban_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c32_aff_policy;npi;ndc;ndc;ndc;ndc;ndc +gms$c35_ad_policy;npi;ndc;ndc;ndc;ndc;ndc +gms$c35_aolc_policy;npi;ndc;ndc;ndc;ndc;ndc +gms$s35_forest_damage_end;2050;2030;2030;2030;2030;2030 +gms$s42_watdem_nonagr_scenario;2;2;1;2;2;1 +gms$s42_irrig_eff_scenario;2;3;3;3;3;3 +gms$c42_env_flow_policy;off;on;on;on;on;on +gms$c50_scen_neff;baseeff_add3_add5_add10_max65;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75 +gms$c50_scen_neff_noselect;baseeff_add3_add5_add10_max65;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75 +gms$c55_scen_conf;ssp2;ssp1;ssp1;ssp1;ssp1;ssp1 +gms$c55_scen_conf_noselect;ssp2;ssp4;ssp4;ssp1;ssp4;ssp1 +gms$c56_pollutant_prices;R32M46-SSP2EU-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 +gms$c56_pollutant_prices_noselect;R32M46-SSP2EU-NPi;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 +gms$c60_1stgen_biodem;const2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020 +gms$c60_2ndgen_biodem;R32M46-SSP2EU-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 +gms$c60_2ndgen_biodem_noselect;R32M46-SSP2EU-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 +gms$c60_res_2ndgenBE_dem;ssp2;ssp4;sdp;ssp4;ssp4;sdp +gms$c70_feed_scen;ssp2;ssp4;ssp1;ssp4;ssp4;ssp1 From 1a502a2cfa89c5e7f63d2eb3db8cd86cd5fc9812 Mon Sep 17 00:00:00 2001 From: Kristine Karstens Date: Mon, 8 Jul 2024 14:21:21 +0200 Subject: [PATCH 05/53] add genie and navigate project configs --- config/projects/scenario_config_geniescp.csv | 16 ++++++++++++++++ config/projects/scenario_config_navigate.csv | 6 ++++++ 2 files changed, 22 insertions(+) create mode 100644 config/projects/scenario_config_geniescp.csv create mode 100644 config/projects/scenario_config_navigate.csv diff --git a/config/projects/scenario_config_geniescp.csv b/config/projects/scenario_config_geniescp.csv new file mode 100644 index 000000000..5d12d8cb4 --- /dev/null +++ b/config/projects/scenario_config_geniescp.csv @@ -0,0 +1,16 @@ +,"GENIE_SCP" +"gms$c_timesteps","coup2110" +"gms$c13_tccost","high" +"gms$c14_yields_scenario","nocc" +"gms$food","anthropometrics_jan18" +"gms$c20_scp_type","hydrogen" +"gms$s30_annual_max_growth","0.02" +"gms$factor_costs","sticky_feb18" +"gms$s44_cost_bii_missing",10000000 +"gms$c56_pollutant_prices","R32M46-SSP2EU-NPi" +"gms$c56_pollutant_prices_noselect","R32M46-SSP2EU-NPi" +"gms$c56_mute_ghgprices_until","y2020" +"gms$bioenergy","1st2ndgen_priced_feb24" +"gms$c60_1stgen_biodem","phaseout2020" +"gms$c60_2ndgen_biodem","R32M46-SSP2EU-NPi" +"gms$c60_2ndgen_biodem_noselect","R32M46-SSP2EU-NPi" diff --git a/config/projects/scenario_config_navigate.csv b/config/projects/scenario_config_navigate.csv new file mode 100644 index 000000000..bf5afd55a --- /dev/null +++ b/config/projects/scenario_config_navigate.csv @@ -0,0 +1,6 @@ +,"NAVIGATE_AllOff","NAVIGATE_LandSup","NAVIGATE_LandDem","NAVIGATE_AllOn" +"gms$s15_exo_waste",0,0,1,1 +"gms$s15_exo_diet",0,0,1,1 +"gms$c57_macc_version","PBL_2022","PBL_2022","PBL_2022","PBL_2022" +"gms$c57_macc_scenario","Default","Optimistic","Default","Optimistic" +"gms$s58_rewetting_switch",0,1,0,1 From 17fcff8797fbd089523b031478e4b5d66f1ed2db Mon Sep 17 00:00:00 2001 From: pvjeetze Date: Tue, 9 Jul 2024 17:28:52 +0200 Subject: [PATCH 06/53] added configs for frst_shock, gcs and ngfs --- .../projects/scenario_config_frst_shock.csv | 4 ++++ config/projects/scenario_config_gcs.csv | 24 +++++++++++++++++++ config/projects/scenario_config_ngfs.csv | 11 +++++++++ 3 files changed, 39 insertions(+) create mode 100755 config/projects/scenario_config_frst_shock.csv create mode 100755 config/projects/scenario_config_gcs.csv create mode 100755 config/projects/scenario_config_ngfs.csv diff --git a/config/projects/scenario_config_frst_shock.csv b/config/projects/scenario_config_frst_shock.csv new file mode 100755 index 000000000..8640d126b --- /dev/null +++ b/config/projects/scenario_config_frst_shock.csv @@ -0,0 +1,4 @@ +;frst_shock_none;frst_shock_002lin2030;frst_shock_004lin2030;frst_shock_008lin2030;frst_shock_016lin2030 +gms$c32_shock_scenario;none;002lin2030;004lin2030;008lin2030;016lin2030 +gms$s35_forest_damage;4;4;4;4;4 +gms$c35_shock_scenario;none;002lin2030;004lin2030;008lin2030;016lin2030 diff --git a/config/projects/scenario_config_gcs.csv b/config/projects/scenario_config_gcs.csv new file mode 100755 index 000000000..9548161eb --- /dev/null +++ b/config/projects/scenario_config_gcs.csv @@ -0,0 +1,24 @@ +;Tland +gms$s15_exo_foodscen_start;2020 +gms$s15_exo_foodscen_target;2050 +gms$s15_exo_waste;1 +gms$s15_waste_scen;1.2 +gms$s15_exo_diet;1 +gms$c15_kcal_scen;healthy_BMI +gms$c15_EAT_scen;FLX +gms$s15_exo_brans;1 +gms$c22_protect_scenario;BH +gms$c22_protect_scenario_noselect;none +gms$s32_max_aff_area;500 +gms$c32_aff_mask;onlytropical +gms$s35_forest_damage_end;2030 +gms$s42_irrig_eff_scenario;3 +gms$c42_env_flow_policy;on +gms$s42_efp_targetyear;2040 +gms$c50_scen_neff;baseeff_add3_add15_add25_max75 +gms$c50_scen_neff_noselect;baseeff_add3_add15_add25_max75 +gms$c55_scen_conf;ssp1 +gms$c55_scen_conf_noselect;ssp1 +gms$c60_1stgen_biodem;phaseout2020 +gms$c60_res_2ndgenBE_dem;sdp +gms$c70_feed_scen;ssp1 diff --git a/config/projects/scenario_config_ngfs.csv b/config/projects/scenario_config_ngfs.csv new file mode 100755 index 000000000..3780bba98 --- /dev/null +++ b/config/projects/scenario_config_ngfs.csv @@ -0,0 +1,11 @@ +;NGFS_o_lowdem +gms$c15_food_scenario;SSP2 +gms$c15_food_scenario_noselect;SSP2 +gms$s15_exo_foodscen_convergence;1 +gms$s15_exo_foodscen_functional_form;1 +gms$s15_exo_foodscen_start;2020 +gms$s15_exo_foodscen_target;2050 +gms$s15_exo_waste;1 +gms$s15_waste_scen;1.2 +gms$s15_exo_diet;1 +gms$c15_kcal_scen;healthy_BMI From a2f554cd0166ecb0bc3500b281b10e942f9f5995 Mon Sep 17 00:00:00 2001 From: pvjeetze Date: Tue, 9 Jul 2024 17:29:31 +0200 Subject: [PATCH 07/53] first cleaning of scenario config + added configs for geniescp and navigate --- config/projects/scenario_config_geniescp.csv | 13 +++++++++++++ config/projects/scenario_config_navigate.csv | 9 +++++++++ 2 files changed, 22 insertions(+) create mode 100755 config/projects/scenario_config_geniescp.csv create mode 100755 config/projects/scenario_config_navigate.csv diff --git a/config/projects/scenario_config_geniescp.csv b/config/projects/scenario_config_geniescp.csv new file mode 100755 index 000000000..4902fb5b9 --- /dev/null +++ b/config/projects/scenario_config_geniescp.csv @@ -0,0 +1,13 @@ +;GENIE_SCP +gms$c_timesteps;coup2110 +gms$c13_tccost;high +gms$c14_yields_scenario;nocc +gms$food;anthropometrics_jan18 +gms$kfo_rd;livst_rum,livst_milk +gms$c20_scp_type;hydrogen +gms$s30_annual_max_growth;0.02 +gms$factor_costs;sticky_feb18 +gms$s44_cost_bii_missing;10000000 +gms$c56_mute_ghgprices_until;y2020 +gms$bioenergy;1st2ndgen_priced_feb24 +gms$c60_1stgen_biodem;phaseout2020 diff --git a/config/projects/scenario_config_navigate.csv b/config/projects/scenario_config_navigate.csv new file mode 100755 index 000000000..553cddc40 --- /dev/null +++ b/config/projects/scenario_config_navigate.csv @@ -0,0 +1,9 @@ +;NAVIGATE_AllOff;NAVIGATE_LandSup;NAVIGATE_LandDem;NAVIGATE_AllOn +gms$s15_exo_waste;0;0;1;1 +gms$s15_waste_scen;1.2;1.2;1.2;1.2 +gms$s15_exo_diet;0;0;1;1 +gms$c15_kcal_scen;healthy_BMI;healthy_BMI;healthy_BMI;healthy_BMI +gms$c15_EAT_scen;FLX;FLX;FLX;FLX +gms$c57_macc_version;PBL_2022;PBL_2022;PBL_2022;PBL_2022 +gms$c57_macc_scenario;Default;Optimistic;Default;Optimistic +gms$s58_rewetting_switch;0;1;0;1 From 2c6cb02dc186a5f7fd91352b482526a71bcec963 Mon Sep 17 00:00:00 2001 From: pvjeetze Date: Wed, 10 Jul 2024 10:05:44 +0200 Subject: [PATCH 08/53] Revert "first cleaning of scenario config + added configs for geniescp and navigate" This reverts commit a2f554cd0166ecb0bc3500b281b10e942f9f5995. --- config/projects/scenario_config_geniescp.csv | 13 ------------- config/projects/scenario_config_navigate.csv | 9 --------- 2 files changed, 22 deletions(-) delete mode 100755 config/projects/scenario_config_geniescp.csv delete mode 100755 config/projects/scenario_config_navigate.csv diff --git a/config/projects/scenario_config_geniescp.csv b/config/projects/scenario_config_geniescp.csv deleted file mode 100755 index 4902fb5b9..000000000 --- a/config/projects/scenario_config_geniescp.csv +++ /dev/null @@ -1,13 +0,0 @@ -;GENIE_SCP -gms$c_timesteps;coup2110 -gms$c13_tccost;high -gms$c14_yields_scenario;nocc -gms$food;anthropometrics_jan18 -gms$kfo_rd;livst_rum,livst_milk -gms$c20_scp_type;hydrogen -gms$s30_annual_max_growth;0.02 -gms$factor_costs;sticky_feb18 -gms$s44_cost_bii_missing;10000000 -gms$c56_mute_ghgprices_until;y2020 -gms$bioenergy;1st2ndgen_priced_feb24 -gms$c60_1stgen_biodem;phaseout2020 diff --git a/config/projects/scenario_config_navigate.csv b/config/projects/scenario_config_navigate.csv deleted file mode 100755 index 553cddc40..000000000 --- a/config/projects/scenario_config_navigate.csv +++ /dev/null @@ -1,9 +0,0 @@ -;NAVIGATE_AllOff;NAVIGATE_LandSup;NAVIGATE_LandDem;NAVIGATE_AllOn -gms$s15_exo_waste;0;0;1;1 -gms$s15_waste_scen;1.2;1.2;1.2;1.2 -gms$s15_exo_diet;0;0;1;1 -gms$c15_kcal_scen;healthy_BMI;healthy_BMI;healthy_BMI;healthy_BMI -gms$c15_EAT_scen;FLX;FLX;FLX;FLX -gms$c57_macc_version;PBL_2022;PBL_2022;PBL_2022;PBL_2022 -gms$c57_macc_scenario;Default;Optimistic;Default;Optimistic -gms$s58_rewetting_switch;0;1;0;1 From 885235444a97cd95ec4f5f9ef8d02884cd08db11 Mon Sep 17 00:00:00 2001 From: pvjeetze Date: Wed, 10 Jul 2024 10:16:09 +0200 Subject: [PATCH 09/53] removed default columns from project configs --- config/projects/scenario_config_el2.csv | 22 +++---- config/projects/scenario_config_lama.csv | 78 ++++++++++++------------ 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/config/projects/scenario_config_el2.csv b/config/projects/scenario_config_el2.csv index 7bbc0a9b8..74556d0e9 100644 --- a/config/projects/scenario_config_el2.csv +++ b/config/projects/scenario_config_el2.csv @@ -1,11 +1,11 @@ -;default;EL2_PHD;EL2_Demand;EL2_default -gms$c09_pal_scenario;SSP2;SDP;SDP;SSP2 -gms$s12_interest_lic;0.1;0.06;0.1;0.1 -gms$s12_interest_hic;0.04;0.04;0.04;0.04 -gms$s15_exo_waste;0;1;1;0 -gms$s15_waste_scen;1.2;1.2;1.2;1.2 -gms$s15_exo_diet;0;3;3;0 -gms$factor_costs;per_ton_fao_may22;sticky_labor;sticky_labor;sticky_labor -gms$c70_feed_scen;ssp2;ssp1;ssp2;ssp2 -input['cellular'];;rev4.111EL2_h12_c6a7458f_cellularmagpie_c200_IPSL-CM6A-LR-ssp370_lpjml-8e6c5eb1.tgz;; -magicc_emis_scen;;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif +;EL2_PHD;EL2_Demand;EL2_default +gms$c09_pal_scenario;SDP;SDP;SSP2 +gms$s12_interest_lic;0.06;0.1;0.1 +gms$s12_interest_hic;0.04;0.04;0.04 +gms$s15_exo_waste;1;1;0 +gms$s15_waste_scen;1.2;1.2;1.2 +gms$s15_exo_diet;3;3;0 +gms$factor_costs;sticky_labor;sticky_labor;sticky_labor +gms$c70_feed_scen;ssp1;ssp2;ssp2 +input['cellular'];rev4.111EL2_h12_c6a7458f_cellularmagpie_c200_IPSL-CM6A-LR-ssp370_lpjml-8e6c5eb1.tgz;; +magicc_emis_scen;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif diff --git a/config/projects/scenario_config_lama.csv b/config/projects/scenario_config_lama.csv index 86c8aea9d..7cc24c1ba 100644 --- a/config/projects/scenario_config_lama.csv +++ b/config/projects/scenario_config_lama.csv @@ -1,39 +1,39 @@ -;default;LAMA_Inequal;LAMA_Inequal-SustDemand;LAMA_Inequal-EnvirProt;LAMA_Inequal-GHGPrice;LAMA_Sustainability -gms$c_timesteps;coup2100;5year;5year;5year;5year;5year -gms$c09_pop_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 -gms$c09_gdp_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 -gms$c09_pal_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 -gms$c15_food_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 -gms$c15_food_scenario_noselect;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 -gms$s15_exo_foodscen_start;2025;;2020;;;2020 -gms$s15_exo_foodscen_target;2050;;2050;;;2050 -gms$s15_exo_waste;0;0;1;0;0;1 -gms$s15_waste_scen;1.2;1.2;1.2;1.2;1.2;1.2 -gms$s15_exo_diet;0;0;1;0;0;1 -gms$s15_exo_brans;0;1;1;1;1;1 -gms$c21_trade_liberalization;l909090r808080;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l908080r807070 -gms$c22_protect_scenario;none;BH_IFL;BH_IFL;BH_IFL;BH_IFL;BH_IFL -gms$c22_protect_scenario_noselect;none;none;none;BH_IFL;none;BH_IFL -gms$s29_snv_shr;0;0.2;0.2;0.2;0.2;0.2 -gms$s29_snv_shr_noselect;0;0;0;0.2;0;0.2 -gms$s29_snv_scenario_target;2050;2030;2030;2030;2030;2030 -gms$s32_max_aff_area;Inf;Inf;Inf;Inf;500;500 -gms$c34_urban_scenario;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1 -gms$c32_aff_policy;npi;ndc;ndc;ndc;ndc;ndc -gms$c35_ad_policy;npi;ndc;ndc;ndc;ndc;ndc -gms$c35_aolc_policy;npi;ndc;ndc;ndc;ndc;ndc -gms$s35_forest_damage_end;2050;2030;2030;2030;2030;2030 -gms$s42_watdem_nonagr_scenario;2;2;1;2;2;1 -gms$s42_irrig_eff_scenario;2;3;3;3;3;3 -gms$c42_env_flow_policy;off;on;on;on;on;on -gms$c50_scen_neff;baseeff_add3_add5_add10_max65;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75 -gms$c50_scen_neff_noselect;baseeff_add3_add5_add10_max65;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75 -gms$c55_scen_conf;ssp2;ssp1;ssp1;ssp1;ssp1;ssp1 -gms$c55_scen_conf_noselect;ssp2;ssp4;ssp4;ssp1;ssp4;ssp1 -gms$c56_pollutant_prices;R32M46-SSP2EU-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 -gms$c56_pollutant_prices_noselect;R32M46-SSP2EU-NPi;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 -gms$c60_1stgen_biodem;const2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020 -gms$c60_2ndgen_biodem;R32M46-SSP2EU-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 -gms$c60_2ndgen_biodem_noselect;R32M46-SSP2EU-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 -gms$c60_res_2ndgenBE_dem;ssp2;ssp4;sdp;ssp4;ssp4;sdp -gms$c70_feed_scen;ssp2;ssp4;ssp1;ssp4;ssp4;ssp1 +;LAMA_Inequal;LAMA_Inequal-SustDemand;LAMA_Inequal-EnvirProt;LAMA_Inequal-GHGPrice;LAMA_Sustainability +gms$c_timesteps;5year;5year;5year;5year;5year +gms$c09_pop_scenario;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c09_gdp_scenario;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c09_pal_scenario;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c15_food_scenario;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c15_food_scenario_noselect;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$s15_exo_foodscen_start;;2020;;;2020 +gms$s15_exo_foodscen_target;;2050;;;2050 +gms$s15_exo_waste;0;1;0;0;1 +gms$s15_waste_scen;1.2;1.2;1.2;1.2;1.2 +gms$s15_exo_diet;0;1;0;0;1 +gms$s15_exo_brans;1;1;1;1;1 +gms$c21_trade_liberalization;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l908080r807070 +gms$c22_protect_scenario;BH_IFL;BH_IFL;BH_IFL;BH_IFL;BH_IFL +gms$c22_protect_scenario_noselect;none;none;BH_IFL;none;BH_IFL +gms$s29_snv_shr;0.2;0.2;0.2;0.2;0.2 +gms$s29_snv_shr_noselect;0;0;0.2;0;0.2 +gms$s29_snv_scenario_target;2030;2030;2030;2030;2030 +gms$s32_max_aff_area;Inf;Inf;Inf;500;500 +gms$c34_urban_scenario;SSP4;SSP1;SSP4;SSP4;SSP1 +gms$c32_aff_policy;ndc;ndc;ndc;ndc;ndc +gms$c35_ad_policy;ndc;ndc;ndc;ndc;ndc +gms$c35_aolc_policy;ndc;ndc;ndc;ndc;ndc +gms$s35_forest_damage_end;2030;2030;2030;2030;2030 +gms$s42_watdem_nonagr_scenario;2;1;2;2;1 +gms$s42_irrig_eff_scenario;3;3;3;3;3 +gms$c42_env_flow_policy;on;on;on;on;on +gms$c50_scen_neff;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75 +gms$c50_scen_neff_noselect;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75 +gms$c55_scen_conf;ssp1;ssp1;ssp1;ssp1;ssp1 +gms$c55_scen_conf_noselect;ssp4;ssp4;ssp1;ssp4;ssp1 +gms$c56_pollutant_prices;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 +gms$c56_pollutant_prices_noselect;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 +gms$c60_1stgen_biodem;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020 +gms$c60_2ndgen_biodem;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 +gms$c60_2ndgen_biodem_noselect;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000 +gms$c60_res_2ndgenBE_dem;ssp4;sdp;ssp4;ssp4;sdp +gms$c70_feed_scen;ssp4;ssp1;ssp4;ssp4;ssp1 From ae1dfc378eaf3618fb97b3c480743b949f03b986 Mon Sep 17 00:00:00 2001 From: weindl <39915455+weindl@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:07:43 +0200 Subject: [PATCH 10/53] Clean-up of main scenario_config.csv --- config/scenario_config.csv | 181 ++++++++++++++++--------------------- 1 file changed, 76 insertions(+), 105 deletions(-) diff --git a/config/scenario_config.csv b/config/scenario_config.csv index 1e48441f7..7733fca14 100755 --- a/config/scenario_config.csv +++ b/config/scenario_config.csv @@ -1,105 +1,76 @@ -;default;cc;nocc;nocc_hist;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SDP;SDP-EI;SDP-RC;SDP-MC;BASE;NPI;NDC;coupling;emulator;input;Tland;eat_lancet_diet_v1;eat_lancet_diet_v2;EL2_PHD;EL2_Demand;EL2_default;LAMA_Inequal;LAMA_Inequal-SustDemand;LAMA_Inequal-EnvirProt;LAMA_Inequal-GHGPrice;LAMA_Sustainability;NAVIGATE_AllOff;NAVIGATE_LandSup;NAVIGATE_LandDem;NAVIGATE_AllOn;ForestryEndo;ForestryExo;ForestryOff;frst_shock_none;frst_shock_002lin2030;frst_shock_004lin2030;frst_shock_008lin2030;frst_shock_016lin2030;rcp1p9;rcp2p6;rcp4p5;rcp6p0;rcp7p0;rcp8p5;NGFS_o_lowdem;GENIE_SCP -gms$c_timesteps;coup2100;;;;;;;;;;;;;;;;;less_TS;less_TS;;;;;;;;5year;5year;5year;5year;5year;;;;;;;;;;;;;;;;;;;;coup2110 -gms$c09_pop_scenario;SSP2;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SSP1;SSP1;SSP1;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; -gms$c09_gdp_scenario;SSP2;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SDP_EI;SDP_RC;SDP_MC;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; -gms$c09_pal_scenario;SSP2;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SSP2;SSP1;SSP1;;;;;;;;;;SDP;SDP;SSP2;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; -gms$s12_interest_lic;0.1;;;;;;;;;;;;;;;;;;;;;;;0.06;0.1;0.1;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s12_interest_hic;0.04;;;;;;;;;;;;;;;;;;;;;;;0.04;0.04;0.04;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c13_tccost;medium;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;high -gms$c14_yields_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;;nocc -gms$food;anthro_iso_jun22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;anthropometrics_jan18 -gms$c15_food_scenario;SSP2;;;;SSP1;SSP2;SSP2;SSP3;SSP4;SSP5;SSP1;SSP2;SSP1;SSP1;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;SSP2; -gms$c15_food_scenario_noselect;SSP2;;;;;;;;;;;;;;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;SSP2; -gms$s15_elastic_demand;0;;;;0;0;0;0;0;0;0;0;0;0;;;;;;;0;0;;0;0;0;0;0;0;0;0;;;;;;;;;;;;;;;;;;;; -gms$s15_rumdairy_scp_substitution;0;;;;0;0;0;0;0;0;0;0.5;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s15_food_subst_functional_form;1;;;;;;;;;;;2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s15_food_substitution_start;2025;;;;;;;;;;;2020;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s15_food_substitution_target;2050;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$kfo_rd;livst_rum;;;;;;;;;;;livst_rum;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;livst_rum,livst_milk -gms$s15_exo_foodscen_convergence;1;;;;;;;;;;1;1;1;1;;;;;;;1;1;;1;1;1;;1;;;1;;;;;;;;;;;;;;;;;;;1; -gms$s15_exo_foodscen_functional_form;1;;;;;;;;;;1;1;1;1;;;;;;;1;1;;1;1;1;;1;;;1;;;;;;;;;;;;;;;;;;;1; -gms$s15_exo_foodscen_start;2025;;;;;;;;;;2020;2020;2020;2020;;;;;;;2020;2025;;2025;2025;2025;;2020;;;2020;;;;;;;;;;;;;;;;;;;2020; -gms$s15_exo_foodscen_target;2050;;;;;;;;;;2050;2050;2050;2070;;;;;;;2050;2050;;2050;2050;2050;;2050;;;2050;;;;;;;;;;;;;;;;;;;2050; -gms$s15_exo_waste;0;;;;0;0;0;0;0;0;1;1;1;1;;;;;;;1;0;;1;1;0;0;1;0;0;1;0;0;1;1;;;;;;;;;;;;;;;1; -gms$s15_waste_scen;1.2;;;;;;;;;;1.2;1.3;1.2;1.25;;;;;;;1.2;1.2;;1.2;1.2;;;1.2;;;1.2;;;;;;;;;;;;;;;;;;;1.2; -gms$s15_exo_diet;0;;;;0;0;0;0;0;0;1;1;1;1;;;;;;;1;1;;3;3;0;0;1;0;0;1;0;0;1;1;;;;;;;;;;;;;;;1; -gms$c15_kcal_scen;healthy_BMI;;;;;;;;;;healthy_BMI;no_underweight;healthy_BMI;healthy_BMI;;;;;;;healthy_BMI;healthy_BMI;;healthy_BMI;healthy_BMI;;;healthy_BMI;;;healthy_BMI;;;;;;;;;;;;;;;;;;;healthy_BMI; -gms$c15_EAT_scen;FLX;;;;;;;;;;FLX;;FLX;FLX;;;;;;;FLX;FLX;;FLX;FLX;;;FLX;;;FLX;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_monogastric;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_ruminant;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_fish;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_fruitvegnut;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_roots;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_pulses;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_sugar;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_oils;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_brans;0;;;;;;;;;;1;0;1;1;;;;;;;1;1;;0;0;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_scp;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_exo_alcohol;1;;;;;;;;;;1;0;1;1;;;;;;;1;1;;1;1;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$s15_alc_scen;0;;;;;;;;;;;;;;;;;;;;;;;0;0;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c20_scp_type;sugar;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;hydrogen -gms$c21_trade_liberalization;l909090r808080;;;;l908080r807070;l909090r808080;l909090r808080;l909595r809090;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l909595r809090;l908080r807070;;;;;;;;;;;;;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l908080r807070;;;;;;;;;;;;;;;;;;;; -gms$c22_protect_scenario;none;;;;none;none;none;none;none;none;BH;none;BH_IFL;BH;;;;;;;BH;;;;;;BH_IFL;BH_IFL;BH_IFL;BH_IFL;BH_IFL;;;;;;;;;;;;;;;;;;;; -gms$c22_protect_scenario_noselect;none;;;;;;;;;;;;;;;;;;;;;;;;;;none;none;BH_IFL;none;BH_IFL;;;;;;;;;;;;;;;;;;;; -gms$s29_snv_shr;0;;;;0;0;0;0;0;0;0;0;0;0.2;;;;;;;0;;;;;;0.2;0.2;0.2;0.2;0.2;;;;;;;;;;;;;;;;;;;; -gms$s29_snv_shr_noselect;0;;;;;;;;;;;;;;;;;;;;;;;;;;0;0;0.2;0;0.2;;;;;;;;;;;;;;;;;;;; -gms$s29_snv_scenario_target;2050;;;;;;;;;;;;;2030;;;;;;;;;;;;;2030;2030;2030;2030;2030;;;;;;;;;;;;;;;;;;;; -gms$c30_bioen_water;rainfed;;;;rainfed;rainfed;rainfed;rainfed;rainfed;rainfed;rainfed;all;rainfed;rainfed;;;;;;;rainfed;;;;rainfed;rainfed;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s30_annual_max_growth;Inf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0.02 -gms$c31_grassl_yld_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c32_shock_scenario;none;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;none;002lin2030;004lin2030;008lin2030;016lin2030;;;;;;;; -gms$s32_initial_distribution;1;;;;;;;;;;;;;;;;;;;;;;;;;;1;1;1;1;1;;;;;1;1;0;;;;;;;;;;;;; -gms$s32_hvarea;2;;;;;;;;;;;;;;;;;;;;;;;;;;2;2;2;2;2;;;;;2;1;0;;;;;;;;;;;;; -gms$s32_aff_plantation;0;;;;0;0;0;0;0;0;0;1;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s32_aff_bii_coeff;0;;;;0;0;0;0;0;0;0;1;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s32_max_aff_area;Inf;;;;Inf;Inf;Inf;Inf;Inf;Inf;500;350;0;700;;;;;;;500;;;;;;Inf;Inf;Inf;500;500;;;;;;;;;;;;;;;;;;;; -gms$c32_aff_mask;noboreal;;;;noboreal;noboreal;noboreal;noboreal;noboreal;noboreal;onlytropical;onlytropical;onlytropical;onlytropical;;;;;;;onlytropical;;;;;;noboreal;noboreal;noboreal;noboreal;noboreal;;;;;;;;;;;;;;;;;;;; -gms$c34_urban_scenario;SSP2;;;;SSP1;SSP2;SSP2;SSP3;SSP4;SSP5;SSP1;SSP1;SSP2;SSP1;;;;;;;;;;;;;SSP4;SSP1;SSP4;SSP4;SSP1;;;;;;;;;;;;;;;;;;;; -gms$c32_aff_policy;npi;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;;ndc;ndc;ndc;ndc;ndc;;;;;;;;;;;;;;;;;;;; -gms$s32_planing_horizon;50;;;;50;50;50;50;50;50;50;30;50;50;;;;;;;50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c35_ad_policy;npi;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;;ndc;ndc;ndc;ndc;ndc;;;;;;;;;;;;;;;;;;;; -gms$c35_aolc_policy;npi;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;;ndc;ndc;ndc;ndc;ndc;;;;;;;;;;;;;;;;;;;; -gms$c35_pot_forest_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$s35_forest_damage;2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4;4;4;4;4;;;;;;;; -gms$s35_forest_damage_end;2050;;;;2030;2050;2050;2050;2050;2030;2030;2030;2030;2030;;;;;;;2030;;;;;;2030;2030;2030;2030;2030;;;;;;;;;;;;;;;;;;;; -gms$c35_shock_scenario;none;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;none;002lin2030;004lin2030;008lin2030;016lin2030;;;;;;;; -gms$s35_secdf_distribution;2;;;;;;;;;;;;;;;;;;;;;;;;;;2;2;2;2;2;;;;;2;2;0;;;;;;;;;;;;; -gms$s35_hvarea;2;;;;;;;;;;;;;;;;;;;;;;;;;;2;2;2;2;2;;;;;2;2;0;;;;;;;;;;;;; -gms$factor_costs;per_ton_fao_may22;;;;;;;;;;;;;;;;;;;;;;;sticky_labor;sticky_labor;sticky_labor;;;;;;;;;;;;;;;;;;;;;;;;;sticky_feb18 -gms$c42_watdem_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$s42_watdem_nonagr_scenario;2;;;;1;2;2;3;2;1;1;1;3;1;;;;;;;;;;;;;2;1;2;2;1;;;;;;;;;;;;;;;;;;;; -gms$s42_irrig_eff_scenario;2;;;;2;2;2;2;2;2;3;3;3;3;;;;;;;3;;;;;;3;3;3;3;3;;;;;;;;;;;;;;;;;;;; -gms$c42_env_flow_policy;off;;;;on;off;off;off;mixed;on;on;on;on;on;;;;;;;on;;;;;;on;on;on;on;on;;;;;;;;;;;;;;;;;;;; -gms$s42_efp_targetyear;2040;;;;2040;2040;2040;2040;2040;2040;2040;2050;2070;2050;;;;;;;2040;;;;;;2040;2040;2040;2040;2040;;;;;;;;;;;;;;;;;;;; -gms$c43_watavail_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$s44_cost_bii_missing;1000000;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10000000 -gms$s44_target_price;0;;;;0;0;0;0;0;0;0;0;0;0;;;;;;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c50_scen_neff;baseeff_add3_add5_add10_max65;;;;baseeff_add3_add10_add20_max75;baseeff_add3_add5_add10_max65;baseeff_add3_add5_add10_max65;baseeff_add3_add0_add0_max55;baseeff_add3_add10_add15_max75;baseeff_add3_add5_add15_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max65;baseeff_add3_add15_add25_max75;;;;;;;baseeff_add3_add15_add25_max75;;;;;;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;;;;;;;;;;;;;;;;;;;; -gms$c50_scen_neff_noselect;baseeff_add3_add5_add10_max65;;;;baseeff_add3_add10_add20_max75;baseeff_add3_add5_add10_max65;baseeff_add3_add5_add10_max65;baseeff_add3_add0_add0_max55;baseeff_add3_add10_add15_max75;baseeff_add3_add5_add15_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max65;baseeff_add3_add15_add25_max75;;;;;;;baseeff_add3_add15_add25_max75;;;;;;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;baseeff_add3_add10_add15_max75;;;;;;;;;;;;;;;;;;;; -gms$c52_carbon_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$c52_land_carbon_sink_rcp;RCPBU;;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;RCP19;RCP26;RCP45;RCP60;RCPBU;RCPBU;; -gms$c55_scen_conf;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp1;ssp1;ssp1;;;;;;;ssp1;;;;;;ssp1;ssp1;ssp1;ssp1;ssp1;;;;;;;;;;;;;;;;;;;; -gms$c55_scen_conf_noselect;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp1;ssp1;ssp1;;;;;;;ssp1;;;;;;ssp4;ssp4;ssp1;ssp4;ssp1;;;;;;;;;;;;;;;;;;;; -gms$c56_pollutant_prices;R32M46-SSP2EU-NPi;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi -gms$c56_pollutant_prices_noselect;R32M46-SSP2EU-NPi;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-NPi;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi -gms$s56_c_price_exp_aff;50;;;;50;50;50;50;50;50;50;30;50;50;;;;;;;50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s56_buffer_aff;0.5;;;;0.5;0.5;0.5;0.5;0.5;0.5;0.5;0.5;0.2;0.3;;;;;;;0.5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c56_emis_policy;reddnatveg_nosoil;;;;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;reddnatveg_nosoil;redd_nosoil;all_nosoil;;;;;;;reddnatveg_nosoil;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$s56_minimum_cprice;0;;;;;;;;;;;;;;0;0;18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c56_mute_ghgprices_until;y2030;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;y2020 -gms$maccs;on_aug22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c57_macc_version;PBL_2022;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;PBL_2022;PBL_2022;PBL_2022;PBL_2022;;;;;;;;;;;;;;;; -gms$c57_macc_scenario;Default;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;Default;Optimistic;Default;Optimistic;;;;;;;;;;;;;;;; -gms$s58_rewetting_switch;Inf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0;1;0;1;;;;;;;;;;;;;;;; -gms$c59_som_scenario;cc;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;cc;cc;cc;cc;cc;;;;;;;;;;;;;;;;;;;; -gms$bioenergy;1stgen_priced_dec18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1st2ndgen_priced_feb24 -gms$c60_1stgen_biodem;const2020;;;;phaseout2020;const2020;const2020;const2030;const2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;;;;;;;phaseout2020;;;;;;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;;;;;;;;;;;;;;;;;;;;phaseout2020 -gms$c60_2ndgen_biodem;R32M46-SSP2EU-NPi;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi -gms$c60_2ndgen_biodem_noselect;R32M46-SSP2EU-NPi;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;R21M42-SDP-PkBudg1000;;;;;;;;;;;;;;;;;;;;R32M46-SSP2EU-NPi -gms$c60_biodem_level;1;;;;;;;;;;;;;;;;;1;0;;;;;;;;1;1;1;1;1;;;;;;;;;;;;;;;;;;;; -gms$c60_bioenergy_subsidy;300;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -gms$c60_res_2ndgenBE_dem;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;sdp;ssp2;sdp;sdp;;;;;;;sdp;;;;;;ssp4;sdp;ssp4;ssp4;sdp;;;;;;;;;;;;;;;;;;;; -gms$c70_feed_scen;ssp2;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp5;ssp1;ssp1;;;;;;;ssp1;;;ssp1;ssp2;ssp2;ssp4;ssp1;ssp4;ssp4;ssp1;;;;;;;;;;;;;;;;;;;; -gms$s73_timber_demand_switch;1;;;;;;;;;;;;;;;;;;;;;;;;;;1;1;1;1;1;;;;;1;1;0;;;;;;;;;;;;; -input['cellular'];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;rev4.111_h12_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz;rev4.111_h12_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz;rev4.111_h12_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz;rev4.111_h12_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;rev4.111_h12_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz;rev4.111_h12_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz;; -magicc_emis_scen;;;;;;;;;;;;;;;;;;;;;;;;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_DeepDive_noNDC-rem-12.mif;;;;;;;;;;;;;;;;;;;;;;;;; +,cc,nocc,nocc_hist,SSP1,SSP2,SSP2EU,SSP3,SSP4,SSP5,SDP,SDP-EI,SDP-RC,SDP-MC,BASE,NPI,NDC,coupling,emulator,input,eat_lancet_diet_v1,eat_lancet_diet_v2,ForestryEndo,ForestryExo,ForestryOff,rcp1p9,rcp2p6,rcp4p5,rcp6p0,rcp7p0,rcp8p5 +gms$c_timesteps,,,,,,,,,,,,,,,,,less_TS,less_TS,,,,,,,,,,,, +gms$c09_pop_scenario,,,,SSP1,SSP2,SSP2EU,SSP3,SSP4,SSP5,SSP1,SSP1,SSP1,SSP1,,,,,,,,,,,,,,,,, +gms$c09_gdp_scenario,,,,SSP1,SSP2,SSP2EU,SSP3,SSP4,SSP5,SSP1,SDP_EI,SDP_RC,SDP_MC,,,,,,,,,,,,,,,,, +gms$c09_pal_scenario,,,,SSP1,SSP2,SSP2EU,SSP3,SSP4,SSP5,SSP1,SSP2,SSP1,SSP1,,,,,,,,,,,,,,,,, +gms$c14_yields_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, +gms$c15_food_scenario,,,,SSP1,SSP2,SSP2,SSP3,SSP4,SSP5,SSP1,SSP2,SSP1,SSP1,,,,,,,,,,,,,,,,, +gms$s15_rumdairy_scp_substitution,,,,,,,,,,0,0.5,0,0,,,,,,,,,,,,,,,,, +gms$s15_food_subst_functional_form,,,,,,,,,,,2,,,,,,,,,,,,,,,,,,, +gms$s15_food_substitution_start,,,,,,,,,,,2020,,,,,,,,,,,,,,,,,,, +gms$s15_food_substitution_target,,,,,,,,,,,2050,,,,,,,,,,,,,,,,,,, +gms$kfo_rd,,,,,,,,,,,livst_rum,,,,,,,,,,,,,,,,,,, +gms$s15_exo_foodscen_convergence,,,,,,,,,,1,1,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_foodscen_functional_form,,,,,,,,,,1,1,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_foodscen_start,,,,,,,,,,2020,2020,2020,2020,,,,,,,2025,,,,,,,,,, +gms$s15_exo_foodscen_target,,,,,,,,,,2050,2050,2050,2070,,,,,,,2050,,,,,,,,,, +gms$s15_exo_waste,,,,,,,,,,1,1,1,1,,,,,,,,,,,,,,,,, +gms$s15_waste_scen,,,,,,,,,,1.2,1.3,1.2,1.25,,,,,,,,,,,,,,,,, +gms$s15_exo_diet,,,,,,,,,,1,1,1,1,,,,,,,1,,,,,,,,,, +gms$c15_kcal_scen,,,,,,,,,,healthy_BMI,no_underweight,healthy_BMI,healthy_BMI,,,,,,,healthy_BMI,,,,,,,,,, +gms$c15_EAT_scen,,,,,,,,,,FLX,,FLX,FLX,,,,,,,FLX,,,,,,,,,, +gms$s15_exo_monogastric,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_ruminant,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_fish,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_fruitvegnut,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_roots,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_pulses,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_sugar,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_oils,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_brans,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_scp,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$s15_exo_alcohol,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, +gms$c21_trade_liberalization,,,,l908080r807070,l909090r808080,l909090r808080,l909595r809090,l908080r807070,l908080r807070,l908080r807070,l908080r807070,l909595r809090,l908080r807070,,,,,,,,,,,,,,,,, +gms$c22_protect_scenario,,,,,,,,,,BH,none,BH_IFL,BH,,,,,,,,,,,,,,,,, +gms$s29_snv_shr,,,,,,,,,,0,0,0,0.2,,,,,,,,,,,,,,,,, +gms$s29_snv_scenario_target,,,,,,,,,,,,,2030,,,,,,,,,,,,,,,,, +gms$c30_bioen_water,,,,,,,,,,rainfed,all,rainfed,rainfed,,,,,,,,,,,,,,,,, +gms$c31_grassl_yld_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, +gms$s32_initial_distribution,,,,,,,,,,,,,,,,,,,,,,1,1,0,,,,,, +gms$s32_hvarea,,,,,,,,,,,,,,,,,,,,,,2,1,0,,,,,, +gms$s32_aff_plantation,,,,,,,,,,0,1,0,0,,,,,,,,,,,,,,,,, +gms$s32_aff_bii_coeff,,,,,,,,,,0,1,0,0,,,,,,,,,,,,,,,,, +gms$s32_max_aff_area,,,,,,,,,,500,350,0,700,,,,,,,,,,,,,,,,, +gms$c32_aff_mask,,,,,,,,,,onlytropical,onlytropical,onlytropical,onlytropical,,,,,,,,,,,,,,,,, +gms$c34_urban_scenario,,,,SSP1,SSP2,SSP2,SSP3,SSP4,SSP5,SSP1,SSP1,SSP2,SSP1,,,,,,,,,,,,,,,,, +gms$c32_aff_policy,,,,,,,,,,,,,,none,npi,ndc,,,,,,,,,,,,,, +gms$s32_planing_horizon,,,,,,,,,,50,30,50,50,,,,,,,,,,,,,,,,, +gms$c35_ad_policy,,,,,,,,,,,,,,none,npi,ndc,,,,,,,,,,,,,, +gms$c35_aolc_policy,,,,,,,,,,,,,,none,npi,ndc,,,,,,,,,,,,,, +gms$c35_pot_forest_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, +gms$s35_forest_damage_end,,,,2030,2050,2050,2050,2050,2030,2030,2030,2030,2030,,,,,,,,,,,,,,,,, +gms$s35_secdf_distribution,,,,,,,,,,,,,,,,,,,,,,2,2,0,,,,,, +gms$s35_hvarea,,,,,,,,,,,,,,,,,,,,,,2,2,0,,,,,, +gms$c42_watdem_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, +gms$s42_watdem_nonagr_scenario,,,,1,2,2,3,2,1,1,1,3,1,,,,,,,,,,,,,,,,, +gms$s42_irrig_eff_scenario,,,,,,,,,,3,3,3,3,,,,,,,,,,,,,,,,, +gms$c42_env_flow_policy,,,,on,off,off,off,mixed,on,on,on,on,on,,,,,,,,,,,,,,,,, +gms$s42_efp_targetyear,,,,,,,,,,2040,2050,2070,2050,,,,,,,,,,,,,,,,, +gms$c43_watavail_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, +gms$c50_scen_neff,,,,baseeff_add3_add10_add20_max75,baseeff_add3_add5_add10_max65,baseeff_add3_add5_add10_max65,baseeff_add3_add0_add0_max55,baseeff_add3_add10_add15_max75,baseeff_add3_add5_add15_max75,baseeff_add3_add15_add25_max75,baseeff_add3_add15_add25_max75,baseeff_add3_add15_add25_max65,baseeff_add3_add15_add25_max75,,,,,,,,,,,,,,,,, +gms$c52_carbon_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, +gms$c52_land_carbon_sink_rcp,,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,RCP19,RCP26,RCP45,RCP60,RCPBU,RCPBU +gms$c55_scen_conf,,,,ssp1,ssp2,ssp2,ssp3,ssp4,ssp5,ssp1,ssp1,ssp1,ssp1,,,,,,,,,,,,,,,,, +gms$c56_pollutant_prices,,,,,,,,,,,,,,,,,coupling,emulator,coupling,,,,,,,,,,, +gms$s56_c_price_exp_aff,,,,,,,,,,50,30,50,50,,,,,,,,,,,,,,,,, +gms$s56_buffer_aff,,,,,,,,,,0.5,0.5,0.2,0.3,,,,,,,,,,,,,,,,, +gms$c56_emis_policy,,,,,,,,,,reddnatveg_nosoil,reddnatveg_nosoil,redd_nosoil,all_nosoil,,,,,,,,,,,,,,,,, +gms$s56_minimum_cprice,,,,,,,,,,,,,,0,0,18,,,,,,,,,,,,,, +gms$c59_som_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, +gms$c60_1stgen_biodem,,,,phaseout2020,const2020,const2020,const2030,const2020,phaseout2020,phaseout2020,phaseout2020,phaseout2020,phaseout2020,,,,,,,,,,,,,,,,, +gms$c60_2ndgen_biodem,,,,,,,,,,,,,,,,,coupling,emulator,coupling,,,,,,,,,,, +gms$c60_biodem_level,,,,,,,,,,,,,,,,,1,0,,,,,,,,,,,, +gms$c60_res_2ndgenBE_dem,,,,ssp1,ssp2,ssp2,ssp3,ssp4,ssp5,sdp,ssp2,sdp,sdp,,,,,,,,,,,,,,,,, +gms$c70_feed_scen,,,,ssp1,ssp2,ssp2,ssp3,ssp4,ssp5,ssp1,ssp5,ssp1,ssp1,,,,,,,,,,,,,,,,, +gms$s73_timber_demand_switch,,,,,,,,,,,,,,,,,,,,,,1,1,0,,,,,, +input['cellular'],,,,,,,,,,,,,,,,,,,,,,,,,rev4.111_h12_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz,rev4.111_h12_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz,rev4.111_h12_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz,rev4.111_h12_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz,rev4.111_h12_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz,rev4.111_h12_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz From 9433a2cef127575df959a16b52270a3b48207819 Mon Sep 17 00:00:00 2001 From: weindl <39915455+weindl@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:10:41 +0200 Subject: [PATCH 11/53] Update scenario_config.csv --- config/scenario_config.csv | 152 ++++++++++++++++++------------------- 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a/config/scenario_config.csv b/config/scenario_config.csv index 7733fca14..307d3c0c6 100755 --- a/config/scenario_config.csv +++ b/config/scenario_config.csv @@ -1,76 +1,76 @@ -,cc,nocc,nocc_hist,SSP1,SSP2,SSP2EU,SSP3,SSP4,SSP5,SDP,SDP-EI,SDP-RC,SDP-MC,BASE,NPI,NDC,coupling,emulator,input,eat_lancet_diet_v1,eat_lancet_diet_v2,ForestryEndo,ForestryExo,ForestryOff,rcp1p9,rcp2p6,rcp4p5,rcp6p0,rcp7p0,rcp8p5 -gms$c_timesteps,,,,,,,,,,,,,,,,,less_TS,less_TS,,,,,,,,,,,, -gms$c09_pop_scenario,,,,SSP1,SSP2,SSP2EU,SSP3,SSP4,SSP5,SSP1,SSP1,SSP1,SSP1,,,,,,,,,,,,,,,,, -gms$c09_gdp_scenario,,,,SSP1,SSP2,SSP2EU,SSP3,SSP4,SSP5,SSP1,SDP_EI,SDP_RC,SDP_MC,,,,,,,,,,,,,,,,, -gms$c09_pal_scenario,,,,SSP1,SSP2,SSP2EU,SSP3,SSP4,SSP5,SSP1,SSP2,SSP1,SSP1,,,,,,,,,,,,,,,,, -gms$c14_yields_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, -gms$c15_food_scenario,,,,SSP1,SSP2,SSP2,SSP3,SSP4,SSP5,SSP1,SSP2,SSP1,SSP1,,,,,,,,,,,,,,,,, -gms$s15_rumdairy_scp_substitution,,,,,,,,,,0,0.5,0,0,,,,,,,,,,,,,,,,, -gms$s15_food_subst_functional_form,,,,,,,,,,,2,,,,,,,,,,,,,,,,,,, -gms$s15_food_substitution_start,,,,,,,,,,,2020,,,,,,,,,,,,,,,,,,, -gms$s15_food_substitution_target,,,,,,,,,,,2050,,,,,,,,,,,,,,,,,,, -gms$kfo_rd,,,,,,,,,,,livst_rum,,,,,,,,,,,,,,,,,,, -gms$s15_exo_foodscen_convergence,,,,,,,,,,1,1,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_foodscen_functional_form,,,,,,,,,,1,1,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_foodscen_start,,,,,,,,,,2020,2020,2020,2020,,,,,,,2025,,,,,,,,,, -gms$s15_exo_foodscen_target,,,,,,,,,,2050,2050,2050,2070,,,,,,,2050,,,,,,,,,, -gms$s15_exo_waste,,,,,,,,,,1,1,1,1,,,,,,,,,,,,,,,,, -gms$s15_waste_scen,,,,,,,,,,1.2,1.3,1.2,1.25,,,,,,,,,,,,,,,,, -gms$s15_exo_diet,,,,,,,,,,1,1,1,1,,,,,,,1,,,,,,,,,, -gms$c15_kcal_scen,,,,,,,,,,healthy_BMI,no_underweight,healthy_BMI,healthy_BMI,,,,,,,healthy_BMI,,,,,,,,,, -gms$c15_EAT_scen,,,,,,,,,,FLX,,FLX,FLX,,,,,,,FLX,,,,,,,,,, -gms$s15_exo_monogastric,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_ruminant,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_fish,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_fruitvegnut,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_roots,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_pulses,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_sugar,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_oils,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_brans,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_scp,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$s15_exo_alcohol,,,,,,,,,,1,0,1,1,,,,,,,1,,,,,,,,,, -gms$c21_trade_liberalization,,,,l908080r807070,l909090r808080,l909090r808080,l909595r809090,l908080r807070,l908080r807070,l908080r807070,l908080r807070,l909595r809090,l908080r807070,,,,,,,,,,,,,,,,, -gms$c22_protect_scenario,,,,,,,,,,BH,none,BH_IFL,BH,,,,,,,,,,,,,,,,, -gms$s29_snv_shr,,,,,,,,,,0,0,0,0.2,,,,,,,,,,,,,,,,, -gms$s29_snv_scenario_target,,,,,,,,,,,,,2030,,,,,,,,,,,,,,,,, -gms$c30_bioen_water,,,,,,,,,,rainfed,all,rainfed,rainfed,,,,,,,,,,,,,,,,, -gms$c31_grassl_yld_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, -gms$s32_initial_distribution,,,,,,,,,,,,,,,,,,,,,,1,1,0,,,,,, -gms$s32_hvarea,,,,,,,,,,,,,,,,,,,,,,2,1,0,,,,,, -gms$s32_aff_plantation,,,,,,,,,,0,1,0,0,,,,,,,,,,,,,,,,, -gms$s32_aff_bii_coeff,,,,,,,,,,0,1,0,0,,,,,,,,,,,,,,,,, -gms$s32_max_aff_area,,,,,,,,,,500,350,0,700,,,,,,,,,,,,,,,,, -gms$c32_aff_mask,,,,,,,,,,onlytropical,onlytropical,onlytropical,onlytropical,,,,,,,,,,,,,,,,, -gms$c34_urban_scenario,,,,SSP1,SSP2,SSP2,SSP3,SSP4,SSP5,SSP1,SSP1,SSP2,SSP1,,,,,,,,,,,,,,,,, -gms$c32_aff_policy,,,,,,,,,,,,,,none,npi,ndc,,,,,,,,,,,,,, -gms$s32_planing_horizon,,,,,,,,,,50,30,50,50,,,,,,,,,,,,,,,,, -gms$c35_ad_policy,,,,,,,,,,,,,,none,npi,ndc,,,,,,,,,,,,,, -gms$c35_aolc_policy,,,,,,,,,,,,,,none,npi,ndc,,,,,,,,,,,,,, -gms$c35_pot_forest_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, -gms$s35_forest_damage_end,,,,2030,2050,2050,2050,2050,2030,2030,2030,2030,2030,,,,,,,,,,,,,,,,, -gms$s35_secdf_distribution,,,,,,,,,,,,,,,,,,,,,,2,2,0,,,,,, -gms$s35_hvarea,,,,,,,,,,,,,,,,,,,,,,2,2,0,,,,,, -gms$c42_watdem_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, -gms$s42_watdem_nonagr_scenario,,,,1,2,2,3,2,1,1,1,3,1,,,,,,,,,,,,,,,,, -gms$s42_irrig_eff_scenario,,,,,,,,,,3,3,3,3,,,,,,,,,,,,,,,,, -gms$c42_env_flow_policy,,,,on,off,off,off,mixed,on,on,on,on,on,,,,,,,,,,,,,,,,, -gms$s42_efp_targetyear,,,,,,,,,,2040,2050,2070,2050,,,,,,,,,,,,,,,,, -gms$c43_watavail_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, -gms$c50_scen_neff,,,,baseeff_add3_add10_add20_max75,baseeff_add3_add5_add10_max65,baseeff_add3_add5_add10_max65,baseeff_add3_add0_add0_max55,baseeff_add3_add10_add15_max75,baseeff_add3_add5_add15_max75,baseeff_add3_add15_add25_max75,baseeff_add3_add15_add25_max75,baseeff_add3_add15_add25_max65,baseeff_add3_add15_add25_max75,,,,,,,,,,,,,,,,, -gms$c52_carbon_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, -gms$c52_land_carbon_sink_rcp,,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,RCP19,RCP26,RCP45,RCP60,RCPBU,RCPBU -gms$c55_scen_conf,,,,ssp1,ssp2,ssp2,ssp3,ssp4,ssp5,ssp1,ssp1,ssp1,ssp1,,,,,,,,,,,,,,,,, -gms$c56_pollutant_prices,,,,,,,,,,,,,,,,,coupling,emulator,coupling,,,,,,,,,,, -gms$s56_c_price_exp_aff,,,,,,,,,,50,30,50,50,,,,,,,,,,,,,,,,, -gms$s56_buffer_aff,,,,,,,,,,0.5,0.5,0.2,0.3,,,,,,,,,,,,,,,,, -gms$c56_emis_policy,,,,,,,,,,reddnatveg_nosoil,reddnatveg_nosoil,redd_nosoil,all_nosoil,,,,,,,,,,,,,,,,, -gms$s56_minimum_cprice,,,,,,,,,,,,,,0,0,18,,,,,,,,,,,,,, -gms$c59_som_scenario,cc,nocc,nocc_hist,,,,,,,,,,,,,,,,,,,,,,,,,,, -gms$c60_1stgen_biodem,,,,phaseout2020,const2020,const2020,const2030,const2020,phaseout2020,phaseout2020,phaseout2020,phaseout2020,phaseout2020,,,,,,,,,,,,,,,,, -gms$c60_2ndgen_biodem,,,,,,,,,,,,,,,,,coupling,emulator,coupling,,,,,,,,,,, -gms$c60_biodem_level,,,,,,,,,,,,,,,,,1,0,,,,,,,,,,,, -gms$c60_res_2ndgenBE_dem,,,,ssp1,ssp2,ssp2,ssp3,ssp4,ssp5,sdp,ssp2,sdp,sdp,,,,,,,,,,,,,,,,, -gms$c70_feed_scen,,,,ssp1,ssp2,ssp2,ssp3,ssp4,ssp5,ssp1,ssp5,ssp1,ssp1,,,,,,,,,,,,,,,,, -gms$s73_timber_demand_switch,,,,,,,,,,,,,,,,,,,,,,1,1,0,,,,,, -input['cellular'],,,,,,,,,,,,,,,,,,,,,,,,,rev4.111_h12_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz,rev4.111_h12_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz,rev4.111_h12_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz,rev4.111_h12_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz,rev4.111_h12_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz,rev4.111_h12_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz +;cc;nocc;nocc_hist;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SDP;SDP-EI;SDP-RC;SDP-MC;BASE;NPI;NDC;coupling;emulator;input;eat_lancet_diet_v1;eat_lancet_diet_v2;ForestryEndo;ForestryExo;ForestryOff;rcp1p9;rcp2p6;rcp4p5;rcp6p0;rcp7p0;rcp8p5 +gms$c_timesteps;;;;;;;;;;;;;;;;;less_TS;less_TS;;;;;;;;;;;; +gms$c09_pop_scenario;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SSP1;SSP1;SSP1;;;;;;;;;;;;;;;;; +gms$c09_gdp_scenario;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SDP_EI;SDP_RC;SDP_MC;;;;;;;;;;;;;;;;; +gms$c09_pal_scenario;;;;SSP1;SSP2;SSP2EU;SSP3;SSP4;SSP5;SSP1;SSP2;SSP1;SSP1;;;;;;;;;;;;;;;;; +gms$c14_yields_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c15_food_scenario;;;;SSP1;SSP2;SSP2;SSP3;SSP4;SSP5;SSP1;SSP2;SSP1;SSP1;;;;;;;;;;;;;;;;; +gms$s15_rumdairy_scp_substitution;;;;;;;;;;0;0.5;0;0;;;;;;;;;;;;;;;;; +gms$s15_food_subst_functional_form;;;;;;;;;;;2;;;;;;;;;;;;;;;;;;; +gms$s15_food_substitution_start;;;;;;;;;;;2020;;;;;;;;;;;;;;;;;;; +gms$s15_food_substitution_target;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;; +gms$kfo_rd;;;;;;;;;;;livst_rum;;;;;;;;;;;;;;;;;;; +gms$s15_exo_foodscen_convergence;;;;;;;;;;1;1;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_foodscen_functional_form;;;;;;;;;;1;1;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_foodscen_start;;;;;;;;;;2020;2020;2020;2020;;;;;;;2025;;;;;;;;;; +gms$s15_exo_foodscen_target;;;;;;;;;;2050;2050;2050;2070;;;;;;;2050;;;;;;;;;; +gms$s15_exo_waste;;;;;;;;;;1;1;1;1;;;;;;;;;;;;;;;;; +gms$s15_waste_scen;;;;;;;;;;1.2;1.3;1.2;1.25;;;;;;;;;;;;;;;;; +gms$s15_exo_diet;;;;;;;;;;1;1;1;1;;;;;;;1;;;;;;;;;; +gms$c15_kcal_scen;;;;;;;;;;healthy_BMI;no_underweight;healthy_BMI;healthy_BMI;;;;;;;healthy_BMI;;;;;;;;;; +gms$c15_EAT_scen;;;;;;;;;;FLX;;FLX;FLX;;;;;;;FLX;;;;;;;;;; +gms$s15_exo_monogastric;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_ruminant;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_fish;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_fruitvegnut;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_roots;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_pulses;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_sugar;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_oils;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_brans;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_scp;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_alcohol;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$c21_trade_liberalization;;;;l908080r807070;l909090r808080;l909090r808080;l909595r809090;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l909595r809090;l908080r807070;;;;;;;;;;;;;;;;; +gms$c22_protect_scenario;;;;;;;;;;BH;none;BH_IFL;BH;;;;;;;;;;;;;;;;; +gms$s29_snv_shr;;;;;;;;;;0;0;0;0.2;;;;;;;;;;;;;;;;; +gms$s29_snv_scenario_target;;;;;;;;;;;;;2030;;;;;;;;;;;;;;;;; +gms$c30_bioen_water;;;;;;;;;;rainfed;all;rainfed;rainfed;;;;;;;;;;;;;;;;; +gms$c31_grassl_yld_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s32_initial_distribution;;;;;;;;;;;;;;;;;;;;;;1;1;0;;;;;; +gms$s32_hvarea;;;;;;;;;;;;;;;;;;;;;;2;1;0;;;;;; +gms$s32_aff_plantation;;;;;;;;;;0;1;0;0;;;;;;;;;;;;;;;;; +gms$s32_aff_bii_coeff;;;;;;;;;;0;1;0;0;;;;;;;;;;;;;;;;; +gms$s32_max_aff_area;;;;;;;;;;500;350;0;700;;;;;;;;;;;;;;;;; +gms$c32_aff_mask;;;;;;;;;;onlytropical;onlytropical;onlytropical;onlytropical;;;;;;;;;;;;;;;;; +gms$c34_urban_scenario;;;;SSP1;SSP2;SSP2;SSP3;SSP4;SSP5;SSP1;SSP1;SSP2;SSP1;;;;;;;;;;;;;;;;; +gms$c32_aff_policy;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;;;;;; +gms$s32_planing_horizon;;;;;;;;;;50;30;50;50;;;;;;;;;;;;;;;;; +gms$c35_ad_policy;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;;;;;; +gms$c35_aolc_policy;;;;;;;;;;;;;;none;npi;ndc;;;;;;;;;;;;;; +gms$c35_pot_forest_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s35_forest_damage_end;;;;2030;2050;2050;2050;2050;2030;2030;2030;2030;2030;;;;;;;;;;;;;;;;; +gms$s35_secdf_distribution;;;;;;;;;;;;;;;;;;;;;;2;2;0;;;;;; +gms$s35_hvarea;;;;;;;;;;;;;;;;;;;;;;2;2;0;;;;;; +gms$c42_watdem_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$s42_watdem_nonagr_scenario;;;;1;2;2;3;2;1;1;1;3;1;;;;;;;;;;;;;;;;; +gms$s42_irrig_eff_scenario;;;;;;;;;;3;3;3;3;;;;;;;;;;;;;;;;; +gms$c42_env_flow_policy;;;;on;off;off;off;mixed;on;on;on;on;on;;;;;;;;;;;;;;;;; +gms$s42_efp_targetyear;;;;;;;;;;2040;2050;2070;2050;;;;;;;;;;;;;;;;; +gms$c43_watavail_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c50_scen_neff;;;;baseeff_add3_add10_add20_max75;baseeff_add3_add5_add10_max65;baseeff_add3_add5_add10_max65;baseeff_add3_add0_add0_max55;baseeff_add3_add10_add15_max75;baseeff_add3_add5_add15_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max75;baseeff_add3_add15_add25_max65;baseeff_add3_add15_add25_max75;;;;;;;;;;;;;;;;; +gms$c52_carbon_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c52_land_carbon_sink_rcp;;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;RCP19;RCP26;RCP45;RCP60;RCPBU;RCPBU +gms$c55_scen_conf;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp1;ssp1;ssp1;;;;;;;;;;;;;;;;; +gms$c56_pollutant_prices;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;;;;; +gms$s56_c_price_exp_aff;;;;;;;;;;50;30;50;50;;;;;;;;;;;;;;;;; +gms$s56_buffer_aff;;;;;;;;;;0.5;0.5;0.2;0.3;;;;;;;;;;;;;;;;; +gms$c56_emis_policy;;;;;;;;;;reddnatveg_nosoil;reddnatveg_nosoil;redd_nosoil;all_nosoil;;;;;;;;;;;;;;;;; +gms$s56_minimum_cprice;;;;;;;;;;;;;;0;0;18;;;;;;;;;;;;;; +gms$c59_som_scenario;cc;nocc;nocc_hist;;;;;;;;;;;;;;;;;;;;;;;;;;; +gms$c60_1stgen_biodem;;;;phaseout2020;const2020;const2020;const2030;const2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;phaseout2020;;;;;;;;;;;;;;;;; +gms$c60_2ndgen_biodem;;;;;;;;;;;;;;;;;coupling;emulator;coupling;;;;;;;;;;; +gms$c60_biodem_level;;;;;;;;;;;;;;;;;1;0;;;;;;;;;;;; +gms$c60_res_2ndgenBE_dem;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;sdp;ssp2;sdp;sdp;;;;;;;;;;;;;;;;; +gms$c70_feed_scen;;;;ssp1;ssp2;ssp2;ssp3;ssp4;ssp5;ssp1;ssp5;ssp1;ssp1;;;;;;;;;;;;;;;;; +gms$s73_timber_demand_switch;;;;;;;;;;;;;;;;;;;;;;1;1;0;;;;;; +input['cellular'];;;;;;;;;;;;;;;;;;;;;;;;;rev4.111_h12_0bd54110_cellularmagpie_c200_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1.tgz;rev4.111_h12_6819938d_cellularmagpie_c200_MRI-ESM2-0-ssp126_lpjml-8e6c5eb1.tgz;rev4.111_h12_1b5c3817_cellularmagpie_c200_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1.tgz;rev4.111_h12_3c888fa5_cellularmagpie_c200_MRI-ESM2-0-ssp460_lpjml-8e6c5eb1.tgz;rev4.111_h12_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz;rev4.111_h12_09a63995_cellularmagpie_c200_MRI-ESM2-0-ssp585_lpjml-8e6c5eb1.tgz From cabe83370ba493f5a9ea6ee211063ef746976055 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Wed, 17 Jul 2024 09:19:44 +0200 Subject: [PATCH 12/53] updated Eat Lancet columns and Eat Lancet project config --- config/projects/scenario_config_el2.csv | 12 +++++++++ config/scenario_config.csv | 33 +++++++++++++------------ 2 files changed, 29 insertions(+), 16 deletions(-) diff --git a/config/projects/scenario_config_el2.csv b/config/projects/scenario_config_el2.csv index 74556d0e9..a1f87bde9 100644 --- a/config/projects/scenario_config_el2.csv +++ b/config/projects/scenario_config_el2.csv @@ -5,6 +5,18 @@ gms$s12_interest_hic;0.04;0.04;0.04 gms$s15_exo_waste;1;1;0 gms$s15_waste_scen;1.2;1.2;1.2 gms$s15_exo_diet;3;3;0 +gms$s15_exo_monogastric;1;1;1 +gms$s15_exo_ruminant;1;1;1 +gms$s15_exo_fish;1;1;1 +gms$s15_exo_fruitvegnut;1;1;1 +gms$s15_exo_roots;1;1;1 +gms$s15_exo_pulses;1;1;1 +gms$s15_exo_sugar;1;1;1 +gms$s15_exo_oils;1;1;1 +gms$s15_exo_brans;0;0;0 +gms$s15_exo_scp;1;1;1 +gms$s15_exo_alcohol;1;1;1 +gms$s15_alc_scen;0;0;0 gms$factor_costs;sticky_labor;sticky_labor;sticky_labor gms$c70_feed_scen;ssp1;ssp2;ssp2 input['cellular'];rev4.111EL2_h12_c6a7458f_cellularmagpie_c200_IPSL-CM6A-LR-ssp370_lpjml-8e6c5eb1.tgz;; diff --git a/config/scenario_config.csv b/config/scenario_config.csv index 307d3c0c6..afe1469f1 100755 --- a/config/scenario_config.csv +++ b/config/scenario_config.csv @@ -10,26 +10,27 @@ gms$s15_food_subst_functional_form;;;;;;;;;;;2;;;;;;;;;;;;;;;;;;; gms$s15_food_substitution_start;;;;;;;;;;;2020;;;;;;;;;;;;;;;;;;; gms$s15_food_substitution_target;;;;;;;;;;;2050;;;;;;;;;;;;;;;;;;; gms$kfo_rd;;;;;;;;;;;livst_rum;;;;;;;;;;;;;;;;;;; -gms$s15_exo_foodscen_convergence;;;;;;;;;;1;1;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_foodscen_functional_form;;;;;;;;;;1;1;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_foodscen_start;;;;;;;;;;2020;2020;2020;2020;;;;;;;2025;;;;;;;;;; -gms$s15_exo_foodscen_target;;;;;;;;;;2050;2050;2050;2070;;;;;;;2050;;;;;;;;;; +gms$s15_exo_foodscen_convergence;;;;;;;;;;1;1;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_foodscen_functional_form;;;;;;;;;;1;1;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_foodscen_start;;;;;;;;;;2020;2020;2020;2020;;;;;;;2025;2025;;;;;;;;; +gms$s15_exo_foodscen_target;;;;;;;;;;2050;2050;2050;2070;;;;;;;2050;2050;;;;;;;;; gms$s15_exo_waste;;;;;;;;;;1;1;1;1;;;;;;;;;;;;;;;;; gms$s15_waste_scen;;;;;;;;;;1.2;1.3;1.2;1.25;;;;;;;;;;;;;;;;; -gms$s15_exo_diet;;;;;;;;;;1;1;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_diet;;;;;;;;;;1;1;1;1;;;;;;;1;3;;;;;;;;; gms$c15_kcal_scen;;;;;;;;;;healthy_BMI;no_underweight;healthy_BMI;healthy_BMI;;;;;;;healthy_BMI;;;;;;;;;; gms$c15_EAT_scen;;;;;;;;;;FLX;;FLX;FLX;;;;;;;FLX;;;;;;;;;; -gms$s15_exo_monogastric;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_ruminant;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_fish;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_fruitvegnut;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_roots;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_pulses;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_sugar;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_oils;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_brans;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_scp;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; -gms$s15_exo_alcohol;;;;;;;;;;1;0;1;1;;;;;;;1;;;;;;;;;; +gms$s15_exo_monogastric;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_ruminant;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_fish;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_fruitvegnut;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_roots;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_pulses;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_sugar;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_oils;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_brans;;;;;;;;;;1;0;1;1;;;;;;;1;0;;;;;;;;; +gms$s15_exo_scp;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_exo_alcohol;;;;;;;;;;1;0;1;1;;;;;;;1;1;;;;;;;;; +gms$s15_alc_scen;;;;;;;;;;;;;;;;;;;;0.014;0;;;;;;;;; gms$c21_trade_liberalization;;;;l908080r807070;l909090r808080;l909090r808080;l909595r809090;l908080r807070;l908080r807070;l908080r807070;l908080r807070;l909595r809090;l908080r807070;;;;;;;;;;;;;;;;; gms$c22_protect_scenario;;;;;;;;;;BH;none;BH_IFL;BH;;;;;;;;;;;;;;;;; gms$s29_snv_shr;;;;;;;;;;0;0;0;0.2;;;;;;;;;;;;;;;;; From 4811f8e53167415acdf13ff8918e9737afd83c13 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Wed, 17 Jul 2024 14:21:08 +0200 Subject: [PATCH 13/53] adjusted start scripts for LAMA and EAT --- .../start/projects/project_EAT2p0_DeepDive.R | 55 +++++++++++++------ .../start/projects/project_LAMACLIMA_WP4.R | 31 +++++++---- 2 files changed, 56 insertions(+), 30 deletions(-) diff --git a/scripts/start/projects/project_EAT2p0_DeepDive.R b/scripts/start/projects/project_EAT2p0_DeepDive.R index ee4984fb0..9c751de75 100644 --- a/scripts/start/projects/project_EAT2p0_DeepDive.R +++ b/scripts/start/projects/project_EAT2p0_DeepDive.R @@ -47,7 +47,9 @@ path2MitigationRun <- "/p/projects/magpie/users/beier/EL2_DeepDive_release/remin ####################### # SCENARIO DEFINITION # ####################### -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") + # Note: The climate change impacts setting differs from the global AgMIP model comparision set-up. # We do not include climate change impacts in the coupled REMIND-MAgPIE runs for the PB Deep Dive # because we focus exclusively on the mitigation aspect without climate change impacts. @@ -163,14 +165,16 @@ priceNonCO2 <- function(cfg) { # BAU # # Business as usual scenario based on SSP2 (NPis) cfg$title <- "BAU_NPi" -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") cfg <- bau(cfg = cfg) start_run(cfg, codeCheck = FALSE) # (1b) BAU + Bioenergy # # Decomposition Scenario. Adds bioenergy demand from coupled run with land-use policies consistent with 1.5C by 2050 to BAU cfg$title <- "BAU_Bioenergy" -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") cfg <- bau(cfg = cfg) cfg <- bioenergy(cfg = cfg) start_run(cfg, codeCheck = FALSE) @@ -178,7 +182,8 @@ start_run(cfg, codeCheck = FALSE) # (1c) BAU + NonCO2 pricing in land sector # # Decomposition Scenario. Adds non-CO2 pricing with ghg price from coupled run with land-use policies consistent with 1.5C by 2050 to BAU cfg$title <- "BAU_NonCO2" -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") cfg <- bau(cfg = cfg) cfg <- priceNonCO2(cfg = cfg) start_run(cfg, codeCheck = FALSE) @@ -186,7 +191,8 @@ start_run(cfg, codeCheck = FALSE) # (1d) BAU + pricing of CO2 in land sector # # Decomposition Scenario. Adds CO2 pricing on land-use change emissions with ghg price from coupled run with land-use policies consistent with 1.5C by 2050 to BAU cfg$title <- "BAU_CO2" -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") cfg <- bau(cfg = cfg) cfg <- priceCO2(cfg = cfg) start_run(cfg, codeCheck = FALSE) @@ -195,7 +201,8 @@ start_run(cfg, codeCheck = FALSE) # All production-side land-based mitigation measures cfg$title <- "BAU_Miti" # standard setting, but with NDC for miti -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # BAU settings cfg <- bau(cfg = cfg) # Mitigation (CO2, non-CO2, bioenergy) @@ -206,7 +213,8 @@ start_run(cfg, codeCheck = FALSE) # (1e) CO2 and non-CO2 pricing, but no bioenergy demand from REMIND cfg$title <- "BAUMITI_Bioenergy" # standard setting, but with NDC for miti -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # BAU settings cfg <- bau(cfg = cfg) # Mitigation @@ -220,7 +228,8 @@ start_run(cfg, codeCheck = FALSE) # (1f) CO2 pricing and bioenergy demand from REMIND, but no non-CO2 pricing in land-system cfg$title <- "BAUMITI_nonCO2" # standard setting, but with NDC for miti -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # BAU settings cfg <- bau(cfg = cfg) # Mitigation @@ -234,7 +243,8 @@ start_run(cfg, codeCheck = FALSE) # (1g) non-CO2 pricing and bioenergy demand from REMIND, but no CO2 pricing in land-system cfg$title <- "BAUMITI_CO2" # standard setting, but with NDC for miti -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # BAU settings cfg <- bau(cfg = cfg) # Mitigation @@ -246,7 +256,8 @@ start_run(cfg, codeCheck = FALSE) # (1e,f,g) Demand-side options (Diet+Waste) by 2050 cfg$title <- "BAU_Dem" -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") cfg <- bau(cfg = cfg) cfg <- diet(cfg = cfg) cfg <- waste(cfg = cfg) @@ -256,7 +267,8 @@ start_run(cfg, codeCheck = FALSE) # (2b) CO2 and non-CO2 pricing and demand-side mitigation (diet change), but no bioenergy demand from REMIND cfg$title <- "MITI_Bioenergy" # standard setting, but with NDC for miti -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # BAU settings cfg <- bau(cfg = cfg) # Mitigation @@ -272,7 +284,8 @@ start_run(cfg, codeCheck = FALSE) # (2c) CO2 pricing and bioenergy demand from REMIND and demand-side mitigation (diet change), but no non-CO2 pricing in land-system cfg$title <- "MITI_nonCO2" # standard setting, but with NDC for miti -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # BAU settings cfg <- bau(cfg = cfg) # Mitigation @@ -289,7 +302,8 @@ start_run(cfg, codeCheck = FALSE) # (2d) non-CO2 pricing and bioenergy demand from REMIND and demand-side mitigation (diet change), but no CO2 pricing in land-system cfg$title <- "MITI_CO2" # standard setting, but with NDC for miti -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # BAU settings cfg <- bau(cfg = cfg) # Mitigation @@ -306,7 +320,8 @@ start_run(cfg, codeCheck = FALSE) # (2e,f,g) All production-side land-based mitigation measures, but no demand-side mitigation cfg$title <- "MITI_Dem" # standard setting, but with NDC for miti -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # BAU settings cfg <- bau(cfg = cfg) # Mitigation @@ -317,7 +332,8 @@ start_run(cfg, codeCheck = FALSE) # (3b) Demand-side change + Bioenergy # # Decomposition Scenario with demand-side changes. Adds bioenergy demand from coupled run with land-use policies consistent with 1.5C by 2050 to BAU cfg$title <- "DEM_Bioenergy" -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") cfg <- bau(cfg = cfg) cfg <- bioenergy(cfg = cfg) # Demand-side change (diet, waste) @@ -328,7 +344,8 @@ start_run(cfg, codeCheck = FALSE) # (3c) Demand-side + NonCO2 pricing in land sector # # Decomposition Scenario with demand-side changes. Adds non-CO2 pricing with ghg price from coupled run with land-use policies consistent with 1.5C by 2050 to BAU cfg$title <- "DEM_NonCO2" -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") cfg <- bau(cfg = cfg) cfg <- priceNonCO2(cfg = cfg) # Demand-side change (diet, waste) @@ -339,7 +356,8 @@ start_run(cfg, codeCheck = FALSE) # (3d) Demand-side + pricing of CO2 in land sector # # Decomposition Scenario with demand-side changes. Adds CO2 pricing on land-use change emissions with ghg price from coupled run with land-use policies consistent with 1.5C by 2050 to BAU cfg$title <- "DEM_CO2" -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") cfg <- bau(cfg = cfg) cfg <- priceCO2(cfg = cfg) # Demand-side change (diet, waste) @@ -352,7 +370,8 @@ start_run(cfg, codeCheck = FALSE) # All production-side land-based mitigation measures and demand-side mitigation (diet change) cfg$title <- "MITI_All" # standard setting, but with NDC for miti -cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI", "EL2_default")) +cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # BAU settings cfg <- bau(cfg = cfg) # Mitigation (CO2, non-CO2, bioenergy) diff --git a/scripts/start/projects/project_LAMACLIMA_WP4.R b/scripts/start/projects/project_LAMACLIMA_WP4.R index a3b87fdc5..28ad81f9a 100644 --- a/scripts/start/projects/project_LAMACLIMA_WP4.R +++ b/scripts/start/projects/project_LAMACLIMA_WP4.R @@ -44,8 +44,10 @@ cfg$qos <- "priority_maxMem" #### Main scenarios ### Global Sustainability, largely based on SDP -cfg$title <- paste(prefix,"Sustainability",sep="_") -cfg <- setScenario(cfg,c("LAMA_Sustainability","rcp1p9")) +cfg$title <- paste(prefix, "Sustainability", sep = "_") +cfg <- setScenario(cfg, c("rcp1p9")) +cfg <- setScenario(cfg, c("LAMA_Sustainability"), scenario_config = "config/projects/config_lama.csv") + cfg$gms$policy_countries30 <- all_iso_countries cfg$gms$policy_countries22 <- all_iso_countries cfg$gms$EFP_countries <- all_iso_countries @@ -55,8 +57,9 @@ cfg$gms$policy_countries56 <- all_iso_countries start_run(cfg,codeCheck=FALSE) ### Global Inequality, largely based on SSP4 -cfg$title <- paste(prefix,"Inequality",sep="_") -cfg <- setScenario(cfg,c("LAMA_Inequal","rcp1p9")) +cfg$title <- paste(prefix, "Inequality", sep = "_") +cfg <- setScenario(cfg, c("rcp1p9")) +cfg <- setScenario(cfg, c("LAMA_Inequal"), scenario_config = "config/projects/config_lama.csv") cfg$gms$policy_countries30 <- oecd90andEU cfg$gms$policy_countries22 <- oecd90andEU cfg$gms$EFP_countries <- oecd90andEU @@ -68,8 +71,9 @@ start_run(cfg,codeCheck=FALSE) #### Sensitivity scenarios ### LAMA_Inequal-SustDemand -cfg$title <- paste(prefix,"Inequality-SustDemand",sep="_") -cfg <- setScenario(cfg,c("LAMA_Inequal-SustDemand","rcp1p9")) +cfg$title <- paste(prefix, "Inequality-SustDemand", sep = "_") +cfg <- setScenario(cfg, c("rcp1p9")) +cfg <- setScenario(cfg, c("LAMA_Inequal-SustDemand"), scenario_config = "config/projects/config_lama.csv") cfg$gms$policy_countries30 <- oecd90andEU cfg$gms$policy_countries22 <- oecd90andEU cfg$gms$EFP_countries <- oecd90andEU @@ -79,8 +83,9 @@ cfg$gms$policy_countries56 <- oecd90andEU start_run(cfg,codeCheck=FALSE) ### LAMA_Inequal-EnvirProt -cfg$title <- paste(prefix,"Inequality-EnvirProt",sep="_") -cfg <- setScenario(cfg,c("LAMA_Inequal-EnvirProt","rcp1p9")) +cfg$title <- paste(prefix, "Inequality-EnvirProt", sep = "_") +cfg <- setScenario(cfg, c("rcp1p9")) +cfg <- setScenario(cfg, c("LAMA_Inequal-EnvirProt"), scenario_config = "config/projects/config_lama.csv") cfg$gms$policy_countries30 <- all_iso_countries cfg$gms$policy_countries22 <- all_iso_countries cfg$gms$EFP_countries <- all_iso_countries @@ -90,8 +95,9 @@ cfg$gms$policy_countries56 <- oecd90andEU start_run(cfg,codeCheck=FALSE) ### LAMA_Inequal-GHGPrice -cfg$title <- paste(prefix,"Inequality-GHGPrice",sep="_") -cfg <- setScenario(cfg,c("LAMA_Inequal-GHGPrice","rcp1p9")) +cfg$title <- paste(prefix, "Inequality-GHGPrice", sep = "_") +cfg <- setScenario(cfg, c("rcp1p9")) +cfg <- setScenario(cfg, c("LAMA_Inequal-GHGPrice"), scenario_config = "config/projects/config_lama.csv") cfg$gms$policy_countries30 <- oecd90andEU cfg$gms$policy_countries22 <- oecd90andEU cfg$gms$EFP_countries <- oecd90andEU @@ -101,8 +107,9 @@ cfg$gms$policy_countries56 <- all_iso_countries start_run(cfg,codeCheck=FALSE) ### Global Inequality with higher climate impacts -cfg$title <- paste(prefix,"Inequality-rcp7p0",sep="_") -cfg <- setScenario(cfg,c("LAMA_Inequal","rcp7p0")) +cfg$title <- paste(prefix, "Inequality-rcp7p0", sep = "_") +cfg <- setScenario(cfg, c("rcp7p0")) +cfg <- setScenario(cfg, c("LAMA_Inequal"), scenario_config = "config/projects/config_lama.csv") cfg$gms$policy_countries30 <- oecd90andEU cfg$gms$policy_countries22 <- oecd90andEU cfg$gms$EFP_countries <- oecd90andEU From 782375b53033f423d4ac62fedc6399db858e4175 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Wed, 17 Jul 2024 14:25:08 +0200 Subject: [PATCH 14/53] updated changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5a1be749..efcc17310 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### changed - **21_trade** refactor equations for enhanced readablility and improve documentation - **script** rewrite of merge_report.R based on rds files and rbind, which allows for more flexibility when merging reports. Avoid inconsistent use of "GLO" instead of "World" in report.rds files. +- **scripts** split scenario_config into project-specific configs ### added - **scripts** added output report `EU_report.R` that uses `EU_report.Rmd` From 829ed16bbc3cf97ebd16fd6eadb93526201a6e48 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Wed, 17 Jul 2024 15:02:49 +0200 Subject: [PATCH 15/53] replace , with ; in navigate config --- config/projects/scenario_config_navigate.csv | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/projects/scenario_config_navigate.csv b/config/projects/scenario_config_navigate.csv index bf5afd55a..30225cba3 100644 --- a/config/projects/scenario_config_navigate.csv +++ b/config/projects/scenario_config_navigate.csv @@ -1,6 +1,6 @@ -,"NAVIGATE_AllOff","NAVIGATE_LandSup","NAVIGATE_LandDem","NAVIGATE_AllOn" -"gms$s15_exo_waste",0,0,1,1 -"gms$s15_exo_diet",0,0,1,1 -"gms$c57_macc_version","PBL_2022","PBL_2022","PBL_2022","PBL_2022" -"gms$c57_macc_scenario","Default","Optimistic","Default","Optimistic" -"gms$s58_rewetting_switch",0,1,0,1 +;"NAVIGATE_AllOff";"NAVIGATE_LandSup";"NAVIGATE_LandDem";"NAVIGATE_AllOn" +"gms$s15_exo_waste";0;0;1;1 +"gms$s15_exo_diet";0;0;1;1 +"gms$c57_macc_version";"PBL_2022";"PBL_2022";"PBL_2022";"PBL_2022" +"gms$c57_macc_scenario";"Default";"Optimistic";"Default";"Optimistic" +"gms$s58_rewetting_switch";0;1;0;1 From 138494242fbff138881c78c3e877f166b1421e1a Mon Sep 17 00:00:00 2001 From: Kristine Karstens Date: Wed, 17 Jul 2024 17:49:23 +0200 Subject: [PATCH 16/53] bugfix quotes --- config/projects/scenario_config_geniescp.csv | 32 ++++++++++---------- config/projects/scenario_config_navigate.csv | 12 ++++---- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/config/projects/scenario_config_geniescp.csv b/config/projects/scenario_config_geniescp.csv index 5d12d8cb4..04c5088b7 100644 --- a/config/projects/scenario_config_geniescp.csv +++ b/config/projects/scenario_config_geniescp.csv @@ -1,16 +1,16 @@ -,"GENIE_SCP" -"gms$c_timesteps","coup2110" -"gms$c13_tccost","high" -"gms$c14_yields_scenario","nocc" -"gms$food","anthropometrics_jan18" -"gms$c20_scp_type","hydrogen" -"gms$s30_annual_max_growth","0.02" -"gms$factor_costs","sticky_feb18" -"gms$s44_cost_bii_missing",10000000 -"gms$c56_pollutant_prices","R32M46-SSP2EU-NPi" -"gms$c56_pollutant_prices_noselect","R32M46-SSP2EU-NPi" -"gms$c56_mute_ghgprices_until","y2020" -"gms$bioenergy","1st2ndgen_priced_feb24" -"gms$c60_1stgen_biodem","phaseout2020" -"gms$c60_2ndgen_biodem","R32M46-SSP2EU-NPi" -"gms$c60_2ndgen_biodem_noselect","R32M46-SSP2EU-NPi" +;GENIE_SCP +gms$c_timesteps;coup2110 +gms$c13_tccost;high +gms$c14_yields_scenario;nocc +gms$food;anthropometrics_jan18 +gms$c20_scp_type;hydrogen +gms$s30_annual_max_growth;0.02 +gms$factor_costs;sticky_feb18 +gms$s44_cost_bii_missing;10000000 +gms$c56_pollutant_prices;R32M46-SSP2EU-NPi +gms$c56_pollutant_prices_noselect;R32M46-SSP2EU-NPi +gms$c56_mute_ghgprices_until;y2020 +gms$bioenergy;1st2ndgen_priced_feb24 +gms$c60_1stgen_biodem;phaseout2020 +gms$c60_2ndgen_biodem;R32M46-SSP2EU-NPi +gms$c60_2ndgen_biodem_noselect;R32M46-SSP2EU-NPi diff --git a/config/projects/scenario_config_navigate.csv b/config/projects/scenario_config_navigate.csv index 30225cba3..de112a2a6 100644 --- a/config/projects/scenario_config_navigate.csv +++ b/config/projects/scenario_config_navigate.csv @@ -1,6 +1,6 @@ -;"NAVIGATE_AllOff";"NAVIGATE_LandSup";"NAVIGATE_LandDem";"NAVIGATE_AllOn" -"gms$s15_exo_waste";0;0;1;1 -"gms$s15_exo_diet";0;0;1;1 -"gms$c57_macc_version";"PBL_2022";"PBL_2022";"PBL_2022";"PBL_2022" -"gms$c57_macc_scenario";"Default";"Optimistic";"Default";"Optimistic" -"gms$s58_rewetting_switch";0;1;0;1 +;NAVIGATE_AllOff;NAVIGATE_LandSup;NAVIGATE_LandDem;NAVIGATE_AllOn +gms$s15_exo_waste;0;0;1;1 +gms$s15_exo_diet;0;0;1;1 +gms$c57_macc_version;PBL_2022;PBL_2022;PBL_2022;PBL_2022 +gms$c57_macc_scenario;Default;Optimistic;Default;Optimistic +gms$s58_rewetting_switch;0;1;0;1 From feaa8d149d7f7247278d48843eb1996508df0ea5 Mon Sep 17 00:00:00 2001 From: weindl <39915455+weindl@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:50:46 +0200 Subject: [PATCH 17/53] Update project_GCS.R --- scripts/start/projects/project_GCS.R | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/scripts/start/projects/project_GCS.R b/scripts/start/projects/project_GCS.R index a9bc2fff2..55c3943e4 100644 --- a/scripts/start/projects/project_GCS.R +++ b/scripts/start/projects/project_GCS.R @@ -54,7 +54,8 @@ start_run(cfg,codeCheck=FALSE) ### SSP2-Tland NDC rcp2p6 ########################## cfg$title <- "SSP2-Tland_NDC_rcp2p6" -cfg <- setScenario(cfg,c("SSP2","Tland","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg,c("SSP2","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg, c("Tland"), scenario_config = "config/projects/scenario_config_gcs.csv") start_run(cfg,codeCheck=FALSE) ### SSP1 NDC rcp2p6 ########################## @@ -93,14 +94,16 @@ start_run(cfg,codeCheck=FALSE) ### SSP2-Tland with climate policy parametrized from R21M42-SSP2-PkBudg900 cfg$title <- "SSP2-Tland_ssp2pkbudg900_rcp2p6" -cfg <- setScenario(cfg,c("SSP2","Tland","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg,c("SSP2","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg, c("Tland"), scenario_config = "config/projects/scenario_config_gcs.csv") cfg$gms$c56_pollutant_prices <- "R21M42-SSP2-PkBudg900" cfg$gms$c60_2ndgen_biodem <- "R21M42-SSP2-PkBudg900" start_run(cfg,codeCheck=FALSE) ### SSP2-Tland with climate policy parametrized from R21M42-SDP-PkBudg1000 cfg$title <- "SSP2-Tland_sdppkbudg1000_rcp2p6" -cfg <- setScenario(cfg,c("SSP2","Tland","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg,c("SSP2","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg, c("Tland"), scenario_config = "config/projects/scenario_config_gcs.csv") cfg$gms$c56_pollutant_prices <- "R21M42-SDP-PkBudg1000" cfg$gms$c60_2ndgen_biodem <- "R21M42-SDP-PkBudg1000" start_run(cfg,codeCheck=FALSE) @@ -114,14 +117,16 @@ start_run(cfg,codeCheck=FALSE) ### SSP1-Tland with climate policy parametrized from R21M42-SSP1-PkBudg900 cfg$title <- "SSP1-Tland_ssp1pkbudg900_rcp2p6" -cfg <- setScenario(cfg,c("SSP1","Tland","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg,c("SSP1","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg, c("Tland"), scenario_config = "config/projects/scenario_config_gcs.csv") cfg$gms$c56_pollutant_prices <- "R21M42-SSP1-PkBudg900" cfg$gms$c60_2ndgen_biodem <- "R21M42-SSP1-PkBudg900" start_run(cfg,codeCheck=FALSE) ### SSP1-Tland with climate policy parametrized from R21M42-SDP-PkBudg1000 cfg$title <- "SSP1-Tland_sdppkbudg1000_rcp2p6" -cfg <- setScenario(cfg,c("SSP1","Tland","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg,c("SSP1","NDC","cc","rcp2p6")) +cfg <- setScenario(cfg, c("Tland"), scenario_config = "config/projects/scenario_config_gcs.csv") cfg$gms$c56_pollutant_prices <- "R21M42-SDP-PkBudg1000" cfg$gms$c60_2ndgen_biodem <- "R21M42-SDP-PkBudg1000" start_run(cfg,codeCheck=FALSE) From bb4be69cccd9b681206f9f25ec1cd6b56e24356b Mon Sep 17 00:00:00 2001 From: Jan Steinhauser Date: Thu, 18 Jul 2024 15:12:50 +0200 Subject: [PATCH 18/53] Update GENIE project files --- ...geniescp.csv => scenario_config_genie.csv} | 14 ++++- scripts/start/projects/GENIE_0_default.R | 3 +- scripts/start/projects/GENIE_2_bm-priced.R | 13 ++--- scripts/start/projects/GENIE_3_bm-demand.R | 13 ++--- scripts/start/projects/GENIE_4_feedback.R | 53 +++++++++---------- 5 files changed, 48 insertions(+), 48 deletions(-) rename config/projects/{scenario_config_geniescp.csv => scenario_config_genie.csv} (59%) diff --git a/config/projects/scenario_config_geniescp.csv b/config/projects/scenario_config_genie.csv similarity index 59% rename from config/projects/scenario_config_geniescp.csv rename to config/projects/scenario_config_genie.csv index 04c5088b7..bd86fd965 100644 --- a/config/projects/scenario_config_geniescp.csv +++ b/config/projects/scenario_config_genie.csv @@ -1,11 +1,22 @@ -;GENIE_SCP +;GENIE_SCP gms$c_timesteps;coup2110 +gms$sm_fix_SSP2;2020 +gms$sm_fix_cc;2020 gms$c13_tccost;high gms$c14_yields_scenario;nocc gms$food;anthropometrics_jan18 +gms$kfo_rd;livst_rum,livst_milk +gms$s15_food_subst_functional_form;2 gms$c20_scp_type;hydrogen +gms$s21_trade_tariff_startyear;2020 +gms$s22_conservation_start;2020 +gms$s22_conservation_target;2030 gms$s30_annual_max_growth;0.02 +gms$s32_hvarea;0 +gms$s35_hvarea;0 gms$factor_costs;sticky_feb18 +gms$s38_startyear_labor_substitution;2020 +gms$s42_efp_startyear;2020 gms$s44_cost_bii_missing;10000000 gms$c56_pollutant_prices;R32M46-SSP2EU-NPi gms$c56_pollutant_prices_noselect;R32M46-SSP2EU-NPi @@ -14,3 +25,4 @@ gms$bioenergy;1st2ndgen_priced_feb24 gms$c60_1stgen_biodem;phaseout2020 gms$c60_2ndgen_biodem;R32M46-SSP2EU-NPi gms$c60_2ndgen_biodem_noselect;R32M46-SSP2EU-NPi +gms$s73_timber_demand_switch;0 diff --git a/scripts/start/projects/GENIE_0_default.R b/scripts/start/projects/GENIE_0_default.R index 41df4836f..248e67bfa 100644 --- a/scripts/start/projects/GENIE_0_default.R +++ b/scripts/start/projects/GENIE_0_default.R @@ -36,8 +36,9 @@ cfg$input <- c(regional = "rev4.96_26df900e_magpie.tgz", cfg$output <- c("output_check", "rds_report") +#load config presetswrite it before starting the run. preset <- "GENIE_SCP" -cfg <- setScenario(cfg, c(preset)) #load config presets +cfg <- setScenario(cfg, c(preset), scenario_config = "config/projects/scenario_config_genie.csv") ### Identifier and folder ############################################### diff --git a/scripts/start/projects/GENIE_2_bm-priced.R b/scripts/start/projects/GENIE_2_bm-priced.R index a1988aa30..e58c1b485 100644 --- a/scripts/start/projects/GENIE_2_bm-priced.R +++ b/scripts/start/projects/GENIE_2_bm-priced.R @@ -36,11 +36,13 @@ cfg$input <- c(regional = "rev4.96_26df900e_magpie.tgz", cfg$output <- c("output_check", "rds_report") +#load config presetswrite it before starting the run. preset <- "GENIE_SCP" -cfg <- setScenario(cfg, c(preset)) #load config presetswrite it before starting the run. +cfg <- setScenario(cfg, c(preset), scenario_config = "config/projects/scenario_config_genie.csv") cfg$force_replace <- FALSE cfg$qos <- "priority" +cfg$partition <- "priority" ### Identifier and folder ############################################### @@ -81,13 +83,8 @@ for (bl in blV) { preflag <- paste0("MP", str_pad(mp, 2, pad = "0"), "BI", str_pad(bl * 100, 2, pad = "0")) cfg$results_folder <- paste("output", identifierFlag, preflag, ":title:", sep = "/") cfg$info$flag2 <- preflag - - if (mp != 0){ - m = 100 - mp - cfg$gms$c15_rumdairy_scp_scen <- paste0("sigmoid_", m, "pc_25_50") - } else { - cfg$gms$c15_rumdairy_scp_scen <- "constant" - } + + cfg$gms$s15_rumdairy_scp_substitution <- mp / 100 for (be in beV) { cfg$gms$s60_bioenergy_gj_price_1st <- be diff --git a/scripts/start/projects/GENIE_3_bm-demand.R b/scripts/start/projects/GENIE_3_bm-demand.R index 624e75c7b..5bca4b022 100644 --- a/scripts/start/projects/GENIE_3_bm-demand.R +++ b/scripts/start/projects/GENIE_3_bm-demand.R @@ -36,11 +36,12 @@ cfg$input <- c(regional = "rev4.96_26df900e_magpie.tgz", cfg$output <- c("output_check", "extra/disaggregation", "rds_report") +#load config presetswrite it before starting the run. preset <- "GENIE_SCP" -cfg <- setScenario(cfg, c(preset)) #load config presetswrite it before starting the run. +cfg <- setScenario(cfg, c(preset), scenario_config = "config/projects/scenario_config_genie.csv") cfg$force_replace <- TRUE -cfg$qos <- "standby_maxMem_dayMax" +cfg$qos <- "standby" ### Identifier and folder ############################################### @@ -81,13 +82,7 @@ for (bl in blV) { cfg$gms$c22_protect_scenario <- pa for (mp in mpV) { - - if (mp != 0){ - m = 100 - mp - cfg$gms$c15_rumdairy_scp_scen <- paste0("sigmoid_", m, "pc_25_50") - } else { - cfg$gms$c15_rumdairy_scp_scen <- "constant" - } + cfg$gms$s15_rumdairy_scp_substitution <- mp / 100 preflag <- paste0("MP", str_pad(mp, 2, pad = "0"), "BI", str_pad(bl * 100, 2, pad = "0") diff --git a/scripts/start/projects/GENIE_4_feedback.R b/scripts/start/projects/GENIE_4_feedback.R index 6a95f562e..1fa097a56 100644 --- a/scripts/start/projects/GENIE_4_feedback.R +++ b/scripts/start/projects/GENIE_4_feedback.R @@ -36,8 +36,9 @@ cfg$input <- c(regional = "rev4.96_26df900e_magpie.tgz", cfg$output <- c("output_check", "extra/disaggregation", "rds_report") +#load config presetswrite it before starting the run. preset <- "GENIE_SCP" -cfg <- setScenario(cfg, c(preset)) #load config presetswrite it before starting the run. +cfg <- setScenario(cfg, c(preset), scenario_config = "config/projects/scenario_config_genie.csv") cfg$force_replace <- FALSE @@ -77,35 +78,29 @@ for (bl in blV) { cfg$gms$c22_protect_scenario <- pa for (mp in mpV) { + cfg$gms$s15_rumdairy_scp_substitution <- mp / 100 - if (mp != 0){ - m = 100 - mp - cfg$gms$c15_rumdairy_scp_scen <- paste0("sigmoid_", m, "pc_25_50") - } else { - cfg$gms$c15_rumdairy_scp_scen <- "constant" - } - - preflag <- paste0("MP", str_pad(mp, 2, pad = "0"), - "BD", bd, "BI", str_pad(bl * 100, 2, pad = "0") - ) - cfg$results_folder <- paste( - # "output", identifierFlag, preflag, ":title:", sep = "/" - "output", identifierFlag, ":title:", sep = "/" - ) - - n <- "Feedback_step13_400f" - m <- n - cfg$gms$c60_2ndgen_biodem <- n - cfg$gms$c56_pollutant_prices <- m - - - ############################################## - #runflag <- paste("feedback", f_flag, sep = "_") - runflag <- paste0(m, "") - - cfg$title <- paste0(preflag, runflag) - - start_run(cfg, codeCheck = FALSE) + preflag <- paste0("MP", str_pad(mp, 2, pad = "0"), + "BD", bd, "BI", str_pad(bl * 100, 2, pad = "0") + ) + cfg$results_folder <- paste( + # "output", identifierFlag, preflag, ":title:", sep = "/" + "output", identifierFlag, ":title:", sep = "/" + ) + + n <- "Feedback_step13_400f" + m <- n + cfg$gms$c60_2ndgen_biodem <- n + cfg$gms$c56_pollutant_prices <- m + + + ############################################## + #runflag <- paste("feedback", f_flag, sep = "_") + runflag <- paste0(m, "") + + cfg$title <- paste0(preflag, runflag) + + start_run(cfg, codeCheck = FALSE) } # MP replacement From bca09d98dc764fbf7a712bd7a85c507f10d5c2a1 Mon Sep 17 00:00:00 2001 From: florianh Date: Sun, 21 Jul 2024 21:43:25 +0200 Subject: [PATCH 19/53] save --- modules/58_peatland/v2/presolve.gms | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/58_peatland/v2/presolve.gms b/modules/58_peatland/v2/presolve.gms index cb977936b..ed1b82d29 100644 --- a/modules/58_peatland/v2/presolve.gms +++ b/modules/58_peatland/v2/presolve.gms @@ -57,4 +57,17 @@ p58_scalingFactorRed(t,j,manPeat58) = $(pc58_peatland(j,manPeat58) > 1e-10 AND pc58_manLand(j,manPeat58) > 1e-10) + 0$(pc58_peatland(j,manPeat58) <= 1e-10 OR pc58_manLand(j,manPeat58) <= 1e-10); +*' Peatland scaling factor for expansion: maxPeatland-manPeatland / maxLand-manLand = availPeatlandExp / availLandExp +*' See macro `m58_LandLeft` for details. + +p58_avail_peatland_exp2(t,j) = sum(land58, pc58_peatland(j,land58)) - sum(manPeat58, pc58_peatland(j,manPeat58)); +p58_avail_land_exp2(t,j) = sum(land, pcm_land(j,land)) - sum(manPeat58, pc58_manLand(j,manPeat58)); + +p58_scalingFactorExp(t,j) = + (p58_avail_peatland_exp2(t,j) / p58_avail_land_exp2(t,j)) + $(p58_avail_peatland_exp2(t,j) > 1e-10 AND p58_avail_land_exp2(t,j) > 1e-10) + + 0$(p58_avail_peatland_exp2(t,j) <= 1e-10 OR p58_avail_land_exp2(t,j) <= 1e-10); +p58_scalingFactorExp(t,j)$(p58_scalingFactorExp(t,j) > 1) = 1; + + *' @stop From eee6654ac3175308e21ca1d0dc40ea68daf4e7a1 Mon Sep 17 00:00:00 2001 From: florianh Date: Sun, 21 Jul 2024 21:45:56 +0200 Subject: [PATCH 20/53] save --- modules/58_peatland/v2/declarations.gms | 3 +++ modules/58_peatland/v2/equations.gms | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/58_peatland/v2/declarations.gms b/modules/58_peatland/v2/declarations.gms index a33ac2a46..24384ca08 100644 --- a/modules/58_peatland/v2/declarations.gms +++ b/modules/58_peatland/v2/declarations.gms @@ -8,6 +8,7 @@ parameters pc58_peatland(j,land58) Peatland area (mio. ha) pc58_manLand(j,manPeat58) Managed land area (mio. ha) + p58_scalingFactorExp(t,j) Scaling factor for peatland expansion (1) p58_scalingFactorRed(t,j,manPeat58) Scaling factor for peatland reduction (1) p58_mapping_cell_climate(j,clcl58) Mapping between cells and climate regions (binary) i58_cost_rewet_recur(t) Recurring costs for rewetted peatland (USD05MER per ha) @@ -15,6 +16,8 @@ parameters i58_cost_drain_recur(t) Recurring costs for drained and managed peatlands (USD05MER per ha) i58_cost_drain_intact_onetime(t) One-time costs for drainage of intact peatland (USD05MER per ha) i58_cost_drain_rewet_onetime(t) One-time costs for drainage of rewetted peatland (USD05MER per ha) + p58_avail_peatland_exp2(t,j) + p58_avail_land_exp2(t,j) ; equations diff --git a/modules/58_peatland/v2/equations.gms b/modules/58_peatland/v2/equations.gms index 45f4e82d1..0f2886f86 100644 --- a/modules/58_peatland/v2/equations.gms +++ b/modules/58_peatland/v2/equations.gms @@ -41,7 +41,7 @@ q58_peatlandMan(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. v58_peatland(j2,manPeat58) =e= pc58_peatland(j2,manPeat58) - + v58_manLandExp(j2,manPeat58) * v58_scalingFactorExp(j2,manPeat58) + + v58_manLandExp(j2,manPeat58) * sum(ct, p58_scalingFactorExp(ct,j2)); - v58_manLandRed(j2,manPeat58) * sum(ct, p58_scalingFactorRed(ct,j2,manPeat58)); *' Peatland scaling factor for expansion: (maxPeatland - totalManagedPeatland) / (maxLand - totalManagedLand). From 754b98ac699ae2b3c7240579c83df3555c87a907 Mon Sep 17 00:00:00 2001 From: florianh Date: Mon, 22 Jul 2024 16:26:52 +0200 Subject: [PATCH 21/53] update --- .../dynamic_may24/declarations.gms | 4 +++ .../32_forestry/dynamic_may24/equations.gms | 9 ++++-- .../32_forestry/dynamic_may24/postsolve.gms | 8 +++++ modules/58_peatland/v2/declarations.gms | 12 ++++---- modules/58_peatland/v2/equations.gms | 16 +++++----- modules/58_peatland/v2/postsolve.gms | 12 +++----- modules/58_peatland/v2/preloop.gms | 2 ++ modules/58_peatland/v2/presolve.gms | 29 +++++++++---------- 8 files changed, 51 insertions(+), 41 deletions(-) diff --git a/modules/32_forestry/dynamic_may24/declarations.gms b/modules/32_forestry/dynamic_may24/declarations.gms index 5a806f3fa..fe6faa21f 100644 --- a/modules/32_forestry/dynamic_may24/declarations.gms +++ b/modules/32_forestry/dynamic_may24/declarations.gms @@ -73,6 +73,7 @@ positive variables vm_landreduction_forestry(j,type32) Forestry land reduction (mio. ha) vm_land_forestry(j,type32) Forestry land pools (mio. ha) v32_prod_forestry_future(i) Future expected production of woody biomass from commercial plantations (mio. tDM per yr) + v32_land_replant(j) Harvested and replanted area in timber plantations (mio. ha) ; variables @@ -108,6 +109,7 @@ equations q32_bv_plant(j,potnatveg) Biodiversity value for plantations (Mha) q32_land_expansion_forestry(j,type32) Forestry land expansion (mio. ha) q32_land_reduction_forestry(j,type32) Forestry land reduction (mio. ha) + q32_land_replant(j) Harvested and replanted area in timber plantations (mio. ha) ; @@ -128,6 +130,7 @@ parameters ov_landreduction_forestry(t,j,type32,type) Forestry land reduction (mio. ha) ov_land_forestry(t,j,type32,type) Forestry land pools (mio. ha) ov32_prod_forestry_future(t,i,type) Future expected production of woody biomass from commercial plantations (mio. tDM per yr) + ov32_land_replant(t,j,type) Harvested and replanted area in timber plantations (mio. ha) ov_cdr_aff(t,j,ac,aff_effect,type) Expected bgc (CDR) and local bph effects of afforestation depending on planning horizon (mio. tC) oq32_cost_total(t,i,type) Total forestry costs constraint (mio. USD) oq32_land(t,j,type) Land constraint (mio. ha) @@ -157,5 +160,6 @@ parameters oq32_bv_plant(t,j,potnatveg,type) Biodiversity value for plantations (Mha) oq32_land_expansion_forestry(t,j,type32,type) Forestry land expansion (mio. ha) oq32_land_reduction_forestry(t,j,type32,type) Forestry land reduction (mio. ha) + oq32_land_replant(t,j,type) Harvested and replanted area in timber plantations (mio. ha) ; *##################### R SECTION END (OUTPUT DECLARATIONS) ##################### diff --git a/modules/32_forestry/dynamic_may24/equations.gms b/modules/32_forestry/dynamic_may24/equations.gms index 1cfdcf259..dcd0a42fb 100644 --- a/modules/32_forestry/dynamic_may24/equations.gms +++ b/modules/32_forestry/dynamic_may24/equations.gms @@ -60,10 +60,15 @@ sum(ac_est, v32_land(j2,"aff",ac_est)) =l= sum(ac, v32_land(j2,"aff",ac)) - sum( vm_land_forestry(j2,type32) =e= sum(ac, v32_land(j2,type32,ac)); q32_land_expansion_forestry(j2,type32) .. - vm_landexpansion_forestry(j2,type32) =e= v32_land_expansion(j2,type32); + vm_landexpansion_forestry(j2,type32) =e= v32_land_expansion(j2,type32) - (v32_land_replant(j2))$sameas(type32,"plant"); q32_land_reduction_forestry(j2,type32) .. - vm_landreduction_forestry(j2,type32) =e= sum(ac_sub, v32_land_reduction(j2,type32,ac_sub)); + vm_landreduction_forestry(j2,type32) =e= sum(ac_sub, v32_land_reduction(j2,type32,ac_sub)) - (v32_land_replant(j2))$sameas(type32,"plant"); + + q32_land_replant(j2) .. + v32_land_replant(j2) + =e= + sum(ac_sub, v32_hvarea_forestry(j2,ac_sub)) * sum(cell(i2,j2), min(1, sum(ct, p32_future_to_current_demand_ratio(ct,i2))))$s32_establishment_dynamic; *' The constraint `q32_aff_pol` accounts for the exogenous afforestation prescribed by NPI/NDC policies. diff --git a/modules/32_forestry/dynamic_may24/postsolve.gms b/modules/32_forestry/dynamic_may24/postsolve.gms index be0c97864..5d35a5714 100644 --- a/modules/32_forestry/dynamic_may24/postsolve.gms +++ b/modules/32_forestry/dynamic_may24/postsolve.gms @@ -25,6 +25,7 @@ pc32_land(j,type32,ac) = v32_land.l(j,type32,ac); ov_landreduction_forestry(t,j,type32,"marginal") = vm_landreduction_forestry.m(j,type32); ov_land_forestry(t,j,type32,"marginal") = vm_land_forestry.m(j,type32); ov32_prod_forestry_future(t,i,"marginal") = v32_prod_forestry_future.m(i); + ov32_land_replant(t,j,"marginal") = v32_land_replant.m(j); ov_cdr_aff(t,j,ac,aff_effect,"marginal") = vm_cdr_aff.m(j,ac,aff_effect); oq32_cost_total(t,i,"marginal") = q32_cost_total.m(i); oq32_land(t,j,"marginal") = q32_land.m(j); @@ -54,6 +55,7 @@ pc32_land(j,type32,ac) = v32_land.l(j,type32,ac); oq32_bv_plant(t,j,potnatveg,"marginal") = q32_bv_plant.m(j,potnatveg); oq32_land_expansion_forestry(t,j,type32,"marginal") = q32_land_expansion_forestry.m(j,type32); oq32_land_reduction_forestry(t,j,type32,"marginal") = q32_land_reduction_forestry.m(j,type32); + oq32_land_replant(t,j,"marginal") = q32_land_replant.m(j); ov_cost_fore(t,i,"level") = vm_cost_fore.l(i); ov32_cost_hvarea(t,i,"level") = v32_cost_hvarea.l(i); ov32_land(t,j,type32,ac,"level") = v32_land.l(j,type32,ac); @@ -69,6 +71,7 @@ pc32_land(j,type32,ac) = v32_land.l(j,type32,ac); ov_landreduction_forestry(t,j,type32,"level") = vm_landreduction_forestry.l(j,type32); ov_land_forestry(t,j,type32,"level") = vm_land_forestry.l(j,type32); ov32_prod_forestry_future(t,i,"level") = v32_prod_forestry_future.l(i); + ov32_land_replant(t,j,"level") = v32_land_replant.l(j); ov_cdr_aff(t,j,ac,aff_effect,"level") = vm_cdr_aff.l(j,ac,aff_effect); oq32_cost_total(t,i,"level") = q32_cost_total.l(i); oq32_land(t,j,"level") = q32_land.l(j); @@ -98,6 +101,7 @@ pc32_land(j,type32,ac) = v32_land.l(j,type32,ac); oq32_bv_plant(t,j,potnatveg,"level") = q32_bv_plant.l(j,potnatveg); oq32_land_expansion_forestry(t,j,type32,"level") = q32_land_expansion_forestry.l(j,type32); oq32_land_reduction_forestry(t,j,type32,"level") = q32_land_reduction_forestry.l(j,type32); + oq32_land_replant(t,j,"level") = q32_land_replant.l(j); ov_cost_fore(t,i,"upper") = vm_cost_fore.up(i); ov32_cost_hvarea(t,i,"upper") = v32_cost_hvarea.up(i); ov32_land(t,j,type32,ac,"upper") = v32_land.up(j,type32,ac); @@ -113,6 +117,7 @@ pc32_land(j,type32,ac) = v32_land.l(j,type32,ac); ov_landreduction_forestry(t,j,type32,"upper") = vm_landreduction_forestry.up(j,type32); ov_land_forestry(t,j,type32,"upper") = vm_land_forestry.up(j,type32); ov32_prod_forestry_future(t,i,"upper") = v32_prod_forestry_future.up(i); + ov32_land_replant(t,j,"upper") = v32_land_replant.up(j); ov_cdr_aff(t,j,ac,aff_effect,"upper") = vm_cdr_aff.up(j,ac,aff_effect); oq32_cost_total(t,i,"upper") = q32_cost_total.up(i); oq32_land(t,j,"upper") = q32_land.up(j); @@ -142,6 +147,7 @@ pc32_land(j,type32,ac) = v32_land.l(j,type32,ac); oq32_bv_plant(t,j,potnatveg,"upper") = q32_bv_plant.up(j,potnatveg); oq32_land_expansion_forestry(t,j,type32,"upper") = q32_land_expansion_forestry.up(j,type32); oq32_land_reduction_forestry(t,j,type32,"upper") = q32_land_reduction_forestry.up(j,type32); + oq32_land_replant(t,j,"upper") = q32_land_replant.up(j); ov_cost_fore(t,i,"lower") = vm_cost_fore.lo(i); ov32_cost_hvarea(t,i,"lower") = v32_cost_hvarea.lo(i); ov32_land(t,j,type32,ac,"lower") = v32_land.lo(j,type32,ac); @@ -157,6 +163,7 @@ pc32_land(j,type32,ac) = v32_land.l(j,type32,ac); ov_landreduction_forestry(t,j,type32,"lower") = vm_landreduction_forestry.lo(j,type32); ov_land_forestry(t,j,type32,"lower") = vm_land_forestry.lo(j,type32); ov32_prod_forestry_future(t,i,"lower") = v32_prod_forestry_future.lo(i); + ov32_land_replant(t,j,"lower") = v32_land_replant.lo(j); ov_cdr_aff(t,j,ac,aff_effect,"lower") = vm_cdr_aff.lo(j,ac,aff_effect); oq32_cost_total(t,i,"lower") = q32_cost_total.lo(i); oq32_land(t,j,"lower") = q32_land.lo(j); @@ -186,4 +193,5 @@ pc32_land(j,type32,ac) = v32_land.l(j,type32,ac); oq32_bv_plant(t,j,potnatveg,"lower") = q32_bv_plant.lo(j,potnatveg); oq32_land_expansion_forestry(t,j,type32,"lower") = q32_land_expansion_forestry.lo(j,type32); oq32_land_reduction_forestry(t,j,type32,"lower") = q32_land_reduction_forestry.lo(j,type32); + oq32_land_replant(t,j,"lower") = q32_land_replant.lo(j); *##################### R SECTION END (OUTPUT DEFINITIONS) ###################### diff --git a/modules/58_peatland/v2/declarations.gms b/modules/58_peatland/v2/declarations.gms index 24384ca08..81d4b8d33 100644 --- a/modules/58_peatland/v2/declarations.gms +++ b/modules/58_peatland/v2/declarations.gms @@ -9,15 +9,15 @@ parameters pc58_peatland(j,land58) Peatland area (mio. ha) pc58_manLand(j,manPeat58) Managed land area (mio. ha) p58_scalingFactorExp(t,j) Scaling factor for peatland expansion (1) - p58_scalingFactorRed(t,j,manPeat58) Scaling factor for peatland reduction (1) + p58_scalingFactorRed(t,j) Scaling factor for peatland reduction (1) p58_mapping_cell_climate(j,clcl58) Mapping between cells and climate regions (binary) i58_cost_rewet_recur(t) Recurring costs for rewetted peatland (USD05MER per ha) i58_cost_rewet_onetime(t) One-time costs for peatland rewetting (USD05MER per ha) i58_cost_drain_recur(t) Recurring costs for drained and managed peatlands (USD05MER per ha) i58_cost_drain_intact_onetime(t) One-time costs for drainage of intact peatland (USD05MER per ha) i58_cost_drain_rewet_onetime(t) One-time costs for drainage of rewetted peatland (USD05MER per ha) - p58_avail_peatland_exp2(t,j) - p58_avail_land_exp2(t,j) + p58_avail_peatland_exp(t,j) Available peatland for expansion (mio. ha) + p58_avail_land_exp(t,j) Available land for expansion (mio. ha) ; equations @@ -27,7 +27,7 @@ equations q58_manLandExp(j,manPeat58) Managed land area expansion (mio. ha) q58_manLandRed(j,manPeat58) Managed land area reduction (mio. ha) q58_peatlandMan(j,manPeat58) Change of managed peatland area (mio. ha) - q58_scalingFactorExp(j,manPeat58) Scaling factor for peatland expansion (1) + q58_peatlandMan2(j,manPeat58) Contraint for managed peatland area (mio. ha) q58_peatland_cost(j) One-time and recurring cost of peatland conversion and management (mio. USD05MER per yr) q58_peatland_cost_annuity(j,cost58) Annuity costs for peatland conversion in the current timestep (mio. USD05MER per yr) q58_peatland_emis_detail(j,land58,emis58) Detailed GHG emissions from peatlands (Tg per yr) @@ -45,7 +45,6 @@ positive variables v58_manLand(j,manPeat58) Managed land area (mio. ha) v58_manLandExp(j,manPeat58) Managed land area expansion (mio. ha) v58_manLandRed(j,manPeat58) Managed land area reduction (mio. ha) - v58_scalingFactorExp(j,manPeat58) Scaling factor for peatland expansion (1) v58_balance(j,manPeat58) Technical balance term for peatland scaling factor (1) v58_peatland_cost_annuity(j,cost58) Annuity costs for peatland conversion in the current timestep (mio. USD05MER per yr) ; @@ -59,7 +58,6 @@ parameters ov58_manLand(t,j,manPeat58,type) Managed land area (mio. ha) ov58_manLandExp(t,j,manPeat58,type) Managed land area expansion (mio. ha) ov58_manLandRed(t,j,manPeat58,type) Managed land area reduction (mio. ha) - ov58_scalingFactorExp(t,j,manPeat58,type) Scaling factor for peatland expansion (1) ov58_balance(t,j,manPeat58,type) Technical balance term for peatland scaling factor (1) ov58_peatland_cost_annuity(t,j,cost58,type) Annuity costs for peatland conversion in the current timestep (mio. USD05MER per yr) oq58_peatland(t,j,type) Constraint for total peatland area (mio. ha) @@ -68,7 +66,7 @@ parameters oq58_manLandExp(t,j,manPeat58,type) Managed land area expansion (mio. ha) oq58_manLandRed(t,j,manPeat58,type) Managed land area reduction (mio. ha) oq58_peatlandMan(t,j,manPeat58,type) Change of managed peatland area (mio. ha) - oq58_scalingFactorExp(t,j,manPeat58,type) Scaling factor for peatland expansion (1) + oq58_peatlandMan2(t,j,manPeat58,type) Contraint for managed peatland area (mio. ha) oq58_peatland_cost(t,j,type) One-time and recurring cost of peatland conversion and management (mio. USD05MER per yr) oq58_peatland_cost_annuity(t,j,cost58,type) Annuity costs for peatland conversion in the current timestep (mio. USD05MER per yr) oq58_peatland_emis_detail(t,j,land58,emis58,type) Detailed GHG emissions from peatlands (Tg per yr) diff --git a/modules/58_peatland/v2/equations.gms b/modules/58_peatland/v2/equations.gms index 0f2886f86..b2e747fbd 100644 --- a/modules/58_peatland/v2/equations.gms +++ b/modules/58_peatland/v2/equations.gms @@ -15,7 +15,7 @@ *' Peatland area change: q58_peatlandChange(j2,land58) .. - v58_peatlandChange(j2,land58) =e= v58_peatland(j2,land58)-pc58_peatland(j2,land58); + v58_peatlandChange(j2,land58) =e= v58_peatland(j2,land58)-pc58_peatland(j2,land58); *' Managed land area: @@ -39,19 +39,17 @@ *' In case managed land remains unchanged, also managed peatland remains unchanged. q58_peatlandMan(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. - v58_peatland(j2,manPeat58) =e= + v58_peatland(j2,manPeat58) =g= pc58_peatland(j2,manPeat58) - + v58_manLandExp(j2,manPeat58) * sum(ct, p58_scalingFactorExp(ct,j2)); - - v58_manLandRed(j2,manPeat58) * sum(ct, p58_scalingFactorRed(ct,j2,manPeat58)); + + v58_manLandExp(j2,manPeat58) * sum(ct, p58_scalingFactorExp(ct,j2)) - v58_balance(j2,manPeat58) + - v58_manLandRed(j2,manPeat58) * sum(ct, p58_scalingFactorRed(ct,j2)); + + q58_peatlandMan2(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. + v58_peatland(j2,manPeat58) =l= v58_manLand(j2,manPeat58); *' Peatland scaling factor for expansion: (maxPeatland - totalManagedPeatland) / (maxLand - totalManagedLand). *' See macro `m58_LandLeft` for details. -q58_scalingFactorExp(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. - v58_scalingFactorExp(j2,manPeat58) * m58_LandLeft(pcm_land,"land",v58_manLand,pc58_manLand) + v58_balance(j2,manPeat58) - =e= - m58_LandLeft(pc58_peatland,"land58",v58_peatland,pc58_peatland); - *' Costs for peatland degradation and rewetting q58_peatland_cost(j2) .. diff --git a/modules/58_peatland/v2/postsolve.gms b/modules/58_peatland/v2/postsolve.gms index 38e6ded2c..58cdb3abd 100644 --- a/modules/58_peatland/v2/postsolve.gms +++ b/modules/58_peatland/v2/postsolve.gms @@ -16,7 +16,6 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); ov58_manLand(t,j,manPeat58,"marginal") = v58_manLand.m(j,manPeat58); ov58_manLandExp(t,j,manPeat58,"marginal") = v58_manLandExp.m(j,manPeat58); ov58_manLandRed(t,j,manPeat58,"marginal") = v58_manLandRed.m(j,manPeat58); - ov58_scalingFactorExp(t,j,manPeat58,"marginal") = v58_scalingFactorExp.m(j,manPeat58); ov58_balance(t,j,manPeat58,"marginal") = v58_balance.m(j,manPeat58); ov58_peatland_cost_annuity(t,j,cost58,"marginal") = v58_peatland_cost_annuity.m(j,cost58); oq58_peatland(t,j,"marginal") = q58_peatland.m(j); @@ -25,7 +24,7 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); oq58_manLandExp(t,j,manPeat58,"marginal") = q58_manLandExp.m(j,manPeat58); oq58_manLandRed(t,j,manPeat58,"marginal") = q58_manLandRed.m(j,manPeat58); oq58_peatlandMan(t,j,manPeat58,"marginal") = q58_peatlandMan.m(j,manPeat58); - oq58_scalingFactorExp(t,j,manPeat58,"marginal") = q58_scalingFactorExp.m(j,manPeat58); + oq58_peatlandMan2(t,j,manPeat58,"marginal") = q58_peatlandMan2.m(j,manPeat58); oq58_peatland_cost(t,j,"marginal") = q58_peatland_cost.m(j); oq58_peatland_cost_annuity(t,j,cost58,"marginal") = q58_peatland_cost_annuity.m(j,cost58); oq58_peatland_emis_detail(t,j,land58,emis58,"marginal") = q58_peatland_emis_detail.m(j,land58,emis58); @@ -37,7 +36,6 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); ov58_manLand(t,j,manPeat58,"level") = v58_manLand.l(j,manPeat58); ov58_manLandExp(t,j,manPeat58,"level") = v58_manLandExp.l(j,manPeat58); ov58_manLandRed(t,j,manPeat58,"level") = v58_manLandRed.l(j,manPeat58); - ov58_scalingFactorExp(t,j,manPeat58,"level") = v58_scalingFactorExp.l(j,manPeat58); ov58_balance(t,j,manPeat58,"level") = v58_balance.l(j,manPeat58); ov58_peatland_cost_annuity(t,j,cost58,"level") = v58_peatland_cost_annuity.l(j,cost58); oq58_peatland(t,j,"level") = q58_peatland.l(j); @@ -46,7 +44,7 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); oq58_manLandExp(t,j,manPeat58,"level") = q58_manLandExp.l(j,manPeat58); oq58_manLandRed(t,j,manPeat58,"level") = q58_manLandRed.l(j,manPeat58); oq58_peatlandMan(t,j,manPeat58,"level") = q58_peatlandMan.l(j,manPeat58); - oq58_scalingFactorExp(t,j,manPeat58,"level") = q58_scalingFactorExp.l(j,manPeat58); + oq58_peatlandMan2(t,j,manPeat58,"level") = q58_peatlandMan2.l(j,manPeat58); oq58_peatland_cost(t,j,"level") = q58_peatland_cost.l(j); oq58_peatland_cost_annuity(t,j,cost58,"level") = q58_peatland_cost_annuity.l(j,cost58); oq58_peatland_emis_detail(t,j,land58,emis58,"level") = q58_peatland_emis_detail.l(j,land58,emis58); @@ -58,7 +56,6 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); ov58_manLand(t,j,manPeat58,"upper") = v58_manLand.up(j,manPeat58); ov58_manLandExp(t,j,manPeat58,"upper") = v58_manLandExp.up(j,manPeat58); ov58_manLandRed(t,j,manPeat58,"upper") = v58_manLandRed.up(j,manPeat58); - ov58_scalingFactorExp(t,j,manPeat58,"upper") = v58_scalingFactorExp.up(j,manPeat58); ov58_balance(t,j,manPeat58,"upper") = v58_balance.up(j,manPeat58); ov58_peatland_cost_annuity(t,j,cost58,"upper") = v58_peatland_cost_annuity.up(j,cost58); oq58_peatland(t,j,"upper") = q58_peatland.up(j); @@ -67,7 +64,7 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); oq58_manLandExp(t,j,manPeat58,"upper") = q58_manLandExp.up(j,manPeat58); oq58_manLandRed(t,j,manPeat58,"upper") = q58_manLandRed.up(j,manPeat58); oq58_peatlandMan(t,j,manPeat58,"upper") = q58_peatlandMan.up(j,manPeat58); - oq58_scalingFactorExp(t,j,manPeat58,"upper") = q58_scalingFactorExp.up(j,manPeat58); + oq58_peatlandMan2(t,j,manPeat58,"upper") = q58_peatlandMan2.up(j,manPeat58); oq58_peatland_cost(t,j,"upper") = q58_peatland_cost.up(j); oq58_peatland_cost_annuity(t,j,cost58,"upper") = q58_peatland_cost_annuity.up(j,cost58); oq58_peatland_emis_detail(t,j,land58,emis58,"upper") = q58_peatland_emis_detail.up(j,land58,emis58); @@ -79,7 +76,6 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); ov58_manLand(t,j,manPeat58,"lower") = v58_manLand.lo(j,manPeat58); ov58_manLandExp(t,j,manPeat58,"lower") = v58_manLandExp.lo(j,manPeat58); ov58_manLandRed(t,j,manPeat58,"lower") = v58_manLandRed.lo(j,manPeat58); - ov58_scalingFactorExp(t,j,manPeat58,"lower") = v58_scalingFactorExp.lo(j,manPeat58); ov58_balance(t,j,manPeat58,"lower") = v58_balance.lo(j,manPeat58); ov58_peatland_cost_annuity(t,j,cost58,"lower") = v58_peatland_cost_annuity.lo(j,cost58); oq58_peatland(t,j,"lower") = q58_peatland.lo(j); @@ -88,7 +84,7 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); oq58_manLandExp(t,j,manPeat58,"lower") = q58_manLandExp.lo(j,manPeat58); oq58_manLandRed(t,j,manPeat58,"lower") = q58_manLandRed.lo(j,manPeat58); oq58_peatlandMan(t,j,manPeat58,"lower") = q58_peatlandMan.lo(j,manPeat58); - oq58_scalingFactorExp(t,j,manPeat58,"lower") = q58_scalingFactorExp.lo(j,manPeat58); + oq58_peatlandMan2(t,j,manPeat58,"lower") = q58_peatlandMan2.lo(j,manPeat58); oq58_peatland_cost(t,j,"lower") = q58_peatland_cost.lo(j); oq58_peatland_cost_annuity(t,j,cost58,"lower") = q58_peatland_cost_annuity.lo(j,cost58); oq58_peatland_emis_detail(t,j,land58,emis58,"lower") = q58_peatland_emis_detail.lo(j,land58,emis58); diff --git a/modules/58_peatland/v2/preloop.gms b/modules/58_peatland/v2/preloop.gms index 9525ea286..5adbe7de9 100644 --- a/modules/58_peatland/v2/preloop.gms +++ b/modules/58_peatland/v2/preloop.gms @@ -17,3 +17,5 @@ pc58_peatland(j,land58) = 0; * For the internal GHG emission pricing it is assumed that intact peatlands have the same GHG emission factors as rewetted peatlands. * Without this assumption, GHG emissions of intact peatlands would be zero (no data available). This can lead to cases where intact peatland is converted to rewetted peatland. f58_ipcc_wetland_ef(clcl58,"intact",emis58) = f58_ipcc_wetland_ef(clcl58,"rewetted",emis58); + +*v58_balance.fx(j,manPeat58) = 0; diff --git a/modules/58_peatland/v2/presolve.gms b/modules/58_peatland/v2/presolve.gms index ed1b82d29..3cedcae09 100644 --- a/modules/58_peatland/v2/presolve.gms +++ b/modules/58_peatland/v2/presolve.gms @@ -21,7 +21,6 @@ if (m_year(t) <= s58_fix_peatland, * Peatland area is fixed to `pc58_peatland` until the year given by s58_fix_peatland v58_peatland.fx(j,land58) = pc58_peatland(j,land58); - v58_scalingFactorExp.fx(j,manPeat58) = 0; v58_balance.fx(j,manPeat58) = 0; i58_cost_rewet_recur(t) = 0; @@ -37,8 +36,6 @@ else v58_peatland.up(j,"rewetted") = s58_rewetting_switch; v58_peatland.up(j,"intact") = pc58_peatland(j,"intact"); v58_peatland.fx(j,"peatExtract") = pc58_peatland(j,"peatExtract"); - v58_scalingFactorExp.lo(j,manPeat58) = 0; - v58_scalingFactorExp.up(j,manPeat58) = Inf; v58_balance.lo(j,manPeat58) = 0; v58_balance.up(j,manPeat58) = Inf; @@ -50,23 +47,25 @@ else ); *' @code -*' Peatland scaling factor for reduction: currentPeatland / currentManagedLand +*' Peatland scaling factor for reduction: manPeatland / totalPeatland -p58_scalingFactorRed(t,j,manPeat58) = - (pc58_peatland(j,manPeat58)/pc58_manLand(j,manPeat58)) - $(pc58_peatland(j,manPeat58) > 1e-10 AND pc58_manLand(j,manPeat58) > 1e-10) - + 0$(pc58_peatland(j,manPeat58) <= 1e-10 OR pc58_manLand(j,manPeat58) <= 1e-10); +p58_scalingFactorRed(t,j) = + (sum(manPeat58, pc58_peatland(j,manPeat58)) / sum(land58, pc58_peatland(j,land58))) + $(sum(manPeat58, pc58_peatland(j,manPeat58)) > 1e-10 AND sum(land58, pc58_peatland(j,land58)) > 1e-10) + + 0$(sum(land58, pc58_peatland(j,land58)) <= 1e-10) + + 1$(sum(manPeat58, pc58_manLand(j,manPeat58)) <= 1e-10); +p58_scalingFactorRed(t,j)$(p58_scalingFactorRed(t,j) > 1) = 1; -*' Peatland scaling factor for expansion: maxPeatland-manPeatland / maxLand-manLand = availPeatlandExp / availLandExp -*' See macro `m58_LandLeft` for details. -p58_avail_peatland_exp2(t,j) = sum(land58, pc58_peatland(j,land58)) - sum(manPeat58, pc58_peatland(j,manPeat58)); -p58_avail_land_exp2(t,j) = sum(land, pcm_land(j,land)) - sum(manPeat58, pc58_manLand(j,manPeat58)); +*' Peatland scaling factor for expansion: totalPeatland-manPeatland / totalLand-manLand = availPeatlandExp / availLandExp + +p58_avail_peatland_exp(t,j) = sum(land58, pc58_peatland(j,land58)) - sum(manPeat58, pc58_peatland(j,manPeat58)); +p58_avail_land_exp(t,j) = sum(land, pcm_land(j,land)) - sum(manPeat58, pc58_manLand(j,manPeat58)); p58_scalingFactorExp(t,j) = - (p58_avail_peatland_exp2(t,j) / p58_avail_land_exp2(t,j)) - $(p58_avail_peatland_exp2(t,j) > 1e-10 AND p58_avail_land_exp2(t,j) > 1e-10) - + 0$(p58_avail_peatland_exp2(t,j) <= 1e-10 OR p58_avail_land_exp2(t,j) <= 1e-10); + (p58_avail_peatland_exp(t,j) / p58_avail_land_exp(t,j)) + $(p58_avail_peatland_exp(t,j) > 1e-10 AND p58_avail_land_exp(t,j) > 1e-10) + + 0$(p58_avail_peatland_exp(t,j) <= 1e-10 OR p58_avail_land_exp(t,j) <= 1e-10); p58_scalingFactorExp(t,j)$(p58_scalingFactorExp(t,j) > 1) = 1; From 3bf94db8ce86f15126f217c41a61e02ba1d8fcc8 Mon Sep 17 00:00:00 2001 From: florianh Date: Tue, 23 Jul 2024 21:09:40 +0200 Subject: [PATCH 22/53] documentation --- CHANGELOG.md | 2 ++ core/macros.gms | 5 ---- modules/58_peatland/v2/declarations.gms | 4 ++-- modules/58_peatland/v2/equations.gms | 23 ++++++++++-------- modules/58_peatland/v2/preloop.gms | 2 -- modules/58_peatland/v2/presolve.gms | 31 +++++++++++++------------ modules/58_peatland/v2/realization.gms | 5 ++++ 7 files changed, 38 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddb63d9c8..2ceb2d8d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **15_food** revision of MP/SCP implementation for milk and meat alternatives. Added demand for fat and sugar as ingredients for MP-based milk alternatives. Added optional demand for fat as ingredient for MP-based meat alternatives. - **script** scripts/start_functions.R decide individually for demand and price whether they are read from a REMIND report. - **80_optimization** abort GAMS in case of execution errors +- **58_peatland** variable `v58_scalingFactorExp` converted into parameter `p58_scalingFactorExp` to avoid infeasibilites. `p58_scalingFactorRed` has been revised. +- **32_forestry** Interfaces `vm_landexpansion_forestry` and `vm_landreduction_forestry` have been corrected by harvested and replanted timber plantation area ### added - **scripts** added output report `EU_report.R` that uses `EU_report.Rmd` diff --git a/core/macros.gms b/core/macros.gms index 1c1c44346..53d07debd 100644 --- a/core/macros.gms +++ b/core/macros.gms @@ -111,11 +111,6 @@ $macro m58_LandMerge(land,landForestry,set) \ + land(&&set,"past")$(sameas(manPeat58,"past")) \ + landForestry(&&set,"plant")$(sameas(manPeat58,"forestry")) -$macro m58_LandLeft(pclandFull,setFull,vland,pcland) \ - (sum(&&setFull,pclandFull(j2,&&setFull)) \ - - sum(manPeat58_alias$(not sameas(manPeat58_alias,manPeat58)),vland(j2,manPeat58_alias)) \ - - sum(manPeat58_alias$(sameas(manPeat58_alias,manPeat58)),pcland(j2,manPeat58_alias))) - * macro for trade module $macro m21_baseline_production(supply, excess_prod, self_suff) \ ((sum(supreg(h2,i2),supply(i2,k_trade)) + excess_prod(h2,k_trade)) \ diff --git a/modules/58_peatland/v2/declarations.gms b/modules/58_peatland/v2/declarations.gms index 81d4b8d33..77a8b13ea 100644 --- a/modules/58_peatland/v2/declarations.gms +++ b/modules/58_peatland/v2/declarations.gms @@ -16,8 +16,8 @@ parameters i58_cost_drain_recur(t) Recurring costs for drained and managed peatlands (USD05MER per ha) i58_cost_drain_intact_onetime(t) One-time costs for drainage of intact peatland (USD05MER per ha) i58_cost_drain_rewet_onetime(t) One-time costs for drainage of rewetted peatland (USD05MER per ha) - p58_avail_peatland_exp(t,j) Available peatland for expansion (mio. ha) - p58_avail_land_exp(t,j) Available land for expansion (mio. ha) + p58_availPeatlandExp(t,j) Available area for expansion of drained peatland (mio. ha) + p58_availLandExp(t,j) Available area for expansion of managed land (mio. ha) ; equations diff --git a/modules/58_peatland/v2/equations.gms b/modules/58_peatland/v2/equations.gms index b2e747fbd..8a49783a8 100644 --- a/modules/58_peatland/v2/equations.gms +++ b/modules/58_peatland/v2/equations.gms @@ -30,13 +30,17 @@ q58_manLandRed(j2,manPeat58) .. v58_manLandRed(j2,manPeat58) =e= m58_LandMerge(vm_landreduction,vm_landreduction_forestry,"j2"); -*' Future peatland dynamics (`v58_peatland`) depend on changes in managed land (`v58_manLandExp`, `v58_manLandRed`), -*' multiplied with corresponding scaling factors for expansion (`v58_scalingFactorExp`) and reduction (`p58_scalingFactorRed`). -*' The scaling factor for expansion makes sure that in case the full cell area consists of -*' managed land (cropland, pasture, forestry plantations), the full peatland area is drained. -*' Likewise, the scaling factor for reduction makes sure that in case no area is used for managed land, -*' managed peatland (`manPeat58`) is reduced to zero. -*' In case managed land remains unchanged, also managed peatland remains unchanged. +*' Future peatland dynamics (`v58_peatland`) for drained peatlands used as cropland, pasture or forestry (`manPeat58`) +*' depend on changes in managed agricultural and forestry land (`v58_manLandExp`, `v58_manLandRed`), +*' multiplied with corresponding scaling factors for expansion (`p58_scalingFactorExp`) and reduction (`p58_scalingFactorRed`). +*' Both scaling factors are time-dynamic, i.e. the scaling factors vary depending on changes in drained peatland and managed land. +*' The scaling factor for expansion reflects the ratio of available area for peatland drainage and managed land expansion, +*' based on the assumption that the expansion of drained peatland is proportional to the expansion of managed land. +*' The scaling factor for reduction reflects the ratio of drained peatland and total peatland area, +*' based on the assumption that the likelihood of peatland rewetting increases with a higher share of +*' drained peatland over total peatland area. +*' Vice-versa, the scaling factor for reduction decreases with an increasing share of rewetted peatland. +*' In case managed land remains unchanged, also drained peatland remains unchanged. q58_peatlandMan(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. v58_peatland(j2,manPeat58) =g= @@ -44,12 +48,11 @@ + v58_manLandExp(j2,manPeat58) * sum(ct, p58_scalingFactorExp(ct,j2)) - v58_balance(j2,manPeat58) - v58_manLandRed(j2,manPeat58) * sum(ct, p58_scalingFactorRed(ct,j2)); +*' Drained peatland used for agriculture and forestry cannot exceed corresponding managed land. + q58_peatlandMan2(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. v58_peatland(j2,manPeat58) =l= v58_manLand(j2,manPeat58); -*' Peatland scaling factor for expansion: (maxPeatland - totalManagedPeatland) / (maxLand - totalManagedLand). -*' See macro `m58_LandLeft` for details. - *' Costs for peatland degradation and rewetting q58_peatland_cost(j2) .. diff --git a/modules/58_peatland/v2/preloop.gms b/modules/58_peatland/v2/preloop.gms index 5adbe7de9..9525ea286 100644 --- a/modules/58_peatland/v2/preloop.gms +++ b/modules/58_peatland/v2/preloop.gms @@ -17,5 +17,3 @@ pc58_peatland(j,land58) = 0; * For the internal GHG emission pricing it is assumed that intact peatlands have the same GHG emission factors as rewetted peatlands. * Without this assumption, GHG emissions of intact peatlands would be zero (no data available). This can lead to cases where intact peatland is converted to rewetted peatland. f58_ipcc_wetland_ef(clcl58,"intact",emis58) = f58_ipcc_wetland_ef(clcl58,"rewetted",emis58); - -*v58_balance.fx(j,manPeat58) = 0; diff --git a/modules/58_peatland/v2/presolve.gms b/modules/58_peatland/v2/presolve.gms index 3cedcae09..014dffb1d 100644 --- a/modules/58_peatland/v2/presolve.gms +++ b/modules/58_peatland/v2/presolve.gms @@ -47,26 +47,27 @@ else ); *' @code +*' Peatland scaling factor for expansion: (totalPeatland - manPeatland) / (totalLand - manLand) +*' +*' p58_availPeatlandExp = totalPeatland - manPeatland +*' +*' p58_availLandExp = totalLand - manLand + +p58_availPeatlandExp(t,j) = sum(land58, pc58_peatland(j,land58)) - sum(manPeat58, pc58_peatland(j,manPeat58)); +p58_availLandExp(t,j) = sum(land, pcm_land(j,land)) - sum(manPeat58, pc58_manLand(j,manPeat58)); + +p58_scalingFactorExp(t,j) = + (p58_availPeatlandExp(t,j) / p58_availLandExp(t,j)) + $(p58_availPeatlandExp(t,j) > 1e-10 AND p58_availLandExp(t,j) > 1e-10) + + 0$(p58_availPeatlandExp(t,j) <= 1e-10 OR p58_availLandExp(t,j) <= 1e-10); +p58_scalingFactorExp(t,j)$(p58_scalingFactorExp(t,j) > 1) = 1; + *' Peatland scaling factor for reduction: manPeatland / totalPeatland p58_scalingFactorRed(t,j) = (sum(manPeat58, pc58_peatland(j,manPeat58)) / sum(land58, pc58_peatland(j,land58))) $(sum(manPeat58, pc58_peatland(j,manPeat58)) > 1e-10 AND sum(land58, pc58_peatland(j,land58)) > 1e-10) - + 0$(sum(land58, pc58_peatland(j,land58)) <= 1e-10) - + 1$(sum(manPeat58, pc58_manLand(j,manPeat58)) <= 1e-10); + + 0$(sum(land58, pc58_peatland(j,land58)) <= 1e-10 OR sum(manPeat58, pc58_manLand(j,manPeat58)) <= 1e-10); p58_scalingFactorRed(t,j)$(p58_scalingFactorRed(t,j) > 1) = 1; - -*' Peatland scaling factor for expansion: totalPeatland-manPeatland / totalLand-manLand = availPeatlandExp / availLandExp - -p58_avail_peatland_exp(t,j) = sum(land58, pc58_peatland(j,land58)) - sum(manPeat58, pc58_peatland(j,manPeat58)); -p58_avail_land_exp(t,j) = sum(land, pcm_land(j,land)) - sum(manPeat58, pc58_manLand(j,manPeat58)); - -p58_scalingFactorExp(t,j) = - (p58_avail_peatland_exp(t,j) / p58_avail_land_exp(t,j)) - $(p58_avail_peatland_exp(t,j) > 1e-10 AND p58_avail_land_exp(t,j) > 1e-10) - + 0$(p58_avail_peatland_exp(t,j) <= 1e-10 OR p58_avail_land_exp(t,j) <= 1e-10); -p58_scalingFactorExp(t,j)$(p58_scalingFactorExp(t,j) > 1) = 1; - - *' @stop diff --git a/modules/58_peatland/v2/realization.gms b/modules/58_peatland/v2/realization.gms index 95aecd5ad..15090c4f0 100644 --- a/modules/58_peatland/v2/realization.gms +++ b/modules/58_peatland/v2/realization.gms @@ -16,10 +16,15 @@ *' In this realisation, peatland GHG emission factors for boreal and tropical climates are based on @IPCC_wetland_2013 and @wilson_2016. *' Peatland GHG emission factors for temperate climates are based on more recent estimates from @tiemeyer_peatland_2020. *' Assumed rules for changes in peatland area: +*' *' Sum over total peatland area (degraded, intact, rewetted) is assumed constant. +*' *' Intact peatland area can only decrease. +*' *' Degraded peatland area (crop, past, forestry and unused) depends on managed land. +*' *' Area for peat extraction (peatExtract) is fixed. +*' *' Rewetted and intact peatland have the same GHG emission factors, which avoids that intact is converted to rewetted peatland area. *' @stop From 2f039d4b541c20803a88f77983dd2cda399f85ca Mon Sep 17 00:00:00 2001 From: florianh Date: Wed, 24 Jul 2024 09:48:24 +0200 Subject: [PATCH 23/53] documentation --- modules/58_peatland/v2/presolve.gms | 5 ++--- modules/58_peatland/v2/realization.gms | 16 +++++++--------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/modules/58_peatland/v2/presolve.gms b/modules/58_peatland/v2/presolve.gms index 014dffb1d..dfc9fb519 100644 --- a/modules/58_peatland/v2/presolve.gms +++ b/modules/58_peatland/v2/presolve.gms @@ -49,9 +49,8 @@ else *' @code *' Peatland scaling factor for expansion: (totalPeatland - manPeatland) / (totalLand - manLand) *' -*' p58_availPeatlandExp = totalPeatland - manPeatland -*' -*' p58_availLandExp = totalLand - manLand +*' * p58_availPeatlandExp = totalPeatland - manPeatland +*' * p58_availLandExp = totalLand - manLand p58_availPeatlandExp(t,j) = sum(land58, pc58_peatland(j,land58)) - sum(manPeat58, pc58_peatland(j,manPeat58)); p58_availLandExp(t,j) = sum(land, pcm_land(j,land)) - sum(manPeat58, pc58_manLand(j,manPeat58)); diff --git a/modules/58_peatland/v2/realization.gms b/modules/58_peatland/v2/realization.gms index 15090c4f0..8fef618fc 100644 --- a/modules/58_peatland/v2/realization.gms +++ b/modules/58_peatland/v2/realization.gms @@ -15,17 +15,15 @@ *' GHG emissions from drained and rewetted peatlands as well as from peat extraction are calculated based on GHG emission factors. *' In this realisation, peatland GHG emission factors for boreal and tropical climates are based on @IPCC_wetland_2013 and @wilson_2016. *' Peatland GHG emission factors for temperate climates are based on more recent estimates from @tiemeyer_peatland_2020. -*' Assumed rules for changes in peatland area: -*' -*' Sum over total peatland area (degraded, intact, rewetted) is assumed constant. -*' -*' Intact peatland area can only decrease. *' -*' Degraded peatland area (crop, past, forestry and unused) depends on managed land. -*' -*' Area for peat extraction (peatExtract) is fixed. +*' Assumed rules for changes in peatland area: *' -*' Rewetted and intact peatland have the same GHG emission factors, which avoids that intact is converted to rewetted peatland area. +*' * Sum over total peatland area (degraded, intact, rewetted) is assumed constant. +*' * Intact peatland area can only decrease. +*' * Degraded peatland area (crop, past, forestry and unused) depends on managed land. +*' * Area for peat extraction (peatExtract) is fixed. +*' * Rewetted and intact peatland have the same GHG emission factors, which avoids that intact is converted to rewetted peatland area. +*' *' @stop From e5d77adfc089e8e4a2982c07a58d6f79687e0e6e Mon Sep 17 00:00:00 2001 From: florianh Date: Thu, 25 Jul 2024 07:06:40 +0200 Subject: [PATCH 24/53] revision of scaling factor --- modules/58_peatland/v2/declarations.gms | 4 +++- modules/58_peatland/v2/equations.gms | 6 +++--- modules/58_peatland/v2/input.gms | 6 +++--- modules/58_peatland/v2/postsolve.gms | 4 ++++ modules/58_peatland/v2/presolve.gms | 12 +++++++----- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/modules/58_peatland/v2/declarations.gms b/modules/58_peatland/v2/declarations.gms index 77a8b13ea..6791419f6 100644 --- a/modules/58_peatland/v2/declarations.gms +++ b/modules/58_peatland/v2/declarations.gms @@ -9,7 +9,7 @@ parameters pc58_peatland(j,land58) Peatland area (mio. ha) pc58_manLand(j,manPeat58) Managed land area (mio. ha) p58_scalingFactorExp(t,j) Scaling factor for peatland expansion (1) - p58_scalingFactorRed(t,j) Scaling factor for peatland reduction (1) + p58_scalingFactorRed(t,j,manPeat58) Scaling factor for peatland reduction (1) p58_mapping_cell_climate(j,clcl58) Mapping between cells and climate regions (binary) i58_cost_rewet_recur(t) Recurring costs for rewetted peatland (USD05MER per ha) i58_cost_rewet_onetime(t) One-time costs for peatland rewetting (USD05MER per ha) @@ -46,6 +46,7 @@ positive variables v58_manLandExp(j,manPeat58) Managed land area expansion (mio. ha) v58_manLandRed(j,manPeat58) Managed land area reduction (mio. ha) v58_balance(j,manPeat58) Technical balance term for peatland scaling factor (1) + v58_balance2(j,manPeat58) Technical balance term for peatland scaling factor (1) v58_peatland_cost_annuity(j,cost58) Annuity costs for peatland conversion in the current timestep (mio. USD05MER per yr) ; @@ -59,6 +60,7 @@ parameters ov58_manLandExp(t,j,manPeat58,type) Managed land area expansion (mio. ha) ov58_manLandRed(t,j,manPeat58,type) Managed land area reduction (mio. ha) ov58_balance(t,j,manPeat58,type) Technical balance term for peatland scaling factor (1) + ov58_balance2(t,j,manPeat58,type) Technical balance term for peatland scaling factor (1) ov58_peatland_cost_annuity(t,j,cost58,type) Annuity costs for peatland conversion in the current timestep (mio. USD05MER per yr) oq58_peatland(t,j,type) Constraint for total peatland area (mio. ha) oq58_peatlandChange(t,j,land58,type) Peatland area change (mio. ha) diff --git a/modules/58_peatland/v2/equations.gms b/modules/58_peatland/v2/equations.gms index 8a49783a8..9db3ad2a1 100644 --- a/modules/58_peatland/v2/equations.gms +++ b/modules/58_peatland/v2/equations.gms @@ -43,10 +43,10 @@ *' In case managed land remains unchanged, also drained peatland remains unchanged. q58_peatlandMan(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. - v58_peatland(j2,manPeat58) =g= + v58_peatland(j2,manPeat58) =e= pc58_peatland(j2,manPeat58) + v58_manLandExp(j2,manPeat58) * sum(ct, p58_scalingFactorExp(ct,j2)) - v58_balance(j2,manPeat58) - - v58_manLandRed(j2,manPeat58) * sum(ct, p58_scalingFactorRed(ct,j2)); + - v58_manLandRed(j2,manPeat58) * sum(ct, p58_scalingFactorRed(ct,j2,manPeat58)) + v58_balance2(j2,manPeat58); *' Drained peatland used for agriculture and forestry cannot exceed corresponding managed land. @@ -59,7 +59,7 @@ vm_peatland_cost(j2) =e= sum(cost58, v58_peatland_cost_annuity(j2,cost58)) + v58_peatland(j2,"rewetted") * sum(ct, i58_cost_rewet_recur(ct)) + sum(manPeat58, v58_peatland(j2,manPeat58)) * sum(ct, i58_cost_drain_recur(ct)) - + sum(manPeat58, v58_balance(j2,manPeat58)) * s58_balance_penalty; + + sum(manPeat58, v58_balance(j2,manPeat58)+v58_balance2(j2,manPeat58)) * s58_balance_penalty; q58_peatland_cost_annuity(j2,cost58) .. v58_peatland_cost_annuity(j2,cost58) =g= diff --git a/modules/58_peatland/v2/input.gms b/modules/58_peatland/v2/input.gms index 99c9207ab..afa2b3fac 100644 --- a/modules/58_peatland/v2/input.gms +++ b/modules/58_peatland/v2/input.gms @@ -6,11 +6,11 @@ *** | Contact: magpie@pik-potsdam.de scalars - s58_cost_rewet_recur Recurring costs for rewetted peatland (USD05MER per ha) / 200 / - s58_cost_rewet_onetime One-time costs for peatland rewetting (USD05MER per ha) / 7000 / + s58_cost_rewet_recur Recurring costs for rewetted peatland (USD05MER per ha) / 30 / + s58_cost_rewet_onetime One-time costs for peatland rewetting (USD05MER per ha) / 1000 / s58_cost_drain_recur Recurring costs for drained and managed peatlands (USD05MER per ha) / 0 / s58_cost_drain_intact_onetime One-time costs for drainage of intact peatland (USD05MER per ha) / 0 / - s58_cost_drain_rewet_onetime One-time costs for drainage of rewetted peatland (USD05MER per ha) / 0 / + s58_cost_drain_rewet_onetime One-time costs for drainage of rewetted peatland (USD05MER per ha) / 1000 / s58_rewetting_switch Peatland rewetting on (Inf) or off (0) / Inf / s58_fix_peatland Year indicating until when peatland area should be fixed (year) / 2020 / s58_balance_penalty Penalty for technical peatland balance term (USD05MER) / 1e+06 / diff --git a/modules/58_peatland/v2/postsolve.gms b/modules/58_peatland/v2/postsolve.gms index 58cdb3abd..b8274c3db 100644 --- a/modules/58_peatland/v2/postsolve.gms +++ b/modules/58_peatland/v2/postsolve.gms @@ -17,6 +17,7 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); ov58_manLandExp(t,j,manPeat58,"marginal") = v58_manLandExp.m(j,manPeat58); ov58_manLandRed(t,j,manPeat58,"marginal") = v58_manLandRed.m(j,manPeat58); ov58_balance(t,j,manPeat58,"marginal") = v58_balance.m(j,manPeat58); + ov58_balance2(t,j,manPeat58,"marginal") = v58_balance2.m(j,manPeat58); ov58_peatland_cost_annuity(t,j,cost58,"marginal") = v58_peatland_cost_annuity.m(j,cost58); oq58_peatland(t,j,"marginal") = q58_peatland.m(j); oq58_peatlandChange(t,j,land58,"marginal") = q58_peatlandChange.m(j,land58); @@ -37,6 +38,7 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); ov58_manLandExp(t,j,manPeat58,"level") = v58_manLandExp.l(j,manPeat58); ov58_manLandRed(t,j,manPeat58,"level") = v58_manLandRed.l(j,manPeat58); ov58_balance(t,j,manPeat58,"level") = v58_balance.l(j,manPeat58); + ov58_balance2(t,j,manPeat58,"level") = v58_balance2.l(j,manPeat58); ov58_peatland_cost_annuity(t,j,cost58,"level") = v58_peatland_cost_annuity.l(j,cost58); oq58_peatland(t,j,"level") = q58_peatland.l(j); oq58_peatlandChange(t,j,land58,"level") = q58_peatlandChange.l(j,land58); @@ -57,6 +59,7 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); ov58_manLandExp(t,j,manPeat58,"upper") = v58_manLandExp.up(j,manPeat58); ov58_manLandRed(t,j,manPeat58,"upper") = v58_manLandRed.up(j,manPeat58); ov58_balance(t,j,manPeat58,"upper") = v58_balance.up(j,manPeat58); + ov58_balance2(t,j,manPeat58,"upper") = v58_balance2.up(j,manPeat58); ov58_peatland_cost_annuity(t,j,cost58,"upper") = v58_peatland_cost_annuity.up(j,cost58); oq58_peatland(t,j,"upper") = q58_peatland.up(j); oq58_peatlandChange(t,j,land58,"upper") = q58_peatlandChange.up(j,land58); @@ -77,6 +80,7 @@ pc58_manLand(j,manPeat58) = v58_manLand.l(j,manPeat58); ov58_manLandExp(t,j,manPeat58,"lower") = v58_manLandExp.lo(j,manPeat58); ov58_manLandRed(t,j,manPeat58,"lower") = v58_manLandRed.lo(j,manPeat58); ov58_balance(t,j,manPeat58,"lower") = v58_balance.lo(j,manPeat58); + ov58_balance2(t,j,manPeat58,"lower") = v58_balance2.lo(j,manPeat58); ov58_peatland_cost_annuity(t,j,cost58,"lower") = v58_peatland_cost_annuity.lo(j,cost58); oq58_peatland(t,j,"lower") = q58_peatland.lo(j); oq58_peatlandChange(t,j,land58,"lower") = q58_peatlandChange.lo(j,land58); diff --git a/modules/58_peatland/v2/presolve.gms b/modules/58_peatland/v2/presolve.gms index dfc9fb519..f3d2d2a9f 100644 --- a/modules/58_peatland/v2/presolve.gms +++ b/modules/58_peatland/v2/presolve.gms @@ -63,10 +63,12 @@ p58_scalingFactorExp(t,j)$(p58_scalingFactorExp(t,j) > 1) = 1; *' Peatland scaling factor for reduction: manPeatland / totalPeatland -p58_scalingFactorRed(t,j) = - (sum(manPeat58, pc58_peatland(j,manPeat58)) / sum(land58, pc58_peatland(j,land58))) - $(sum(manPeat58, pc58_peatland(j,manPeat58)) > 1e-10 AND sum(land58, pc58_peatland(j,land58)) > 1e-10) - + 0$(sum(land58, pc58_peatland(j,land58)) <= 1e-10 OR sum(manPeat58, pc58_manLand(j,manPeat58)) <= 1e-10); -p58_scalingFactorRed(t,j)$(p58_scalingFactorRed(t,j) > 1) = 1; +p58_scalingFactorRed(t,j,manPeat58) = + (pc58_peatland(j,manPeat58) / sum(land58, pc58_peatland(j,land58))) + $(pc58_peatland(j,manPeat58) > 1e-10 AND sum(land58, pc58_peatland(j,land58)) > 1e-10) + + 0$(pc58_peatland(j,manPeat58) <= 1e-10 OR sum(land58, pc58_peatland(j,land58)) <= 1e-10); +p58_scalingFactorRed(t,j,manPeat58)$(p58_scalingFactorRed(t,j,manPeat58) > 1) = 1; +p58_scalingFactorRed(t,j,manPeat58)$(pc58_manLand(j,manPeat58) * p58_scalingFactorRed(t,j,manPeat58) > + pc58_peatland(j,manPeat58)) = pc58_peatland(j,manPeat58)/pc58_manLand(j,manPeat58); *' @stop From b93ab284ade08aa25679bca4f41733921891dbbf Mon Sep 17 00:00:00 2001 From: florianh Date: Thu, 25 Jul 2024 15:59:42 +0200 Subject: [PATCH 25/53] defaults --- config/default.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/default.cfg b/config/default.cfg index 5766d8a37..12aa047db 100644 --- a/config/default.cfg +++ b/config/default.cfg @@ -1720,14 +1720,14 @@ cfg$gms$peatland <- "v2" # def = v2 cfg$gms$s58_rewetting_switch <- Inf # def = Inf # * One-time and recurring costs for peatland rewetting (USD05MER per ha) -cfg$gms$s58_cost_rewet_onetime <- 7000 # def = 7000 -cfg$gms$s58_cost_rewet_recur <- 200 # def = 200 +cfg$gms$s58_cost_rewet_onetime <- 1000 # def = 1000 +cfg$gms$s58_cost_rewet_recur <- 30 # def = 30 # * One-time and recurring costs for peatland drainage (USD05MER per ha) # * One-time costs apply on the drainage of intact and rewetted peatland # * Recurring costs apply on the level of drained and managed peatland cfg$gms$s58_cost_drain_intact_onetime <- 0 # def = 0 -cfg$gms$s58_cost_drain_rewet_onetime <- 0 # def = 0 +cfg$gms$s58_cost_drain_rewet_onetime <- 1000 # def = 1000 cfg$gms$s58_cost_drain_recur <- 0 # def = 0 # * Penalty for technical peatland balance term (USD05MER) From 0bb2b695c9bcac5769587ce6c1bf836a9d1771a0 Mon Sep 17 00:00:00 2001 From: florianh Date: Fri, 26 Jul 2024 04:53:29 +0200 Subject: [PATCH 26/53] update --- modules/58_peatland/v2/presolve.gms | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/58_peatland/v2/presolve.gms b/modules/58_peatland/v2/presolve.gms index f3d2d2a9f..eebd30990 100644 --- a/modules/58_peatland/v2/presolve.gms +++ b/modules/58_peatland/v2/presolve.gms @@ -57,18 +57,16 @@ p58_availLandExp(t,j) = sum(land, pcm_land(j,land)) - sum(manPeat58, pc58_manLan p58_scalingFactorExp(t,j) = (p58_availPeatlandExp(t,j) / p58_availLandExp(t,j)) - $(p58_availPeatlandExp(t,j) > 1e-10 AND p58_availLandExp(t,j) > 1e-10) - + 0$(p58_availPeatlandExp(t,j) <= 1e-10 OR p58_availLandExp(t,j) <= 1e-10); + $(p58_availPeatlandExp(t,j) > 1e-4 AND p58_availLandExp(t,j) > 1e-4) + + 0$(p58_availPeatlandExp(t,j) <= 1e-4 OR p58_availLandExp(t,j) <= 1e-4); p58_scalingFactorExp(t,j)$(p58_scalingFactorExp(t,j) > 1) = 1; *' Peatland scaling factor for reduction: manPeatland / totalPeatland p58_scalingFactorRed(t,j,manPeat58) = (pc58_peatland(j,manPeat58) / sum(land58, pc58_peatland(j,land58))) - $(pc58_peatland(j,manPeat58) > 1e-10 AND sum(land58, pc58_peatland(j,land58)) > 1e-10) - + 0$(pc58_peatland(j,manPeat58) <= 1e-10 OR sum(land58, pc58_peatland(j,land58)) <= 1e-10); + $(pc58_peatland(j,manPeat58) > 1e-4 AND sum(land58, pc58_peatland(j,land58)) > 1e-4) + + 0$(pc58_peatland(j,manPeat58) <= 1e-4 OR sum(land58, pc58_peatland(j,land58)) <= 1e-4); p58_scalingFactorRed(t,j,manPeat58)$(p58_scalingFactorRed(t,j,manPeat58) > 1) = 1; -p58_scalingFactorRed(t,j,manPeat58)$(pc58_manLand(j,manPeat58) * p58_scalingFactorRed(t,j,manPeat58) > - pc58_peatland(j,manPeat58)) = pc58_peatland(j,manPeat58)/pc58_manLand(j,manPeat58); *' @stop From 19a0fbba7143d12d38cc435cee575a52e67391d0 Mon Sep 17 00:00:00 2001 From: florianh Date: Mon, 12 Aug 2024 16:35:12 +0200 Subject: [PATCH 27/53] test --- modules/80_optimization/nlp_apr17/solve.gms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/80_optimization/nlp_apr17/solve.gms b/modules/80_optimization/nlp_apr17/solve.gms index 3d3ea109e..7b42b77aa 100644 --- a/modules/80_optimization/nlp_apr17/solve.gms +++ b/modules/80_optimization/nlp_apr17/solve.gms @@ -87,7 +87,7 @@ if (magpie.modelstat > 2, s80_resolve_option$(s80_resolve_option >= 4) = 0; - until (magpie.modelstat <= 2 or s80_counter >= s80_maxiter) + until ((magpie.modelstat <= 2 AND magpie.numNOpt = 0) or s80_counter >= s80_maxiter) ); ); From b9714cd05c2db735bf39a68ff73e1d9a654c503a Mon Sep 17 00:00:00 2001 From: florianh Date: Tue, 13 Aug 2024 09:17:46 +0200 Subject: [PATCH 28/53] test --- modules/80_optimization/nlp_apr17/solve.gms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/80_optimization/nlp_apr17/solve.gms b/modules/80_optimization/nlp_apr17/solve.gms index 7b42b77aa..cd561869c 100644 --- a/modules/80_optimization/nlp_apr17/solve.gms +++ b/modules/80_optimization/nlp_apr17/solve.gms @@ -43,7 +43,7 @@ display magpie.modelstat; magpie.modelStat$(magpie.modelStat=NA) = 13; * in case of problems try different solvers and optfile settings -if (magpie.modelstat > 2, +if (magpie.modelstat > 2 OR magpie.numNOpt > 0, repeat( s80_counter = s80_counter + 1 ; s80_resolve_option = s80_resolve_option + 1; From 83349daf127ce78ed1e6700a5cf45e06b4697be0 Mon Sep 17 00:00:00 2001 From: florianh Date: Tue, 13 Aug 2024 17:18:01 +0200 Subject: [PATCH 29/53] test --- modules/80_optimization/nlp_apr17/solve.gms | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/80_optimization/nlp_apr17/solve.gms b/modules/80_optimization/nlp_apr17/solve.gms index cd561869c..c03c4f7ce 100644 --- a/modules/80_optimization/nlp_apr17/solve.gms +++ b/modules/80_optimization/nlp_apr17/solve.gms @@ -12,6 +12,7 @@ s80_resolve_option = 0; *** solver settings option nlp = conopt4; +option threads = 1 magpie.optfile = s80_optfile; magpie.scaleopt = 1 ; magpie.solprint = 0 ; @@ -43,7 +44,7 @@ display magpie.modelstat; magpie.modelStat$(magpie.modelStat=NA) = 13; * in case of problems try different solvers and optfile settings -if (magpie.modelstat > 2 OR magpie.numNOpt > 0, +if (magpie.modelstat > 2, repeat( s80_counter = s80_counter + 1 ; s80_resolve_option = s80_resolve_option + 1; @@ -87,7 +88,7 @@ if (magpie.modelstat > 2 OR magpie.numNOpt > 0, s80_resolve_option$(s80_resolve_option >= 4) = 0; - until ((magpie.modelstat <= 2 AND magpie.numNOpt = 0) or s80_counter >= s80_maxiter) + until (magpie.modelstat <= 2 or s80_counter >= s80_maxiter) ); ); From d80f7041d725578299702cdb391de64d3651f290 Mon Sep 17 00:00:00 2001 From: florianh Date: Thu, 15 Aug 2024 08:33:09 +0200 Subject: [PATCH 30/53] bugfix --- modules/80_optimization/nlp_apr17/solve.gms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/80_optimization/nlp_apr17/solve.gms b/modules/80_optimization/nlp_apr17/solve.gms index c03c4f7ce..c6ceb4c58 100644 --- a/modules/80_optimization/nlp_apr17/solve.gms +++ b/modules/80_optimization/nlp_apr17/solve.gms @@ -12,7 +12,7 @@ s80_resolve_option = 0; *** solver settings option nlp = conopt4; -option threads = 1 +option threads = 1; magpie.optfile = s80_optfile; magpie.scaleopt = 1 ; magpie.solprint = 0 ; From df505c461c1215ecd85f93883a2cf23ce5a66c6c Mon Sep 17 00:00:00 2001 From: florianh Date: Thu, 15 Aug 2024 12:27:03 +0200 Subject: [PATCH 31/53] test --- modules/80_optimization/lp_nlp_apr17/solve.gms | 1 + modules/80_optimization/nlp_apr17/solve.gms | 12 ++++++++++-- modules/80_optimization/nlp_par/solve.gms | 11 ++++++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/modules/80_optimization/lp_nlp_apr17/solve.gms b/modules/80_optimization/lp_nlp_apr17/solve.gms index 7252140a6..4f0ee84d1 100644 --- a/modules/80_optimization/lp_nlp_apr17/solve.gms +++ b/modules/80_optimization/lp_nlp_apr17/solve.gms @@ -19,6 +19,7 @@ magpie.holdfixed = 1 ; * linear solver option lp = cplex ; option qcp = cplex ; +option threads = 1; $onecho > cplex.opt $offecho diff --git a/modules/80_optimization/nlp_apr17/solve.gms b/modules/80_optimization/nlp_apr17/solve.gms index c6ceb4c58..d81cb393b 100644 --- a/modules/80_optimization/nlp_apr17/solve.gms +++ b/modules/80_optimization/nlp_apr17/solve.gms @@ -12,7 +12,7 @@ s80_resolve_option = 0; *** solver settings option nlp = conopt4; -option threads = 1; +*option threads = 1; magpie.optfile = s80_optfile; magpie.scaleopt = 1 ; magpie.solprint = 0 ; @@ -26,6 +26,10 @@ $onecho > conopt4.op2 Flg_Prep = FALSE $offecho +$onecho > conopt4.op3 +Flg_NoDefc = TRUE +$offecho + if(execerror > 0, abort "Execution error. Check your .lst file."; ); @@ -62,6 +66,10 @@ if (magpie.modelstat > 2, option nlp = conopt4; magpie.optfile = 2; elseif s80_resolve_option = 4, + display "Modelstat > 2 | Retry solve with CONOPT4 w/o search for definitional constraints"; + option nlp = conopt4; + magpie.optfile = 3; + elseif s80_resolve_option = 5, display "Modelstat > 2 | Retry solve with CONOPT3"; option nlp = conopt; magpie.optfile = 0; @@ -86,7 +94,7 @@ if (magpie.modelstat > 2, * Otherwise, the repeat loop will never end. magpie.modelStat$(magpie.modelStat=NA) = 13; - s80_resolve_option$(s80_resolve_option >= 4) = 0; + s80_resolve_option$(s80_resolve_option >= 5) = 0; until (magpie.modelstat <= 2 or s80_counter >= s80_maxiter) ); diff --git a/modules/80_optimization/nlp_par/solve.gms b/modules/80_optimization/nlp_par/solve.gms index e4478be1e..8be359c8e 100644 --- a/modules/80_optimization/nlp_par/solve.gms +++ b/modules/80_optimization/nlp_par/solve.gms @@ -13,6 +13,7 @@ p80_resolve_option(h) = 0; *** solver settings option nlp = conopt4; +option threads = 1; magpie.solvelink = 3; magpie.optfile = s80_optfile ; magpie.scaleopt = 1 ; @@ -28,6 +29,10 @@ $onecho > conopt4.op2 Flg_Prep = FALSE $offecho +$onecho > conopt4.op3 +Flg_NoDefc = TRUE +$offecho + h2(h) = no; i2(i) = no; j2(j) = no; @@ -112,6 +117,10 @@ repeat option nlp = conopt4; magpie.optfile = 2; elseif p80_resolve_option(h) = 4, + display "Modelstat > 2 | Retry solve with CONOPT4 w/o search for definitional constraints"; + option nlp = conopt4; + magpie.optfile = 3; + elseif p80_resolve_option(h) = 5, display "Modelstat > 2 | Retry solve with CONOPT3"; option nlp = conopt; magpie.optfile = 0; @@ -124,7 +133,7 @@ repeat option nlp = conopt4; magpie.optfile = s80_optfile; - p80_resolve_option(h)$(p80_resolve_option(h) >= 4) = 0; + p80_resolve_option(h)$(p80_resolve_option(h) >= 5) = 0; ); h2(h) = no; i2(i) = no; From 37ebeca1364b703929c8afcfc8bc5222f17b5e33 Mon Sep 17 00:00:00 2001 From: florianh Date: Thu, 15 Aug 2024 14:24:27 +0200 Subject: [PATCH 32/53] update --- modules/15_food/anthro_iso_jun22/intersolve.gms | 1 + modules/15_food/anthro_iso_jun22/presolve.gms | 4 ++-- modules/15_food/anthropometrics_jan18/intersolve.gms | 1 + modules/15_food/anthropometrics_jan18/presolve.gms | 4 ++-- modules/80_optimization/nlp_apr17/solve.gms | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/15_food/anthro_iso_jun22/intersolve.gms b/modules/15_food/anthro_iso_jun22/intersolve.gms index a8c71d985..dd6385064 100644 --- a/modules/15_food/anthro_iso_jun22/intersolve.gms +++ b/modules/15_food/anthro_iso_jun22/intersolve.gms @@ -27,6 +27,7 @@ if (s15_elastic_demand = 1 AND m_year(t) > sm_fix_SSP2, display "elastic demand model is activated"; option nlp = conopt4; + option threads = 1; * A new iteration is started p15_iteration_counter(t) = p15_iteration_counter(t) + 1; diff --git a/modules/15_food/anthro_iso_jun22/presolve.gms b/modules/15_food/anthro_iso_jun22/presolve.gms index 199444b19..966459bdb 100644 --- a/modules/15_food/anthro_iso_jun22/presolve.gms +++ b/modules/15_food/anthro_iso_jun22/presolve.gms @@ -23,8 +23,8 @@ else + f15_demand_paras(regr15,"%c15_food_scenario_noselect%","non_saturation")*(1-p15_country_dummy(iso)); ); -option nlp = conopt4 - +option nlp = conopt4; +option threads = 1; *' @code *' Within the major food groups determined by the regressions diff --git a/modules/15_food/anthropometrics_jan18/intersolve.gms b/modules/15_food/anthropometrics_jan18/intersolve.gms index 4434095a3..b7bef0edd 100644 --- a/modules/15_food/anthropometrics_jan18/intersolve.gms +++ b/modules/15_food/anthropometrics_jan18/intersolve.gms @@ -6,6 +6,7 @@ *** | Contact: magpie@pik-potsdam.de option nlp = conopt4; +option threads = 1; * A new iteration is started p15_iteration_counter(t) = p15_iteration_counter(t) + 1; diff --git a/modules/15_food/anthropometrics_jan18/presolve.gms b/modules/15_food/anthropometrics_jan18/presolve.gms index 38dbeb3df..3c8f4fca5 100644 --- a/modules/15_food/anthropometrics_jan18/presolve.gms +++ b/modules/15_food/anthropometrics_jan18/presolve.gms @@ -23,8 +23,8 @@ else + f15_demand_paras(regr15,"%c15_food_scenario_noselect%","non_saturation")*(1-p15_country_dummy(iso)); ); -option nlp = conopt4 - +option nlp = conopt4; +option threads = 1; *' @code *' Within the major food groups determined by the regressions diff --git a/modules/80_optimization/nlp_apr17/solve.gms b/modules/80_optimization/nlp_apr17/solve.gms index d81cb393b..1ad53e28f 100644 --- a/modules/80_optimization/nlp_apr17/solve.gms +++ b/modules/80_optimization/nlp_apr17/solve.gms @@ -12,7 +12,7 @@ s80_resolve_option = 0; *** solver settings option nlp = conopt4; -*option threads = 1; +option threads = 1; magpie.optfile = s80_optfile; magpie.scaleopt = 1 ; magpie.solprint = 0 ; From 2f8c1828e93190822fe2df660ea69e39c3c2b5b4 Mon Sep 17 00:00:00 2001 From: florianh Date: Thu, 15 Aug 2024 14:41:49 +0200 Subject: [PATCH 33/53] update --- scripts/slurmStart.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/slurmStart.yml b/scripts/slurmStart.yml index 8040e4a28..6949aeb07 100644 --- a/scripts/slurmStart.yml +++ b/scripts/slurmStart.yml @@ -1,4 +1,4 @@ slurmjobs: - SLURM priority: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=priority --cpus-per-task=3" - SLURM standby: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=standby --cpus-per-task=3" + SLURM priority: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=priority --cpus-per-task=3 --time=6:00:00" + SLURM standby: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=standby --cpus-per-task=3 --time=6:00:00" SLURM medium: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=medium --cpus-per-task=3" From 84986ff01f9c3407d87ffc55a6a7a04b0fe95443 Mon Sep 17 00:00:00 2001 From: florianh Date: Fri, 16 Aug 2024 16:11:48 +0200 Subject: [PATCH 34/53] changelog --- CHANGELOG.md | 2 +- scripts/slurmStart.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e840845f1..c51c6d170 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **script** rewrite of merge_report.R based on rds files and rbind, which allows for more flexibility when merging reports. Avoid inconsistent use of "GLO" instead of "World" in report.rds files. - **15_food** revision of MP/SCP implementation for milk and meat alternatives. Added demand for fat and sugar as ingredients for MP-based milk alternatives. Added optional demand for fat as ingredient for MP-based meat alternatives. - **script** scripts/start_functions.R decide individually for demand and price whether they are read from a REMIND report. -- **80_optimization** abort GAMS in case of execution errors +- **80_optimization** abort GAMS in case of execution errors, added threads = 1 as default and Flg_NoDefc = TRUE as option - **58_peatland** variable `v58_scalingFactorExp` converted into parameter `p58_scalingFactorExp` to avoid infeasibilites. `p58_scalingFactorRed` has been revised. - **32_forestry** Interfaces `vm_landexpansion_forestry` and `vm_landreduction_forestry` have been corrected by harvested and replanted timber plantation area - **script** updated EATLancet project start scripts diff --git a/scripts/slurmStart.yml b/scripts/slurmStart.yml index 6949aeb07..264a8c341 100644 --- a/scripts/slurmStart.yml +++ b/scripts/slurmStart.yml @@ -1,4 +1,4 @@ slurmjobs: - SLURM priority: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=priority --cpus-per-task=3 --time=6:00:00" - SLURM standby: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=standby --cpus-per-task=3 --time=6:00:00" + SLURM priority: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=priority --cpus-per-task=3" + SLURM standby: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=standby --cpus-per-task=3 --time=24:00:00" SLURM medium: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=medium --cpus-per-task=3" From f0981f73f1ed6902443cd28223d7db9c3f1714ee Mon Sep 17 00:00:00 2001 From: florianh Date: Fri, 16 Aug 2024 16:25:33 +0200 Subject: [PATCH 35/53] update changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c51c6d170..36e3678eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **script** rewrite of merge_report.R based on rds files and rbind, which allows for more flexibility when merging reports. Avoid inconsistent use of "GLO" instead of "World" in report.rds files. - **15_food** revision of MP/SCP implementation for milk and meat alternatives. Added demand for fat and sugar as ingredients for MP-based milk alternatives. Added optional demand for fat as ingredient for MP-based meat alternatives. - **script** scripts/start_functions.R decide individually for demand and price whether they are read from a REMIND report. -- **80_optimization** abort GAMS in case of execution errors, added threads = 1 as default and Flg_NoDefc = TRUE as option +- **80_optimization** abort GAMS in case of execution errors, added threads = 1 as default to avoid infeasibilites and Flg_NoDefc = TRUE as option +- **config** default settings for 58_peatland revised - **58_peatland** variable `v58_scalingFactorExp` converted into parameter `p58_scalingFactorExp` to avoid infeasibilites. `p58_scalingFactorRed` has been revised. - **32_forestry** Interfaces `vm_landexpansion_forestry` and `vm_landreduction_forestry` have been corrected by harvested and replanted timber plantation area - **script** updated EATLancet project start scripts From f7acc2de65312624a6c40b5f3fd8f2d7f51f36cf Mon Sep 17 00:00:00 2001 From: florianh Date: Tue, 20 Aug 2024 15:16:03 +0200 Subject: [PATCH 36/53] bugfix for variables levels not obeying the bounds in nlp_par, `conopt` changed to `conopt3` --- CHANGELOG.md | 1 + modules/15_food/anthro_iso_jun22/intersolve.gms | 2 +- modules/15_food/anthro_iso_jun22/presolve.gms | 2 +- modules/15_food/anthropometrics_jan18/intersolve.gms | 2 +- modules/15_food/anthropometrics_jan18/presolve.gms | 2 +- modules/80_optimization/lp_nlp_apr17/solve.gms | 4 ++-- modules/80_optimization/nlp_apr17/solve.gms | 2 +- modules/80_optimization/nlp_par/solve.gms | 4 +--- 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36e3678eb..bfb580d9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### fixed - **scripts** fixing an error in start.R and output.R which occurred if more than one slurm job was submitted at the same time. - **15_food** fixing parameter declaration of i15_processed_kcal_structure_iso +- **80_optimization** bugfix for variables levels not obeying the bounds in nlp_par, `conopt` changed to `conopt3` ## [4.8.1] - 2024-06-19 diff --git a/modules/15_food/anthro_iso_jun22/intersolve.gms b/modules/15_food/anthro_iso_jun22/intersolve.gms index dd6385064..3f6bacb82 100644 --- a/modules/15_food/anthro_iso_jun22/intersolve.gms +++ b/modules/15_food/anthro_iso_jun22/intersolve.gms @@ -48,7 +48,7 @@ if (s15_elastic_demand = 1 AND m_year(t) > sm_fix_SSP2, * in case of problems try CONOPT3 if(m15_food_demand.modelstat > 2, display "Modelstat > 2 | Retry solve with CONOPT3"; - option nlp = conopt; + option nlp = conopt3; solve m15_food_demand USING nlp MAXIMIZING v15_objective; option nlp = conopt4; ); diff --git a/modules/15_food/anthro_iso_jun22/presolve.gms b/modules/15_food/anthro_iso_jun22/presolve.gms index 966459bdb..1fed66b99 100644 --- a/modules/15_food/anthro_iso_jun22/presolve.gms +++ b/modules/15_food/anthro_iso_jun22/presolve.gms @@ -241,7 +241,7 @@ solve m15_food_demand USING nlp MAXIMIZING v15_objective; * in case of problems try CONOPT3 if(m15_food_demand.modelstat > 2, display "Modelstat > 2 | Retry solve with CONOPT3"; - option nlp = conopt; + option nlp = conopt3; solve m15_food_demand USING nlp MAXIMIZING v15_objective; option nlp = conopt4; ); diff --git a/modules/15_food/anthropometrics_jan18/intersolve.gms b/modules/15_food/anthropometrics_jan18/intersolve.gms index b7bef0edd..7a01bd206 100644 --- a/modules/15_food/anthropometrics_jan18/intersolve.gms +++ b/modules/15_food/anthropometrics_jan18/intersolve.gms @@ -43,7 +43,7 @@ solve m15_food_demand USING nlp MAXIMIZING v15_objective; * in case of problems try CONOPT3 if(m15_food_demand.modelstat > 2, display "Modelstat > 2 | Retry solve with CONOPT3"; - option nlp = conopt; + option nlp = conopt3; solve m15_food_demand USING nlp MAXIMIZING v15_objective; option nlp = conopt4; ); diff --git a/modules/15_food/anthropometrics_jan18/presolve.gms b/modules/15_food/anthropometrics_jan18/presolve.gms index 3c8f4fca5..772a0a383 100644 --- a/modules/15_food/anthropometrics_jan18/presolve.gms +++ b/modules/15_food/anthropometrics_jan18/presolve.gms @@ -241,7 +241,7 @@ solve m15_food_demand USING nlp MAXIMIZING v15_objective; * in case of problems try CONOPT3 if(m15_food_demand.modelstat > 2, display "Modelstat > 2 | Retry solve with CONOPT3"; - option nlp = conopt; + option nlp = conopt3; solve m15_food_demand USING nlp MAXIMIZING v15_objective; option nlp = conopt4; ); diff --git a/modules/80_optimization/lp_nlp_apr17/solve.gms b/modules/80_optimization/lp_nlp_apr17/solve.gms index 4f0ee84d1..c3250b566 100644 --- a/modules/80_optimization/lp_nlp_apr17/solve.gms +++ b/modules/80_optimization/lp_nlp_apr17/solve.gms @@ -135,7 +135,7 @@ $batinclude "./modules/include.gms" nl_relax * if s80_add_conopt3 is 1 add additional solve statement for conopt3 if((s80_add_conopt3 = 1), display "Additional solve with CONOPT3!"; - option nlp = conopt; + option nlp = conopt3; solve magpie USING nlp MINIMIZING vm_cost_glo; if(s80_secondsolve = 1, solve magpie USING nlp MINIMIZING vm_cost_glo; ); option nlp = conopt4; @@ -154,7 +154,7 @@ $batinclude "./modules/include.gms" nl_relax * if solve stopped with an error, try it again with conopt3 if ((magpie.modelstat = 13), display "WARNING: Modelstat 13 | retry with CONOPT3!"; - option nlp = conopt; + option nlp = conopt3; solve magpie USING nlp MINIMIZING vm_cost_glo; if(s80_secondsolve = 1, solve magpie USING nlp MINIMIZING vm_cost_glo; ); option nlp = conopt4; diff --git a/modules/80_optimization/nlp_apr17/solve.gms b/modules/80_optimization/nlp_apr17/solve.gms index 1ad53e28f..7dc3b1198 100644 --- a/modules/80_optimization/nlp_apr17/solve.gms +++ b/modules/80_optimization/nlp_apr17/solve.gms @@ -71,7 +71,7 @@ if (magpie.modelstat > 2, magpie.optfile = 3; elseif s80_resolve_option = 5, display "Modelstat > 2 | Retry solve with CONOPT3"; - option nlp = conopt; + option nlp = conopt3; magpie.optfile = 0; ); diff --git a/modules/80_optimization/nlp_par/solve.gms b/modules/80_optimization/nlp_par/solve.gms index 8be359c8e..60d888a72 100644 --- a/modules/80_optimization/nlp_par/solve.gms +++ b/modules/80_optimization/nlp_par/solve.gms @@ -100,8 +100,6 @@ repeat if(p80_extra_solve(h) = 1, display "Resolve"; p80_resolve_option(h) = p80_resolve_option(h) + 1; - display "Load solution from last time step as starting point"; - execute_loadpoint 'fulldata.gdx'; s80_resolve_option = sum(h2,p80_resolve_option(h2)); display s80_resolve_option; if(p80_resolve_option(h) = 1, @@ -122,7 +120,7 @@ repeat magpie.optfile = 3; elseif p80_resolve_option(h) = 5, display "Modelstat > 2 | Retry solve with CONOPT3"; - option nlp = conopt; + option nlp = conopt3; magpie.optfile = 0; ); if(execerror > 0, execerror = 0); From 94f2f3093663caa3c10398cf20577d2646b5cd7b Mon Sep 17 00:00:00 2001 From: florianh Date: Wed, 21 Aug 2024 11:04:18 +0200 Subject: [PATCH 37/53] doc forestry --- modules/32_forestry/dynamic_may24/equations.gms | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/modules/32_forestry/dynamic_may24/equations.gms b/modules/32_forestry/dynamic_may24/equations.gms index dcd0a42fb..c2f861d0d 100644 --- a/modules/32_forestry/dynamic_may24/equations.gms +++ b/modules/32_forestry/dynamic_may24/equations.gms @@ -11,14 +11,12 @@ ****** Costs ****** *------------------ -*' The direct costs of Timber production and afforestation `vm_cost_fore` include -*' maintenance and monitoring costs for newly established plantations as well as -*' standing plantations '[@sathaye_ghg_2005]. In addition, this type of forest management -*' (including afforestation) may cause costs in other parts of the model such as costs -*' for technological change [13_tc] or land expansion [39_landconversion]. Also included -*' are additional costs for producing timber from extremely highly managed plantations -*' which are analogous to intensification using technological change from [13_tc] but -*' in a parametrized form. +*' The direct costs for timber plantations and re/afforestation `vm_cost_fore` include +*' establishment cost for new forests, recurring maintenance and monitoring +*' costs for standing forests as well as harvesting costs for timber plantations. +*' In addition, this type of forest management +*' (including re/afforestation) may cause costs in other parts of the model such as costs +*' for technological change [13_tc] or land expansion [39_landconversion]. q32_cost_total(i2) .. vm_cost_fore(i2) =e= v32_cost_recur(i2) From 5980aa63a747d0e17f0b3ad3afade3e391fc7eb3 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Wed, 28 Aug 2024 16:07:44 +0200 Subject: [PATCH 38/53] updated EAT2p0 script to refer to new config file --- scripts/start/projects/project_EAT2p0.R | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scripts/start/projects/project_EAT2p0.R b/scripts/start/projects/project_EAT2p0.R index 7408842a5..e43f45bbc 100644 --- a/scripts/start/projects/project_EAT2p0.R +++ b/scripts/start/projects/project_EAT2p0.R @@ -43,6 +43,7 @@ cfg$output <- c( # SCENARIO DEFINITION # ####################### cfg <- setScenario(cfg, c("cc", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") ### BAU Scenario ### # SSP: SSP2 @@ -153,6 +154,7 @@ miti <- function(cfg) { cfg$title <- "BAU" # standard setting cfg <- setScenario(cfg, c("cc", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) start_run(cfg, codeCheck = FALSE) @@ -163,6 +165,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "BAU_DIET" # standard setting cfg <- setScenario(cfg, c("cc", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- diet(cfg = cfg) @@ -173,6 +176,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "BAU_PROD" # standard setting cfg <- setScenario(cfg, c("cc", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- prod(cfg = cfg) @@ -183,6 +187,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "BAU_WAST" # standard setting cfg <- setScenario(cfg, c("cc", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- waste(cfg = cfg) @@ -193,6 +198,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "BAU_RCP26" # standard setting cfg <- setScenario(cfg, c("cc", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) start_run(cfg, codeCheck = FALSE) @@ -202,6 +208,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "BAU_NoCC" # standard setting, but without CC cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) start_run(cfg, codeCheck = FALSE) @@ -211,6 +218,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "BAU_MITI" # standard setting, but with NDC activated (for miti) cfg <- setScenario(cfg, c("cc", "SSP2", "NDC")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- miti(cfg = cfg) @@ -221,6 +229,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "EL2" # standard setting cfg <- setScenario(cfg, c("cc", "SSP2", "NPI")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- diet(cfg = cfg) @@ -233,6 +242,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "ELM" # standard setting, but with NDC activated (for miti) cfg <- setScenario(cfg, c("cc", "SSP2", "NDC")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- miti(cfg = cfg) @@ -246,6 +256,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "ELM_DIET" # standard setting, but with NDC activated (for miti) cfg <- setScenario(cfg, c("cc", "SSP2", "NDC")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- miti(cfg = cfg) @@ -258,6 +269,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "ELM_PROD" # standard setting, but with NDC activated (for miti) cfg <- setScenario(cfg, c("cc", "SSP2", "NDC")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- miti(cfg = cfg) @@ -270,6 +282,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "ELM_WAST" # standard setting, but with NDC activated (for miti) cfg <- setScenario(cfg, c("cc", "SSP2", "NDC")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- miti(cfg = cfg) @@ -282,6 +295,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "ELM_RCP70" # standard setting, but with NDC activated (for miti) cfg <- setScenario(cfg, c("cc", "SSP2", "NDC")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- miti(cfg = cfg) @@ -295,6 +309,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "ELM_NoCC" # standard setting, but with NDC activated (for miti) and without CC cfg <- setScenario(cfg, c("nocc_hist", "SSP2", "NDC")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- miti(cfg = cfg) @@ -308,6 +323,7 @@ start_run(cfg, codeCheck = FALSE) cfg$title <- "ELM_MITI" # standard setting, but with NDC activated (for miti) cfg <- setScenario(cfg, c("cc", "SSP2", "NDC")) +cfg <- setScenario(cfg, c("EL2_default"), scenario_config = "config/projects/scenario_config_el2.csv") # scenario settings cfg <- bau(cfg = cfg) cfg <- diet(cfg = cfg) From e2b3faee321a00d2ad3be46963c80b631e78bc61 Mon Sep 17 00:00:00 2001 From: Felicitas Date: Wed, 28 Aug 2024 16:18:17 +0200 Subject: [PATCH 39/53] bugfix lamaclima script --- scripts/start/projects/project_LAMACLIMA_WP4.R | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/start/projects/project_LAMACLIMA_WP4.R b/scripts/start/projects/project_LAMACLIMA_WP4.R index fa1a6ca37..709d58052 100644 --- a/scripts/start/projects/project_LAMACLIMA_WP4.R +++ b/scripts/start/projects/project_LAMACLIMA_WP4.R @@ -46,7 +46,7 @@ cfg$qos <- "priority_maxMem" ### Global Sustainability, largely based on SDP cfg$title <- paste(prefix, "Sustainability", sep = "_") cfg <- setScenario(cfg, c("rcp1p9")) -cfg <- setScenario(cfg, c("LAMA_Sustainability"), scenario_config = "config/projects/config_lama.csv") +cfg <- setScenario(cfg, c("LAMA_Sustainability"), scenario_config = "config/projects/scenario_config_lama.csv") cfg$gms$policy_countries30 <- all_iso_countries cfg$gms$policy_countries22 <- all_iso_countries @@ -59,7 +59,7 @@ start_run(cfg,codeCheck=FALSE) ### Global Inequality, largely based on SSP4 cfg$title <- paste(prefix, "Inequality", sep = "_") cfg <- setScenario(cfg, c("rcp1p9")) -cfg <- setScenario(cfg, c("LAMA_Inequal"), scenario_config = "config/projects/config_lama.csv") +cfg <- setScenario(cfg, c("LAMA_Inequal"), scenario_config = "config/projects/scenario_config_lama.csv") cfg$gms$policy_countries30 <- oecd90andEU cfg$gms$policy_countries22 <- oecd90andEU cfg$gms$EFP_countries <- oecd90andEU @@ -73,7 +73,7 @@ start_run(cfg,codeCheck=FALSE) ### LAMA_Inequal-SustDemand cfg$title <- paste(prefix, "Inequality-SustDemand", sep = "_") cfg <- setScenario(cfg, c("rcp1p9")) -cfg <- setScenario(cfg, c("LAMA_Inequal-SustDemand"), scenario_config = "config/projects/config_lama.csv") +cfg <- setScenario(cfg, c("LAMA_Inequal-SustDemand"), scenario_config = "config/projects/scenario_config_lama.csv") cfg$gms$policy_countries30 <- oecd90andEU cfg$gms$policy_countries22 <- oecd90andEU cfg$gms$EFP_countries <- oecd90andEU @@ -85,7 +85,7 @@ start_run(cfg,codeCheck=FALSE) ### LAMA_Inequal-EnvirProt cfg$title <- paste(prefix, "Inequality-EnvirProt", sep = "_") cfg <- setScenario(cfg, c("rcp1p9")) -cfg <- setScenario(cfg, c("LAMA_Inequal-EnvirProt"), scenario_config = "config/projects/config_lama.csv") +cfg <- setScenario(cfg, c("LAMA_Inequal-EnvirProt"), scenario_config = "config/projects/scenario_config_lama.csv") cfg$gms$policy_countries30 <- all_iso_countries cfg$gms$policy_countries22 <- all_iso_countries cfg$gms$EFP_countries <- all_iso_countries @@ -97,7 +97,7 @@ start_run(cfg,codeCheck=FALSE) ### LAMA_Inequal-GHGPrice cfg$title <- paste(prefix, "Inequality-GHGPrice", sep = "_") cfg <- setScenario(cfg, c("rcp1p9")) -cfg <- setScenario(cfg, c("LAMA_Inequal-GHGPrice"), scenario_config = "config/projects/config_lama.csv") +cfg <- setScenario(cfg, c("LAMA_Inequal-GHGPrice"), scenario_config = "config/projects/scenario_config_lama.csv") cfg$gms$policy_countries30 <- oecd90andEU cfg$gms$policy_countries22 <- oecd90andEU cfg$gms$EFP_countries <- oecd90andEU @@ -109,7 +109,7 @@ start_run(cfg,codeCheck=FALSE) ### Global Inequality with higher climate impacts cfg$title <- paste(prefix, "Inequality-rcp7p0", sep = "_") cfg <- setScenario(cfg, c("rcp7p0")) -cfg <- setScenario(cfg, c("LAMA_Inequal"), scenario_config = "config/projects/config_lama.csv") +cfg <- setScenario(cfg, c("LAMA_Inequal"), scenario_config = "config/projects/scenario_config_lama.csv") cfg$gms$policy_countries30 <- oecd90andEU cfg$gms$policy_countries22 <- oecd90andEU cfg$gms$EFP_countries <- oecd90andEU From 83c7542b46af53ab3b4450d5496ecde8f23440ff Mon Sep 17 00:00:00 2001 From: weindl <39915455+weindl@users.noreply.github.com> Date: Fri, 30 Aug 2024 14:33:41 +0200 Subject: [PATCH 40/53] Update scenario_config_gcs.csv to account for additional GCS scenarios --- config/projects/scenario_config_gcs.csv | 62 +++++++++++++++---------- 1 file changed, 38 insertions(+), 24 deletions(-) diff --git a/config/projects/scenario_config_gcs.csv b/config/projects/scenario_config_gcs.csv index 9548161eb..fa07333dc 100755 --- a/config/projects/scenario_config_gcs.csv +++ b/config/projects/scenario_config_gcs.csv @@ -1,24 +1,38 @@ -;Tland -gms$s15_exo_foodscen_start;2020 -gms$s15_exo_foodscen_target;2050 -gms$s15_exo_waste;1 -gms$s15_waste_scen;1.2 -gms$s15_exo_diet;1 -gms$c15_kcal_scen;healthy_BMI -gms$c15_EAT_scen;FLX -gms$s15_exo_brans;1 -gms$c22_protect_scenario;BH -gms$c22_protect_scenario_noselect;none -gms$s32_max_aff_area;500 -gms$c32_aff_mask;onlytropical -gms$s35_forest_damage_end;2030 -gms$s42_irrig_eff_scenario;3 -gms$c42_env_flow_policy;on -gms$s42_efp_targetyear;2040 -gms$c50_scen_neff;baseeff_add3_add15_add25_max75 -gms$c50_scen_neff_noselect;baseeff_add3_add15_add25_max75 -gms$c55_scen_conf;ssp1 -gms$c55_scen_conf_noselect;ssp1 -gms$c60_1stgen_biodem;phaseout2020 -gms$c60_res_2ndgenBE_dem;sdp -gms$c70_feed_scen;ssp1 +;GCSF;LNDlbs;LNDres;LNDfood;Tland +gms$food;anthro_iso_jun22;;;; +gms$s15_exo_foodscen_start;;;;2020;2020 +gms$s15_exo_foodscen_target;;;;2050;2050 +gms$s15_exo_waste;;;;1;1 +gms$s15_waste_scen;;;;1.2;1.2 +gms$s15_exo_diet;;;;1;1 +gms$c15_kcal_scen;;;;healthy_BMI;healthy_BMI +gms$c15_EAT_scen;;;;FLX;FLX +gms$s15_exo_monogastric;;;;1;1 +gms$s15_exo_ruminant;;;;1;1 +gms$s15_exo_fish;;;;1;1 +gms$s15_exo_fruitvegnut;;;;1;1 +gms$s15_exo_pulses;;;;1;1 +gms$s15_exo_sugar;;;;1;1 +gms$s15_exo_oils;;;;1;1 +gms$s15_exo_brans;;;;1;1 +gms$s15_exo_scp;;;;1;1 +gms$s15_exo_alcohol;;;;1;1 +gms$c22_protect_scenario;;BH_IFL;;;BH_IFL +gms$s29_snv_shr;;0.2;;;0.2 +gms$s29_snv_scenario_target;;2030;;;2030 +gms$c30_bioen_water;;;rainfed;;rainfed +gms$s32_aff_plantation;;0;;;0 +gms$s32_aff_bii_coeff;;0;;;0 +gms$s32_max_aff_area;;500;;;500 +gms$c32_aff_mask;;onlytropical;;;onlytropical +gms$s35_forest_damage_end;;2030;;;2030 +gms$s42_irrig_eff_scenario;;;3;;3 +gms$c42_env_flow_policy;;;on;;on +gms$s42_efp_targetyear;;;2040;;2040 +gms$c50_scen_neff;;;baseeff_add3_add15_add25_max75;;baseeff_add3_add15_add25_max75 +gms$c55_scen_conf;;;ssp1;;ssp1 +gms$s56_buffer_aff;;0.2;;;0.2 +gms$c56_emis_policy;;gcs_lbs;gcs_res;;redd+natveg_nosoil +gms$c60_1stgen_biodem;;;phaseout2020;;phaseout2020 +gms$c60_res_2ndgenBE_dem;;;;sdp;sdp +gms$c70_feed_scen;;;ssp1;;ssp1 From 0286b8b942d0e38f1bb30588da66dfd63afe9c39 Mon Sep 17 00:00:00 2001 From: florianh Date: Tue, 3 Sep 2024 17:25:19 +0200 Subject: [PATCH 41/53] update doc --- modules/58_peatland/v2/equations.gms | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/58_peatland/v2/equations.gms b/modules/58_peatland/v2/equations.gms index 9db3ad2a1..569fc8736 100644 --- a/modules/58_peatland/v2/equations.gms +++ b/modules/58_peatland/v2/equations.gms @@ -39,7 +39,8 @@ *' The scaling factor for reduction reflects the ratio of drained peatland and total peatland area, *' based on the assumption that the likelihood of peatland rewetting increases with a higher share of *' drained peatland over total peatland area. -*' Vice-versa, the scaling factor for reduction decreases with an increasing share of rewetted peatland. +*' Therefore, the scaling factor for peatland reduction increases with an increasing share of drained peatland +*' and decreases with a decreasing share of drained peatland. *' In case managed land remains unchanged, also drained peatland remains unchanged. q58_peatlandMan(j2,manPeat58)$(sum(ct, m_year(ct)) > s58_fix_peatland) .. From 89a3e7d8de5ef88b41e5930e04ea66b0171cf27d Mon Sep 17 00:00:00 2001 From: Kristine Karstens <33092354+k4rst3ns@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:36:49 +0200 Subject: [PATCH 42/53] Update CHANGELOG.md Co-authored-by: pvjeetze <50408549+pvjeetze@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb5688f33..d0015d3fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **80_optimization** abort GAMS in case of execution errors - **scripts** updated EATLancet project start scripts - **scripts** replaced gdx package with gdx2 package calls -- **scripts** split scenario_config into project-specific configs +- **config** split scenario_config into project-specific configs ### added From a884e2c22ca8d2d1ff336bb07c6fab4b8fe4a29b Mon Sep 17 00:00:00 2001 From: florianh Date: Thu, 5 Sep 2024 15:01:34 +0200 Subject: [PATCH 43/53] update R packages --- DESCRIPTION | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ab960bac8..856244b75 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -8,8 +8,7 @@ Imports: curl, data.table, dplyr, - gdx, - gdxrrw, + gdx2, ggplot2, ggrepel, gms (>= 0.24.0), @@ -22,7 +21,7 @@ Imports: m4fsdp, madrat, magclass (>= 6.14.0), - magpie4 (>= 2.5.6), + magpie4 (>= 2.10.2), MagpieNCGains, magpiesets, mip, From 79138f567bdcbef249fd8059302238ee3f61dd34 Mon Sep 17 00:00:00 2001 From: florianh Date: Fri, 6 Sep 2024 09:02:15 +0200 Subject: [PATCH 44/53] Update AgroForestry ABCDR --- CHANGELOG.md | 2 + DESCRIPTION | 2 +- config/default.cfg | 8 ++- modules/29_cropland/detail_apr24/input.gms | 7 +- modules/29_cropland/detail_apr24/preloop.gms | 13 ++-- scripts/start/projects/project_ABCDR.R | 68 ++++++++++---------- 6 files changed, 54 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a80e24e22..43eaac867 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **script** updated EATLancet project start scripts - **script** replaced gdx package with gdx2 package calls - **config** split scenario_config into project-specific configs +- **config** initial treecover on cropland starts from zero ### added - **scripts** added output report `EU_report.R` that uses `EU_report.Rmd` @@ -26,6 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **script** check of variables needed in piamInterfaces in report_rds.R - **42_water_demand** added water abstraction type dimension for non-ag uses - **56_ghg_policy** added optional temporal and regional fader for GHG emission pricing policy +- **cropland** added option for discarding initial treecover on cropland ### removed - diff --git a/DESCRIPTION b/DESCRIPTION index 856244b75..c6ed62ba5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -21,7 +21,7 @@ Imports: m4fsdp, madrat, magclass (>= 6.14.0), - magpie4 (>= 2.10.2), + magpie4 (>= 2.10.3), MagpieNCGains, magpiesets, mip, diff --git a/config/default.cfg b/config/default.cfg index 603e0c76b..82e689d06 100644 --- a/config/default.cfg +++ b/config/default.cfg @@ -742,6 +742,10 @@ cfg$gms$land_snv <- "secdforest, forestry, past, other" #def = "secdforest, f # *** Options only available for `detail_apr24` realization *** ## Agroforestry settings for treecover on cropland +# * Initial tree cover +# * (0): tree cover on cropland starts from zero +# * (1): tree cover on cropland is initialized based on satellite data for 2015 +cfg$gms$s29_treecover_map <- 0 # def = 0 # * Sigmoid fader for minimum area share of treecover on total cropland at cluster level # * Minimum area share of treecover on total cropland in target year # Note: s29_treecover_target applies to countries selected in policy_countries29 @@ -750,7 +754,7 @@ cfg$gms$s29_treecover_target <- 0 # def = 0 cfg$gms$s29_treecover_target_noselect <- 0 # def = 0 # * Avoid loss of existing treecover (1=yes 0=no). # * If set to 1, `s29_treecover_target` will be adjusted based existing treecover area. -cfg$gms$s29_treecover_keep <- 1 # def = 1 +cfg$gms$s29_treecover_keep <- 0 # def = 0 # * Maximum share of treecover on total cropland (1) cfg$gms$s29_treecover_max <- 0.4 # def = 0.4 # * Start year of fader @@ -758,7 +762,7 @@ cfg$gms$s29_treecover_scenario_start <- 2025 # def = 2025 # * Target year of fader (year when full implementation is reached) cfg$gms$s29_treecover_scenario_target <- 2050 # def = 2050 # * Penalty for violation of treecover target before scenario start (USD05MER per ha) -cfg$gms$s29_treecover_penalty_before <- 5000 # def = 5000 +cfg$gms$s29_treecover_penalty_before <- 0 # def = 0 # * Penalty for violation of treecover target after scenario start (USD05MER per ha) cfg$gms$s29_treecover_penalty <- 5000 # def = 5000 # * Tree cover establishment cost (USD05MER per ha) diff --git a/modules/29_cropland/detail_apr24/input.gms b/modules/29_cropland/detail_apr24/input.gms index 163dc134e..c483bf6a5 100644 --- a/modules/29_cropland/detail_apr24/input.gms +++ b/modules/29_cropland/detail_apr24/input.gms @@ -23,15 +23,16 @@ scalars s29_treecover_scenario_target Cropland treecover scenario target year / 2050 / s29_treecover_target Minimum share of treecover on total cropland in target year (1) / 0 / s29_treecover_target_noselect Minimum share of treecover on total cropland in target year (1) / 0 / - s29_treecover_keep Avoid loss of existing treecover (1=yes 0=no) / 1 / + s29_treecover_keep Avoid loss of existing treecover (1=yes 0=no) / 0 / s29_treecover_max Maximum share of treecover on total cropland (1) / 0.4 / - s29_treecover_penalty_before Penalty for violation of treecover target before scenario start (USD05MER per ha) / 5000 / + s29_treecover_penalty_before Penalty for violation of treecover target before scenario start (USD05MER per ha) / 0 / s29_treecover_penalty Penalty for violation of treecover target after sceanrio start (USD05MER per ha) / 5000 / s29_fallow_scenario_start Fallow land scenario start year / 2025 / s29_fallow_scenario_target Fallow land scenario target year / 2050 / s29_fallow_target Minimum share of fallow land on total cropland in target year (1) / 0 / s29_fallow_max Maximum share of fallow land on total cropland (1) / 0.4 / s29_fallow_penalty Penalty for violation of fallow target (USD05MER per ha) / 500 / + s29_treecover_map Treecover map for initialization (binary) / 0 / ; @@ -92,7 +93,7 @@ $offdelim ********* Cropland tree cover ******************************************* -parameter f29_treecover(j) Tree cover on cropland in 2019 (mio. ha) +parameter f29_treecover(j) Tree cover on cropland in 2015 (mio. ha) / $ondelim $include "./modules/29_cropland/input/CroplandTreecover.cs2" diff --git a/modules/29_cropland/detail_apr24/preloop.gms b/modules/29_cropland/detail_apr24/preloop.gms index 1f288bd22..af9180f7e 100644 --- a/modules/29_cropland/detail_apr24/preloop.gms +++ b/modules/29_cropland/detail_apr24/preloop.gms @@ -23,11 +23,14 @@ elseif s29_snv_shr > s29_snv_relocation_data_x1, * Initial tree cover on cropland is assumed to be equally distributed among all age-classes -pc29_treecover_share(j) = 0; -pc29_treecover_share(j)$(pm_land_hist("y2015",j,"crop") > 1e-10) = f29_treecover(j) / pm_land_hist("y2015",j,"crop"); -pc29_treecover_share(j)$(pc29_treecover_share(j) > s29_treecover_max) = s29_treecover_max; -pc29_treecover(j,ac) = (pc29_treecover_share(j) * pm_land_hist("y1995",j,"crop")) / card(ac); - +if (s29_treecover_map = 1, + pc29_treecover_share(j) = 0; + pc29_treecover_share(j)$(pm_land_hist("y2015",j,"crop") > 1e-10) = f29_treecover(j) / pm_land_hist("y2015",j,"crop"); + pc29_treecover_share(j)$(pc29_treecover_share(j) > s29_treecover_max) = s29_treecover_max; + pc29_treecover(j,ac) = (pc29_treecover_share(j) * pm_land_hist("y1995",j,"crop")) / card(ac); +elseif s29_treecover_map = 0, + pc29_treecover(j,ac) = 0 +); vm_treecover.l(j) = sum(ac, pc29_treecover(j,ac)); *' Switch for tree cover on cropland: diff --git a/scripts/start/projects/project_ABCDR.R b/scripts/start/projects/project_ABCDR.R index 4295fba57..96e3f1582 100644 --- a/scripts/start/projects/project_ABCDR.R +++ b/scripts/start/projects/project_ABCDR.R @@ -19,9 +19,8 @@ source("config/default.cfg") #download_and_update(cfg) # create additional information to describe the runs -cfg$info$flag <- "ABCDR05" +cfg$info$flag <- "ABCDR07" -cfg$output <- c("rds_report") # Only run rds_report after model run cfg$results_folder <- "output/:title:" cfg$force_replace <- TRUE cfg$force_download <- FALSE @@ -33,10 +32,10 @@ cfg$qos <- "standby_maxMem_dayMax" .title <- function(cfg, ...) return(paste(cfg$info$flag, sep="_",...)) -cfg$input['regional'] <- "rev4.109_36f73207_magpie.tgz" -cfg$input['validation'] <- "rev4.109_36f73207_validation.tgz" +cfg$input['regional'] <- "rev4.111_36f73207_magpie.tgz" +cfg$input['validation'] <- "rev4.111_36f73207_validation.tgz" cfg$input['calibration'] <- "calibration_H16_14Jun24.tgz" -cfg$input['cellular'] <- "rev4.109_36f73207_44a213b6_cellularmagpie_c400_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" +cfg$input['cellular'] <- "rev4.111_36f73207_44a213b6_cellularmagpie_c400_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" ssp <- "SSP2" @@ -48,37 +47,36 @@ cfg$gms$scen_countries15 <- isoCountriesEUR cfg$gms$policy_countries29 <- isoCountriesEUR cfg$gms$policy_countries30 <- isoCountriesEUR + +cfg$gms$s29_treecover_keep <- 0 +cfg$gms$s29_treecover_penalty_before <- 0 cfg$gms$s29_treecover_penalty <- 5000 -cfg$gms$s30_betr_penalty <- 5000 - -for (pol in c("NDC","1p5deg")) { - for (diet in c("dietDefault","dietShift")) { - for (AFS in c("SRC","treeCover")) { - for (shr in c(0, 0.01, 0.05, 0.1, 0.2)) { - cfg$title <- .title(cfg, paste(ssp,pol,diet,paste0(AFS,sprintf("%02d",shr*100)),sep="-")) - if (pol == "NDC") { - cfg <- setScenario(cfg,c(ssp,"NDC","rcp4p5")) - cfg$input['cellular'] <- "rev4.109_36f73207_30c9dc61_cellularmagpie_c400_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" - cfg$gms$c56_mute_ghgprices_until <- "y2150" - cfg$gms$c56_pollutant_prices <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-NDC") - cfg$gms$c60_2ndgen_biodem <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-NDC") - } else if (pol == "1p5deg") { - cfg <- setScenario(cfg,c(ssp,"NDC","rcp1p9")) - cfg$input['cellular'] <- "rev4.109_36f73207_bc624950_cellularmagpie_c400_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" - cfg$gms$c56_mute_ghgprices_until <- "y2030" - cfg$gms$c56_pollutant_prices <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-PkBudg650") - cfg$gms$c60_2ndgen_biodem <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-PkBudg650") - } - if (diet == "dietShift") cfg <- setScenario(cfg,"eat_lancet_diet") - if (AFS == "SRC") { - cfg$gms$s29_treecover_target <- 0 - cfg$gms$s30_betr_target <- shr - } else if (AFS == "treeCover") { - cfg$gms$s29_treecover_target <- shr - cfg$gms$s30_betr_target <- 0 - } - start_run(cfg, codeCheck = FALSE) - } +cfg$gms$s30_betr_penalty <- 0 + +for (pol in c("NDC","1p5deg","1p5deg-Diet")) { + for (shr in c(0, 0.005, 0.01, 0.02)) { + cfg$title <- .title(cfg, paste(ssp,pol,paste0("AFS_tree_",sub("\\.","p",as.character(shr*100))),sep="-")) + if (pol == "NDC") { + cfg <- setScenario(cfg,c(ssp,"NDC","rcp4p5")) + cfg$input['cellular'] <- "rev4.111_36f73207_30c9dc61_cellularmagpie_c400_MRI-ESM2-0-ssp245_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" + cfg$gms$c56_mute_ghgprices_until <- "y2150" + cfg$gms$c56_pollutant_prices <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-NDC") + cfg$gms$c60_2ndgen_biodem <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-NDC") + } else if (pol == "1p5deg") { + cfg <- setScenario(cfg,c(ssp,"NDC","rcp1p9")) + cfg$input['cellular'] <- "rev4.111_36f73207_bc624950_cellularmagpie_c400_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" + cfg$gms$c56_mute_ghgprices_until <- "y2030" + cfg$gms$c56_pollutant_prices <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-PkBudg650") + cfg$gms$c60_2ndgen_biodem <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-PkBudg650") + } else if (pol == "1p5deg-Diet") { + cfg <- setScenario(cfg,c(ssp,"NDC","rcp1p9","eat_lancet_diet_v1")) + cfg$input['cellular'] <- "rev4.111_36f73207_bc624950_cellularmagpie_c400_MRI-ESM2-0-ssp119_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" + cfg$gms$c56_mute_ghgprices_until <- "y2030" + cfg$gms$c56_pollutant_prices <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-PkBudg650") + cfg$gms$c60_2ndgen_biodem <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-PkBudg650") } + cfg$gms$s29_treecover_target <- shr + cfg$gms$s30_betr_target <- 0 + start_run(cfg, codeCheck = FALSE) } } From 4cda7f6548f34fdb838e269c3948e9fd64ce57db Mon Sep 17 00:00:00 2001 From: florianh Date: Mon, 9 Sep 2024 11:38:36 +0200 Subject: [PATCH 45/53] added output script for conversion of validation.mif file into validation.rds --- CHANGELOG.md | 1 + scripts/output/extra/convertValidation.R | 44 ++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 scripts/output/extra/convertValidation.R diff --git a/CHANGELOG.md b/CHANGELOG.md index 43eaac867..12c8bbd4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **42_water_demand** added water abstraction type dimension for non-ag uses - **56_ghg_policy** added optional temporal and regional fader for GHG emission pricing policy - **cropland** added option for discarding initial treecover on cropland +- **script** added output script for conversion of validation.mif file into validation.rds ### removed - diff --git a/scripts/output/extra/convertValidation.R b/scripts/output/extra/convertValidation.R new file mode 100644 index 000000000..e1e1e8a16 --- /dev/null +++ b/scripts/output/extra/convertValidation.R @@ -0,0 +1,44 @@ +# | (C) 2008-2024 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: converts validation.mif file into validation.rds for use in shinyresults +# comparison script: FALSE +# --------------------------------------------------------------- + +######################### +#### convert validation.mif #### +######################### +# Version 1.0, Florian Humpenoeder +# +library(quitte) + +options(error=function()traceback(2)) + +############################# BASIC CONFIGURATION ############################# +if(!exists("source_include")) { + outputdir <- file.path("output/",list.dirs("output/", full.names = FALSE, recursive = FALSE)) + #Define arguments that can be read from command line + lucode2::readArgs("outputdir") +} +############################################################################### +cat("\nStarting output generation\n") + + +for (i in 1:length(outputdir)) { + print(paste("Processing",outputdir[i])) + val<-file.path(outputdir[i],"validation.mif") + rds <- file.path(outputdir[i],"validation.rds") + if(file.exists(val)) { + q <- read.quitte(val) + # as.quitte converts "World" into "GLO". But we want to keep "World" and therefore undo these changes + q <- droplevels(q) + levels(q$region)[levels(q$region) == "GLO"] <- "World" + q$region <- factor(q$region,levels = sort(levels(q$region))) + saveRDS(q, file = rds, version = 2) + } +} From ad9d2b5c56f7906961b947e7160d3c611005fd90 Mon Sep 17 00:00:00 2001 From: florianh Date: Mon, 9 Sep 2024 12:05:03 +0200 Subject: [PATCH 46/53] update start script --- scripts/start/projects/paper_peatlandTax.R | 192 +++++++++++++-------- 1 file changed, 119 insertions(+), 73 deletions(-) diff --git a/scripts/start/projects/paper_peatlandTax.R b/scripts/start/projects/paper_peatlandTax.R index 984c321eb..9a5b617e1 100644 --- a/scripts/start/projects/paper_peatlandTax.R +++ b/scripts/start/projects/paper_peatlandTax.R @@ -13,7 +13,7 @@ ## Load lucode2 and gms to use setScenario later library(lucode2) library(gms) -library(gdx) +library(gdx2) library(magpie4) # Load start_run(cfg) function which is needed to start MAgPIE runs @@ -23,108 +23,154 @@ source("scripts/start_functions.R") source("config/default.cfg") # create additional information to describe the runs -cfg$info$flag <- "PTax03H16" +cfg$info$flag <- "PTax20" cfg$results_folder <- "output/:title:" cfg$results_folder_highres <- "output" cfg$force_replace <- TRUE +cfg$force_download <- FALSE #cfg$qos <- "priority_maxMem" -cfg$qos <- "standby_maxMem_dayMax" +#cfg$qos <- "standby_maxMem_dayMax" +cfg$qos <- "standby_maxMem" # support function to create standardized title -.title <- function(cfg, ...) return(paste(cfg$info$flag, sep="_",...)) - -cfg$repositories <- append(list("https://rse.pik-potsdam.de/data/magpie/public"=NULL, - "./patch_inputdata"=NULL), - getOption("magpie_repos")) - -cfg$input['regional'] <- "rev4.109_36f73207_magpie.tgz" -cfg$input['validation'] <- "rev4.109_36f73207_validation.tgz" +.title <- function(cfg, ...) + return(paste(cfg$info$flag, sep = "_", ...)) + +cfg$repositories <- append( + list( + "https://rse.pik-potsdam.de/data/magpie/public" = NULL, + "./patch_inputdata" = NULL + ), + getOption("magpie_repos") +) + +cfg$input['regional'] <- "rev4.111_36f73207_magpie.tgz" +cfg$input['validation'] <- "rev4.111_36f73207_validation.tgz" cfg$input['calibration'] <- "calibration_H16_14Jun24.tgz" -cfg$input['zzzpatchGHGprices'] <- "patchGHGprices.tgz" - -cfg$gms$c_timesteps <- "5year" - -cfg$output <- c(cfg$output, "extra/highres") -ssp <- "SSP2" -cfg <- setScenario(cfg,c(ssp,"NPI","rcp7p0")) -cfg$input['cellular'] <- "rev4.109_36f73207_44a213b6_cellularmagpie_c400_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" -cfg$gms$c60_2ndgen_biodem <- paste0("R32M46-", if (ssp=="SSP2") "SSP2EU" else ssp,"-NPi") -cfg$gms$c56_pollutant_prices_noselect <- "T0-CO2" -cfg$gms$policy_countries56 <- isoCountriesEUR +cfg$input['cellular'] <- "rev4.111_36f73207_44a213b6_cellularmagpie_c400_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" +download_and_update(cfg) +## Create patch file for GHG prices calc_ghgprice <- function() { T0 <- read.magpie("modules/56_ghg_policy/input/f56_pollutant_prices.cs3") - T0 <- collapseNames(T0[,,getNames(T0,dim=2)[1]]) - T0[,,] <- 0 + T0 <- collapseNames(T0[, , getNames(T0, dim = 2)[1]]) + T0[, , ] <- 0 #T200 200 USD/tCO2 in 2050 - T200 <- new.magpie(getRegions(T0),c(seq(1995,2025,by=5),2050,2100,2150),getNames(T0),fill = 0) - T200[,"y2025","co2_c"] <- 0 - T200[,"y2050","co2_c"] <- 200 - T200[,"y2100","co2_c"] <- 200 - T200[,"y2150","co2_c"] <- 200 - T200 <- time_interpolate(T200,seq(2015,2100,by=5),TRUE) - T200 <- time_interpolate(T200,seq(2100,2150,by=5),TRUE) - T200[,,"ch4"] <- T200[,,"co2_c"]*28 - T200[,,"n2o_n_direct"] <- T200[,,"co2_c"]*265*44/28 - T200[,,"n2o_n_indirect"] <- T200[,,"co2_c"]*265*44/28 - T200[,,"co2_c"] <- T200[,,"co2_c"]*44/12 + T200 <- new.magpie(getRegions(T0), c(seq(1995, 2025, by = 5), 2050, 2100, 2150), getNames(T0), fill = 0) + T200[, "y2025", "co2_c"] <- 0 + T200[, "y2050", "co2_c"] <- 200 + T200[, "y2100", "co2_c"] <- 200 + T200[, "y2150", "co2_c"] <- 200 + T200 <- time_interpolate(T200, seq(2015, 2100, by = 5), TRUE) + T200 <- time_interpolate(T200, seq(2100, 2150, by = 5), TRUE) + T200[, , "ch4"] <- T200[, , "co2_c"] * 28 + T200[, , "n2o_n_direct"] <- T200[, , "co2_c"] * 265 * 44 / 28 + T200[, , "n2o_n_indirect"] <- T200[, , "co2_c"] * 265 * 44 / 28 + T200[, , "co2_c"] <- T200[, , "co2_c"] * 44 / 12 T50 <- T200 * 0.25 T100 <- T200 * 0.5 + T400 <- T200 * 2 + T800 <- T200 * 4 - GHG <- mbind(add_dimension(T0, dim = 3.2, add = "scen", nm = "T0-GHG"), - add_dimension(T50, dim = 3.2, add = "scen", nm = "T50-GHG"), - add_dimension(T100, dim = 3.2, add = "scen", nm = "T100-GHG"), - add_dimension(T200, dim = 3.2, add = "scen", nm = "T200-GHG")) + GHG <- mbind( + add_dimension(T0, dim = 3.2, add = "scen", nm = "T0-GHG"), + add_dimension( + T50, + dim = 3.2, + add = "scen", + nm = "T50-GHG" + ), + add_dimension( + T100, + dim = 3.2, + add = "scen", + nm = "T100-GHG" + ), + add_dimension( + T200, + dim = 3.2, + add = "scen", + nm = "T200-GHG" + ), + add_dimension( + T400, + dim = 3.2, + add = "scen", + nm = "T400-GHG" + ), + add_dimension( + T800, + dim = 3.2, + add = "scen", + nm = "T800-GHG" + ) + ) CO2 <- GHG - CO2[,,c("ch4", "n2o_n_direct", "n2o_n_indirect")] <- 0 - getNames(CO2,dim=2) <- gsub("GHG","CO2", getNames(CO2,dim=2)) + CO2[, , c("ch4", "n2o_n_direct", "n2o_n_indirect")] <- 0 + getNames(CO2, dim = 2) <- gsub("GHG", "CO2", getNames(CO2, dim = 2)) GHGCH4GWP20 <- GHG - GHGCH4GWP20[,,"ch4"] <- GHGCH4GWP20[,,"ch4"]/28*84 - getNames(GHGCH4GWP20,dim=2) <- gsub("GHG","GHG-CH4GWP20", getNames(GHGCH4GWP20,dim=2)) + GHGCH4GWP20[, , "ch4"] <- GHGCH4GWP20[, , "ch4"] / 28 * 84 + getNames(GHGCH4GWP20, dim = 2) <- gsub("GHG", "GHG-GWP20", getNames(GHGCH4GWP20, dim = + 2)) GHG <- mbind(CO2, GHG, GHGCH4GWP20) - if (!dir.exists("./patch_inputdata")) dir.create("./patch_inputdata") - if (dir.exists("./patch_inputdata/patchGHGprices")) unlink("./patch_inputdata/patchGHGprices", recursive = TRUE) + if (!dir.exists("./patch_inputdata")) + dir.create("./patch_inputdata") + if (dir.exists("./patch_inputdata/patchGHGprices")) + unlink("./patch_inputdata/patchGHGprices", recursive = TRUE) dir.create("./patch_inputdata/patchGHGprices") - write.magpie(GHG,file_name = "patch_inputdata/patchGHGprices/f56_pollutant_prices.cs3") - tardir("patch_inputdata/patchGHGprices", "patch_inputdata/patchGHGprices.tgz") + write.magpie(GHG, file_name = "patch_inputdata/patchGHGprices/f56_pollutant_prices.cs3") + tardir("patch_inputdata/patchGHGprices", + "patch_inputdata/patchGHGprices.tgz") - # scen56 <- magclass::read.magpie("modules/56_ghg_policy/input/f56_emis_policy.csv",file_type = "cs3") - # scen56 <- magclass::getNames(scen56,dim=1) - # - # sets <- list(list(name = "ghgscen56", - # desc = "ghg price scenarios", - # items = ghgscen56), - # list(name = "scen56", - # desc = "emission policy scenarios", - # items = scen56)) - # gms::writeSets(sets, "modules/56_ghg_policy/price_aug22/sets.gms") - unlink("patch_inputdata/patchGHGprices", recursive=TRUE) + unlink("patch_inputdata/patchGHGprices", recursive = TRUE) return(getNames(GHG, dim = 2)) } ghgscen56 <- calc_ghgprice() +cfg$input['zzzpatchGHGprices'] <- "patchGHGprices.tgz" - -cfg$title <- .title(cfg, paste(ssp,"Ref",sep="-")) -cfg$gms$c56_mute_ghgprices_until <- "y2150" -cfg$gms$c56_pollutant_prices <- "T0-CO2" -cfg$gms$c56_emis_policy <- "reddnatveg_nosoil_nopeat" -download_and_update(cfg) -start_run(cfg, codeCheck = FALSE) - - -cfg$gms$c56_mute_ghgprices_until <- "y2025" - -for (tax in ghgscen56) { - for (peat in c("peatOff", "peatOn")) { - cfg$title <- .title(cfg, paste(ssp,tax,peat,sep="-")) +## General settings +cfg$gms$c_timesteps <- "5year" +ssp <- "SSP2" +cfg <- setScenario(cfg, c(ssp, "NPI", "rcp7p0")) +cfg$gms$c56_pollutant_prices_noselect <- "T0-CO2" +cfg$gms$policy_countries56 <- isoCountriesEUR +cfg$gms$c56_emis_policy <- "sdp_peatland" +cfg$gms$factor_costs <- "sticky_feb18" +cfg$gms$livestock <- "fbask_jan16_sticky" +cfg$gms$s56_c_price_induced_aff <- 0 + +## Start scenarios +for (res in c("c400", "c1000")) { + if (res == "c400") + cfg$input['cellular'] <- "rev4.111_36f73207_44a213b6_cellularmagpie_c400_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" + else if (res == "c1000") { + cfg$input['cellular'] <- "rev4.111_36f73207_10f98ac1_cellularmagpie_c1000_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" + } + ## Ref scenario + cfg$title <- .title(cfg, paste(res, ssp, "Ref", sep = "-")) + cfg$gms$c56_mute_ghgprices_until <- "y2150" + cfg$gms$c56_pollutant_prices <- "T0-CO2" + # cfg$gms$c22_base_protect <- "none" + # cfg$gms$c22_base_protect_noselect <- "none" + # cfg$gms$s22_restore_land <- 0 + start_run(cfg, codeCheck = FALSE) + + ## Policy scenarios + for (tax in c("T50-CO2", + "T100-CO2", + "T200-CO2", + "T400-CO2", + "T400-GHG", + "T400-GHG-GWP20")) { + cfg$title <- .title(cfg, paste(res, ssp, tax, sep = "-")) + cfg$gms$c56_mute_ghgprices_until <- "y2025" cfg$gms$c56_pollutant_prices <- tax - cfg$gms$c56_emis_policy <- if (peat=="peatOff") "reddnatveg_nosoil_nopeat" else "reddnatveg_nosoil" start_run(cfg, codeCheck = FALSE) } } From d412aec846e716dd57582dbefaf779eb1ab43c57 Mon Sep 17 00:00:00 2001 From: florianh Date: Mon, 9 Sep 2024 21:50:23 +0200 Subject: [PATCH 47/53] additional data update additional_data_rev4.53.tgz --- CHANGELOG.md | 1 + config/default.cfg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12c8bbd4c..687f79fdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **script** replaced gdx package with gdx2 package calls - **config** split scenario_config into project-specific configs - **config** initial treecover on cropland starts from zero +- **config** additional data update additional_data_rev4.53.tgz ### added - **scripts** added output report `EU_report.R` that uses `EU_report.Rmd` diff --git a/config/default.cfg b/config/default.cfg index 82e689d06..8b2c6f61a 100644 --- a/config/default.cfg +++ b/config/default.cfg @@ -25,7 +25,7 @@ cfg$model <- "main.gms" #def = "main.gms" cfg$input <- c(regional = "rev4.111_h12_magpie.tgz", cellular = "rev4.111_h12_fd712c0b_cellularmagpie_c200_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1.tgz", validation = "rev4.111_h12_validation.tgz", - additional = "additional_data_rev4.51.tgz", + additional = "additional_data_rev4.53.tgz", calibration = "calibration_H12_26Mar24.tgz") # NOTE: It is recommended to recalibrate the model when changing cellular input data From f41745974af6dc04b9c159ac9b2f6bbf2506dd6e Mon Sep 17 00:00:00 2001 From: florianh Date: Mon, 9 Sep 2024 21:51:37 +0200 Subject: [PATCH 48/53] update start script --- scripts/start/projects/paper_peatlandTax.R | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/start/projects/paper_peatlandTax.R b/scripts/start/projects/paper_peatlandTax.R index 9a5b617e1..6a18fe215 100644 --- a/scripts/start/projects/paper_peatlandTax.R +++ b/scripts/start/projects/paper_peatlandTax.R @@ -23,14 +23,12 @@ source("scripts/start_functions.R") source("config/default.cfg") # create additional information to describe the runs -cfg$info$flag <- "PTax20" +cfg$info$flag <- "PTax22" cfg$results_folder <- "output/:title:" cfg$results_folder_highres <- "output" cfg$force_replace <- TRUE cfg$force_download <- FALSE -#cfg$qos <- "priority_maxMem" -#cfg$qos <- "standby_maxMem_dayMax" cfg$qos <- "standby_maxMem" # support function to create standardized title @@ -156,9 +154,6 @@ for (res in c("c400", "c1000")) { cfg$title <- .title(cfg, paste(res, ssp, "Ref", sep = "-")) cfg$gms$c56_mute_ghgprices_until <- "y2150" cfg$gms$c56_pollutant_prices <- "T0-CO2" - # cfg$gms$c22_base_protect <- "none" - # cfg$gms$c22_base_protect_noselect <- "none" - # cfg$gms$s22_restore_land <- 0 start_run(cfg, codeCheck = FALSE) ## Policy scenarios From 3f0e645e77f91021e60f5a98cfa593554eb9df18 Mon Sep 17 00:00:00 2001 From: Jan Philipp Dietrich Date: Tue, 10 Sep 2024 09:37:32 +0200 Subject: [PATCH 49/53] bugfix in calc_calib.R to be compatible with gdx2 package --- scripts/calibration/calc_calib.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/calibration/calc_calib.R b/scripts/calibration/calc_calib.R index 5fb4af924..f06b10175 100644 --- a/scripts/calibration/calc_calib.R +++ b/scripts/calibration/calc_calib.R @@ -67,7 +67,7 @@ get_yieldcalib <- function(gdx_file) { y_ini <- prep(readGDX(gdx_file, "i14_yields", "i14_yields_calib", format = "first_found", react = "silent")) - y <- prep(readGDX(gdx_file, "vm_yld")[, , "l"]) + y <- prep(readGDX(gdx_file, "vm_yld")[, , "level"]) out <- y / y_ini out[out == 0] <- 1 From 4e882c498709bda58606cab3b5e5b2e761927caa Mon Sep 17 00:00:00 2001 From: florianh Date: Wed, 11 Sep 2024 15:00:08 +0200 Subject: [PATCH 50/53] update start script --- scripts/start/projects/paper_peatlandTax.R | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/start/projects/paper_peatlandTax.R b/scripts/start/projects/paper_peatlandTax.R index 6a18fe215..e507b4d97 100644 --- a/scripts/start/projects/paper_peatlandTax.R +++ b/scripts/start/projects/paper_peatlandTax.R @@ -23,13 +23,14 @@ source("scripts/start_functions.R") source("config/default.cfg") # create additional information to describe the runs -cfg$info$flag <- "PTax22" +cfg$info$flag <- "PTax23" cfg$results_folder <- "output/:title:" cfg$results_folder_highres <- "output" +cfg$output <- c(cfg$output, "extra/highres") cfg$force_replace <- TRUE cfg$force_download <- FALSE -cfg$qos <- "standby_maxMem" +cfg$qos <- "standby_maxMem_dayMax" # support function to create standardized title .title <- function(cfg, ...) @@ -144,7 +145,7 @@ cfg$gms$livestock <- "fbask_jan16_sticky" cfg$gms$s56_c_price_induced_aff <- 0 ## Start scenarios -for (res in c("c400", "c1000")) { +for (res in c("c400")) { if (res == "c400") cfg$input['cellular'] <- "rev4.111_36f73207_44a213b6_cellularmagpie_c400_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" else if (res == "c1000") { From 3c352460b4df459ff467ebb93b5b71f0f265f444 Mon Sep 17 00:00:00 2001 From: florianh Date: Thu, 12 Sep 2024 16:12:30 +0200 Subject: [PATCH 51/53] bugfix peatland --- modules/58_peatland/v2/declarations.gms | 2 +- modules/58_peatland/v2/presolve.gms | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/58_peatland/v2/declarations.gms b/modules/58_peatland/v2/declarations.gms index 6791419f6..a8b438f8b 100644 --- a/modules/58_peatland/v2/declarations.gms +++ b/modules/58_peatland/v2/declarations.gms @@ -46,7 +46,7 @@ positive variables v58_manLandExp(j,manPeat58) Managed land area expansion (mio. ha) v58_manLandRed(j,manPeat58) Managed land area reduction (mio. ha) v58_balance(j,manPeat58) Technical balance term for peatland scaling factor (1) - v58_balance2(j,manPeat58) Technical balance term for peatland scaling factor (1) + v58_balance2(j,manPeat58) Technical balance term for peatland scaling factor (1) v58_peatland_cost_annuity(j,cost58) Annuity costs for peatland conversion in the current timestep (mio. USD05MER per yr) ; diff --git a/modules/58_peatland/v2/presolve.gms b/modules/58_peatland/v2/presolve.gms index eebd30990..02d99220b 100644 --- a/modules/58_peatland/v2/presolve.gms +++ b/modules/58_peatland/v2/presolve.gms @@ -22,6 +22,7 @@ if (m_year(t) <= s58_fix_peatland, * Peatland area is fixed to `pc58_peatland` until the year given by s58_fix_peatland v58_peatland.fx(j,land58) = pc58_peatland(j,land58); v58_balance.fx(j,manPeat58) = 0; + v58_balance2.fx(j,manPeat58) = 0; i58_cost_rewet_recur(t) = 0; i58_cost_drain_recur(t) = 0; @@ -38,6 +39,8 @@ else v58_peatland.fx(j,"peatExtract") = pc58_peatland(j,"peatExtract"); v58_balance.lo(j,manPeat58) = 0; v58_balance.up(j,manPeat58) = Inf; + v58_balance2.lo(j,manPeat58) = 0; + v58_balance2.up(j,manPeat58) = Inf; i58_cost_rewet_recur(t) = s58_cost_rewet_recur; i58_cost_drain_recur(t) = s58_cost_drain_recur; From 1585a96842edce106c53d496c520afd042b16aa2 Mon Sep 17 00:00:00 2001 From: florianh Date: Fri, 13 Sep 2024 13:54:39 +0200 Subject: [PATCH 52/53] bugfix 35_natveg --- modules/35_natveg/pot_forest_may24/presolve.gms | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/35_natveg/pot_forest_may24/presolve.gms b/modules/35_natveg/pot_forest_may24/presolve.gms index 406ccbc76..d6e63de4a 100644 --- a/modules/35_natveg/pot_forest_may24/presolve.gms +++ b/modules/35_natveg/pot_forest_may24/presolve.gms @@ -174,6 +174,7 @@ p35_restoration_shift(j) = p35_land_restoration(j,"secdforest") - pc35_max_fores p35_restoration_shift(j)$(p35_restoration_shift(j) < 1e-6) = 0; p35_restoration_shift(j)$(p35_restoration_shift(j) > p35_land_restoration(j,"secdforest")) = p35_land_restoration(j,"secdforest"); p35_land_restoration(j,"secdforest") = p35_land_restoration(j,"secdforest") - p35_restoration_shift(j); +pm_land_conservation(t,j,"secdforest","restore") = p35_land_restoration(j,"secdforest"); pm_land_conservation(t,j,"other","restore") = pm_land_conservation(t,j,"other","restore") + p35_restoration_shift(j); * set conservation bound @@ -204,6 +205,7 @@ p35_land_restoration(j,"other") = pm_land_conservation(t,j,"other","restore"); * Do not restore other land in areas where total natural * land area meets the total natural land conservation target p35_land_restoration(j,"other")$(sum(land_natveg, pcm_land(j,land_natveg)) >= sum((land_natveg, consv_type), pm_land_conservation(t,j,land_natveg,consv_type))) = 0; +pm_land_conservation(t,j,"other","restore") = p35_land_restoration(j,"other"); * set conservation bound vm_land.lo(j,"other") = pm_land_conservation(t,j,"other","protect") + p35_land_restoration(j,"other"); From 905875f33d36ea177a1775876d3c28466c3648e3 Mon Sep 17 00:00:00 2001 From: florianh Date: Fri, 13 Sep 2024 14:28:17 +0200 Subject: [PATCH 53/53] changelog --- CHANGELOG.md | 1 + scripts/start/projects/paper_peatlandTax.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 687f79fdf..de8c74553 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **scripts** fixing an error in start.R and output.R which occurred if more than one slurm job was submitted at the same time. - **15_food** fixing parameter declaration of i15_processed_kcal_structure_iso - **80_optimization** bugfix for variables levels not obeying the bounds in nlp_par, `conopt` changed to `conopt3` +- **35_natveg** bugfix secdforest and other land restoration to avoid double-counting of restoration in equation `q29_land_snv` ## [4.8.1] - 2024-06-19 diff --git a/scripts/start/projects/paper_peatlandTax.R b/scripts/start/projects/paper_peatlandTax.R index e507b4d97..2ed3cdbbe 100644 --- a/scripts/start/projects/paper_peatlandTax.R +++ b/scripts/start/projects/paper_peatlandTax.R @@ -23,7 +23,7 @@ source("scripts/start_functions.R") source("config/default.cfg") # create additional information to describe the runs -cfg$info$flag <- "PTax23" +cfg$info$flag <- "PTax24" cfg$results_folder <- "output/:title:" cfg$results_folder_highres <- "output"