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

Revision history [back]

You don't need to use the Trend Variables to implement this. Rather, you can use the built-in EMS variables.

For example, you can store the DayOfYear and CurrentHour for the start of the 20 minutes and then compare the stored values to the current values to determine if 20 minutes has elapsed. To do this, the stored values will each need to be an EnergyManagementSystem:GlobalVariable so that they maintain their value across multiple executions of your EMS program.