First time here? Check out the Help page!
1 | initial version |
You can't have an EMS line that starts with AND
. The EMS program should be:
EnergyManagementSystem:Program,
CO2_Sensor09,
IF (EMS_CO2_Sensor07 > 800) && (Temperature_Sensor07 > 26),
SET OpenFactor09 = 1.0,
ELSE,
SET OpenFactor09 = 0.0,
ENDIF;
Or another way to write it would be:
EnergyManagementSystem:Program,
CO2_Sensor09,
SET OpenFactor09 = 0.0
IF EMS_CO2_Sensor07 > 800,
IF Temperature_Sensor07 > 26,
SET OpenFactor09 = 1.0,
ENDIF,
ENDIF;