Reset the infiltration by ems
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:Sensor,
INFIL1M3, !- Name
1F, !- Output:Variable or Output:Meter Index Key Name
Zone Infiltration Current Density Volume Flow Rate; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Sensor,
INFIL2M3, !- Name
2F, !- Output:Variable or Output:Meter Index Key Name
Zone Infiltration Current Density Volume Flow Rate; !- 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.
I assume that there is one thermal chimney object for both Zones (1F and 2F)? Could you add plots to your post, or links to plot images, to better illustrate the issue that you're having? What makes you think that the EMS program outputs "an uncontrolled large amount of infiltration"?
The idf segment above is not enough to diagnose this, as it does not include the calling point or the definitions of
infil1M3
andinfil2M3
. The edd output file will show the results of every EMS program line, so you should be able to diagnose this by looking there. Also note that the "Air Exchange Flow Rate" actuator is in [m3/s], not [ACH]. If you cannot resolve this, please post a link to the full idf file here or send to the helpdesk at energyplus-support@gard.comThanks so much for your advice, I have reattached the sensor infil1M3, infil2M3.The vertical thermal chimney has objected to 1f and 2f. Here are the more detail for my model and the output of infiltration. And I found in .rdd file, EnergyManagementSystem:Actuator Available,SPACE-2 INFIL 1,Zone Infiltration,Air Exchange Flow Rate,[m3/s]