modelAirDuct

model of the air duct

Extends from Interfaces.PartialTwoPortInterface, AixLib.Fluid.Interfaces.TwoPortFlowResistanceParameters.

Information

This model provides the definition of the air duct in a parallel membrane enthalpy exchanger. It is based on the PartialTwoPortInterface model.

This model defines the geometry of the air duct, as well as the convective heat and mass transfer processes in the air duct. The model can be discretized in flow direction using finite volumes.

Parameters

TypeNameDefaultDescription
IntegernNodes2number of discrete volumes (over length) in the air duct
IntegernParallel2number of parallel air ducts
IntegernWidth1number of segments in width direction
Geometry
Modelica.Units.SI.LengthlengthDuctlength in flow direction of duct
Modelica.Units.SI.LengthwidthDuctwidth of duct
Modelica.Units.SI.LengthheightDuctheight of duct
BooleancouFloArrtruetrue: counter-flow arrangement; false: quasi-counter-flow arrangement
Heat and Mass transfer
BooleanuniWalTemtrue if uniform wall temperature, else uniform wall heat flux
Booleanlocaltrue if local Nusselt/Sherwood number, else average
BooleanrecDucttrue if rectangular duct is used for Nusselt/Sherwood number calculation, else flat gap is used.
Advanced
BooleanhomotopyInitializationtrue= true, use homotopy method
Dynamics › Equations
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicsmassDynamicsenergyDynamicsType of mass balance: dynamic (3 initialization options) or steady state
Initialization
Medium.AbsolutePressurep_a_startMedium.p_defaultStart value of pressure at port a
Medium.AbsolutePressurep_b_startp_a_startStart value of pressure at port b
Medium.AbsolutePressurep_startMedium.p_defaultStart value of pressure
Medium.TemperatureT_startMedium.T_defaultStart value of temperature
Medium.MassFraction[Medium.nX]X_startMedium.X_defaultStart value of mass fractions m_i/m
Medium.ExtraProperty[Medium.nC]C_startfill(0, Medium.nC)Start value of trace substances

Components

TypeNameDefaultDescription
Modelica.Units.SI.Lengthlengths{i*(lengthDuct/((nNodes + 1)*nNodes/2)) for i in 1:nNodes}length of segements in flow direction
Modelica.Units.SI.AreacroSecsfill(heightDuct*widthDuct, nNodes)cross section of duct segments
Modelica.Units.SI.Velocityvs{port_a.m_flow/Medium.density(states[i])/croSecs[i] for i in 1:nNodes}/nParallelvelocity in air duct segments
Modelica.Units.SI.PartialPressureps{vol[i].p*vol[i].X_w*(Ms[i]/M_steam) for i in 1:nNodes}
Modelica.Units.SI.MolarMassMs{1/(vol[i].X_w/M_steam + (1 - vol[i].X_w)/M_air) for i in 1:nNodes}
Medium.ThermodynamicStatestates{Medium.setState_pTX(vol[i].p, vol[i].T, vol[i].Xi) for i in 1:nNodes}
Modelica.Units.SI.SpecificEnthalpydhAdsadsorptionEnthalpy.dhAdsadsorption enthalpy
Modelica.Blocks.Interfaces.RealInputcoeCroCouSenscoefficient for heat transfer reduction due to cross-flow portion
Modelica.Blocks.Interfaces.RealInputcoeCroCouLatscoefficient for mass transfer reduction due to cross-flow portion
HeatTransferheatTransfer
MassTransfermassTransfer
AixLib.Fluid.MixingVolumes.MixingVolumeMoistAir[nNodes]volVolume for fluid stream
AixLib.Fluid.FixedResistances.PressureDroppreDroFlow resistance
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[nNodes]heatPorts
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow[nNodes]prescribedHeatFlow
Utilities.MassTransfer.MassPort[nNodes]massPorts
Modelica.Blocks.Sources.RealExpression[nNodes]Q_flow
Modelica.Blocks.Sources.RealExpression[nNodes]mWat_flow

Contents

NameDescription
HeatTransfer
MassTransfer

Revisions

  • November 23, 2018, by Martin Kremer:
    Changing adsorption enthalpy dhAds from parameter to input for usage of adsorption enthalpy model.
  • August 21, 2018, by Martin Kremer:
    First Implementation