now schedules are re-calculated on change
This commit is contained in:
parent
2799de760d
commit
3bf674d107
|
@ -244,7 +244,7 @@ class ThermalZone:
|
||||||
return None
|
return None
|
||||||
self._usage = ''
|
self._usage = ''
|
||||||
for usage_zone in self._parent_internal_zone.usage_zones:
|
for usage_zone in self._parent_internal_zone.usage_zones:
|
||||||
self._usage += str(round(usage_zone.percentage) * 100) + '-' + usage_zone.usage + '_'
|
self._usage += str(round(usage_zone.percentage*100)) + '-' + usage_zone.usage + '_'
|
||||||
self._usage = self._usage[:-1]
|
self._usage = self._usage[:-1]
|
||||||
return self._usage
|
return self._usage
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ class ThermalZone:
|
||||||
"""
|
"""
|
||||||
if self.usage_zones is None:
|
if self.usage_zones is None:
|
||||||
return None
|
return None
|
||||||
if self._occupancy is None:
|
|
||||||
self._occupancy = Occupancy()
|
self._occupancy = Occupancy()
|
||||||
_occupancy_density = 0
|
_occupancy_density = 0
|
||||||
_convective_part = 0
|
_convective_part = 0
|
||||||
|
@ -351,7 +351,7 @@ class ThermalZone:
|
||||||
"""
|
"""
|
||||||
if self.usage_zones is None:
|
if self.usage_zones is None:
|
||||||
return None
|
return None
|
||||||
if self._lighting is None:
|
|
||||||
self._lighting = Lighting()
|
self._lighting = Lighting()
|
||||||
_lighting_density = 0
|
_lighting_density = 0
|
||||||
_convective_part = 0
|
_convective_part = 0
|
||||||
|
@ -402,7 +402,7 @@ class ThermalZone:
|
||||||
"""
|
"""
|
||||||
if self.usage_zones is None:
|
if self.usage_zones is None:
|
||||||
return None
|
return None
|
||||||
if self._appliances is None:
|
|
||||||
self._appliances = Appliances()
|
self._appliances = Appliances()
|
||||||
_appliances_density = 0
|
_appliances_density = 0
|
||||||
_convective_part = 0
|
_convective_part = 0
|
||||||
|
@ -453,7 +453,7 @@ class ThermalZone:
|
||||||
"""
|
"""
|
||||||
if self.usage_zones is None:
|
if self.usage_zones is None:
|
||||||
return None
|
return None
|
||||||
if self._internal_gains is None:
|
|
||||||
_internal_gain = InternalGain()
|
_internal_gain = InternalGain()
|
||||||
_days = [cte.MONDAY, cte.TUESDAY, cte.WEDNESDAY, cte.THURSDAY, cte.FRIDAY, cte.SATURDAY, cte.SUNDAY, cte.HOLIDAY]
|
_days = [cte.MONDAY, cte.TUESDAY, cte.WEDNESDAY, cte.THURSDAY, cte.FRIDAY, cte.SATURDAY, cte.SUNDAY, cte.HOLIDAY]
|
||||||
_average_internal_gain = 0
|
_average_internal_gain = 0
|
||||||
|
@ -511,7 +511,7 @@ class ThermalZone:
|
||||||
"""
|
"""
|
||||||
if self.usage_zones is None:
|
if self.usage_zones is None:
|
||||||
return None
|
return None
|
||||||
if self._thermal_control is None:
|
|
||||||
self._thermal_control = ThermalControl()
|
self._thermal_control = ThermalControl()
|
||||||
_mean_heating_set_point = 0
|
_mean_heating_set_point = 0
|
||||||
_heating_set_back = 0
|
_heating_set_back = 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user