modelCcounterFlowHeatExchanger

ideal - no pressure loss

Extends from ThermalSeparation.Icons.Color.HeatExchanger.

Parameters

TypeNameDefaultDescription
Booleanalpha_inputfalse
IntegernShot2number of species which are equal in vapour and liquid phase
IntegernScold2number of species which are equal in vapour and liquid phase
IntegernLhotnSLhot - nShotnumber of additional substances which are only in liquid phase
IntegernLcoldnSLcold - nScoldnumber of additional substances which are only in liquid phase
IntegernSLhotMediumLiquidHot.nSubstance
IntegernSLcoldMediumLiquidCold.nSubstance
SI.DensityrhoHotLiquid_nomMediumLiquidHot.DensityWater(p = pLiquid_nom, T = ThotLiquidOut_nom)
SI.DensityrhoColdLiquid_nomMediumLiquidCold.DensityWater(p = pLiquid_nom, T = TcoldLiquidOut_nom)
SI.LengthdummyDiameter0.0254 diameter is abitrary
SI.LengthhotLiquidTubeLengthvolumeHotLiquid/(0.25*Modelica.Constants.pi*dummyDiameter^2)
SI.LengthcoldLiquidTubeLengthvolumeColdLiquid/(0.25*Modelica.Constants.pi*dummyDiameter^2)
SI.AreaCrossSectionAreaModelica.Constants.pi*dummyDiameter^2/4
RealzetaHotLiquid(dpHotLiquid*CrossSectionArea^2*2*dummyDiameter)/((mFlowHotLiquid_nom/rhoHotLiquid_nom)^2*hotLiquidTubeLength*rhoHotLiquid_nom)
RealzetaHotLiquid_haikoModelica.Constants.pi^2*dummyDiameter^5/(8*hotLiquidTubeLength)*(dpHotLiquid*rhoHotLiquid_nom/mFlowHotLiquid_nom^2)
RealzetaColdLiquidModelica.Constants.pi^2*dummyDiameter^5/(8*coldLiquidTubeLength)*(dpColdLiquid*rhoColdLiquid_nom/mFlowColdLiquid_nom^2)
Booleanss_hot_c2truetrue if c_l[2] of the hot liquid is to be a state
Booleanss_cold_c2truetrue if c_l[2] of the cold liquid is to be a state
Geometry
SI.MassplateMetalMass310
SI.SpecificHeatCapacitycpMetal500
SI.VolumevolumeHotLiquid11e-3
SI.VolumevolumeColdLiquid11e-3
SI.AreasurfaceArea10.4
nominal operating point
SI.PressuredpHotLiquid2e5
SI.PressuredpColdLiquid2e5
SI.MassFlowRatemFlowHotLiquid_nom0.3
SI.MassFlowRatemFlowColdLiquid_nom0.3
SI.TemperatureThotLiquidOut_nomThotLiquid_start
SI.TemperatureTcoldLiquidOut_nomTcoldLiquid_start
SI.AbsolutePressurepLiquid_nom4e5
Initialization
SI.TemperatureThotLiquidIn_start104 + 273.15
SI.TemperatureTcoldLiquidIn_start51 + 273.15
SI.TemperatureThotLiquid_start56 + 273.15
SI.TemperatureTcoldLiquid_start98 + 273.15
SI.Concentration[nSLhot]c_l_start_hot{5, 40000}initial value for concentration of hot liquid
SI.Concentration[nSLcold]c_l_start_cold{5, 40000}initial value for concentration of cold liquid

Connectors

TypeNameDefaultDescription
ThermalSeparation.Interfaces.LiquidPortInhotLiquidIn
ThermalSeparation.Interfaces.LiquidPortOuthotLiquidOut
ThermalSeparation.Interfaces.LiquidPortIncoldLiquidIn
ThermalSeparation.Interfaces.LiquidPortOutcoldLiquidOut
Modelica.Blocks.Interfaces.RealInputalpha_in

Components

TypeNameDefaultDescription
SI.CoefficientOfHeatTransferalphaHot_nom
SI.CoefficientOfHeatTransferalphaCold_nom
SI.CoefficientOfHeatTransferalphaHot_nom_param3600
SI.CoefficientOfHeatTransferalphaCold_nom_param3600
SI.TemperatureDifferencelogDtHot
SI.TemperatureDifferencelogDtCold
SI.TemperatureTwallHot
SI.TemperatureTwallCold
SI.HeatFlowRateQFlowFromColdLiqidInToColdWall
SI.HeatFlowRateQFlowFromColdLiqidOutToHotWall
SI.HeatFlowRateQFlowFromHotLiqidInToHotWall
SI.HeatFlowRateQFlowFromHotLiqidOutToColdWall
SI.CoefficientOfHeatTransferalphaCold
SI.CoefficientOfHeatTransferalphaHot
ThermalSeparation.Components.HeatExchanger.LiquidTubehotLiquidTube
ThermalSeparation.Components.HeatExchanger.LiquidTubecoldLiquidTube
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowheatFlowColdLiquidTube
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowheatFlowHotLiquidTube
MediumLiquidCold.BasePropertiesmediumColdIn
RealT_c_in
Realh_c_in
MediumLiquidHot.BasePropertiesmediumHotIn
RealT_h_in
Realh_h_in
MediumLiquidCold.BasePropertiesmediumColdOut
RealT_c_out
Realh_c_out
MediumLiquidHot.BasePropertiesmediumHotOut
RealT_h_out
Realh_h_out
SI.VolumeFlowRateVdot_c_in(coldLiquidIn.Ndot)*mediumColdIn.MM/mediumColdIn.d
SI.VolumeFlowRateVdot_h_in(hotLiquidIn.Ndot)*mediumHotIn.MM/mediumHotIn.d
Realomega

Contents

NameDescription
MediumLiquidCold
MediumLiquidHot