|
@@ -77,16 +77,11 @@ class ACATAHSupplyAirTemperatureController:
|
|
|
|
|
|
def build(self) -> float:
|
|
|
if not self.is_off_to_on:
|
|
|
- if self.is_thermal_mode_switched:
|
|
|
- if self.thermal_mode == ThermalMode.heating:
|
|
|
- temperature = self.return_air + 1
|
|
|
- else:
|
|
|
- temperature = self.return_air - 1
|
|
|
- else:
|
|
|
- cold_ratio = self.get_cold_ratio()
|
|
|
- temperature = self.calculate_by_cold_vav(cold_ratio)
|
|
|
+ cold_ratio = self.get_cold_ratio()
|
|
|
+ logger.debug(cold_ratio)
|
|
|
+ temperature = self.calculate_by_cold_vav(cold_ratio)
|
|
|
else:
|
|
|
- temperature = 30.0
|
|
|
+ temperature = 25.0
|
|
|
|
|
|
temperature = max(20.0, min(30.0, temperature))
|
|
|
|