Skip to content

Commit 6fff469

Browse files
authored
Merge pull request #4405 from karthikeyad-pnnl/issue3492_DirectEvaporativeCooler
Issue3492 direct evaporative cooler
2 parents 961572a + c6c0e30 commit 6fff469

6 files changed

Lines changed: 47 additions & 24 deletions

File tree

Buildings/Fluid/Humidifiers/EvaporativeCoolers/IndirectDry.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ equation
8888
annotation (defaultComponentName="indDryEva",
8989
Documentation(info="<html>
9090
<p>
91-
Model for a indirect dry evaporative cooler.
91+
Model for an indirect dry evaporative cooler.
9292
</p>
9393
<p>
9494
This model contains two components, a direct evaporative cooler

Buildings/Fluid/Humidifiers/EvaporativeCoolers/IndirectWet.mo

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,11 @@ equation
174174
annotation (defaultComponentName = "indWetEva",
175175
Documentation(info="<html>
176176
<p>
177-
Model for a indirect dry evaporative cooler.
177+
Model for an indirect wet evaporative cooler. In this component, the primary airflow
178+
is cooled within the heat exchanger by an evaporative effect when water is directly
179+
sprayed on to the secondary surface of the heat exchanger to saturate the secondary
180+
air-flow. Therefore, it is assumed that the secondary air is completely saturated,
181+
and simply vented away after use.
178182
</p>
179183
<p>
180184
This model consists of the following components:
@@ -206,8 +210,8 @@ air temperature.
206210
<p>
207211
Note: The model works correctly only when the ports a1 and a2 are used as inlet ports,
208212
and ports b1 and b2 are used as outlet ports, for the primary and secondary flow
209-
respectively. Also, the secondary air outlet conditions are currently not validated,
210-
and it is recommended that it is vented to an object acting as a sink, and without
213+
respectively. Also, the secondary air outlet conditions are not validated,
214+
and it is recommended that it be vented to an object acting as a sink without
211215
connecting any downstream components to it.
212216
</p>
213217
</html>", revisions="<html>

Buildings/Fluid/Humidifiers/EvaporativeCoolers/Validation/Direct.mo

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ model Direct
5151
redeclare final package Medium = MediumA,
5252
final initType=Modelica.Blocks.Types.Init.InitialOutput,
5353
final m_flow_nominal=m_flow_nominal,
54-
final T_start = 293.15)
54+
final T_start=293.15)
5555
"Outlet air temperature sensor"
5656
annotation (Placement(transformation(origin={40,0}, extent={{-10,-10},{10,10}})));
5757

@@ -62,7 +62,8 @@ model Direct
6262
annotation (Placement(transformation(origin={70,0}, extent={{-10,-10},{10,10}})));
6363

6464
Modelica.Blocks.Math.Mean mea(
65-
final f=1/600)
65+
final f=1/600,
66+
x0=293.15)
6667
"Mean block to average output data"
6768
annotation (Placement(transformation(origin={70,60}, extent={{-10,-10},{10,10}})));
6869

@@ -141,19 +142,26 @@ The validation generates three subplots.
141142
</p>
142143
<ul>
143144
<li>
144-
Subplot 1 shows the inlet air mass flowrate from the EnergyPlus model varying with the cooling load.
145+
Subplot 1 shows the inlet air mass flowrate measured from the EnergyPlus model
146+
used to activate the component model.
145147
</li>
146148
<li>
147-
Subplot 2 compares the outlet air humidity ratio generated by Modelica and EnergyPlus model.
149+
Subplot 2 compares the outlet air dry bulb temperature measurements from the Modelica
150+
(<code>to_degCOut.y</code>) and EnergyPlus (<code>combiTimeTable.y[7]</code>) models.
151+
The Modelica measurements converge on and then closely track the EnergyPlus
152+
measurements with continuous operation of the component.
148153
</li>
149154
<li>
150-
Subplot 3 compares the outlet air dry bulb temperature generated by Modelica and EnergyPlus model.
155+
Subplot 3 compares the outlet air humidity ratio measurements from the Modelica
156+
(<code>mea1.y</code>) and EnergyPlus (<code>toTotAirOut.XiTotalAir</code>) models.
157+
Again, the Modelica measurements converge on and then closely track the EnergyPlus
158+
measurements with continuous operation of the component.
151159
</li>
152160
</ul>
153161
<p>
154162
The validation results demostrate that, with time-varying air flow rate, the
155163
Modelica model can effectively capture the dynamics of outlet air humidity ratio
156-
and dry bulb temperature, which match the data generated by Energyplus.
164+
and dry bulb temperature.
157165
</p>
158166
</html>", revisions="<html>
159167
<ul>

Buildings/Fluid/Humidifiers/EvaporativeCoolers/Validation/IndirectDry.mo

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,19 +191,26 @@ The validation generates three subplots.
191191
</p>
192192
<ul>
193193
<li>
194-
Subplot 1 shows the inlet air mass flowrate from the EnergyPlus model varying with the cooling load.
194+
Subplot 1 shows the inlet air mass flowrate measured from the EnergyPlus model
195+
used to activate the component model.
195196
</li>
196197
<li>
197-
Subplot 2 compares the outlet air dry bulb temperature generated by Modelica and EnergyPlus model.
198+
Subplot 2 compares the outlet air dry bulb temperature measurements from the Modelica
199+
(<code>TOut_mean.y</code>) and EnergyPlus (<code>combiTimeTable.y[7]</code>) models.
200+
The Modelica measurements converge on and then track the EnergyPlus measurements
201+
with continuous operation of the component.
198202
</li>
199203
<li>
200-
Subplot 3 compares the outlet air humidity ratio generated by Modelica and EnergyPlus model.
204+
Subplot 3 compares the outlet air humidity ratio measurements from the Modelica
205+
(<code>XOut_mean.y</code>) and EnergyPlus (<code>toTotAirPriOut.XiTotalAir</code>)
206+
models. Again, the Modelica measurements converge on and then closely track the
207+
EnergyPlus measurements with continuous operation of the component.
201208
</li>
202209
</ul>
203210
<p>
204211
The validation results demostrate that, with time-varying air flow rate, the
205212
Modelica model can effectively capture the dynamics of outlet air humidity ratio
206-
and dry bulb temperature, which match the data generated by Energyplus.
213+
and dry bulb temperature.
207214
</p>
208215
</html>", revisions="<html>
209216
<ul>

Buildings/Fluid/Humidifiers/EvaporativeCoolers/Validation/IndirectWet.mo

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,22 +183,26 @@ The validation generates three subplots.
183183
</p>
184184
<ul>
185185
<li>
186-
Subplot 1 shows the inlet air mass flowrate from the EnergyPlus model varying
187-
with the cooling load.
186+
Subplot 1 shows the inlet air mass flowrate measured from the EnergyPlus model
187+
used to activate the component model.
188188
</li>
189189
<li>
190-
Subplot 2 compares the outlet air dry bulb temperature generated by Modelica
191-
and EnergyPlus model.
190+
Subplot 2 compares the outlet air dry bulb temperature measurements from the Modelica
191+
(<code>TOut_mean.y</code>) and EnergyPlus (<code>combiTimeTable.y[7]</code>) models.
192+
The Modelica measurements converge on and then track the EnergyPlus measurements
193+
with continuous operation of the component.
192194
</li>
193195
<li>
194-
Subplot 3 compares the outlet air humidity ratio generated by Modelica and
195-
EnergyPlus model.
196+
Subplot 3 compares the outlet air humidity ratio measurements from the Modelica
197+
(<code>XOut_mean.y</code>) and EnergyPlus (<code>toTotAirPriOut.XiTotalAir</code>)
198+
models. Again, the Modelica measurements converge on and then closely track the
199+
EnergyPlus measurements with continuous operation of the component.
196200
</li>
197201
</ul>
198202
<p>
199203
The validation results demostrate that, with time-varying air flow rate,
200204
the Modelica model can effectively capture the dynamics of outlet air humidity
201-
ratio and dry bulb temperature, which match the data generated by Energyplus.
205+
ratio and dry bulb temperature.
202206
</p>
203207
<p>
204208
Note: There is no validation reference data for the secondary outlet air,
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
simulateModel("Buildings.Fluid.Humidifiers.EvaporativeCoolers.Validation.Direct", method="CVode", tolerance=1e-6, startTime=350000,stopTime=604800, resultFile="DirectEvaporativeCooler");
2-
createPlot(id=1, position={0, 0, 1577, 950}, y={"sou.m_flow_in"}, range={340000.0, 1000000.0, -0.5, 2.0}, autoscale=false, grid=true, colors={{28,108,200}});
3-
createPlot(id=1, position={0, 0, 1577, 314}, y={"toTotAirOut.XiTotalAir", "mea1.y"}, range={300000.0, 1000000.0, -0.005, 0.024999999999999998}, grid=true, subPlot=2, colors={{28,108,200}, {238,46,47}});
4-
createPlot(id=1, position={0, -512, 1579, 958}, y={"to_degCOut.y", "combiTimeTable.y[7]"}, range={340000.0, 900000.0, -10.0, 30.0}, grid=true, subPlot=3, colors={{28,108,200}, {238,46,47}}, displayUnits={"degC", ""});
2+
createPlot(id=1, position={0, 0, 1577, 950}, y={"sou.m_flow_in"}, range={340000.0, 605000.0, -0.5, 2.0}, autoscale=false, grid=true, colors={{28,108,200}});
3+
createPlot(id=1, position={0, -512, 1579, 958}, y={"to_degCOut.y", "combiTimeTable.y[7]"}, range={340000.0, 605000.0, 0.0, 30.0}, grid=true, subPlot=2, colors={{28,108,200}, {238,46,47}}, displayUnits={"degC", ""});
4+
createPlot(id=1, position={0, 0, 1577, 314}, y={"toTotAirOut.XiTotalAir", "mea1.y"}, range={340000.0, 605000.0, -0.005, 0.025}, grid=true, subPlot=3, colors={{28,108,200}, {238,46,47}});

0 commit comments

Comments
 (0)