Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilder so maybe I can do this through an EMS file

This is my current code in EMS foe control but it has no effect on simulations Schedule:Constant,Cycle,On/OFF,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager Packaged Rooftop Air Conditioner Availability Manager, Cycle; EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 ,Zone Thermostat Heating Setpoint Temperature; EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value; EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision; EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AptTemp > (hSP), SET AvailSCH_Overwrite = 0, ELSEIF AvailSCH_Overwrite == 0 && AptTemp >= (hSP) && AptTemp <= (hSP + Toffset), SET AvailSCH_Overwrite = 0, ELSE, SET AvailSCH_Overwrite = 1, ENDIF;

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilder so maybe I can do this through an EMS file

This is my current code in EMS foe control but it has no effect on simulations Schedule:Constant,Cycle,On/OFF,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager Packaged Rooftop Air Conditioner Availability Manager, Cycle; EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 ,Zone Thermostat Heating Setpoint Temperature; EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value; EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision; EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AptTemp > (hSP), SET AvailSCH_Overwrite = 0, ELSEIF AvailSCH_Overwrite == 0 && AptTemp >= (hSP) && AptTemp <= (hSP + Toffset), SET AvailSCH_Overwrite = 0, ELSE, SET AvailSCH_Overwrite = 1, ENDIF;

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilder so maybe I can do this through an EMS file

This is my current code in EMS foe control but it has no effect on simulations Schedule:Constant,Cycle,On/OFF,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager Packaged Rooftop Air Conditioner Availability Manager, Cycle; EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 ,Zone Thermostat Heating Setpoint Temperature; EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value; EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision; EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AptTemp > (hSP), SET AvailSCH_Overwrite = 0, ELSEIF AvailSCH_Overwrite == 0 && AptTemp >= (hSP) && AptTemp <= (hSP + Toffset), SET AvailSCH_Overwrite = 0, ELSE, SET AvailSCH_Overwrite = 1, ENDIF;

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilder so maybe I can do this through an EMS file

This is my current code in EMS foe control but it has no effect on simulations Schedule:Constant,Cycle,On/OFF,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager Packaged Rooftop Air Conditioner Availability Manager, Cycle; EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 ,Zone Thermostat Heating Setpoint Temperature; EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value; EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision; EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AptTemp > (hSP), SET AvailSCH_Overwrite = 0, ELSEIF AvailSCH_Overwrite == 0 && AptTemp >= (hSP) && AptTemp <= (hSP + Toffset), SET AvailSCH_Overwrite = 0, ELSE, SET AvailSCH_Overwrite = 1, ENDIF;

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilder so maybe I can do this through an EMS filedesignbuilder

This is my current code in EMS foe control but it has no effect on simulations simulations

Schedule:Constant,Cycle,On/OFF,1; ! New schedule object

object

AvailabilityManager:Scheduled, ! Updated Availability Manager Packaged Rooftop Air Conditioner Availability Manager, Cycle; EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 ,Zone Thermostat Heating Setpoint Temperature; EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value; EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision; EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AptTemp > (hSP), SET AvailSCH_Overwrite = 0, ELSEIF AvailSCH_Overwrite == 0 && AptTemp >= (hSP) && AptTemp <= (hSP + Toffset), SET AvailSCH_Overwrite = 0, ELSE, SET AvailSCH_Overwrite = 1, ENDIF;

ENDIF;

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilderdesignbuilder so maybe I can do this through an EMS file

This is my current code in EMS foe control but it has no effect on simulations

Schedule:Constant,Cycle,On/OFF,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager
  Packaged Rooftop Air Conditioner Availability Manager, 
Cycle;
EnergyManagementSystem:Sensor,AptTemp,
  BLOCK1:ZONE1 ,
  Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP,
  BLOCK1:ZONE1 ,Zone Thermostat Heating Setpoint Temperature;
EnergyManagementSystem:Actuator,AvailSCH_Overwrite,
 Cycle,
  Schedule:Constant,
  Schedule Value;
EnergyManagementSystem:ProgramCallingManager,Supervision,
  BeginTimestepBeforePredictor,
  HVAC_uncontolledloop_Supervision;
EnergyManagementSystem:Program,
  HVAC_uncontolledloop_Supervision,
  SET Toffset = 4.00,
  IF AptTemp > (hSP),
  SET AvailSCH_Overwrite = 0,
  ELSEIF AvailSCH_Overwrite == 0 && AptTemp >= (hSP) && AptTemp <= (hSP + Toffset),
  SET AvailSCH_Overwrite = 0,
  ELSE,
  SET AvailSCH_Overwrite = 1,
  ENDIF;

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilder so maybe I can do this through an EMS filedesignbuilder

This is my current code in EMS foe control but it has no effect on simulations

Schedule:Constant,Cycle,On/OFF,1; Schedule:Constant,
  Cycle,
  On/OFF,
  1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager
  Packaged Rooftop Air Conditioner Availability Manager, 
 Cycle;
EnergyManagementSystem:Sensor,AptTemp,

EnergyManagementSystem:Sensor,
  AptTemp,
  BLOCK1:ZONE1 ,
  Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP,
EnergyManagementSystem:Sensor,
 BLOCK1:ZONE1 ,Zone hSP,
  BLOCK1:ZONE1,
  Zone Thermostat Heating Setpoint Temperature;
EnergyManagementSystem:Actuator,AvailSCH_Overwrite,

EnergyManagementSystem:Actuator,
  AvailSCH_Overwrite,
  Cycle,
  Schedule:Constant,
  Schedule Value;
EnergyManagementSystem:ProgramCallingManager,Supervision,

EnergyManagementSystem:ProgramCallingManager,
  Supervision,
  BeginTimestepBeforePredictor,
  HVAC_uncontolledloop_Supervision;
 EnergyManagementSystem:Program,
  HVAC_uncontolledloop_Supervision,
  SET Toffset = 4.00,
  IF AptTemp > (hSP),
  SET AvailSCH_Overwrite = 0,
  ELSEIF AvailSCH_Overwrite == 0 && AptTemp >= (hSP) && AptTemp <= (hSP + Toffset),
  SET AvailSCH_Overwrite = 0,
  ELSE,
  SET AvailSCH_Overwrite = 1,
  ENDIF;

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilderdesignbuilder so maybe I can do this through an EMS file

This is my current updated code in EMS foe control but it has no effect on simulationsgives me an error msg attached

Schedule:Constant,
  Cycle,
  On/OFF,
  1; 

schedule:Constant,Cycle,On/Off,1; ! New schedule object object

AvailabilityManager:Scheduled, ! Updated Availability Manager Packaged Rooftop Air Conditioner Heating Availability Manager, Cycle; EnergyManagementSystem:Sensor, AptTemp, EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature; Temperature;

EnergyManagementSystem:Sensor,

EnergyManagementSystem:Sensor,hSP, hSP, BLOCK1:ZONE1, BLOCK1:ZONE1 , Zone Thermostat Heating Setpoint Temperature; Temperature;

EnergyManagementSystem:Actuator, AvailSCH_Overwrite,

EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value; EnergyManagementSystem:ProgramCallingManager, Supervision, EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision; EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AptTemp > (hSP), SET AvailSCH_Overwrite = 0, ELSEIF AvailSCH_Overwrite == 0 && AptTemp >= (hSP) < (hSP), SET AvailSCHOverwrite = 1, ELSEIF AvailSCH_Overwrite == 1 && AptTemp <= (hSP + Toffset), > (hSP+Toffset), SET AvailSCH_Overwrite AvailSCHOverwrite = 0, ELSE, ELSE SET AvailSCH_Overwrite AvailSCHOverwrite = 1, ENDIF;

NULL;

errors.PNG

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilder so maybe I can do this through an EMS filedesignbuilder

This is my updated code in EMS foe control but it gives me an error msg attached

schedule:Constant,Cycle,On/Off,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager Heating Availability Manager, Cycle; Cycle;

EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 , Zone Thermostat Heating Setpoint Temperature;

EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value; Value;

EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision; HVAC_uncontolledloop_Supervision;

EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AvailSCH_Overwrite == 0 && AptTemp < (hSP), SET AvailSCHOverwrite = 1, ELSEIF AvailSCH_Overwrite == 1 && AptTemp > (hSP+Toffset), SET AvailSCHOverwrite = 0, ELSE SET AvailSCHOverwrite = NULL;

errors.PNG

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilderdesignbuilder so maybe I can do this through an EMS file

This is my updated code in EMS foe for control its running but it gives me an error msg attachedmaintaining the temp

schedule:Constant,Cycle,On/Off,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager Heating Availability Manager, Cycle;

EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 , Zone Thermostat Heating Setpoint Temperature;

EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value;

EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision;

EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AvailSCH_Overwrite == 0 && AptTemp < (hSP), SET AvailSCHOverwrite = 1, ELSEIF AvailSCH_Overwrite == 1 && AptTemp > (hSP+Toffset), SET AvailSCHOverwrite = 0, ELSE ELSE, SET AvailSCHOverwrite = NULL;NULL ENFIF;

errors.PNG

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilder so maybe I can do this through an EMS filedesignbuilder

This is my updated code in EMS for control its running with no errors but maintaining the temptemp aroung my heating setpoint 22°C. Any suggestions

schedule:Constant,Cycle,On/Off,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager Heating Availability Manager, Cycle;

EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 , Zone Thermostat Heating Setpoint Temperature;

EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value;

EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision;

EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AvailSCH_Overwrite == 0 && AptTemp < (hSP), SET AvailSCHOverwrite = 1, ELSEIF AvailSCH_Overwrite == 1 && AptTemp > (hSP+Toffset), SET AvailSCHOverwrite = 0, ELSE, SET AvailSCHOverwrite = NULL ENFIF;

errors.PNG

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilderdesignbuilder so maybe I can do this through an EMS file

This is my updated code in EMS for control its running with no errors but maintaining the temp aroung my heating setpoint 22°C. Any suggestions

schedule:Constant,Cycle,On/Off,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager Heating Availability Manager, Cycle;

EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 , Zone Thermostat Heating Setpoint Temperature;

EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value;

EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision;

EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AvailSCH_Overwrite == 0 && AptTemp < (hSP), SET AvailSCHOverwrite = 1, ELSEIF AvailSCH_Overwrite == 1 && AptTemp > (hSP+Toffset), SET AvailSCHOverwrite = 0, ELSE, SET AvailSCHOverwrite = NULL ENFIF;

errors.PNGconstant.PNG

How to set a deadband so while the zone air temperature is between 22 and 26°C the heating system is off.Am using designbuilder so maybe I can do this through an EMS filedesignbuilder

This is my updated code in EMS for control its running with no errors but maintaining the temp aroung my heating setpoint 22°C. Any suggestions

schedule:Constant,Cycle,On/Off,1; ! New schedule object

AvailabilityManager:Scheduled, ! Updated Availability Manager Heating Availability Manager, Cycle;

EnergyManagementSystem:Sensor,AptTemp, BLOCK1:ZONE1 , Zone Mean Air Temperature;

EnergyManagementSystem:Sensor,hSP, BLOCK1:ZONE1 , Zone Thermostat Heating Setpoint Temperature;

EnergyManagementSystem:Actuator,AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value;

EnergyManagementSystem:ProgramCallingManager,Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision;

EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4.00, IF AvailSCH_Overwrite == 0 && AptTemp < (hSP), SET AvailSCHOverwrite = 1, ELSEIF AvailSCH_Overwrite == 1 && AptTemp > (hSP+Toffset), SET AvailSCHOverwrite = 0, ELSE, SET AvailSCHOverwrite = NULL ENFIF;image description

constant.PNG