File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed
teaser/logic/buildingobjects Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -580,13 +580,7 @@ def with_ideal_thresholds(self):
580580
581581 @with_ideal_thresholds .setter
582582 def with_ideal_thresholds (self , value ):
583- if self .with_ahu is False and value is True :
584- raise ValueError (
585- "Threshold for ideal heaters should only be used"
586- " when AHU is used in this zone"
587- )
588- else :
589- self ._with_ideal_thresholds = value
583+ self ._with_ideal_thresholds = value
590584
591585 @property
592586 def heating_profile (self ):
Original file line number Diff line number Diff line change @@ -133,21 +133,6 @@ def test_ahu_profiles(self):
133133 == heating_profile_week
134134 )
135135
136- def test_ahu_threshold_true (self ):
137- prj .set_default ()
138- helptest .building_test2 (prj )
139- use_cond = prj .buildings [- 1 ].thermal_zones [- 1 ].use_conditions
140- use_cond .with_ahu = True
141- use_cond .with_ideal_thresholds = True
142-
143- def test_ahu_threshold_false (self ):
144- prj .set_default ()
145- helptest .building_test2 (prj )
146- use_cond = prj .buildings [- 1 ].thermal_zones [- 1 ].use_conditions
147- use_cond .with_ahu = False
148- with pytest .raises (Exception ):
149- use_cond .with_ideal_thresholds = True
150-
151136 def test_profile_adjust_opening_times (self ):
152137 prj .set_default ()
153138 helptest .building_test2 (prj )
You can’t perform that action at this time.
0 commit comments