eurostat_co2: fix update to 2023 energy balances
This commit is contained in:
parent
9c0ab3e0c0
commit
550bda4b44
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user