modelHX

Extends from SolarTherm.Interfaces.Models.HeatExchangerFluid.

Information

HX provide an optimizated design of a Shell and Tubes HX, based on some input parameters and it models the HX operating conditions based on a LMTD approach.

Parameters

TypeNameDefaultDescription
SI.HeatFlowRateQ_d_des50e6Design Heat Flow Rate
SI.TemperatureT_Na1_des740 + 273.15Desing Sodium Hot Fluid Temperature
SI.TemperatureT_MS1_des500 + 273.15Desing Molten Salt Cold Fluid Temperature
SI.TemperatureT_MS2_des720 + 273.15Desing Molten Salt Hot Fluid Temperature
SI.Pressurep_Na1_des101325Design Sodium Inlet Pressure
SI.Pressurep_MS1_des101325Design Molten Salt Inlet Pressure
SI.TemperatureT_Na2_input520 + 273.15Optimal outlet sodium temperature
Booleanratio_condtrueActivate ratio constraint
Realratio_max10Maximum L/D_s ratio
BooleanL_max_condfalseActivate maximum HX length constraint
SI.LengthL_max_input1Maximum HX length
Booleanoptimize_and_runtrue
SI.Lengthd_o_input0.00635Optimal Outer Tube Diameter
IntegerN_p_input1Optimal Tube passes number
Integerlayout_input2Optimal Tube Layout
FI.EnergyPrice_kWhc_e0.13/0.9175Power cost
Realr0.05Real interest rate
RealH_y4500Operating hours
Integern30Operating years
Medium1.ThermodynamicStatestate_Na_in_0Medium1.setState_pTX(p_Na1_des, T_Na1_des)
Medium2.ThermodynamicStatestate_MS_in_0Medium2.setState_pTX(p_MS1_des, T_MS1_des)
SI.SpecificEnthalpyh_Na_in_0Medium1.specificEnthalpy(state_Na_in_0)
SI.SpecificEnthalpyh_MS_in_0Medium2.specificEnthalpy(state_MS_in_0)
Medium1.ThermodynamicStatestate_Na_out_0Medium1.setState_pTX(p_Na1_des, T_Na2_design)
Medium2.ThermodynamicStatestate_MS_out_0Medium2.setState_pTX(p_MS1_des, T_MS2_des)
SI.SpecificEnthalpyh_Na_out_0Medium1.specificEnthalpy(state_Na_out_0)
SI.SpecificEnthalpyh_MS_out_0Medium2.specificEnthalpy(state_MS_out_0)
SI.MassFlowRatem_flow_Na_min_desSodium minimum mass flow rate
SI.MassFlowRatem_flow_MS_min_desMolten-Salt minimum mass flow rate
SI.TemperatureT_Na2_min505 + 273.15Desing Sodium Hot Fluid Temperature
Medium1.ThermodynamicStatestate_Na_minMedium1.setState_pTX(p_Na1_des, T_Na2_min)
SI.SpecificEnthalpyh_Na_minMedium1.specificEnthalpy(state_Na_min)
SI.TemperatureDifferenceDT1_startT_Na1_des - T_MS2_des
SI.TemperatureDifferenceDT2_startT_Na2_design - T_MS1_des
SI.TemperatureDifferenceLMTD_start(DT1_start - DT2_start)/MA.log(DT1_start/DT2_start)
SI.MassFlowRatem_flow_Na_designSodium mass flow rate
SI.MassFlowRatem_flow_MS_designMolten-Salt mass flow rate
RealF_designTemperature correction factor
SI.ThermalConductanceUA_designUA
IntegerN_tNumber of tubes
SI.CoefficientOfHeatTransferU_designHeat tranfer coefficient
SI.AreaA_HXExchange Area
SI.PressureDp_tube_designTube-side pressure drop
SI.PressureDp_shell_designShell-side pressure drop
FI.MoneyPerYearTACTotal Annualized Cost
SI.CoefficientOfHeatTransferh_s_designShell-side Heat tranfer coefficient
SI.CoefficientOfHeatTransferh_t_designTube-side Heat tranfer coefficient
SI.LengthD_sShell Diameter
SI.LengthD_s_outOuter Shell Diameter
IntegerN_bafflesNumber of baffles
SI.Lengthl_bBaffle spacing
SI.Velocityv_Na_designSodium velocity in tubes
SI.Velocityv_max_MS_designMolten Salt velocity in shell
SI.VolumeV_HXHeat-Exchanger Total Volume
SI.Massm_HXHeat-Exchanger Total Mass
SI.Massm_material_HXHeat-Exchanger Material Mass
FI.Money_USDC_BEC_HXBare cost @2018
FI.MoneyPerYearC_pump_designAnnual pumping cost
Realex_eff_designHX Exergetic Efficiency
Realen_eff_designHX Energetic Efficiency
SI.LengthLTube length
Realratio_HX
Realpenalty
SI.Lengthd_oOptimal Outer Tube Diameter
IntegerN_pOptimal Tube passes number
IntegerN_spOptimal Tube passes number
IntegerlayoutOptimal Tube Layout
SI.TemperatureT_Na2_designOptimal outlet sodium temperature

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a_in (from HeatExchangerFluid)
Modelica.Fluid.Interfaces.FluidPort_bport_a_out (from HeatExchangerFluid)
Modelica.Fluid.Interfaces.FluidPort_aport_b_in (from HeatExchangerFluid)
Modelica.Fluid.Interfaces.FluidPort_bport_b_out (from HeatExchangerFluid)
Modelica.Blocks.Interfaces.BooleanInputHF_on

Components

TypeNameDefaultDescription
SI.MassFlowRatem_flow_NaSodium mass flow rate
SI.MassFlowRatem_flow_MSMolten Salt mass flow rate
SI.TemperatureT_Na1Sodium Hot Fluid Temperature
SI.TemperatureT_MS1Molten Salt Cold Fluid Temperature
SI.TemperatureT_MS2Molten Salt Hot Fluid Temperature
SI.TemperatureT_Na2Sodium Cold Fluid Temperature
SI.Pressurep_Na1Sodium Inlet Pressure
SI.Pressurep_MS1Molten Salt Inlet Pressure
SI.Pressurep_Na2Sodium Outlet Pressure
SI.Pressurep_MS2Molten Salt Outlet Pressure
SI.CoefficientOfHeatTransferUHeat tranfer coefficient
SI.CoefficientOfHeatTransferh_sShell-side Heat tranfer coefficient
SI.CoefficientOfHeatTransferh_tTube-side Heat tranfer coefficient
SI.HeatFlowRateQDesign Heat Flow Rate
RealFTemperature correction factor
SI.TemperatureDifferenceDT1Sodium-Molten Salt temperature difference 1
SI.TemperatureDifferenceDT2Sodium-Molten Salt temperature difference 2
SI.TemperatureDifferenceLMTDLogarithmic mean temperature difference
SI.PressureDp_tubeTube-side pressure drop
SI.PressureDp_shellShell-side pressure drop
SI.Velocityv_NaSodium velocity in tubes
SI.Velocityv_max_MSMolten Salt velocity in shell
SI.TemperatureTm_NaMean Sodium Fluid Temperature
SI.TemperatureTm_MSMean Molten Salts Fluid Temperature
SI.ThermalConductivityk_NaSodium Conductivity @mean temperature
SI.ThermalConductivityk_MSMolten Salts Conductivity @mean temperature
SI.Densityrho_NaSodium density @mean temperature
SI.Densityrho_MSMolten Salts density @mean temperature
SI.DynamicViscositymu_NaSodium dynamic viscosity @mean temperature
SI.DynamicViscositymu_MSMolten Salts dynamic viscosity @mean temperature
SI.DynamicViscositymu_Na_wallSodium dynamic viscosity @wall temperature
SI.DynamicViscositymu_MS_wallMolten salts dynamic viscosity @wall temperature
SI.SpecificHeatCapacitycp_NaSodium specific heat capacity @mean temperature
SI.SpecificHeatCapacitycp_MSMolten Salts specific heat capacity @mean temperature
Medium1.ThermodynamicStatestate_mean_Na
Medium1.ThermodynamicStatestate_input_Na
Medium1.ThermodynamicStatestate_output_Na
Medium2.ThermodynamicStatestate_mean_MS
Medium2.ThermodynamicStatestate_wall_MS
Medium2.ThermodynamicStatestate_input_MS
Medium2.ThermodynamicStatestate_output_MS
SI.SpecificEnthalpyh_Na_in
SI.SpecificEnthalpyh_MS_in
SI.SpecificEnthalpyh_MS_out
SI.SpecificEnthalpyh_Na_out

Contents

NameDescription
Medium1Medium props for Sodium
Medium2Medium props for Molten Salt

Revisions

  • Jan 2020 by Salvatore Guccione:
    Released first version.