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

How set update time for EMS actuator override

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

Martinsquare's avatar

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

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
1

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

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

Comments

Thank you very much! It is working

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

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

Stats

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

Seen: 117 times

Last updated: Mar 02 '21