Browse Source

fix an error

highing666 3 years ago
parent
commit
d2b7f22b39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controllers/equipment/fcu/early_start.py

+ 1 - 1
app/controllers/equipment/fcu/early_start.py

@@ -27,7 +27,7 @@ class EarlyStartTimeDTRBuilder:
             return 0
 
         try:
-            pre = model.predict([[outdoor_temp, indoor_temp]])
+            pre = model.predict([[indoor_temp, outdoor_temp]])
             pre_time = pre[0]
         except (ValueError, IndexError):
             pre_time = 0