[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-12-20 19:27:56 +00:00
parent a292308c53
commit f77f84af6a

View File

@ -1990,9 +1990,12 @@ def add_heat(n, costs):
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)
if 'urban central' in name: sec = 'tot' if "urban central" in name:
if 'residential' in name: sec = 'residential' sec = "tot"
if 'services' in name: sec = 'services' if "residential" in name:
sec = "residential"
if "services" in name:
sec = "services"
# get floor aread at node and region (urban/rural) in m^2 # get floor aread at node and region (urban/rural) in m^2
floor_area_node = ( floor_area_node = (