@@ -8,7 +8,7 @@ model ConstantAirFlowRecup
88
99 parameter Real [nZones] n
1010 "Air change rate (Air changes per hour ACH)" ;
11- final parameter Modelica.Units.SI.MassFlowRate m_flow_nominal= sum (n)/ 3600 *
11+ final parameter Modelica.Units.SI.MassFlowRate m_flow_nominal= sum (n .* VZones )/ 3600 *
1212 1.204 "total ventilation mass flow rate" ;
1313 parameter Modelica.Units.SI.Time tau= 30
1414 "time constant of the ventilation system" ;
@@ -26,11 +26,15 @@ model ConstantAirFlowRecup
2626 min = 0 ,
2727 max = 1 ) = 0.80 "Motor efficiency" ;
2828
29+ parameter Modelica.Units.SI.Pressure dp_nominal_sup= 0
30+ "Nominal pressure drop in the heat exchanger at the supply side" ;
31+ parameter Modelica.Units.SI.Pressure dp_nominal_ret= 0
32+ "Nominal pressure drop in the heat exchanger at the return side" ;
2933 IDEAS.Fluid.HeatExchangers.ConstantEffectiveness hex(
3034 m1_flow_nominal= m_flow_nominal,
3135 m2_flow_nominal= m_flow_nominal,
32- dp1_nominal= 0 ,
33- dp2_nominal= 0 ,
36+ dp1_nominal= dp_nominal_ret ,
37+ dp2_nominal= dp_nominal_sup ,
3438 redeclare package Medium1 = Medium,
3539 redeclare package Medium2 = Medium,
3640 eps= recupEff) "Heat exchanger for the recuperator"
@@ -46,7 +50,7 @@ model ConstantAirFlowRecup
4650 annotation (Placement(transformation(extent={{-80,-30},{-100,-10}})));
4751 IDEAS.Fluid.Movers.FlowControlled_m_flow fan[nZones](
4852 each use_riseTime= false ,
49- m_flow_nominal= n ./ 3600 .* 1.204 ,
53+ m_flow_nominal= n .* VZones . / 3600 .* 1.204 ,
5054 redeclare each package Medium = Medium,
5155 each energyDynamics= Modelica.Fluid.Types.Dynamics.SteadyState,
5256 each inputType= IDEAS.Fluid.Types.InputType.Constant)
@@ -94,6 +98,11 @@ equation
9498 Documentation(revisions="<html>
9599<ul>
96100<li>
101+ December 17, 2024, by Anna Dell'Isola:<br/>
102+ Update calculation of ventilation mass flow rate and addition of nominal pressure drops in heat exchanger.
103+ See <a href=\" https://github.com/open-ideas/IDEAS/issues/1400\">#1400</a>
104+ </li>
105+ <li>
97106October 30, 2024, by Lucas Verleyen:<br/>
98107Updates according to <a href=\" https://github.com/ibpsa/modelica-ibpsa/tree/8ed71caee72b911a1d9b5a76e6cb7ed809875e1e\">IBPSA</a>.<br/>
99108See <a href=\" https://github.com/open-ideas/IDEAS/pull/1383\">#1383</a>
0 commit comments