I encounter difficulty in the EMS code in control the thermal chimney air flow. And I was wondering if anyone can give some suggestion.
The zonethermalchimney object was chosen and the discharged amount of interior air from each zone is assumed to be replaced by the infiltration.
The control logic is, when HVAC set on, the air flow mass because of the solar chimney can no more than the fresh air required in the zone. So, I add a ems program in infiltration, here is my code. EnergyManagementSystem:Sensor,
INFIL1, !- Name
1F, !- Output:Variable or Output:Meter Index Key Name
Zone Infiltration Air Change Rate; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Sensor,
INFIL2, !- Name
2F, !- Output:Variable or Output:Meter Index Key Name
Zone Infiltration Air Change Rate; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Sensor,
VRFMODE, !- Name
VRF SYS 1 AIR SOURCE VRF HEAT PUMP, !- Output:Variable or Output:Meter Index Key Name
VRF Heat Pump Operating Mode; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Actuator,
Infil1setM3, !- Name
SPACE-1 INFIL 1, !- Actuated Component Unique Name
Zone Infiltration, !- Actuated Component Type
Air Exchange Flow Rate; !- Actuated Component Control Type
EnergyManagementSystem:Actuator,
Infil2setM3, !- Name
SPACE-2 INFIL 1, !- Actuated Component Unique Name
Zone Infiltration, !- Actuated Component Type
Air Exchange Flow Rate; !- Actuated Component Control Type
EnergyManagementSystem:Program,
Determine_infiltration, !- Name
SET ORIGINALINFIL1=INFIL1, !- Program Line 1
SET ORIGINALINFIL2=INFIL2, !- Program Line 2
IF VRFMODE > 0, !- A4
SET set1=@min 0.0918 infil1M3, !- A5
SET set2= @min 0.0918 infil2M3, !- A6
elseif VRFMODE == 0, !- A7
SET set1= infil1M3, !- A8
SET set2= infil1M3, !- A9
ENDIF, !- A10
set infil1setM3=set1, !- A11
set infil2setM3=set2; !- A12
It seems to output an uncontrolled large amount of infiltration through the infil-reset program in EMS, which may be affected by zonethermalchimney object. And, I have searched the internet and cannot find any useful suggestion.