build_heat_totals: allow subset of countries
This commit is contained in:
parent
02fc334a2e
commit
f74e2f1bb7
@ -16,7 +16,7 @@ idx = pd.IndexSlice
|
||||
|
||||
def approximate_heat_demand(energy_totals, hdd):
|
||||
|
||||
countries = hdd.columns
|
||||
countries = hdd.columns.intersection(energy_totals.index.levels[0])
|
||||
|
||||
demands = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user