modelHx_06122013

Simplified heat exchanger model. Not object-oriented

Extends from ThermoCycle.Components.Units.BaseUnits.BaseHxConst.

Parameters

TypeNameDefaultDescription
IntegerN5Number of nodes for the heat exchanger
Modelica.SIunits.VolumeV_sf0.03781Volume secondary fluid
Modelica.SIunits.VolumeV_wf0.03781Volume primary fluid
Modelica.SIunits.AreaA16.18Heat transfer area
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
ThermoCycle.Functions.Enumerations.HT_sfHTtype_sfHT_sf.ConstSecondary fluid: Choose heat transfer coeff
Modelica.SIunits.CoefficientOfHeatTransferUnom_sf369Coefficient of heat transfer, secondary fluid
HTtypesHTtype_wfHTtypes.LiqVapWorking fluid: Choose heat transfer coeff. type. Set LiqVap with Unom_l=Unom_tp=Unom_v to have a Const HT
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
SummaryClassSummary
Modelica.SIunits.MassFlowRateM_dot_sf
Modelica.SIunits.SpecificHeatCapacitycp_sf
Modelica.SIunits.TemperatureT_sf_su
Modelica.SIunits.Densityrho_sf_su
Modelica.SIunits.Temperature[N]T_sfNode temperatures
Modelica.SIunits.HeatFlux[N]qdot_sfAverage heat flux
Modelica.SIunits.Temperature[N + 1]Tnode_sf
Modelica.SIunits.Temperature[N]T_wallCell temperatures
Modelica.SIunits.MassFlowRateM_dot_su
Medium.ThermodynamicState[N]fluidState
Medium.SaturationPropertiessat
Medium.SpecificEnthalpy[N]hFluid specific enthalpy at the nodes
Modelica.SIunits.Pressurep
Medium.Temperature[N]TFluid temperature
Medium.Density[N]rhoFluid cell density
Modelica.SIunits.DerDensityByEnthalpy[N]drdhDerivative of density by enthalpy
Modelica.SIunits.DerDensityByPressure[N]drdpDerivative of density by pressure
Modelica.SIunits.SpecificEnthalpy[N + 1]hnodeEnthalpy state variables
Real[N]dMdtTime derivative of mass in each cell between two nodes
Modelica.SIunits.HeatFlux[N]qdot_wfAverage heat flux
Modelica.SIunits.MassFlowRate[N + 1]Mdot
Modelica.SIunits.CoefficientOfHeatTransfer[N]U_wfHeat transfer coefficient between wall and working fluid
Modelica.SIunits.CoefficientOfHeatTransferU_sfHeat transfer coefficient,secondary fluid
Real[N]xVapor quality
Modelica.SIunits.SpecificEnthalpyh_l
Modelica.SIunits.SpecificEnthalpyh_v
Modelica.SIunits.VolumeVi_wfV_wf/N
Modelica.SIunits.AreaAiA/N
Modelica.SIunits.VolumeVi_sfV_sf/N

Contents

NameDescription
Medium
SummaryBase
SummaryClass