First time here? Check out the Help page!

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 4 years ago

Martinsquare's avatar

updated 4 years ago

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

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.

Preview: (hide)
link

Comments

Thank you very much! It is working

Martinsquare's avatar Martinsquare  ( 4 years ago )

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: 4 years ago

Seen: 124 times

Last updated: Mar 02 '21