From 0893eb8fd82c5fc8ad09b2b6fa2da90a2ae8f007 Mon Sep 17 00:00:00 2001 From: lute362 Date: Thu, 3 Sep 2015 14:56:00 -0700 Subject: [PATCH] Remove redundant publish of timestamp. --- .../economizer/economizer_rcx.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/applications/pnnl/EconomizerRCxAgent/economizer/economizer_rcx.py b/applications/pnnl/EconomizerRCxAgent/economizer/economizer_rcx.py index d3896e3b26..ccaa5247ec 100644 --- a/applications/pnnl/EconomizerRCxAgent/economizer/economizer_rcx.py +++ b/applications/pnnl/EconomizerRCxAgent/economizer/economizer_rcx.py @@ -66,7 +66,6 @@ EI = '/energy impact' DATA = '/data/' -TS = 'Timestamp' RAT = 'ReturnAirTemperature' MAT = 'MixedAirTemperature' OAT = 'OutsideAirTemperature' @@ -420,7 +419,6 @@ def econ_alg1(self, dx_result, oatemp, {ECON1 + DX: 3.2}) dx_result = self.clear_data(dx_result) data = { - ECON1 + DATA + TS: cur_time, ECON1 + DATA + RAT: ratemp, ECON1 + DATA + MAT: matemp, ECON1 + DATA + OAT: oatemp, @@ -431,7 +429,6 @@ def econ_alg1(self, dx_result, oatemp, return dx_result dx_result = self.temperature_sensor_dx(dx_result, cur_time) data = { - ECON1 + DATA + TS: cur_time, ECON1 + DATA + RAT: ratemp, ECON1 + DATA + MAT: matemp, ECON1 + DATA + OAT: oatemp, @@ -440,7 +437,6 @@ def econ_alg1(self, dx_result, oatemp, } else: data = { - ECON1 + DATA + TS: cur_time, ECON1 + DATA + RAT: ratemp, ECON1 + DATA + MAT: matemp, ECON1 + DATA + OAT: oatemp, @@ -649,7 +645,6 @@ def econ_alg2(self, dx_result, cooling_call, oatemp, ratemp, {ECON2 + DX: 13.2}) dx_result = self.clear_data(dx_result) data = { - ECON2 + DATA + TS: cur_time, ECON2 + DATA + RAT: ratemp, ECON2 + DATA + MAT: matemp, ECON2 + DATA + OAT: oatemp, @@ -664,7 +659,6 @@ def econ_alg2(self, dx_result, cooling_call, oatemp, ratemp, dx_result = \ self.not_economizing_when_needed(dx_result, cur_time) data = { - ECON2 + DATA + TS: cur_time, ECON2 + DATA + RAT: ratemp, ECON2 + DATA + MAT: matemp, ECON2 + DATA + OAT: oatemp, @@ -676,7 +670,6 @@ def econ_alg2(self, dx_result, cooling_call, oatemp, ratemp, } else: data = { - ECON2 + DATA + TS: cur_time, ECON2 + DATA + RAT: ratemp, ECON2 + DATA + MAT: matemp, ECON2 + DATA + OAT: oatemp, @@ -820,7 +813,6 @@ def econ_alg3(self, dx_result, oatemp, ratemp, matemp, {ECON3 + DX: 23.2}) dx_result = self.clear_data(dx_result) data = { - ECON3 + DATA + TS: cur_time, ECON3 + DATA + RAT: ratemp, ECON3 + DATA + MAT: matemp, ECON3 + DATA + OAT: oatemp, @@ -834,7 +826,6 @@ def econ_alg3(self, dx_result, oatemp, ratemp, matemp, return dx_result dx_result = self.economizing_when_not_needed(dx_result, cur_time) data = { - ECON3 + DATA + TS: cur_time, ECON3 + DATA + RAT: ratemp, ECON3 + DATA + MAT: matemp, ECON3 + DATA + OAT: oatemp, @@ -846,7 +837,6 @@ def econ_alg3(self, dx_result, oatemp, ratemp, matemp, } else: data = { - ECON3 + DATA + TS: cur_time, ECON3 + DATA + RAT: ratemp, ECON3 + DATA + MAT: matemp, ECON3 + DATA + OAT: oatemp, @@ -977,7 +967,6 @@ def econ_alg4(self, dx_result, oatemp, ratemp, matemp, {ECON4 + DX: 35.2}) dx_result = self.clear_data(dx_result) data = { - ECON4 + DATA + TS: cur_time, ECON4 + DATA + RAT: ratemp, ECON4 + DATA + MAT: matemp, ECON4 + DATA + OAT: oatemp, @@ -991,7 +980,6 @@ def econ_alg4(self, dx_result, oatemp, ratemp, matemp, return dx_result dx_result = self.excess_oa(dx_result, cur_time) data = { - ECON4 + DATA + TS: cur_time, ECON4 + DATA + RAT: ratemp, ECON4 + DATA + MAT: matemp, ECON4 + DATA + OAT: oatemp, @@ -1003,7 +991,6 @@ def econ_alg4(self, dx_result, oatemp, ratemp, matemp, } else: data = { - ECON4 + DATA + TS: cur_time, ECON4 + DATA + RAT: ratemp, ECON4 + DATA + MAT: matemp, ECON4 + DATA + OAT: oatemp, @@ -1167,7 +1154,6 @@ def econ_alg5(self, dx_result, oatemp, ratemp, matemp, damper_signal, {ECON5 + DX: 44.2}) dx_result = self.clear_data(dx_result) data = { - ECON5 + DATA + TS: cur_time, ECON5 + DATA + RAT: ratemp, ECON5 + DATA + MAT: matemp, ECON5 + DATA + OAT: oatemp, @@ -1181,7 +1167,6 @@ def econ_alg5(self, dx_result, oatemp, ratemp, matemp, damper_signal, dx_result = self.insufficient_oa( dx_result, cur_time) data = { - ECON5 + DATA + TS: cur_time, ECON5 + DATA + RAT: ratemp, ECON5 + DATA + MAT: matemp, ECON5 + DATA + OAT: oatemp, @@ -1192,7 +1177,6 @@ def econ_alg5(self, dx_result, oatemp, ratemp, matemp, damper_signal, } else: data = { - ECON5 + DATA + TS: cur_time, ECON5 + DATA + RAT: ratemp, ECON5 + DATA + MAT: matemp, ECON5 + DATA + OAT: oatemp,