Skip to content

Commit 73d4be3

Browse files
Fix DH demand calculation
1 parent 9849a0d commit 73d4be3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/geophires_x/SurfacePlantDistrictHeating.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -365,12 +365,12 @@ def calculate_dh_demand(self, households, census_division, constant_demand, temp
365365
heat_intensity = 1.845
366366
water_intensity = 12.41
367367

368-
demand = np.empty(0) # create an empty np array for daily demand
369-
for day in daily_HDD:
370-
# MWh/day
371-
demand = np.append(demand, households * (heat_intensity * day + water_intensity) / 1000 + constant_demand * 24)
368+
demand = np.empty(0) # create an empty np array for daily demand
369+
for day in daily_HDD:
370+
# MWh/day
371+
demand = np.append(demand, households * (heat_intensity * day + water_intensity) / 1000 + constant_demand * 24)
372372

373-
return demand
373+
return demand
374374

375375
def calc_HDD(self, hourly_temp) -> np.array:
376376
"""

0 commit comments

Comments
 (0)