Skip to content

Commit

Permalink
Merge pull request #1918 from LaviniaBaumstark/develop
Browse files Browse the repository at this point in the history
add cm_fetaxscen eq 5 and needed input data (7.18)
  • Loading branch information
LaviniaBaumstark authored Dec 9, 2024
2 parents 5749204 + 8ace19f commit 60b14c8
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 22 deletions.
2 changes: 1 addition & 1 deletion config/default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cfg$regionmapping <- "config/regionmappingH12.csv"
cfg$extramappings_historic <- ""

#### Current input data revision (<mainrevision>.<subrevision>) ####
cfg$inputRevision <- "7.16"
cfg$inputRevision <- "7.18"

#### Current CES parameter and GDX revision (commit hash) ####
cfg$CESandGDXversion <- "5452a611b8add9f439df0a98a27277a306ece286"
Expand Down
24 changes: 12 additions & 12 deletions config/scenario_config.csv

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion main.gms
Original file line number Diff line number Diff line change
Expand Up @@ -715,13 +715,14 @@ parameter
parameter
cm_fetaxscen "choice of final energy tax path, subsidy path and inconvenience cost path, values other than zero enable final energy tax"
;
cm_fetaxscen = 3; !! def = 3 !! regexp = [0-4]
cm_fetaxscen = 3; !! def = 3 !! regexp = [0-5]
*' even if set to 0, the PE inconvenience cost per SO2-cost for coal are always on if module 21_tax is on
*' * (0): no tax, sub, inconv
*' * (1): constant t,s,i (used in SSP 5 and ADVANCE WP3.1 HighOilSub)
*' * (2): converging tax, phased out sub (-2030), no inconvenience cost so far (used in SSP 1)
*' * (3): constant tax, phased out sub (-2050), no inconvenience cost so far (used in SSP 2)
*' * (4): constant tax, phased out sub (-2030), no inconvenience cost so far (used in SDP)
*' * (5): roll back of final energy taxes to get back to a no-policy case (previously known as BAU)
*'
parameter
cm_distrBeta "elasticity of tax revenue redistribution"
Expand Down
14 changes: 13 additions & 1 deletion modules/21_tax/on/datainput.gms
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ $include "./modules/21_tax/on/input/f21_tax_convergence.cs4r"
$offdelim
/
;
Parameter f21_tax_convergence_rollback(tall,all_regi,all_enty) "Tax convergence level for specific regions, year and final energy type"
/
$ondelim
$include "./modules/21_tax/on/input/f21_tax_convergence_rollback.cs4r"
$offdelim
/
;
if(cm_fetaxscen eq 5,
f21_tax_convergence(ttot,regi,enty) = f21_tax_convergence_rollback(ttot,regi,enty);
);

Parameter f21_max_fe_sub(tall,all_regi,all_enty) "maximum final energy subsidy levels (in $/Gj) from REMIND version prior to rev. 5429"
/
$ondelim
Expand Down Expand Up @@ -82,14 +93,15 @@ p21_tau_pe2se_sub(tall,regi,te)= 0;
*RP* FILE changed by hand after introduction of SO2 taxes and inconvenience penalties on 2012-03-08
*** Values try to account for excessive water use, further pollution
*** Taxes are given in USD(2005) and converted to USD(2017) per GJ
if(cm_fetaxscen ne 5,
p21_tau_pe2se_tax(ttot,regi,"igcc")$(ttot.val ge 2005) = sm_D2005_2_D2017 * 0.25;
p21_tau_pe2se_tax(ttot,regi,"igccc")$(ttot.val ge 2005) = sm_D2005_2_D2017 * 0.25;
p21_tau_pe2se_tax(ttot,regi,"coalftrec")$(ttot.val ge 2005) = sm_D2005_2_D2017 * 1.0;
p21_tau_pe2se_tax(ttot,regi,"coalftcrec")$(ttot.val ge 2005) = sm_D2005_2_D2017 * 1.0;
p21_tau_pe2se_tax(ttot,regi,"coalh2")$(ttot.val ge 2005) = sm_D2005_2_D2017 * 0.5;
p21_tau_pe2se_tax(ttot,regi,"coalh2c")$(ttot.val ge 2005) = sm_D2005_2_D2017 * 0.5;
p21_tau_pe2se_tax(ttot,regi,"coalgas")$(ttot.val ge 2005) = sm_D2005_2_D2017 * 0.5;

);
***cb20110923 rescaling of PE2SE parameters from $/GJ to trillion $ / TWa
p21_tau_pe2se_tax(ttot,regi,te)$(ttot.val ge 2005) = p21_tau_pe2se_tax(ttot,regi,te) * 0.001 / sm_EJ_2_TWa;
p21_tau_pe2se_sub(ttot,regi,te)$(ttot.val ge 2005) = p21_tau_pe2se_sub(ttot,regi,te) * 0.001 / sm_EJ_2_TWa;
Expand Down
1 change: 1 addition & 0 deletions modules/21_tax/on/input/files
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ f21_prop_fe_sub.cs4r
f21_tau_pe_sub.cs4r
f21_max_pe_sub.cs4r
f21_tax_convergence.cs4r
f21_tax_convergence_rollback.cs4r

22 changes: 15 additions & 7 deletions modules/21_tax/on/preloop.gms
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,22 @@ if(cm_fetaxscen ne 0,
loop(ttot$(ttot.val ge 2005), p21_tau_fe_tax(ttot,regi,sector,entyFe) = p21_tau_fe_tax("2005",regi,sector,entyFe));
);
***CASE 2: constant TAXES except for the final energies and regions defined at the f21_tax_convergence.cs4r file
if(cm_fetaxscen eq 2,
if(cm_fetaxscen eq 2 OR cm_fetaxscen eq 5,
loop(ttot$(ttot.val ge 2005), p21_tau_fe_tax(ttot,regi,sector,entyFe) = p21_tau_fe_tax("2005",regi,sector,entyFe));

s21_tax_time = 2050;
p21_tau_fe_tax(ttot,regi,sector,entyFe)$(f21_tax_convergence("2050",regi,entyFe) AND ttot.val > 2015 AND ttot.val<(s21_tax_time + 1))
=
p21_tau_fe_tax("2005",regi,sector,entyFe)+((f21_tax_convergence("2050",regi,entyFe)*0.001/sm_EJ_2_TWa-p21_tau_fe_tax("2005",regi,sector,entyFe))*((ttot.val-2015)/(s21_tax_time-2015)));
p21_tau_fe_tax(ttot,regi,sector,entyFe)$(f21_tax_convergence("2050",regi,entyFe) AND ttot.val >(s21_tax_time)) = f21_tax_convergence("2050",regi,entyFe)*0.001/sm_EJ_2_TWa;
if(cm_fetaxscen eq 2, s21_tax_time = 2050;
p21_tau_fe_tax(ttot,regi,sector,entyFe)$(f21_tax_convergence("2050",regi,entyFe) AND ttot.val > 2015 AND ttot.val<(s21_tax_time + 1))
=
p21_tau_fe_tax("2005",regi,sector,entyFe)+((f21_tax_convergence("2050",regi,entyFe)*0.001/sm_EJ_2_TWa-p21_tau_fe_tax("2005",regi,sector,entyFe))*((ttot.val-2015)/(s21_tax_time-2015)));
p21_tau_fe_tax(ttot,regi,sector,entyFe)$(f21_tax_convergence("2050",regi,entyFe) AND ttot.val >(s21_tax_time)) = f21_tax_convergence("2050",regi,entyFe)*0.001/sm_EJ_2_TWa;
);
if(cm_fetaxscen eq 5, s21_tax_time = 2035;
p21_tau_fe_tax(ttot,regi,sector,entyFe)$(f21_tax_convergence("2035",regi,entyFe) AND ttot.val > 2015 AND ttot.val<(s21_tax_time + 1))
=
p21_tau_fe_tax("2005",regi,sector,entyFe)+((f21_tax_convergence("2035",regi,entyFe)*0.001/sm_EJ_2_TWa-p21_tau_fe_tax("2005",regi,sector,entyFe))*((ttot.val-2015)/(s21_tax_time-2015)));
p21_tau_fe_tax(ttot,regi,sector,entyFe)$(f21_tax_convergence("2035",regi,entyFe) AND ttot.val >(s21_tax_time)) = f21_tax_convergence("2050",regi,entyFe)*0.001/sm_EJ_2_TWa;
);

);

***----- SUBSIDIES ----------------------------------
Expand All @@ -72,7 +80,7 @@ if(cm_fetaxscen ne 0,
loop(ttot$(ttot.val ge 2005), p21_tau_fuEx_sub(ttot,regi,entyPe)=p21_tau_fuEx_sub("2005",regi,entyPe));
);
*** CASE 2 and 3 and 4: Global subsidies phase-out by 2030 (SSP1, SDP) and 2050 (SSP2) respectively
if(cm_fetaxscen eq 2 OR cm_fetaxscen eq 3 OR cm_fetaxscen eq 4,
if(cm_fetaxscen eq 2 OR cm_fetaxscen eq 3 OR cm_fetaxscen eq 4 OR cm_fetaxscen eq 5,
p21_tau_fe_sub(ttot,regi,sector,entyFe)$(ttot.val eq 2010 OR ttot.val eq 2015)=p21_tau_fe_sub("2005",regi,sector,entyFe);
p21_tau_pe2se_sub(ttot,regi,te)$(ttot.val eq 2010 OR ttot.val eq 2015)=p21_tau_pe2se_sub("2005",regi,te);
p21_tau_fuEx_sub(ttot,regi,entyPe)$(ttot.val eq 2010 OR ttot.val eq 2015)=p21_tau_fuEx_sub("2005",regi,entyPe);
Expand Down

0 comments on commit 60b14c8

Please sign in to comment.