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

Revision history [back]

How to control inlet air temperature and humidity in Natural ventilation.

I'm looking forward modelling the cooling effects caused by natural ventilation. To ensure the indoor thermal comfort, I wish to use natural ventilation only when outside temperature is in 12-21 degree and the outside humidity should be less than 80% on the night(0:00-7:00).

So I have two questions 1. in airflow network, it cannot set outside temperature range and humidity, and So I add a (EMS) to control this. However, how can I control the time?
2. I found that when I use the (EMS), the previous settings in the Airflownetwork:MultiZone:Zone do not work. For example, although I set the Venting Schedule in Airflownetwork:MultiZone:Zone, when the outside conditions satisfy the conditions in EMS, the Venting Schedule is ignored. How to avoid this?

The code is following.

Thanks for any assistance.

!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:SENSOR ===========

EnergyManagementSystem:Sensor, ZoneT, !- Name Thermal Zone: The atrium 1, !- Output:Variable or Output:Meter Index Key Name Site Outdoor Air Drybulb Temperature; !- Output:Variable or Output:Meter Name

!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:ACTUATOR ===========

EnergyManagementSystem:Actuator, MyOpenFactor1, !- Name Bottom Vent, !- Actuated Component Unique Name AirFlow Network Window/Door Opening, !- Actuated Component Type Venting Opening Factor; !- Actuated Component Control Type

EnergyManagementSystem:Actuator, MyOpenFactor2, !- Name Top Vent, !- Actuated Component Unique Name AirFlow Network Window/Door Opening, !- Actuated Component Type Venting Opening Factor; !- Actuated Component Control Type

!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:PROGRAMCALLINGMANAGER ===========

EnergyManagementSystem:ProgramCallingManager, TControlled Open Factor, !- Name BeginTimestepBeforePredictor, !- EnergyPlus Model Calling Point T_OpeningController; !- Program Name 1

!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:PROGRAM ===========

EnergyManagementSystem:Program, T_OpeningController, !- Name , !- Program Line 1 IF ZoneT < 12, !- Program Line 2 SET MyOpenFactor1 = 0.0, !- A4 SET MyOpenFactor2 = 0.0, !- A5 ELSEIF ZoneT > 21, !- A6 SET MyOpenFactor1 = 0.0, !- A7 SET MyOpenFactor2 = 0.0, !- A8 ElSE, !- A9 SET MyOpenFactor1 = 1.0, !- A10 SET MyOpenFactor2 = 1.0, !- A11 ENDIF; !- A12

How to control inlet air temperature and humidity in Natural ventilation.

I'm looking forward modelling the cooling effects caused by natural ventilation. To ensure the indoor thermal comfort, I wish to use natural ventilation only when outside temperature is in 12-21 degree and the outside humidity should be less than 80% on the night(0:00-7:00).

So I have two questions 1. in airflow network, it cannot set outside temperature range and humidity, and So I add a (EMS) to control this. However, how can I control the time?
2. I found that when I use the (EMS), the previous settings in the Airflownetwork:MultiZone:Zone do not work. For example, although I set the Venting Schedule in Airflownetwork:MultiZone:Zone, when the outside conditions satisfy the conditions in EMS, the Venting Schedule is ignored. How to avoid this?

The code is following.

Thanks for any assistance.

!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:SENSOR ===========

EnergyManagementSystem:Sensor, ZoneT, !- Name Thermal Zone: The atrium 1, !- Output:Variable or Output:Meter Index Key Name Site Outdoor Air Drybulb Temperature; !- Output:Variable or Output:Meter Name

!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:ACTUATOR ===========

EnergyManagementSystem:Actuator, MyOpenFactor1, !- Name Bottom Vent, !- Actuated Component Unique Name AirFlow Network Window/Door Opening, !- Actuated Component Type Venting Opening Factor; !- Actuated Component Control Type

EnergyManagementSystem:Actuator, MyOpenFactor2, !- Name Top Vent, !- Actuated Component Unique Name AirFlow Network Window/Door Opening, !- Actuated Component Type Venting Opening Factor; !- Actuated Component Control Type

!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:PROGRAMCALLINGMANAGER ===========

EnergyManagementSystem:ProgramCallingManager, TControlled Open Factor, !- Name BeginTimestepBeforePredictor, !- EnergyPlus Model Calling Point T_OpeningController; !- Program Name 1

!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:PROGRAM ===========

EnergyManagementSystem:Program, T_OpeningController, !- Name , !- Program Line 1 IF ZoneT < 12, !- Program Line 2 SET MyOpenFactor1 = 0.0, !- A4 SET MyOpenFactor2 = 0.0, !- A5 ELSEIF ZoneT > 21, !- A6 SET MyOpenFactor1 = 0.0, !- A7 SET MyOpenFactor2 = 0.0, !- A8 ElSE, !- A9 SET MyOpenFactor1 = 1.0, !- A10 SET MyOpenFactor2 = 1.0, !- A11 ENDIF; !- A12