From d485634af1828fa68109a6199dde66bdf47db6dc Mon Sep 17 00:00:00 2001
From: christophbertram <bertram@pik-potsdam.de>
Date: Wed, 29 Jan 2020 11:05:21 +0100
Subject: [PATCH] Changing 2020 carbon prices for NDC2018 realization

---
 modules/45_carbonprice/NDC2018/postsolve.gms | 3 ++-
 modules/45_carbonprice/NDC2018/preloop.gms   | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/45_carbonprice/NDC2018/postsolve.gms b/modules/45_carbonprice/NDC2018/postsolve.gms
index 5a270c1..739cb3d 100644
--- a/modules/45_carbonprice/NDC2018/postsolve.gms
+++ b/modules/45_carbonprice/NDC2018/postsolve.gms
@@ -86,7 +86,8 @@ pm_taxCO2eq(ttot,regi)$(ttot.val gt 2030) = max(pm_taxCO2eq(ttot,regi),1*sm_DptC
 *#' exception for China to meet the target of 2030 peak: linear increase starts already in 2025
 pm_taxCO2eq(ttot,regi)$(ttot.val gt 2025 AND (sameas(regi,"CHN") OR sameas(regi,"CHA"))) = max(pm_taxCO2eq(ttot,regi),1*sm_DptCO2_2_TDpGtC * (1+(ttot.val-2025)*9/7));
 
-
+*** new 2020 carbon price definition: weighted average of 2015 and 2025, with triple weight for 2015 (which is zero for all non-eu regions).
+pm_taxCO2eq("2020",regi) = (3*pm_taxCO2eq("2015",regi)+pm_taxCO2eq("2025",regi))/4;
 
 ***
 ******special treatment for 2020 (not relevant if cm_startyear for NDC scenario is 2020, but relevant if earlier)
diff --git a/modules/45_carbonprice/NDC2018/preloop.gms b/modules/45_carbonprice/NDC2018/preloop.gms
index b4c3839..e8e0434 100644
--- a/modules/45_carbonprice/NDC2018/preloop.gms
+++ b/modules/45_carbonprice/NDC2018/preloop.gms
@@ -19,6 +19,9 @@ pm_taxCO2eq(ttot,regi)$(ttot.val gt 2030) = max(pm_taxCO2eq(ttot,regi),1*sm_DptC
 *** exception for China to meet the target of 2030 peak: linear increase starts already in 2025
 pm_taxCO2eq(ttot,regi)$(ttot.val gt 2025 AND (sameas(regi,"CHN") OR sameas(regi,"CHA"))) = max(pm_taxCO2eq(ttot,regi),1*sm_DptCO2_2_TDpGtC * (1+(ttot.val-2025)*9/7));
 
+*** new 2020 carbon price definition: weighted average of 2015 and 2025, with triple weight for 2015 (which is zero for all non-eu regions).
+pm_taxCO2eq("2020",regi) = (3*pm_taxCO2eq("2015",regi)+pm_taxCO2eq("2025",regi))/4;
+
 
 *#' @equations 
 *#'  calculate level of emission target that it should converge to, two types of targets
-- 
GitLab