Skip to content

Commit

Permalink
add LULUCF national accounting variable for Emi|GHG|AFOLU
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Schreyer authored and Felix Schreyer committed Sep 26, 2024
1 parent 47719e0 commit 3485bf7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/reportEmi.R
Original file line number Diff line number Diff line change
Expand Up @@ -2520,7 +2520,8 @@ reportEmi <- function(gdx, output = NULL, regionSubsetList = NULL,
as.numeric(out["DEU", "y2015", "Emi|CO2|Energy|Supply|++|Electricity and Heat (Mt CO2/yr)"])
}

# emissions national LULUCF accounting (including carbon sink from existing forests calculated by difference between historic Magpie and UNFCCC data)
# emissions national LULUCF accounting
# (including carbon sink from existing forests calculated by difference between historic Magpie and UNFCCC data)

p47_LULUCFEmi_GrassiShift <- readGDX(gdx, "p47_LULUCFEmi_GrassiShift", restore_zeros = T, react = "silent")[getRegions(out), getYears(out),]

Expand All @@ -2535,7 +2536,8 @@ reportEmi <- function(gdx, output = NULL, regionSubsetList = NULL,
"Emi|CO2|CDR|Land-Use Change (Mt CO2/yr)",
"Emi|CO2|CDR (Mt CO2/yr)",
"Emi|GHG|Outside ETS and ESR|+|Land-Use Change (Mt CO2eq/yr)",
"Emi|GHG|++|Outside ETS and ESR (Mt CO2eq/yr)")
"Emi|GHG|++|Outside ETS and ESR (Mt CO2eq/yr)",
"Emi|GHG|AFOLU (Mt CO2eq/yr)")

out.lulucf <- out[,,vars.lulucf]
# subtract shift of LULUCF emissions to be in line with national accounting
Expand Down

0 comments on commit 3485bf7

Please sign in to comment.