modelHx_130627

Simplified heat exchanger model, useful for the ORCNext project

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

Parameters

TypeNameDefaultDescription
IntegerN5Number of cells
Modelica.SIunits.AreaA16.18Heat exchange area
Modelica.SIunits.VolumeV0.03781Heat exchanger internal volume, working fluid side
Modelica.SIunits.VolumeV_sf0.03781Total Internal volume, hot side [m3]
Modelica.SIunits.VolumeViV/NInternal volume for each cell, cold side [m3]
Modelica.SIunits.AreaAiA/N
Modelica.SIunits.VolumeVi_sfV_sf/N
HTtypesHTtypeHTtypes.LiqVapSelect type of heat transfer coefficient
Modelica.SIunits.CoefficientOfHeatTransferUnom_l300Constant heat transfer coefficient, liquid zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_tp700Constant heat transfer coefficient, two-phase zone
Modelica.SIunits.CoefficientOfHeatTransferUnom_v400Constant heat transfer coefficient, vapor zone
HT_sfHTtype_sfHT_sf.ConstSelect type of heat transfer coefficient
Modelica.SIunits.CoefficientOfHeatTransferUnom_sf369Nominal heat transfer coefficient,secondary fluid
Modelica.SIunits.MassFlowRateMdotnom_sf3Norminal secondary fluid flow rate
Modelica.SIunits.MassM_wall69Wall mass
Modelica.SIunits.SpecificHeatCapacityc_wall500Specific heat capacity of the metal
Modelica.SIunits.MassFlowRateMdotnom0.2588Nominal working fluid flow rate
Initialization
Modelica.SIunits.TemperatureTstart_sf_left408.45Secondary fluid temperature start value - first node
Modelica.SIunits.TemperatureTstart_sf_right418.15Secondary fluid temperature start value - last node
Modelica.SIunits.Temperature[N]Tstart_sflinspace(Tstart_sf_left, Tstart_sf_right, N)Start value of temperature vector (initialized by default)
Modelica.SIunits.TemperatureTstart_wall_left(Tstart_wf_left + Tstart_sf_right)/2Wall temperature start value - first node
Modelica.SIunits.TemperatureTstart_wall_right(Tstart_wf_right + Tstart_sf_left)/2Wall temperature start value - last node
Modelica.SIunits.Temperature[N]Tstart_walllinspace(Tstart_wall_left, Tstart_wall_right, N)Start value of temperature vector (initialized by default)
Modelica.SIunits.Pressurepstart23.57e5Working fluid pressure start value
Modelica.SIunits.SpecificEnthalpyhstart_left283000Inlet working fluid enthalpy start value
Modelica.SIunits.SpecificEnthalpyhstart_right505000Outlet enthalpy start value
Modelica.SIunits.TemperatureTstart_wf_left334.9Working fluid temperature start value - first node
Modelica.SIunits.TemperatureTstart_wf_right413.15Working fluid temperature start value - last node
Modelica.SIunits.Temperature[N]Tstart_wflinspace(Tstart_wf_left, Tstart_wf_right, N)Start value of temperature vector (initialized by default)
Modelica.SIunits.SpecificEnthalpy[N]hstartlinspace(hstart_left, hstart_right, N)Start value of enthalpy vector (initialized by default)
Numerical options
BooleanMdotconstfalseSet to yes to assume constant mass flow rate at each node (easier convergence)
Booleanmax_derfalseSet to yes to limit the density derivative during phase transitions
Booleanaverage_TcelltrueSet to yes to impose the cell enthalpy as the average of the surrounding nodes enthalpies
Booleanfilter_dMdtfalseSet to yes to filter dMdt with a first-order filter
Realmax_drhodt100Maximum value for the density derivative
Modelica.SIunits.TimeTT1Integration time of the first-order filter
Initialization › Intialization options
Booleansteadystate_T_sftrueif true, sets the derivative of T_sf to zero during Initialization
Booleansteadystate_htrueif true, sets the derivative of h (working fluid enthalpy in each cell) to zero during Initialization
Booleansteadystate_T_walltrueif true, sets the derivative of T_wall to zero during Initialization

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
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

Contents

NameDescription
Medium