UrbanHeatPro.Classes.HotWaterDemand

HotWaterDemand.py A. Molar-Cruz @ TUM ENS

Module Contents

Classes

HotWaterDemand

HotWaterDemand class constructor

class UrbanHeatPro.Classes.HotWaterDemand.HotWaterDemand(dt_vector, resolution, day_vector, seasonal_vector, activity_vector, Tw, daily_DHW, dhw_prob, hw_tank_capacity, hw_tank_limit, hw_tank_volume_t0, hw_flow, result_dir, use, year_class, btype, bid, debug, save_debug)[source]

HotWaterDemand class constructor

Parameters:
  • dt_vector – Vector with datetime objects

  • resolution – Resolution in min

  • day_vector – Vector with day of year in simulation time frame

  • seasonal_vector – Vector with seasonal variation

  • activity_vector – Vector with building activity

  • Tw – Supply temperature of water in degC

  • daily_DHW – Mean daily hot water consumption [m3]

  • dhw_prob – DWH-loads probability

  • hw_tank_capacity – Hot water tank capacity in m3

  • hw_tank_limit – Hot water tank limit in percentage

  • hw_tank_volume_t0 – State of hot water tank in m3

  • hw_flow – Flow to refill hot water tank in L/min

  • result_dir – Result directory

  • use – Use of building

  • year_class – Year class

  • btype – Building type

  • bid – Building id

  • debug – Level of debug

  • save_debug – Whether to save debug files

calculate()[source]

Calculates time series of domestic hot water demand in m3/min and W for the four dhw-load categories (0. Shower, 1. Bath, 2. Medium load and 3. Small load) for the whole simulation time.

calculate_dhw_consumption_in_time_step(time_step, dt_vector_index, day, day_in_year)[source]
Calculates hot water consumption events in every time step for the load categories:

0 shower 1 bath 2 medium load 3 small load

Parameters:
  • object (time_step time step as datetime) –

  • dt_vector (dt_vector_index index of time step in simulation time frame) –

  • day_vector (day number of day in) –

  • year (day_in_year number of day in) –