modelCrossHX

Information

Model CrossHX represent the model of a cross flow plate heat exchanger where air is used as secondary fluid. Pressure drop is taken into account in the air side. It is based on the connection of different sub-components:

  • A Flow1Dim component representing the flow of the fluid in one side of the exchanger
  • A MultiFlow1D component representing the flow of air in the other side of the exchanger
  • A MetalWall component representing the thermal energy accumulation in the metal wall

Modelling options

In the Initialization tab the following options are availabe:

  • steadystate_wf: if true, the derivative of enthalpy of the working fluid is set to zero during Initialization
  • steadystate_T_wall: if true, the derivative of temperature of the metal wall is set to zero during Initialization
  • constinit_sf: if true, the pressure drop in the air side is set to a constant value during Initialization
  • UseHomotopy_sf: if true, it uses homotopy to set the pressure drop to zero during Initialization

Numerical options

The numerical options available for the CrossHX are the one implemented in Cell1Dim.

Parameters

TypeNameDefaultDescription
IntegerN5Number of cells
Modelica.SIunits.VolumeV_wf0.0397Volume of working fluid side
Modelica.SIunits.AreaA_wf16.18Lateral surface of working fluid side
Modelica.SIunits.VolumeV_sf0.0397Total volume of fluid
Modelica.SIunits.AreaA_sf16.18Total Lateral surface
Modelica.SIunits.MassFlowRateMdotnom_wf0.2588Nominal fluid flow rate
Modelica.SIunits.MassFlowRateMdotnom_sf3Nominal fluid flow rate
Modelica.SIunits.MassM_wall_tot69Mass of the Wall
Modelica.SIunits.SpecificHeatCapacityc_wall500Specific heat capacity of the metal
General › Heat transfer
Modelica.SIunits.CoefficientOfHeatTransferUnom_l300if HTtype = LiqVap : Heat transfer coefficient, liquid zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_tp700if HTtype = LiqVap : heat transfer coefficient, two-phase zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_v400if HTtype = LiqVap : heat transfer coefficient, vapor zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_sf100Constant heat transfer coefficient
General › Pdrop_sf
BooleanUseNom_sffalseUse Nominal conditions to compute pressure drop characteristics
Modelica.SIunits.Lengthh_sf0Static fluid head (dp = h * rho * g)
Realk_sf38.4E3*9.5Coefficient for linear pressure drop (dp = k * V_dot)
Modelica.SIunits.AreaAthroat_sf(2*9.5*23282.7)^(-0.5)Valve throat area for quadratic pressure drop (dp = 1/A?*M_dot?/(2*rho))
Modelica.SIunits.PressureDELTAp_0_sf500Pressure drop below which a 3rd order interpolation is used for the computation of the flow rate in order to avoid infinite derivative at 0
Nominal Conditions › Pdrop_sf
Modelica.SIunits.Pressurep_nom_sf1e5Nominal pressure
Modelica.SIunits.TemperatureT_nom_sf283.15Nominal temperature
Modelica.SIunits.Densityrho_nom_sfMedium1.density_pT(p_nom_sf, T_nom_sf)Nominal density
Modelica.SIunits.PressureDELTAp_stat_nom_sf0Nominal static pressure drop
Modelica.SIunits.PressureDELTAp_lin_nom_sf0Nominal linear pressure drop
Modelica.SIunits.PressureDELTAp_quad_nom_sf0Nominal quadratic pressure drop
Booleanuse_rho_nom_sffalseUse the nominal density for the computation of the pressure drop (i.e it depends only the flow rate)
Initialization
Modelica.SIunits.Pressurepstart_wf23.57Fluid pressure start value
Medium1.TemperatureTstart_wf_inInlet temperature start value
Medium1.SpecificEnthalpyhstart_wf_inMedium1.specificEnthalpy_pT(pstart_wf, Tstart_wf_in)Start value of inlet enthalpy
Modelica.SIunits.TemperatureT_start_wall(Tstart_wf_in + T_nom_sf)/2Start value of temperature (initialized by default)
Modelica.SIunits.Timet_init_sf10if constinit is true, time during which the pressure drop is set to the constant value DELTAp_start
Initialization › Intialization options
Booleansteadystate_wftrueif true, sets the derivative of h (working fluids enthalpy in each cell) to zero during Initialization
Booleansteadystate_T_walltrueif true, sets the derivative of T_wall to zero during Initialization
Booleanconstinit_sffalseif true, sets the pressure drop to a constant value at the beginning of the simulation in order to avoid oscillations
BooleanUseHomotopy_sffalseif true, uses homotopy to set the pressure drop to zero in the first initialization
Modelica.SIunits.PressureDELTAp_start_sfDELTAp_stat_nom_sf + DELTAp_lin_nom_sf + DELTAp_quad_nom_sfStart Value for the pressure drop
Numerical options
DiscretizationsDiscretization_wfThermoCycle.Functions.Enumerations.Discretizations.centr_diffSelection of the spatial discretization scheme
BooleanMdotconst_wffalseSet to yes to assume constant mass flow rate at each node (easier convergence)
Booleanmax_der_wffalseSet to yes to limit the density derivative during phase transitions
Booleanfilter_dMdt_wffalseSet to yes to filter dMdt with a first-order filter
Realmax_drhodt_wf100Maximum value for the density derivative
Modelica.SIunits.TimeTT_wf1Integration time of the first-order filter

Connectors

TypeNameDefaultDescription
ThermoCycle.Interfaces.Fluid.FlangeAInlet_fl1
ThermoCycle.Interfaces.Fluid.FlangeBOutlet_fl1
ThermoCycle.Interfaces.Fluid.FlangeAInlet_fl2
ThermoCycle.Interfaces.Fluid.FlangeBOutlet_fl2

Components

TypeNameDefaultDescription
ThermoCycle.Components.FluidFlow.Pipes.MultiFlow1DmultiFlow1D_DP
ThermoCycle.Components.HeatFlow.Walls.MetalWallL[N]metalWallCell
ThermoCycle.Components.FluidFlow.Pipes.Cell1Dim[N]flow1DimCell

Contents

NameDescription
Medium1
Medium2
Medium2HeatTransferModel
Medium1HeatTransferModel