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

Revision history [back]

As an alternative you can use EMS programs with IDF editor:

(1) in OpenStudio, define setpoint manager with constant temperature schedule [e.g.: controlledTemp], in preliminary scheme.

(2) in the generated out.idf insert an EMS sensor e.g. for outdoor drybulb temperature [sensor variable: OutdoorTemp]

(3) define actuator on the temperature schedule [controlledTemp] e.g.:

 myTempControl,              !- Name
    controlledTemp,          !- Actuated Component Unique Name
    Schedule:Constant,       !- Actuated Component Type
    Schedule Value;          !- Actuated Component Control Type

(4) Define heating curve by EMS program, e.g.

EnergyManagementSystem:Program,
myTempManager,                                              !- Name
SET controlledTemp=-32/40*OutdoorTemp+49,                   !- Program Line 1
IF controlledTemp>65,                                       !- Program Line 2
SET controlledTemp=65,                                      !- A4
ENDIF;                                                      !- A5

(5) Declare EMS program(s) to be run in EMS Program Calling Manager:

EnergyManagementSystem:ProgramCallingManager,
myEMS Custom Controls,                                        !- Name
EndOfZoneTimestepBeforeZoneReporting,                         !- EnergyPlus Model Calling Point
myTempManager,                                                !- Program Name 1

This solution is the most flexible because you have full control over setting limits and logical conditions. And, as the example shows, it is done quickly with a few instructions.