From 550bda4b440f71ec9f165a0e0e1ad2f74f50d4d7 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Thu, 29 Aug 2024 11:49:37 +0200 Subject: [PATCH] eurostat_co2: fix update to 2023 energy balances --- scripts/build_energy_totals.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build_energy_totals.py b/scripts/build_energy_totals.py index 5aefb26b..fe4b9e70 100644 --- a/scripts/build_energy_totals.py +++ b/scripts/build_energy_totals.py @@ -1065,9 +1065,9 @@ def build_eurostat_co2(eurostat: pd.DataFrame, year: int = 1990) -> pd.Series: specific_emissions = pd.Series(index=eurostat.columns, dtype=float) # emissions in tCO2_equiv per MWh_th - specific_emissions["Solid fuels"] = 0.36 # Approximates coal - specific_emissions["Oil (total)"] = 0.285 # Average of distillate and residue - specific_emissions["Gas"] = 0.2 # For natural gas + specific_emissions["Solid fossil fuels"] = 0.36 # Approximates coal + specific_emissions["Oil and petroleum products"] = 0.285 # Average of distillate and residue + specific_emissions["Natural gas"] = 0.2 # For natural gas return eurostat_year.multiply(specific_emissions).sum(axis=1) @@ -1099,7 +1099,7 @@ def build_co2_totals( co2 = eea_co2.reindex(countries) - for ct in pd.Index(countries).intersection(["BA", "RS", "AL", "ME", "MK"]): + for ct in pd.Index(countries).intersection(["BA", "RS", "AL", "ME", "MK", "UA", "MD"]): mappings = { "electricity": (ct, "+", "Electricity & heat generation", np.nan), "residential non-elec": (ct, "+", "+", "Residential"),