modelHeatExchanger_TubeBundle_L2

Simple heat exchanger model

Extends from ClaRa.Components.HeatExchangers.TubeBundle_L2 (A flexible 0D tube bundle model), TransiEnt.Basics.Icons.Heat_Exchanger.

Information

Purpose of model

A model of a tube bundle heat exchanger with one control volume. It is based on the fluid volume L2 from the ClaRa library. Therefore, it is based on the three balance equations of mass, energy and momentum. The model uses a dynamic energy and mass balance and a static momentum balance.  It contains two fluid ports for the transport of a heat carrier medium through the heat exchanger and a heat port. The transported heat is transferred through the heat port. In the geometry model, the areas are calculated. The model uses three fluid models from the TIL media to compute the states of the fluid at the inlet, outlet and inside the control volumes of the heat exchanger.

Level of detail, physical effects considered, and physical insight

L2 (defined in the CodingConventions)

  • Thermal inertia
  • Pressure loss
  • Physical or generic heat transfer
  • Mass (density) changes
  • variable fluid properties

Limits of validity

(Purely technical component without physical modeling.)

Interfaces

Governing Equations

Simplified equations for an easier description of the model.

rho*V*(dh/dt)=m_in*h_in+m_out*h_out+Q_flow-V*(dp/dt)

d*rho/dt*V=m_in+m_out

p_in-p_out=dp

Q_flow=alpha*A*dT

dp and alpha are calculated by the chosen pressure loss and the chosen heat transfer model.

References

The model was extended from the ClaRa library. Look there for further documentation or verification.

Version History

The model was documented by Jan Westphal (j.westphal@tuhh.de) in January 2025

Parameters

TypeNameDefaultDescription
Fundamental Definitions
TILMedia.VLEFluid.Types.BaseVLEFluidmedium (from VolumeVLE_L2)simCenter.fluid1Medium in the component
Initialisation
BooleanuseHomotopy (from VolumeVLE_L2)simCenter.useHomotopyTrue, if homotopy method is used during initialisation
ClaRa.Basics.Units.EnthalpyMassSpecifich_start (from VolumeVLE_L2)1e5Start value of system specific enthalpy
ClaRa.Basics.Units.Pressurep_start (from VolumeVLE_L2)1e5Start value of system pressure
ClaRa.Basics.Units.MassFraction[medium.nc - 1]xi_start (from VolumeVLE_L2)medium.xi_defaultStart value for mass fraction
IntegerinitOption (from VolumeVLE_L2)0Type of initialisation
General › Nominal Values
ClaRa.Basics.Units.MassFlowRatem_flow_nom (from VolumeVLE_L2)10Nominal mass flow rates at inlet
Nominal Values
ClaRa.Basics.Units.Pressurep_nom (from VolumeVLE_L2)1e5Nominal pressure
ClaRa.Basics.Units.EnthalpyMassSpecifich_nom (from VolumeVLE_L2)1e5Nominal specific enthalpy
ClaRa.Basics.Units.MassFraction[medium.nc - 1]xi_nom (from VolumeVLE_L2)medium.xi_defaultNominal mass fraction
Summary and Visualisation
BooleanshowExpertSummary (from VolumeVLE_L2)simCenter.showExpertSummaryTrue, if expert summary should be applied
BooleanshowData (from TubeBundle_L2)trueTrue, if a data port containing p,T,h,s,m_flow shall be shown, else false
BooleancontributeToCycleSummary (from TubeBundle_L2)simCenter.contributeToCycleSummaryTrue if component shall contribute to automatic efficiency calculation
BooleanheatFlowIsLoss (from TubeBundle_L2)trueTrue if heat flow is a loss (not a process product)
Geometry
IntegerheatSurfaceAlloc (from VolumeVLE_L2)1Heat transfer area to be considered
Modelica.Units.SI.Lengthlength (from TubeBundle_L2)1Length of the volume in flow direction
Modelica.Units.SI.Lengthdiameter (from TubeBundle_L2)0.1Diameter of the single tube
IntegerN_tubes (from TubeBundle_L2)1Number of prallel tubes
IntegerN_passes (from TubeBundle_L2)1Number of passes of the internal tubes
Modelica.Units.SI.Lengthz_in (from TubeBundle_L2)length/2Inlet position from bottom
Modelica.Units.SI.Lengthz_out (from TubeBundle_L2)length/2Outlet position from bottom

Connectors

TypeNameDefaultDescription
ClaRa.Basics.Interfaces.FluidPortIninlet (from VolumeVLE_L2)Inlet port
ClaRa.Basics.Interfaces.FluidPortOutoutlet (from VolumeVLE_L2)Outlet port
ClaRa.Basics.Interfaces.HeatPort_aheat (from VolumeVLE_L2)
ClaRa.Basics.Interfaces.EyeOuteye (from TubeBundle_L2)

Components

TypeNameDefaultDescription
Stringcomplexity (from ComplexityLevel)"??"
ClaRa.SimCentersimCenter (from VolumeVLE_L2)
ClaRa.Basics.Units.Massmass (from VolumeVLE_L2)Total system mass
ClaRa.Basics.Units.Pressurep (from VolumeVLE_L2)System pressure
Summarysummary (from VolumeVLE_L2)
TILMedia.VLEFluid.MixtureCompatible.VLEFluid_phfluidIn (from VolumeVLE_L2)
TILMedia.VLEFluid.MixtureCompatible.VLEFluid_phfluidOut (from VolumeVLE_L2)
HeatTransferheattransfer (from VolumeVLE_L2)
Geometrygeo (from VolumeVLE_L2)
PhaseBorderphaseBorder (from VolumeVLE_L2)
PressureLosspressureLoss (from VolumeVLE_L2)
ClaRa.Basics.Interfaces.Connected2SimCenterconnected2SimCenter (from TubeBundle_L2)