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

How to control both CO2 concentration and ventilation schedule in EMS?

asked 2019-01-25 05:02:07 -0600

qiulu gravatar image

updated 2019-01-27 09:43:24 -0600

Hello, I would like to do natural ventilation based on both CO2 and ventilation schedule in EMS. And I have set two Sensors in EMS and set two programs. One is for CO2 concentration (above 1000 ppm, the window will open); and another one is a time schedule for venting (night ventilation). I would like to satisfy both conditions (CO2 concentration and time schedule) at the same time. However, it didn't work. The window can only follow one Program. I was wondering if someone could answer my question? Thanks very much!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-01-25 17:24:19 -0600

If you have two programs that are trying to change something about a window, then EnergyPlus will execute the program code in the order listed by the Program Calling Manager object. So, you should be able to define two programs and list them both. You could also define one program that uses all the sensors and other EMS components to apply your desired CO2 and night ventilation strategies.

You need to define multiple EMS sensors to measure outputs calculated by EnergyPlus (i.e. one sensor for each zone you want to measure CO2 concentration) and multiple EMS actuators to define what you want to override (i.e. one actuator for each window that you want to open or close). If you have access to DesignBuilder (an interface for EnergyPlus), it has a scripting module that can use loops to automatically create all sensors or actuators you want for a given variable -- you don't have to define all the window names or zone names.

edit flag offensive delete link more


Thanks for your help!

qiulu gravatar image qiulu  ( 2019-01-25 17:26:55 -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

Question Tools



Asked: 2019-01-25 05:02:07 -0600

Seen: 475 times

Last updated: Jan 25 '19