|
@@ -1,6 +1,5 @@
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
-from operator import attrgetter
|
|
|
from typing import Dict, List, Optional, Tuple
|
|
|
|
|
|
import numpy as np
|
|
@@ -145,7 +144,8 @@ class VAVControllerV2(VAVController):
|
|
|
for sp in self.equipment.spaces:
|
|
|
if (sp.realtime_temperature > max(27.0, sp.temperature_target) or
|
|
|
sp.realtime_temperature < min(21.0, sp.temperature_target)):
|
|
|
- bad_spaces.append(sp)
|
|
|
+ if sp.temperature_target > 0.0:
|
|
|
+ bad_spaces.append(sp)
|
|
|
|
|
|
if bad_spaces:
|
|
|
virtual_diff = self.equipment.virtual_target_temperature - self.equipment.virtual_realtime_temperature
|