Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define vm_emiAll as sum over vm_emiAllMkt and ... #1928

Merged
merged 1 commit into from
Dec 13, 2024
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
13 changes: 4 additions & 9 deletions core/equations.gms
Original file line number Diff line number Diff line change
Expand Up @@ -754,19 +754,14 @@ q_emiCdrAll(t,regi)..


***------------------------------------------------------
*' Total regional emissions are the sum of emissions from technologies, MAC-curves, CDR-technologies and emissions that are exogenously given for REMIND.
*' Total regional emissions are computed as the sum of total emissions over all emission markets.
***------------------------------------------------------
*LB* calculate total emissions for each region at each time step
q_emiAll(t,regi,emi(enty))..
vm_emiAll(t,regi,enty)
q_emiAll(t,regi,emi)..
vm_emiAll(t,regi,emi)
=e=
vm_emiTe(t,regi,enty)
+ vm_emiMac(t,regi,enty)
+ vm_emiCdr(t,regi,enty)
+ pm_emiExog(t,regi,enty)
sum(emiMkt, vm_emiAllMkt(t,regi,emi,emiMkt))
;


***------------------------------------------------------
*' Total regional emissions in CO2 equivalents that are part of the climate policy are computed based on regional GHG
*' emissions from different sectors(energy system, non-energy system, exogenous, CDR technologies).
Expand Down
3 changes: 0 additions & 3 deletions modules/45_carbonprice/NDC/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ pm_gdp,input,questionnaire
cm_peakBudgYr,input,added by codeCheck
fm_taxCO2eqHist,input,not needed
sm_budgetCO2eqGlob,input,no iterative target adjustment
vm_emiTe,input,no iterative target adjustment
vm_emiCdr,input,no iterative target adjustment
vm_emiMac,input,no iterative target adjustment
vm_emiAll,input,no iterative target adjustment
pm_budgetCO2eq,input,no iterative target adjustment
pm_ts,input,no iterative target adjustment
Expand Down
3 changes: 0 additions & 3 deletions modules/45_carbonprice/NPi/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ cm_startyear,input,added by codeCheck
cm_peakBudgYr,input,added by codeCheck
fm_taxCO2eqHist,input,not needed
sm_budgetCO2eqGlob,input,no iterative target adjustment
vm_emiTe,input,no iterative target adjustment
vm_emiCdr,input,no iterative target adjustment
vm_emiMac,input,no iterative target adjustment
vm_emiAll,input,no iterative target adjustment
pm_budgetCO2eq,input,no iterative target adjustment
pm_ts,input,no iterative target adjustment
Expand Down
3 changes: 0 additions & 3 deletions modules/45_carbonprice/NPi2025/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ pm_emifac,input,questionnaire
cm_peakBudgYr,input,not needed
sm_D2005_2_D2017,input,not needed
sm_budgetCO2eqGlob,input,added by codeCheck
vm_emiTe,input,added by codeCheck
vm_emiCdr,input,added by codeCheck
vm_emiMac,input,added by codeCheck
vm_emiAll,input,added by codeCheck
pm_taxCO2eq_anchor_iterationdiff,input,added by codeCheck
pm_taxCO2eq_anchor_iterationdiff_tmp,input,added by codeCheck
Expand Down
3 changes: 0 additions & 3 deletions modules/45_carbonprice/NPi2025expo/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ pm_emifac,input,questionnaire
cm_peakBudgYr,input,not needed
sm_D2005_2_D2017,input,not needed
sm_budgetCO2eqGlob,input,no iterative target adjustment
vm_emiTe,input,no iterative target adjustment
vm_emiCdr,input,no iterative target adjustment
vm_emiMac,input,no iterative target adjustment
vm_emiAll,input,no iterative target adjustment
pm_budgetCO2eq,input,no iterative target adjustment
pm_ts,input,no iterative target adjustment
Expand Down
3 changes: 0 additions & 3 deletions modules/45_carbonprice/NPiexpo/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ cm_peakBudgYr,input,added by codeCheck
fm_taxCO2eqHist,input,not needed
sm_D2005_2_D2017,input,not needed
sm_budgetCO2eqGlob,input,no iterative target adjustment
vm_emiTe,input,no iterative target adjustment
vm_emiCdr,input,no iterative target adjustment
vm_emiMac,input,no iterative target adjustment
vm_emiAll,input,no iterative target adjustment
pm_budgetCO2eq,input,no iterative target adjustment
pm_ts,input,no iterative target adjustment
Expand Down
3 changes: 0 additions & 3 deletions modules/45_carbonprice/exogenous/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ cm_peakBudgYr,input,added by codeCheck
sm_D2005_2_D2017,input,not needed
fm_taxCO2eqHist,input,not needed
sm_budgetCO2eqGlob,input,no iterative target adjustment
vm_emiTe,input,no iterative target adjustment
vm_emiCdr,input,no iterative target adjustment
vm_emiMac,input,no iterative target adjustment
vm_emiAll,input,no iterative target adjustment
pm_budgetCO2eq,input,no iterative target adjustment
pm_ts,input,no iterative target adjustment
Expand Down
3 changes: 0 additions & 3 deletions modules/45_carbonprice/expoLinear/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ cm_peakBudgYr,input,added by codeCheck
sm_D2005_2_D2017,input,not needed
fm_taxCO2eqHist,input,not needed
sm_budgetCO2eqGlob,input,no iterative target adjustment
vm_emiTe,input,no iterative target adjustment
vm_emiCdr,input,no iterative target adjustment
vm_emiMac,input,no iterative target adjustment
vm_emiAll,input,no iterative target adjustment
pm_budgetCO2eq,input,no iterative target adjustment
pm_ts,input,no iterative target adjustment
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 @@ -13,7 +13,7 @@
*** `p45_actualbudgetco2(ttot)` includes emissions from 2020 to `ttot` (inclusive).
p45_actualbudgetco2(ttot)$( 2020 lt ttot.val )
= sum((regi,ttot2)$( 2020 le ttot2.val AND ttot2.val le ttot.val ),
( vm_emiTe.l(ttot2,regi,"co2") + vm_emiCdr.l(ttot2,regi,"co2") + vm_emiMac.l(ttot2,regi,"co2"))
vm_emiAll.l(ttot2,regi,"co2")
* ( (0.5 + pm_ts(ttot2) / 2)$( ttot2.val eq 2020 ) !! second half of the 2020 period (mid 2020 - end 2022) plus 0.5 to account fo beginning 2020 - mid 2020
+ (pm_ts(ttot2))$( 2020 lt ttot2.val AND ttot2.val lt ttot.val ) !! entire middle periods
+ ((pm_ttot_val(ttot) - pm_ttot_val(ttot-1)) / 2 + 0.5)$(ttot2.val eq ttot.val ) !! first half of the final period plus 0.5 to account fo mid - end of final year
Expand Down
3 changes: 0 additions & 3 deletions modules/45_carbonprice/none/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ cm_peakBudgYr,input,added by codeCheck
sm_D2005_2_D2017,input,not needed
fm_taxCO2eqHist,input,not needed
sm_budgetCO2eqGlob,input,no iterative target adjustment
vm_emiTe,input,no iterative target adjustment
vm_emiCdr,input,no iterative target adjustment
vm_emiMac,input,no iterative target adjustment
vm_emiAll,input,no iterative target adjustment
pm_budgetCO2eq,input,no iterative target adjustment
pm_ts,input,no iterative target adjustment
Expand Down
3 changes: 0 additions & 3 deletions modules/45_carbonprice/temperatureNotToExceed/not_used.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ cm_peakBudgYr,input,added by codeCheck
sm_D2005_2_D2017,input,not needed
fm_taxCO2eqHist,input,not needed
sm_budgetCO2eqGlob,input,no iterative target adjustment
vm_emiTe,input,no iterative target adjustment
vm_emiCdr,input,no iterative target adjustment
vm_emiMac,input,no iterative target adjustment
vm_emiAll,input,no iterative target adjustment
pm_budgetCO2eq,input,no iterative target adjustment
pm_ts,input,no iterative target adjustment
Expand Down