modelExpanderHermeticDetailed

Expander model (oil free, open-drive)

Information

Model ExpanderHermeticDetailed represents the expanson of fluid in a volumetric machine. The evolution of the refrigerant through the expander is decomposed into six thermodynamic processes:

Parameters

TypeNameDefaultDescription
Stringfluid"Refprop.R245FA"Reference of the working fluid
Modelica.SIunits.VolumeV_s22.4e-6Displacement
Realr_v_in2.85
Modelica.SIunits.Lengthd_su6.18e-3
Modelica.SIunits.MassFlowRateM_dot_n0.1
Modelica.SIunits.ThermalConductanceAU_su_n30
Modelica.SIunits.ThermalConductanceAU_ex_n30
Modelica.SIunits.ThermalConductanceAU_amb3.4
Modelica.SIunits.AreaA_leak2.6e-6
Modelica.SIunits.PowerW_dot_loss00
Realalpha0.1
Modelica.SIunits.TemperatureT_amb25 + 273.15
Modelica.SIunits.SpecificHeatCapacityc_w500
Modelica.SIunits.MassM_w20
Modelica.SIunits.SpecificHeatCapacityc_p_su1_start1170Start value for the supply specific heat capacity after pressure loss
Modelica.SIunits.ThermalConductanceC_dot_su1_start77Start value for the supply heat capacity flow rate after pressure loss
Modelica.SIunits.ThermalConductanceAU_su_start21.49Start value for the supply heat transfer coefficient
Realepsilon_su_start0.243174Start value for the supply efficiency
Modelica.SIunits.HeatFlowRateQ_dot_su_start-369.857Start value for the supply heat transfer rate
Modelica.SIunits.TemperatureT_w_start373.6Start value for the wall temperature
Modelica.SIunits.SpecificEnthalpyh_su2_start498749Start value for the supply specific enthalpy after heat transfer
Modelica.SIunits.TemperatureT_su2_start388.5Start value for the supply temperature after heat transfer
Modelica.SIunits.SpecificVolumev_su2_start0.02Start value for the supply specific volume after heat transfer
Modelica.SIunits.SpecificEntropys_su2_start1866Start value for the supply specific entropy after heat transfer
Modelica.SIunits.Pressurep_su2_start1.01791e6Start value for the pressure after heat transfer
Modelica.SIunits.MassFlowRateM_dot_in_start0.054812Start value for the internal mass flow rate
Modelica.SIunits.Pressurep_crit_start634079Start value for the critical pressure
Modelica.SIunits.Pressurep_thr_start634079Start value for the throat pressure
Modelica.SIunits.Pressurep_ex3_start100000Start value for the pressure after expansion
Modelica.SIunits.SpecificEnthalpyh_thr_start488984Start value for the specific enthalpy at the throat
Modelica.SIunits.VelocityC_thr_start139.75Start value for the fluid velocity the throat
Modelica.SIunits.MassFlowRateM_dot_leak_start0.0110975Start value for the leakage mass flow rate
Modelica.SIunits.SpecificVolumev_in_start0.0617109Start value for the supply specific volume after heat transfer
Modelica.SIunits.Pressurep_in_start335196Start value for the internal pressure
Modelica.SIunits.SpecificEnthalpyh_in_start475750Start value for the internal specific enthalpy after heat transfer
Modelica.SIunits.SpecificEnthalpyw_1_start22999Start value for the internal isentropic work
Modelica.SIunits.SpecificEnthalpyw_2_start14514Start value for the internal constant volume work
Modelica.SIunits.SpecificEnthalpyh_ex3_start461236Start value for the internal specific enthalpy after expansion
Modelica.SIunits.PowerW_dot_in_start2056Start value for the internal power
Modelica.SIunits.PowerW_dot_loss1_start183Start value for the mechanical losses
Modelica.SIunits.PowerW_dot_sh_start1873Start value for the shaft power
Modelica.SIunits.PowerW_dot_loss2_start215Start value for the electro-mechanical losses
Modelica.SIunits.PowerW_dot_el_start1658Start value for the electrical power
Modelica.SIunits.SpecificEnthalpyh_ex2_start467552Start value for the specific enthalpy after mixing with leakages
Modelica.SIunits.Pressurep_ex2_start100000Start value for the pressure after mixing with leakage
Modelica.SIunits.TemperatureT_ex2_start344Start value for the temperature after mixing with lekage
Modelica.SIunits.SpecificHeatCapacityc_p_ex2_start964Start value for the exhaust specific heat capacity
Modelica.SIunits.ThermalConductanceC_dot_ex2_start64Start value for the exhaust heat capacity flow rate
Modelica.SIunits.ThermalConductanceAU_ex_start21.49Start value for the exhaust heat transfer coefficient
Realepsilon_ex_start0.29Start value for the exhaust efficiency
Modelica.SIunits.HeatFlowRateQ_dot_ex_start542Start value for the exhaust heat transfer rate
Modelica.SIunits.SpecificEnthalpyh_ex1_start475776Start value for the specific enthalpy after heat transfer
Modelica.SIunits.Pressurep_ex1_start100000Start value for the pressure after heat transfer
Modelica.SIunits.HeatFlowRateQ_dot_amb_start226Start value for the ambient heat transfer rate
Modelica.SIunits.FrequencyN_rot_start50Rotating speed in Hz
Initialization
BooleanconstPinitfalseif true, sets the evaporating pressure to a constant value at the beginning of the simulation in order to avoid oscillations
Booleanconstinitfalseif true, sets the efficiencies to a constant value at the beginning of the simulation
Modelica.SIunits.Timet_init10if constinit is true, time during which the efficiencies are set to their start values
Modelica.SIunits.MassFlowRateM_dot_start0.08Inlet pressure start value
Modelica.SIunits.Pressurep_su_start10e5Inlet pressure start value
Modelica.SIunits.TemperatureT_su_start423.15Inlet temperature start value
Modelica.SIunits.SpecificEnthalpyh_su_startTILMedia.FunctionBasedMedia.Refrigerant.specificEnthalpy_pT(p = p_su_start, T = T_su_start, refrigerantName = "Refprop.R245FA")Inlet specific enthalpy start value
Modelica.SIunits.Pressurep_su1_start9e5Inlet pressure after pressure loss start value
Modelica.SIunits.TemperatureT_su1_start423.15Inlet temperature start value
Modelica.SIunits.SpecificEnthalpyh_su1_starth_su_startInlet specific enthalpy after pressure loss start value
Modelica.SIunits.Pressurep_ex_start3e5Inlet pressure start value

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputN
Interfaces.Fluid.FlangeAflangeA
Interfaces.Fluid.FlangeBflangeB

Components

TypeNameDefaultDescription
TILMedia.Refrigerantfluid_su
TILMedia.Refrigerantfluid_su1
TILMedia.Refrigerantfluid_su2
TILMedia.Refrigerantfluid_ex
TILMedia.Refrigerantfluid_thr
TILMedia.Refrigerantfluid_in
TILMedia.Refrigerantfluid_ex2
TILMedia.Refrigerantfluid_ex1
TILMedia.Refrigerantfluid_exs
Modelica.SIunits.MassFlowRateM_dot
Modelica.SIunits.Densityrho_su
Modelica.SIunits.SpecificEnthalpyh_su
Modelica.SIunits.Pressurep_su
Modelica.SIunits.TemperatureT_su
Modelica.SIunits.SpecificEntropys_su
Modelica.SIunits.TemperatureDELTAT_su
Modelica.SIunits.SpecificVolumev_su
Modelica.SIunits.AreaA_su
Modelica.SIunits.Pressurep_su1
Modelica.SIunits.SpecificEnthalpyh_su1
Modelica.SIunits.TemperatureT_su1
Modelica.SIunits.SpecificHeatCapacityc_p_su1
Modelica.SIunits.ThermalConductanceC_dot_su1
Modelica.SIunits.ThermalConductanceAU_su
Realepsilon_su
Modelica.SIunits.HeatFlowRateQ_dot_su
Modelica.SIunits.TemperatureT_w
Modelica.SIunits.SpecificEnthalpyh_su2
Modelica.SIunits.TemperatureT_su2
Modelica.SIunits.SpecificVolumev_su2
Modelica.SIunits.SpecificEntropys_su2
Modelica.SIunits.Pressurep_su2
Realrpm
Modelica.SIunits.VolumeFlowRateV_dot_s
Modelica.SIunits.MassFlowRateM_dot_in
Realgamma
Modelica.SIunits.Pressurep_crit
Modelica.SIunits.Pressurep_thr
Modelica.SIunits.Pressurep_ex3
Modelica.SIunits.SpecificEnthalpyh_thr
Modelica.SIunits.VelocityC_thr
Modelica.SIunits.MassFlowRateM_dot_leak
Modelica.SIunits.SpecificVolumev_in
Modelica.SIunits.Pressurep_in
Modelica.SIunits.SpecificEnthalpyh_in
Modelica.SIunits.SpecificEnthalpyw_1
Modelica.SIunits.SpecificEnthalpyw_2
Modelica.SIunits.SpecificEnthalpyh_ex3
Modelica.SIunits.PowerW_dot_in
Modelica.SIunits.PowerW_dot_loss1
Modelica.SIunits.PowerW_dot_sh
Realrpm_rel
Modelica.SIunits.PowerW_dot_loss2
Modelica.SIunits.PowerW_dot_el
Modelica.SIunits.SpecificEnthalpyh_ex2
Modelica.SIunits.Pressurep_ex2
Modelica.SIunits.TemperatureT_ex2
Modelica.SIunits.ThermalConductanceAU_ex
Modelica.SIunits.SpecificHeatCapacityc_p_ex2
Modelica.SIunits.ThermalConductanceC_dot_ex2
Realepsilon_ex
Modelica.SIunits.HeatFlowRateQ_dot_ex
Modelica.SIunits.Pressurep_ex1
Modelica.SIunits.SpecificEnthalpyh_ex1
Modelica.SIunits.HeatFlowRateQ_dot_amb
Modelica.SIunits.HeatFlowRateres
Modelica.SIunits.PowerU_dot_w
Modelica.SIunits.HeatFlowRateresidual
Modelica.SIunits.Efficiencyepsilon_sIsentropic efficiency
RealFF
Modelica.SIunits.SpecificEnthalpyh_ex
Modelica.SIunits.Pressurep_ex
Modelica.SIunits.FrequencyN_rotRotating speed in Hz