[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
79f443ecbd
commit
20b847c627
@ -1991,7 +1991,7 @@ def add_heat(n, costs):
|
|||||||
elif "urban decentral" in name:
|
elif "urban decentral" in name:
|
||||||
f = urban_fraction[node] - dist_fraction[node]
|
f = urban_fraction[node] - dist_fraction[node]
|
||||||
else:
|
else:
|
||||||
f = 1 - urban_fraction[node]
|
f = 1 - urban_fraction[node]
|
||||||
if f == 0:
|
if f == 0:
|
||||||
continue
|
continue
|
||||||
# get sector name ("residential"/"services"/or both "tot" for urban central)
|
# get sector name ("residential"/"services"/or both "tot" for urban central)
|
||||||
|
Loading…
Reference in New Issue
Block a user