clarify units
This commit is contained in:
parent
435350e07b
commit
4f8cc63461
@ -395,13 +395,12 @@ def build_idees(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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user