Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions main.gms
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,11 @@ parameter
*' * (7): [requires 45_carbonprice = functionalForm and emiscen = 9] iterative adjustment of CO2 tax based on economy-wide CO2 cumulative emission peak budget, for runs with emission budget or CO2 tax constraints. Features: results in a peak budget with zero net CO2 emissions after peak budget is reached. See core/postsolve.gms for direct algorithms [see 45_carbonprice/functionalForm/postsolve.gms for direct algorithm]
*' * (9): [requires 45_carbonprice = functionalForm and emiscen = 9] global: iterative adjustment of CO2 tax based on economy-wide CO2 cumulative emission peak budget, for runs with emission budget or CO2 tax constraints. Features: 1) after the year when budget peaks, CO2 tax has an annual increase by cm_taxCO2_IncAfterPeakBudgYr, 2) automatically shifts cm_peakBudgYr to find the correct year of budget peaking for a given budget. [see 45_carbonprice/functionalForm/postsolve.gms for direct algorithm]
parameter
cm_taxCO2_Shape "Only used with [functionalFormRegi], determines whether the carbon price increases until 2100 or is constant as of the exogenously set cm_peakYear"
cm_taxCO2_Shape "Only used with [functionalFormRegi, and functionalForm if cm_iterative_target_adj=5 (i.e. EOC budget)], determines whether the carbon price increases until 2100 or is constant as of the exogenously set cm_peakYear"
;
cm_taxCO2_Shape = 1; !! def = 1 !! regexp = 1|2
*' * (1): EOC - pm_taxCO2eq increases until 2100 according to cm_taxCO2_functionalForm for regional budget targets
*' * (2): Peak - pm_taxCO2eq increases until an exogenously set "peak year" (via cm_peakBudgYear). Note: this does not necessarily correspond to the year in which the budget actually peaks.
*' * (1): EOC - pm_taxCO2eq increases until 2100 according to cm_taxCO2_functionalForm for EOC budget targets
*' * (2): Peak - pm_taxCO2eq increases until an exogenously set "peak year" (via cm_peakBudgYear). Note: this does not necessarily correspond to the year in which the global or regional budget actually peaks.
*'
parameter
cm_CPslopeAdjustment "Only used with [functionalFormRegi], determines whether the entire path is shifted up and down or the slope of is adjusted endogenously"
Expand Down
2 changes: 1 addition & 1 deletion modules/45_carbonprice/functionalForm/datainput.gms
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ $endIf.taxCO2globalAnchor
p45_taxCO2eq_anchor_until2150(ttot) = p45_taxCO2eq_anchor(ttot);

*** Adjust global anchor trajectory so that after cm_peakBudgYr, it increases linearly with fixed annual increase given by cm_taxCO2_IncAfterPeakBudgYr
if((cm_iterative_target_adj = 0) or (cm_iterative_target_adj = 9),
if((cm_iterative_target_adj = 0) or (cm_iterative_target_adj = 9) or ((cm_iterative_target_adj eq 5) AND (cm_taxCO2_Shape eq 2)),
p45_taxCO2eq_anchor(t)$(t.val gt cm_peakBudgYr) = sum(t2$(t2.val eq cm_peakBudgYr), p45_taxCO2eq_anchor_until2150(t2)) !! CO2 tax in peak budget year
+ (t.val - cm_peakBudgYr) * cm_taxCO2_IncAfterPeakBudgYr * sm_DptCO2_2_TDpGtC; !! increase by cm_taxCO2inc_after_peakBudgYr per year
);
Expand Down
1 change: 0 additions & 1 deletion modules/45_carbonprice/functionalForm/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pm_macSwitch,input,not needed because default MAC curve settings are used
pm_NDCEmiTargetDeviation,input,not used
pm_actualbudgetco2Regi,input,added by codeCheck
pm_dt,input,added by codeCheck
cm_taxCO2_Shape,input,added by codeCheck
cm_CPslopeAdjustment,input,added by codeCheck
cm_useInputGdxForCarbonPrice,input,added by codeCheck
pm_factorRescale_taxCO2Regi_Funneled2,input,added by codeCheck
Expand Down
2 changes: 1 addition & 1 deletion modules/45_carbonprice/functionalForm/postsolve.gms
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ $endIf.taxCO2functionalForm4
!! Use rescaled p45_taxCO2eq_anchor_until2150 as starting point for re-defining p45_taxCO2eq_anchor
p45_taxCO2eq_anchor(ttot)$(ttot.val ge 2005) = p45_taxCO2eq_anchor_until2150(ttot);

if(cm_iterative_target_adj = 9, !! After cm_peakBudgYr, the global anchor trajectory increases linearly with fixed annual increase given by cm_taxCO2_IncAfterPeakBudgYr
if(cm_iterative_target_adj = 9 OR ((cm_iterative_target_adj eq 5) AND (cm_taxCO2_Shape eq 2)), !! After cm_peakBudgYr, the global anchor trajectory increases linearly with fixed annual increase given by cm_taxCO2_IncAfterPeakBudgYr
p45_taxCO2eq_anchor(t)$(t.val gt cm_peakBudgYr) = sum(t2$(t2.val eq cm_peakBudgYr), p45_taxCO2eq_anchor_until2150(t2)) !! CO2 tax in peak budget year
+ (t.val - cm_peakBudgYr) * cm_taxCO2_IncAfterPeakBudgYr * sm_DptCO2_2_TDpGtC; !! increase by cm_taxCO2inc_after_peakBudgYr per year
);
Expand Down
Loading