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

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

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

qiulu gravatar image

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

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
1

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

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

Comments

Thanks for your help!

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

1 follower

Stats

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

Seen: 100 times

Last updated: Jan 25