.AixLib.Media.Refrigerants.Interfaces.TemplateHybridTwoPhaseMediumFormula

Template for media models using a hybrid approach without records

Information

This package is a template for new refrigerant models using a hybrid approach based on the "Fast_Propane" model developed by Sangi et al. (for detailed information, please checkout AixLib.Media.Refrigerants.Interfaces.PartialHybridTwoPhaseMediumFormula ). For a new refrigerant model just make a copy of this package, remove the "partial" keyword from the package and provide the information that is requested in the comments of the Modelica code. The following information is requested:

  1. Fluid constants: Provide basic information of the refrigerant and add the reference.
  2. Basic information: Provide basic information like the refrigerant name and its valid fluid limits in terms of different thermodynamic state properties.
  3. Base properties: Provide information about the refrigerant's base properties like the relation between specific enthalpy, specific internal energy, pressure and density.
  4. Helmholtz EoS: Provide the formulas of the Helmholtz equation of state.
  5. Saturation state properties: Provide the formulas of the saturation properties.
  6. Further thermodynamic properties: Provide formulas for further thermodynamic properties like the thermal conductivity or surface tension.
  7. Fitted state properties: Provide the formulas of ther further state properties.

A refrigerant package inherits from PartialHybridTwoPhaseMediumFormula and provides the equations for the refrigerant. Moreover, the PartialHybridTwoPhaseMedium package inherits from PartialMedium and, therefore, the details of this package are described in Modelica.Media.UsersGuide .

References

Sangi, Roozbeh; Jahangiri, Pooyan; Klasing, Freerk; Streblow, Rita; Müller, Dirk (2014): A Medium Model for the Refrigerant Propane for Fast and Accurate Dynamic Simulations. In: The 10th International Modelica Conference. Lund, Sweden, March 10-12, 2014: Linköping University Electronic Press (Linköping Electronic Conference Proceedings), S. 1271–1275

Contents

Name Description
 SmoothTransition Record that contains ranges to calculate a smooth transition between different regions
 f_Idg Dimensionless Helmholtz energy (Ideal gas contribution f_Idg)
 f_Res Dimensionless Helmholtz energy (Residual part alpha_r)
 t_fIdg_t Short form for tau*(dalpha_0/dtau)_delta=const
 tt_fIdg_tt Short form for tau*tau*(ddalpha_0/(dtau*dtau))_delta=const
 t_fRes_t Short form for tau*(dalpha_r/dtau)_delta=const
 tt_fRes_tt Short form for tau*tau*(ddalpha_r/(dtau*dtau))_delta=const
 d_fRes_d Short form for delta*(dalpha_r/(ddelta))_tau=const
 dd_fRes_dd Short form for delta*delta(ddalpha_r/(ddelta*delta))_tau=const
 td_fRes_td Short form for tau*delta*(ddalpha_r/(dtau*ddelta))
 ttt_fIdg_ttt Short form for tau*tau*tau*(dddalpha_0/(dtau*dtau*dtau))_delta=const
 ttt_fRes_ttt Short form for tau*tau*tau*(dddalpha_r/(dtau*dtau*dtau))_delta=const
 ddd_fRes_ddd Short form for delta*delta*delta* (dddalpha_r/(ddelta*ddelta*ddelta))_tau=const
 tdd_fRes_tdd Short form for tau*delta*delta*(dddalpha_r/(dtau*ddelta*ddelta))
 ttd_fRes_ttd Short form for tau*tau*delta*(dddalpha_r/(dtau*dtau*ddelta))
 saturationPressure Saturation pressure of refrigerant (Ancillary equation)
 saturationTemperature Saturation temperature of refrigerant (Ancillary equation)
 bubbleDensity Boiling curve specific density of refrigerant (Ancillary equation)
 dewDensity Dew curve specific density of refrigerant (Ancillary equation)
 bubbleEnthalpy Boiling curve specific enthalpy of refrigerant (Ancillary equation)
 dewEnthalpy Dew curve specific enthalpy of refrigerant (Ancillary equation)
 bubbleEntropy Boiling curve specific entropy of refrigerant (Ancillary equation)
 dewEntropy Dew curve specific entropy of propane (Ancillary equation)
 temperature_ph Calculates temperature as function of pressure and specific enthalpy
 temperature_ps Calculates temperature as function of pressure and specific entroy
 density_pT Computes density as a function of pressure and temperature
 dynamicViscosity Calculates dynamic viscosity of refrigerant
 thermalConductivity Calculates thermal conductivity of refrigerant
 surfaceTension Surface tension in two phase region of refrigerant

Revisions


Generated at 2026-03-31T18:29:59Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos