ladybug_comfort.degreetime module

Utility functions for calculating Heating and Cooling Degree-Time.

ladybug_comfort.degreetime.cooling_degree_time(t, t_base=23)[source]

Calculate cooling degree time at a single time interval.

Parameters
  • t – The temperature at a given time interval.

  • t_base – The base temperature above which a given time is considered to be in cooling mode. This should be in the same units as the input temperature. Default is 23 Celsius, which is a common balance point for buildings.

ladybug_comfort.degreetime.heating_degree_time(t, t_base=18)[source]

Calculate heating degree time at a single time interval.

Parameters
  • t – The temperature at a given time interval.

  • t_base – The base temperature below which a given time is considered to be in heating mode. This should be in the same units as the input temperature. Default is 18 Celsius, which is a common balance point for buildings.