First time here? Check out the Help page!
1 | initial version |
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.