diff --git a/scripts/build_energy_totals.py b/scripts/build_energy_totals.py index b56d3294..61e845d8 100644 --- a/scripts/build_energy_totals.py +++ b/scripts/build_energy_totals.py @@ -394,14 +394,13 @@ def build_idees(countries): keys=countries, names=["country", "year"], ) - + + # efficiency kgoe/100km -> ktoe/100km + totals.loc[:, "passenger car efficiency"] *= 1e3 # convert ktoe to TWh exclude = totals.columns.str.fullmatch("passenger cars") totals.loc[:, ~exclude] *= 11.63 / 1e3 - # convert TWh/100km to kWh/km - totals.loc[:, "passenger car efficiency"] *= 10 - return totals