From 95a2a64d7ad2053c51c57a3fcb06b207da281bf2 Mon Sep 17 00:00:00 2001 From: orichters Date: Thu, 13 Jul 2023 16:09:22 +0200 Subject: [PATCH] fix t/ttot bug in 46/NDC, correct scenario self-reference in NGFS config --- config/scenario_config_NGFS_v4.csv | 2 +- modules/46_carbonpriceRegi/NDC/datainput.gms | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/scenario_config_NGFS_v4.csv b/config/scenario_config_NGFS_v4.csv index bdc9014da..6cfce66ee 100644 --- a/config/scenario_config_NGFS_v4.csv +++ b/config/scenario_config_NGFS_v4.csv @@ -11,7 +11,7 @@ SSP2-Base_d95high;d95high;SSP2-Base;;;;;;;;magicc;CMIP5;HADCRUT4;KW_SE;1.96;;RCP # ___NO_DAMAGES___;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; h_ndc_preUkraine;NGFS;;;gdp_SSP2EU;medOil;medGas;medCoal;load;5;off;off;uncalibrated;off;0;off;RCP26_50;off;HowardNonCatastrophic;30;0;100;0;0;simple;edge_esm;subsectors;0;1;Mix3;none;0.01;;1;;off;1.5;rcp45;3;globallyOptimal;0;NDC;none;;;1;2100;3;2050;9;;;3;1.05;100;1;NDC;1;2;1;3;SSP2;1;0;forcing_SSP2;SSP2;heat;2025;;h_cpol;h_cpol;h_ndc: The Nationally Determined Contributions (NDCs) scenario includes all pledged policies even if not yet implemented. It assumes that the moderate and heterogeneous climate ambition reflected in the NDCs at the beginning of 2021 continues over the 21st century (low transition risks). Emissions decline but lead nonetheless to about 2.5 K of warming associated with moderate to severe physical risks. Transition risks are relatively low. Industry sectors are modeled explicitly with individual CES nests for cement, chemicals, steel, and other production. The transport model EDGE-T with detailed modes/vehicles representation is used. A simple buildings model represents demand in terms of energy carriers. No Damages from climate change are considered. h_ndc;NGFS;h_ndc_preUkraine;EUR.pegas 0.5;;;;;;5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2025;;h_cpol;; -h_cpol;NGFS;h_ndc;;;;;;;;;;;;;;;;;;;;;;;;;;;Mix3;none;;;1;;;1.5;rcp45;3;off;0;NPi;none;;;1;2100;;2050;;;;;;;;NPi2018;1;;;3;;;;;;;2005;;;;h_cpol: The Current Policies scenario assumes that only currently implemented policies are preserved, leading to high physical risks. Emissions grow until 2080 leading to about 3 K of warming and severe physical risks. This includes irreversible changes like higher sea level rise. Industry sectors are modeled explicitly with individual CES nests for cement, chemicals, steel, and other production. The transport model EDGE-T with detailed modes/vehicles representation is used. A simple buildings model represents demand in terms of energy carriers. No Damages from climate change are considered. +h_cpol;NGFS;h_ndc;;;;;;;;;;;;;;;;;;;;;;;;;;;Mix3;none;;;1;;;1.5;rcp45;3;off;0;NPi;none;;;1;2100;;2050;;;;;;;;NPi2018;1;;;3;;;;;;;2005;;SSP2-Base;SSP2-Base;h_cpol: The Current Policies scenario assumes that only currently implemented policies are preserved, leading to high physical risks. Emissions grow until 2080 leading to about 3 K of warming and severe physical risks. This includes irreversible changes like higher sea level rise. Industry sectors are modeled explicitly with individual CES nests for cement, chemicals, steel, and other production. The transport model EDGE-T with detailed modes/vehicles representation is used. A simple buildings model represents demand in terms of energy carriers. No Damages from climate change are considered. o_1p5c;NGFS;h_ndc;;;;;;;;;;;;;;;;;;;;;;;;;;;Mix4;heatpumps;;;1;;;1.5;rcp20;9;globallyOptimal;560;diffCurvPhaseIn2Lin;netZero;;;200;2045;6;2050;;;;;;;;NDC;1;;;2;;;;;;;2025;;h_cpol;;o_1p5c: The Net Zero 2050 scenario assumes that ambitious climate policies are introduced immediately, giving at least a 50 percent chance of limiting global warming to below 1.5 K by the end of the century, with no or low overshoot of 1.5 K in earlier years. Stringent climate policies and innovation let net zero CO2 emissions to be reached around 2050. CDR is used to accelerate the decarbonisation but kept to the minimum possible and broadly in line with sustainable levels of bioenergy production. Physical risks are relatively low but transition risks are high. Industry sectors are modeled explicitly with individual CES nests for cement, chemicals, steel, and other production. The transport model EDGE-T with detailed modes/vehicles representation is used. A simple buildings model represents demand in terms of energy carriers. No Damages from climate change are considered. o_1p5c_fix_postUkr;NGFS;o_1p5c;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;h_cpol;; o_1p5c_46NDC;0;o_1p5c;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;560;diffCurvPhaseIn2Lin;NDC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;o_1p5c_46NDC: The Net Zero 2050 scenario assumes that ambitious climate policies are introduced immediately, giving at least a 50 percent chance of limiting global warming to below 1.5 K by the end of the century, with no or low overshoot of 1.5 K in earlier years. Stringent climate policies and innovation let net zero CO2 emissions to be reached around 2050. CDR is used to accelerate the decarbonisation but kept to the minimum possible and broadly in line with sustainable levels of bioenergy production. Physical risks are relatively low but transition risks are high. Industry sectors are modeled explicitly with individual CES nests for cement, chemicals, steel, and other production. The transport model EDGE-T with detailed modes/vehicles representation is used. A simple buildings model represents demand in terms of energy carriers. No Damages from climate change are considered. diff --git a/modules/46_carbonpriceRegi/NDC/datainput.gms b/modules/46_carbonpriceRegi/NDC/datainput.gms index 8d6c728d2..e91b5e363 100644 --- a/modules/46_carbonpriceRegi/NDC/datainput.gms +++ b/modules/46_carbonpriceRegi/NDC/datainput.gms @@ -21,7 +21,7 @@ $offdelim $onlisting ; -Parameter p46_factorTargetyear(t,all_regi) "Multiplier for target year emissions vs 2005 emissions, as weighted average for all countries with quantifyable emissions under NDC in particular region"; +Parameter p46_factorTargetyear(ttot,all_regi) "Multiplier for target year emissions vs 2005 emissions, as weighted average for all countries with quantifyable emissions under NDC in particular region"; p46_factorTargetyear(t,all_regi) = f46_factorTargetyear(t,all_regi,"%cm_NDC_version%","%cm_GDPscen%"); display p46_factorTargetyear; @@ -34,8 +34,8 @@ $offdelim $onlisting ; -Parameter p46_2005shareTarget(t,all_regi) "2005 GHG emission share of countries with quantifyable emissions under NDC in particular region, time dimension specifies alternative future target years"; -p46_2005shareTarget(t,all_regi) = f46_2005shareTarget(t,all_regi,"%cm_NDC_version%","%cm_GDPscen%"); +Parameter p46_2005shareTarget(ttot,all_regi) "2005 GHG emission share of countries with quantifyable emissions under NDC in particular region, time dimension specifies alternative future target years"; +p46_2005shareTarget(ttot,all_regi) = f46_2005shareTarget(ttot,all_regi,"%cm_NDC_version%","%cm_GDPscen%"); display p46_2005shareTarget; @@ -52,7 +52,7 @@ p46_histShare(tall,all_regi) = f46_histShare(tall,all_regi,"%cm_NDC_version%"); display p46_histShare; -Parameter p46_BAU_reg_emi_wo_LU_bunkers(t,all_regi) "regional GHG emissions (without LU and bunkers) in BAU scenario" +Parameter p46_BAU_reg_emi_wo_LU_bunkers(ttot,all_regi) "regional GHG emissions (without LU and bunkers) in BAU scenario" / $ondelim $ifthen exist "./modules/46_carbonpriceRegi/NDC/input/pm_BAU_reg_emi_wo_LU_bunkers.cs4r" @@ -71,12 +71,12 @@ $offdelim *** 0.2 is a rounded value valid for all except 2018_uncond, because Brazil had no unconditional target then. if (not sameas("%cm_NDC_version%","2018_uncond"), - p46_factorTargetyear(t,regi)$(sameas(regi,"LAM") AND sameas(t,"2030")) = p46_factorTargetyear(t,regi) + 0.2; + p46_factorTargetyear(ttot,regi)$(sameas(regi,"LAM") AND sameas(ttot,"2030")) = p46_factorTargetyear(ttot,regi) + 0.2; ); *** add 2060 GHG net zero target for China, not yet in the UNFCCC_NDC database -p46_factorTargetyear(t,regi)$(sameas(regi,"CHA") AND sameas(t,"2060")) = 0; -p46_2005shareTarget(t,regi)$(sameas(regi,"CHA") AND sameas(t,"2060")) = 1; +p46_factorTargetyear(ttot,regi)$(sameas(regi,"CHA") AND sameas(ttot,"2060")) = 0; +p46_2005shareTarget(ttot,regi)$(sameas(regi,"CHA") AND sameas(ttot,"2060")) = 1; *** parameters for selecting NDC years @@ -86,9 +86,9 @@ Scalar p46_ignoreNDCafter "NDC targets after this years are ignored, Scalar p46_minRatioOfCoverageToMax "only targets whose coverage is this times p46_bestNDCcoverage are considered. Use 1 for only best." /0.2/; Scalar p46_useSingleYearCloseTo "if 0: use all. If > 0: use only one single NDC target per country closest to this year (use 2030.4 to prefer 2030 over 2035 over 2025)" /0/; -Set p46_NDCyearSet(t,all_regi) "YES for years whose NDC targets is used"; +Set p46_NDCyearSet(ttot,all_regi) "YES for years whose NDC targets is used"; Parameter p46_bestNDCcoverage(all_regi) "highest coverage of NDC targets within region"; -Parameter p46_distanceToOptyear(t,all_regi) "distance to p46_useSingleYearCloseTo to favor years in case of multiple equally good targets"; +Parameter p46_distanceToOptyear(ttot,all_regi) "distance to p46_useSingleYearCloseTo to favor years in case of multiple equally good targets"; Parameter p46_minDistanceToOptyear(all_regi) "minimal distance to p46_useSingleYearCloseTo per region"; p46_bestNDCcoverage(regi) = smax(t$(t.val <= p46_ignoreNDCafter AND t.val >= p46_ignoreNDCbefore), p46_2005shareTarget(t,regi));