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

How set update time for EMS actuator override

asked 2021-03-01 07:47:53 -0500

Martinsquare's avatar

updated 2021-03-01 08:24:24 -0500

I have a fairly simple question. Via EMS, I wrote a program to determine the thermostat setpoint based on the occupancy rate. Now, the thermostat setpoint updates every timestep (6 times per hour in my case). I want it only to update once an hour. How can I make it do this?

Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-02 05:19:31 -0500

Store your computed value or set another EMS:Sensor on thermostat value.

On each iteration, check one of the built-in variables such as IF TimeStepNum == 1 or IF Minute == 60, if so, calculate and set your new value, otherwise use the stored value.

edit flag offensive delete link more


Thank you very much! It is working

Martinsquare's avatar Martinsquare  ( 2021-03-02 09:32:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2021-03-01 07:47:53 -0500

Seen: 98 times

Last updated: Mar 02 '21