modelHx1DConst

Extends from BaseUnits.BaseHxConst.

Information

Model Hx1DConst represent the model of a counter-current heat exchanger in which one of the two fluid is a constant heat capacity fluid. 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 Flow1DConst component representing the flow of the fluid in the other side of the exchanger
  • A MetalWall component 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_T_sf: if true, the derivative of temperature of the constant heat capacity fluid is set to zero during Initialization
  • steadystate_h_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

Numerical options

The numerical options available for the HxRec1DConst are the one implemented in Cell1Dim. and CellConst.

Parameters

TypeNameDefaultDescription
IntegerN5Number of nodes for the heat exchanger
IntegerNt1Number of tubes in parallel
Modelica.SIunits.VolumeV_sf0.03781Volume secondary fluid
Modelica.SIunits.VolumeV_wf0.03781Volume primary fluid
Modelica.SIunits.AreaA_sf16.18Area secondary fluid
Modelica.SIunits.AreaA_wf16.18Area primary 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_sf3Nominal flow rate of secondary fluid
Modelica.SIunits.MassFlowRateMdotnom_wf0.2588Nominal flow rate of working fluid
General › Heat transfer
Modelica.SIunits.CoefficientOfHeatTransferUnom_sf369Coefficient of heat transfer, secondary fluid
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
Initialization
Modelica.SIunits.Pressurepstart_wf23.57e5Nominal inlet pressure of working fluid
Modelica.SIunits.TemperatureTstart_inlet_wf334.9Initial value of working fluid temperature at the inlet
Modelica.SIunits.TemperatureTstart_outlet_wf413.15Initial value of working fluid temperature at the outlet
Modelica.SIunits.TemperatureTstart_inlet_sf418.15Initial value of secondary fluid temperature at the inlet
Modelica.SIunits.TemperatureTstart_outlet_sf408.45Initial value of secondary fluid temperature at the outlet
Initialization › Intialization options
Booleansteadystate_T_sffalseif true, sets the derivative of T_sf (secondary fluids Temperature in each cell) to zero during Initialization
Booleansteadystate_h_wffalseif true, sets the derivative of h of primary fluid (working fluids enthalpy in each cell) 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_wffalseSet to yes to assume constant mass flow rate of primary fluid at each node (easier convergence)
Booleanmax_der_wffalseSet to yes to limit the density derivative of primary fluid during phase transitions
Booleanfilter_dMdt_wffalseSet to yes to filter dMdt of primary fluid with a first-order filter
Realmax_drhodt_wf100Maximum value for the density derivative of primary fluid
Modelica.SIunits.TimeTT_wf1Integration time of the first-order filter

Connectors

TypeNameDefaultDescription
Interfaces.Fluid.Flange_CdotinletSf (from BaseHxConst)
Interfaces.Fluid.Flange_ex_CdotoutletSf (from BaseHxConst)
Interfaces.Fluid.FlangeAinletWf (from BaseHxConst)
Interfaces.Fluid.FlangeBoutletWf (from BaseHxConst)

Components

TypeNameDefaultDescription
ThermoCycle.Components.FluidFlow.Pipes.Flow1DimWorkingFluid
Components.HeatFlow.Walls.MetalWallmetalWall
Components.HeatFlow.Walls.CountCurrcountCurr
ThermoCycle.Components.FluidFlow.Pipes.Flow1DConstSecondaryFluid
SummaryClassSummary

Contents

NameDescription
Medium2HeatTransferModel
Medium1HeatTransferModel
SummaryBase
SummaryClass