modelHx1D

Extends from ThermoCycle.Components.Units.BaseUnits.BaseHx.

Information

Model Hx1D represent the model of a counter-current plate heat exchanger. It is based on the connection of different sub-components:

  • Two Flow1Dim components representing the flow of the fluid in the two sides of the exchanger
  • A MetalWall components representing the thermal energy accumulation in the metal wall
  • A CountCurr component that enables the possibility of parallel or countercurrent flow

Modelling options

In the Initialization tab the following options are availabe:

  • steadystate_h_cold: if true, the derivative of enthalpy of the cold side is set to zero during Initialization
  • steadystate_h_hot: if true, the derivative of enthalpy of the hot side 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

Numerical options

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

Parameters

TypeNameDefaultDescription
IntegerN5Number of nodes for the heat exchanger
IntegerNt1Number of tube in parallel
Modelica.SIunits.VolumeVhot0.03781Volume hot fluid
Modelica.SIunits.VolumeVcold0.03781Volume cold fluid
Modelica.SIunits.AreaAhot16.18Area hot fluid
Modelica.SIunits.AreaAcold16.18Area cold fluid
BooleancounterCurrenttrueSwap temperature and flux vector order
Modelica.SIunits.MassM_wall69Mass of the metal wall between the two fluids
Modelica.SIunits.SpecificHeatCapacityc_wall500Specific heat capacity of metal wall
Modelica.SIunits.MassFlowRateMdotNom_Hot0.2588Nominal flow rate of hot fluid
Modelica.SIunits.MassFlowRateMdotNom_Cold0.2588Nominal flow rate of cold fluid
General › Heat transfer
Modelica.SIunits.CoefficientOfHeatTransferUnom_l_cold100if HTtype = LiqVap: heat transfer coefficient, liquid zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_tp_cold100if HTtype = LiqVap: heat transfer coefficient, two-phase zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_v_cold100if HTtype = LiqVap: heat transfer coefficient, vapor zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_l_hot100if HTtype = LiqVap: heat transfer coefficient, liquid zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_tp_hot100if HTtype = LiqVap: heat transfer coefficient, two-phase zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_v_hot100if HTtype = LiqVap: heat transfer coefficient, vapor zone
Initialization
Modelica.SIunits.Pressurepstart_cold23.57e5Nominal inlet pressure of cold fluid
Modelica.SIunits.Pressurepstart_hot1.54883e5Nominal inlet pressure of hot fluid
Modelica.SIunits.TemperatureTstart_inlet_cold308.43Initial value of cold fluid temperature at the inlet
Modelica.SIunits.TemperatureTstart_outlet_cold334.78Initial value of cold fluid temperature at the outlet
Modelica.SIunits.TemperatureTstart_inlet_hot353.82Initial value of hot fluid temperature at the inlet
Modelica.SIunits.TemperatureTstart_outlet_hot316.91Initial value of hot fluid temperature at the outlet
Initialization › Intialization options
Booleansteadystate_h_coldfalseif true, sets the derivative of h of cold fluid to zero during Initialization
Booleansteadystate_h_hotfalseif true, sets the derivative of h of hot fluid to zero during Initialization
Booleansteadystate_T_wallfalseif true, sets the derivative of T_wall to zero during Initialization
Numerical options
DiscretizationsDiscretizationThermoCycle.Functions.Enumerations.Discretizations.centr_diffSelection of the spatial discretization scheme
BooleanMdotconst_coldfalseSet to yes to assume constant mass flow rate of cold fluid at each node (easier convergence)
Booleanmax_der_coldfalseSet to yes to limit the density derivative of cold fluid during phase transitions
Booleanfilter_dMdt_coldfalseSet to yes to filter dMdt of cold fluid with a first-order filter
Realmax_drhodt_cold100Maximum value for the density derivative of primary fluid
Modelica.SIunits.TimeTT_cold1Integration time of the first-order filter
BooleanMdotconst_hotfalseSet to yes to assume constant mass flow rate of hot fluid at each node (easier convergence)
Booleanmax_der_hotfalseSet to yes to limit the density derivative of primary fluid during phase transitions
Booleanfilter_dMdt_hotfalseSet to yes to filter dMdt of hot fluid with a first-order filter
Realmax_drhodt_hot100Maximum value for the density derivative of primary fluid
Modelica.SIunits.TimeTT_hot1Integration time of the first-order filter

Connectors

TypeNameDefaultDescription
Interfaces.Fluid.FlangeAinlet_fl1 (from BaseHx)
Interfaces.Fluid.FlangeBoutlet_fl1 (from BaseHx)
Interfaces.Fluid.FlangeAinlet_fl2 (from BaseHx)
Interfaces.Fluid.FlangeBoutlet_fl2 (from BaseHx)

Components

TypeNameDefaultDescription
ThermoCycle.Components.FluidFlow.Pipes.Flow1DimHotside
Components.HeatFlow.Walls.CountCurrcountCurr
Components.HeatFlow.Walls.MetalWallmetalWall
ThermoCycle.Components.FluidFlow.Pipes.Flow1DimColdside
SummaryClassSummary

Contents

NameDescription
ColdSideHeatTransferModel
HotSideSideHeatTransferModel
SummaryBase
SummaryClass