Skip to content

Commit

Permalink
Enabled filter to avoid large flow rates during fan switch-off
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Nov 17, 2017
1 parent 6fd93f7 commit bc1f838
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 31 deletions.
20 changes: 14 additions & 6 deletions Buildings/Examples/DualFanDualDuct/ClosedLoop.mo
Original file line number Diff line number Diff line change
Expand Up @@ -101,20 +101,20 @@ model ClosedLoop "Closed loop model of a dual-fan dual-duct system"
Buildings.Fluid.Movers.SpeedControlled_y fanSupHot(
redeclare package Medium = MediumA,
per(pressure(V_flow=mAirHot_flow_nominal/1.2*{0,2}, dp=600*{2,0})),
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial,
use_inputFilter=false) "Supply air fan for hot deck"
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial)
"Supply air fan for hot deck"
annotation (Placement(transformation(extent={{300,-10},{320,10}})));
Buildings.Fluid.Movers.SpeedControlled_y fanSupCol(
redeclare package Medium = MediumA,
per(pressure(V_flow=mAirCol_flow_nominal/1.2*{0,2}, dp=600*{2,0})),
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial,
use_inputFilter=false) "Supply air fan for cold deck"
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial)
"Supply air fan for cold deck"
annotation (Placement(transformation(extent={{302,-160},{322,-140}})));
Buildings.Fluid.Movers.SpeedControlled_y fanRet(
redeclare package Medium = MediumA,
per(pressure(V_flow=m_flow_nominal/1.2*{0,2}, dp=100*{2,0})),
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial,
use_inputFilter=false) "Return air fan"
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial)
"Return air fan"
annotation (Placement(transformation(extent={{360,150},{340,170}})));
Buildings.Fluid.Sources.FixedBoundary sinHea(
redeclare package Medium = MediumW,
Expand Down Expand Up @@ -1203,6 +1203,14 @@ shading devices, Technical Report, Oct. 17, 2006.
</html>", revisions="<html>
<ul>
<li>
November 17, 2017, by Michael Wetter:<br/>
Enabled filters at fan control signal. This avoids a sharp change in fan speed,
which led to very large mass flow rates between the hot and cold deck fan
when they were switched off.
This model now works with JModelica with the CVode solver and <i>10<sup>-8</sup></i>
tolerance.
</li>
<li>
May 19, 2016, by Michael Wetter:<br/>
Set <code>use_inputFilter=false</code> in fan models to avoid a large
increase in computing time when simulated between <i>t=1.60E7</i>
Expand Down
Loading

0 comments on commit bc1f838

Please sign in to comment.