Skip to content

Commit

Permalink
Merge pull request #1411 from fschreyer/QuickFixes
Browse files Browse the repository at this point in the history
accounting of emissions of natural gas vehicles in transport
  • Loading branch information
fschreyer authored Oct 9, 2023
2 parents beec8b4 + b133eea commit 4214e8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- **scripts** `./start.R --gamscompile` now adjust sets and gets input data
- **core** MAgPIE coupling: tolerate negative values for `n2ofertsom` and deactivate its MAC
- **05_initialCap** fix overwriting of investment cost changes from cm_inco0Factor switch
- **core** fix bug that emissions from gas use in transport were not accounted

### added
- **45_carbonprice** added realization `NPi` (National Policies Implemented)
Expand Down
1 change: 1 addition & 0 deletions core/datainput.gms
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,7 @@ pm_emifac(ttot,regi,"sesofos","fesos","tdfossos","co2") = p_ef_dem(regi,"fesos")
pm_emifac(ttot,regi,"seliqfos","fehos","tdfoshos","co2") = p_ef_dem(regi,"fehos") / (sm_c_2_co2*1000*sm_EJ_2_TWa); !! GtC/TWa
pm_emifac(ttot,regi,"seliqfos","fepet","tdfospet","co2") = p_ef_dem(regi,"fepet") / (sm_c_2_co2*1000*sm_EJ_2_TWa); !! GtC/TWa
pm_emifac(ttot,regi,"seliqfos","fedie","tdfosdie","co2") = p_ef_dem(regi,"fedie") / (sm_c_2_co2*1000*sm_EJ_2_TWa); !! GtC/TWa
pm_emifac(ttot,regi,"segafos","fegat","tdfosgat","co2") = p_ef_dem(regi,"fegas") / (sm_c_2_co2*1000*sm_EJ_2_TWa); !! GtC/TWa

*** some balances are not matching by small amounts;
*** the differences are cancelled out here!!!
Expand Down
1 change: 1 addition & 0 deletions core/sets.gms
Original file line number Diff line number Diff line change
Expand Up @@ -2644,6 +2644,7 @@ emi2te(all_enty,all_enty,all_te,all_enty) " map emissions to technologies"
sesofos.fesos.tdfossos.co2
seliqfos.fepet.tdfospet.co2
seliqfos.fedie.tdfosdie.co2
segafos.fegat.tdfosgat.co2
/

emi2fuel(all_enty,all_enty) "map emissions to fuel extraction"
Expand Down

0 comments on commit 4214e8c

Please sign in to comment.