Package Modelica.​Media.​R134a.​R134a_ph
Medium model for R134a and p,h as states

Information

Calculation of fluid properties for Tetrafluoroethane (R134a) in the fluid region of 0.0039 bar (Triple pressure) to 700 bar and 169.85 Kelvin (Triple temperature) to 455 Kelvin.

Restriction

The functions provided by this package shall be used inside of the restricted limits according to the referenced literature.

References

Baehr, H.D. and Tillner-Roth, R.:
Thermodynamic Properties of Environmentally Acceptable Refrigerants - Equations of State and Tables for Ammonia, R22, R134a, R152a, and R123. Springer-Verlag, Berlin (Germany), 1994.
Klein, McLinden and Laesecke:
An improved extended corresponding states method for estimation of viscosity of pure refrigerants and mixtures. Int. J. Refrig., Vol. 20, No.3, pp. 208-217, 1997.
McLinden, Klein. and Perkins:
An extended corresponding states model for the thermal conductivity of refrigerants and refrigerant mixtures. Int. J. Refrig., 23 (2000) 43-63.
Okada and Higashi:
Surface tension correlation of HFC-134a and HCFC-123. Proceedings of the Joint Meeting of IIR Commissions B1, B2, E1, and E2, Padua, Italy, pp. 541-548, 1994.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium (Base class for two phase medium of one substance).

Package Contents

NameDescription
AbsolutePressureType for absolute pressure with medium specific attributes
BasePropertiesBase properties of R134a
BasicThe most basic version of a record used in several degrees of detail
betaAlias for isobaricExpansionCoefficient for user convenience
bubbleDensityDensity of liquid phase w.r.t saturation pressure | use setSat_p function for input
bubbleEnthalpySpecific enthalpy of liquid phase w.r.t saturation pressure | use setSat_p function for input
bubbleEntropySpecific entropy of liquid phase w.r.t saturation pressure | use setSat_p function for input
Choices 
CumulativeExtraPropertyType for conserved integral of unspecified, mass specific property
dBubbleDensity_dPressureDerivative of liquid density in two-phase region w.r.t pressure
dBubbleDensity_dPressure_der_satTime derivative of liquid density in two-phase region w.r.t pressure
dBubbleEnthalpy_dPressureDerivative of liquid specific enthalpy in two-phase region w.r.t pressure
dBubbleEnthalpy_dPressure_der_satTime derivative of liquid specific enthalpy in two-phase region w.r.t pressure
dBubbleEntropy_dPressureDerivative of liquid specific entropy in two-phase region w.r.t pressure | use setState_phX function for input
dBubbleEntropy_dPressure_der_satTime derivative of liquid specific entropy in two-phase region w.r.t pressure | use setState_phX function for input
dDewDensity_dPressureDerivative of vapor density in two-phase region w.r.t pressure
dDewDensity_dPressure_der_satTime derivative of vapor density in two-phase region w.r.t pressure
dDewEnthalpy_dPressureDerivative of vapor specific enthalpy in two-phase region w.r.t pressure
dDewEnthalpy_dPressure_der_satTime derivative of vapor specific enthalpy in two-phase region w.r.t pressure
dDewEntropy_dPressureDerivative of vapor specific entropy in two-phase region w.r.t pressure | use setState_phX function for input
dDewEntropy_dPressure_der_satTime derivative of vapor specific entropy in two-phase region w.r.t pressure | use setState_phX function for input
DensityType for density with medium specific attributes
densityDensity as function of pressure and specific enthalpy | use setState_phX function for input
density_derh_pDensity derivative by specific enthalpy | use setState_phX function for input
density_derp_hDensity derivative by pressure | use setState_phX function for input
density_derp_TReturn density derivative w.r.t. pressure at const temperature
density_derT_pReturn density derivative w.r.t. temperature at constant pressure
density_derXReturn density derivative w.r.t. mass fraction
density_phDensity as function of pressure and specific enthalpy
density_phXReturn density from p, h, and X or Xi
density_psReturn density from p and s
density_psXReturn density from p, s, and X or Xi
density_pTReturn density from p and T
density_pTXReturn density from p, T, and X or Xi
DerDensityByEnthalpyType for partial derivative of density with respect to enthalpy with medium specific attributes
DerDensityByPressureType for partial derivative of density with respect to pressure with medium specific attributes
DerDensityByTemperatureType for partial derivative of density with respect to temperature with medium specific attributes
DerEnthalpyByPressureType for partial derivative of enthalpy with respect to pressure with medium specific attributes
derivsOf_phDerivatives required for inversion of temperature and density functions
DerTemperatureByPressureType for partial derivative of temperature with respect to pressure with medium specific attributes
dewDensityDensity of vapor phase w.r.t saturation pressure | use setSat_p function for input
dewEnthalpySpecific enthalpy of vapor phase w.r.t saturation pressure | use setSat_p function for input
dewEntropySpecific entropy of vapor phase w.r.t saturation pressure | use setSat_p function for input
DipoleMomentType for dipole moment with medium specific attributes
dofpTCompute d for given p and T
dt_phDensity and temperature w.r.t. pressure and specific enthalpy
dtofphOnePhaseDensity and temperature w.r.t. pressure and specific enthalpy in one-phase region
dtofpsOnePhaseInverse iteration in one phase region (d,T) = f(p,s)
DynamicViscosityType for dynamic viscosity with medium specific attributes
dynamicViscosityDynamic viscosity w.r.t. temperature and density | use setState_phX function for input
EnthalpyFlowRateType for enthalpy flow rate with medium specific attributes
ExtraPropertyType for unspecified, mass-specific property transported by flow
ExtraPropertyFlowRateType for flow rate of unspecified, mass-specific property
f_R134aCalculation of helmholtz derivatives by density and temperature
fid_R134aHelmholtz coefficients of ideal part
FixedPhasePhase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use
FluidConstants 
FluidLimitsValidity limits for fluid model
fres_R134aCalculation of helmholtz derivatives
getPhase_phNumber of phases by pressure and specific enthalpy
getPhase_psNumber of phases by pressure and entropy
heatCapacity_cpAlias for deprecated name
heatCapacity_cvAlias for deprecated name
hofpsTwoPhaseIsentropic specific enthalpy in two phase region h(p,s)
hofpTCompute h for given p and T
IdealGasThe ideal gas version of a record used in several degrees of detail
isentropicEnthalpyIsentropic enthalpy of downstream pressure and upstream thermodynamic state (specific entropy)
IsentropicExponentType for isentropic exponent with medium specific attributes
isentropicExponentIsentropic exponent gamma w.r.t. thermodynamic state | not defined in two-phase region | use setState_phX function for input
IsobaricExpansionCoefficientType for isobaric expansion coefficient with medium specific attributes
isobaricExpansionCoefficientIsobaric expansion coefficient w.r.t. thermodynamic state (only valid for one-phase)
isothermalCompressibilityIsothermal compressibility w.r.t. thermodynamic state (only valid for one-phase)
kappaAlias of isothermalCompressibility for user convenience
MassFlowRateType for mass flow rate with medium specific attributes
MassFractionType for mass fraction with medium specific attributes
MolarMassType for molar mass with medium specific attributes
molarMassReturn the molar mass of the medium
MolarVolumeType for molar volume with medium specific attributes
MoleFractionType for mole fraction with medium specific attributes
phaseBoundaryAssertAssert function for checking threshold to phase boundary
PrandtlNumberType for Prandtl number with medium specific attributes
prandtlNumberReturn the Prandtl number
pressurePressure w.r.t. thermodynamic state
pressure_dTReturn pressure from d and T
R134a_liqofdTProperties on liquid boundary phase
R134a_vapofdTProperties on vapor boundary phase
rho_ph_derTime derivative function of density_ph
rho_props_phDensity as function of pressure and specific enthalpy
saturationPressureSaturation pressure w.r.t. temperature
saturationPressure_satReturn saturation pressure
SaturationProperties 
saturationTemperatureSaturation temperature in two-phase region
saturationTemperature_der_pTime derivative of saturation temperature in two-phase region
saturationTemperature_derpDerivative of saturation temperature in two-phase region
saturationTemperature_derp_satReturn derivative of saturation temperature w.r.t. pressure
saturationTemperature_satReturn saturation temperature
setBubbleStateReturn the thermodynamic state on the bubble line
setDewStateReturn the thermodynamic state on the dew line
setSat_pReturn saturation property record from pressure
setSat_TReturn saturation property record from temperature
setSmoothStateSmooth transition function between state_a and state_b
setState_dTReturn thermodynamic state from d and T
setState_dTXSet state for density and temperature (X not used since single substance)
setState_phReturn thermodynamic state from p and h
setState_phXSet state for pressure and specific enthalpy (X not used since single substance)
setState_psReturn thermodynamic state from p and s
setState_psXSet state for pressure and specific entropy (X not used since single substance)
setState_pTReturn thermodynamic state from p and T
setState_pTXSet state for pressure and temperature (X not used since single substance)
setState_pxReturn thermodynamic state from pressure and vapour quality
setState_TxReturn thermodynamic state from temperature and vapour quality
SpecificEnergyType for specific energy with medium specific attributes
SpecificEnthalpyType for specific enthalpy with medium specific attributes
specificEnthalpySpecific enthalpy w.r.t. thermodynamic state | use setState_phX function for input
specificEnthalpy_dTReturn specific enthalpy from d and T
specificEnthalpy_psReturn specific enthalpy from p and s
specificEnthalpy_psXReturn specific enthalpy from p, s, and X or Xi
specificEnthalpy_pTReturn specific enthalpy from p and T
specificEnthalpy_pTXReturn specific enthalpy from pressure, temperature and mass fraction
SpecificEntropyType for specific entropy with medium specific attributes
specificEntropySpecific entropy w.r.t. thermodynamic state | use setState_phX function for input if necessary
specificEntropy_pTXReturn specific enthalpy from p, T, and X or Xi
specificGibbsEnergySpecific gibbs energy w.r.t. thermodynamic state
SpecificHeatCapacityType for specific heat capacity with medium specific attributes
specificHeatCapacityCpSpecific heat capacity at constant pressure | turns infinite in two-phase region! | use setState_phX function for input
specificHeatCapacityCvSpecific heat capacity at constant volume | use setState_phX function for input
specificHelmholtzEnergyHelmholtz energy w.r.t. thermodynamic state
SpecificInternalEnergyType for specific internal energy with medium specific attributes
specificInternalEnergySpecific internal energy w.r.t. thermodynamic state
SurfaceTensionType for surface tension with medium specific attributes
surfaceTensionSurface tension as a function of temperature (below critical point)
T_ph_derTime derivative function of T_ph
T_props_phTemperature as function of pressure and specific enthalpy
TemperatureType for temperature with medium specific attributes
temperatureTemperature as function of pressure and specific enthalpy | use setState_phX function for input
temperature_phTemperature as function of pressure and specific enthalpy
temperature_phXReturn temperature from p, h, and X or Xi
temperature_psReturn temperature from p and s
temperature_psXReturn temperature from p, s, and X or Xi
ThermalConductivityType for thermal conductivity with medium specific attributes
thermalConductivityThermal conductivity w.r.t. thermodynamic state | use setState_phX function for input
ThermodynamicStateThermodynamic state
TwoPhaseThe two phase fluid version of a record used in several degrees of detail
vapourQualityReturn vapour quality
VelocityOfSoundType for velocity of sound with medium specific attributes
velocityOfSoundVelocity of sound w.r.t. thermodynamic state (only valid for one-phase)

Package Constants

TypeNameValueDescription
ExtraPropertyC_default[nC]fill(0, nC)Default value for trace substances of medium (for initialization)
RealC_nominal[nC]1e-6 * ones(nC)Default for the nominal values for the extra properties
BooleandT_explicitfalse 
StringextraPropertiesNames[:]fill("", 0)Names of the additional (extra) transported properties. Set extraPropertiesNames=fill("",0) if unused
final BooleanfixedXtrue= true if medium contains the equation X = reference_X
FluidConstantsfluidConstants[nS]r134aConstantsConstant data for the fluid
SpecificEnthalpyh_default420000Default value for specific enthalpy of medium (for initialization)
StringmediumName"R134a_ph"Name of the medium
final IntegernCsize(extraPropertiesNames, 1)Number of extra (outside of standard mass-balance) transported properties
final IntegernSsize(substanceNames, 1)Number of substances
IntegernXnSNumber of mass fractions
IntegernXiif fixedX then 0 else if reducedX then nS - 1 else nSNumber of structurally independent mass fractions (see docu for details)
BooleanonePhasefalseTrue if the (derived) model should never be called with two-phase inputs
AbsolutePressurep_default101325Default value for pressure of medium (for initialization)
Booleanph_explicittrue 
final BooleanreducedXtrue= true if medium contains the equation sum(X) = 1.0; set reducedX=true if only one substance (see docu for details)
AbsolutePressurereference_p101325Reference pressure of Medium: default 1 atmosphere
Temperaturereference_T298.15Reference temperature of Medium: default 25 deg Celsius
MassFractionreference_X[nX]fill(nX ^ (-1), nX)Default mass fractions of medium
BooleansingleStatefalse= true, if u and d are not a function of pressure
BooleansmoothModelfalseTrue if the (derived) model should not generate state events
StringsubstanceNames[:]{"tetrafluoroethan"}Names of the mixture substances. Set substanceNames={mediumName} if only one substance.
TemperatureT_defaultModelica.SIunits.Conversions.from_degC(20)Default value for temperature of medium (for initialization)
IndependentVariablesThermoStatesModelica.​Media.​Interfaces.​Choices.​IndependentVariables.​phEnumeration type for independent variables
MassFractionX_default[nX]reference_XDefault value for mass fractions of medium (for initialization)

Type Modelica.​Media.​R134a.​R134a_ph.​AbsolutePressure
Type for absolute pressure with medium specific attributes

Extends from Modelica.​SIunits.​AbsolutePressure.

Attributes

NameValue
quantity"Pressure"
unit"Pa"
displayUnit"bar"
min0
max1e+8
startp_default
nominal1000000

Type Modelica.​Media.​R134a.​R134a_ph.​Density
Type for density with medium specific attributes

Extends from Modelica.​SIunits.​Density.

Attributes

NameValue
quantity"Density"
unit"kg/m3"
displayUnit"g/cm3"
min0
max100000
start4
nominal500

Type Modelica.​Media.​R134a.​R134a_ph.​DynamicViscosity
Type for dynamic viscosity with medium specific attributes

Extends from Modelica.​SIunits.​DynamicViscosity.

Attributes

NameValue
quantity"DynamicViscosity"
unit"Pa.s"
min0
max1e+8
start0.001
nominal0.001

Type Modelica.​Media.​R134a.​R134a_ph.​EnthalpyFlowRate
Type for enthalpy flow rate with medium specific attributes

Extends from Modelica.​SIunits.​EnthalpyFlowRate.

Attributes

NameValue
quantity"EnthalpyFlowRate"
unit"W"
min-1e+8
max1e+8
start0.
nominal1000

Type Modelica.​Media.​R134a.​R134a_ph.​MassFraction
Type for mass fraction with medium specific attributes

Extends from Real.

Attributes

NameValue
quantity"MassFraction"
unit"kg/kg"
min0
max1
start0.
nominal0.1

Type Modelica.​Media.​R134a.​R134a_ph.​MoleFraction
Type for mole fraction with medium specific attributes

Extends from Real.

Attributes

NameValue
quantity"MoleFraction"
unit"mol/mol"
min0
max1
start0.
nominal0.1

Type Modelica.​Media.​R134a.​R134a_ph.​MolarMass
Type for molar mass with medium specific attributes

Extends from Modelica.​SIunits.​MolarMass.

Attributes

NameValue
quantity"MolarMass"
unit"kg/mol"
min0.001
max0.25
start0.
nominal0.032

Type Modelica.​Media.​R134a.​R134a_ph.​MolarVolume
Type for molar volume with medium specific attributes

Extends from Modelica.​SIunits.​MolarVolume.

Attributes

NameValue
quantity"MolarVolume"
unit"m3/mol"
min1e-6
max1000000
start0.
nominal1

Type Modelica.​Media.​R134a.​R134a_ph.​IsentropicExponent
Type for isentropic exponent with medium specific attributes

Extends from Modelica.​SIunits.​RatioOfSpecificHeatCapacities.

Attributes

NameValue
quantity"RatioOfSpecificHeatCapacities"
unit"1"
min1
max500000
start1.2
nominal1.2

Type Modelica.​Media.​R134a.​R134a_ph.​SpecificEnergy
Type for specific energy with medium specific attributes

Extends from Modelica.​SIunits.​SpecificEnergy.

Attributes

NameValue
quantity"SpecificEnergy"
unit"J/kg"
min-1e+8
max1e+8
start0.
nominal1000000

Type Modelica.​Media.​R134a.​R134a_ph.​SpecificInternalEnergy
Type for specific internal energy with medium specific attributes

Extends from Modelica.​Media.​R134a.​R134a_ph.​SpecificEnergy (Type for specific energy with medium specific attributes).

Attributes

NameValue
quantity"SpecificEnergy"
unit"J/kg"
min-1e+8
max1e+8
start0.
nominal1000000

Type Modelica.​Media.​R134a.​R134a_ph.​SpecificEnthalpy
Type for specific enthalpy with medium specific attributes

Extends from Modelica.​SIunits.​SpecificEnthalpy.

Attributes

NameValue
quantity"SpecificEnergy"
unit"J/kg"
min-1e+10
max1e+10
starth_default
nominal500000

Type Modelica.​Media.​R134a.​R134a_ph.​SpecificEntropy
Type for specific entropy with medium specific attributes

Extends from Modelica.​SIunits.​SpecificEntropy.

Attributes

NameValue
quantity"SpecificEntropy"
unit"J/(kg.K)"
min-1e+7
max1e+7
start0.
nominal1000

Type Modelica.​Media.​R134a.​R134a_ph.​SpecificHeatCapacity
Type for specific heat capacity with medium specific attributes

Extends from Modelica.​SIunits.​SpecificHeatCapacity.

Attributes

NameValue
quantity"SpecificHeatCapacity"
unit"J/(kg.K)"
min0
max1e+7
start1000
nominal1000

Type Modelica.​Media.​R134a.​R134a_ph.​SurfaceTension
Type for surface tension with medium specific attributes

Extends from Modelica.​SIunits.​SurfaceTension.

Attributes

NameValue
quantity"SurfaceTension"
unit"N/m"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​R134a.​R134a_ph.​Temperature
Type for temperature with medium specific attributes

Extends from Modelica.​SIunits.​Temperature.

Attributes

NameValue
quantity"ThermodynamicTemperature"
unit"K"
displayUnit"degC"
min1
max10000
startT_default
nominal350

Type Modelica.​Media.​R134a.​R134a_ph.​ThermalConductivity
Type for thermal conductivity with medium specific attributes

Extends from Modelica.​SIunits.​ThermalConductivity.

Attributes

NameValue
quantity"ThermalConductivity"
unit"W/(m.K)"
min0
max500
start1
nominal1

Type Modelica.​Media.​R134a.​R134a_ph.​PrandtlNumber
Type for Prandtl number with medium specific attributes

Extends from Modelica.​SIunits.​PrandtlNumber.

Attributes

NameValue
quantity"PrandtlNumber"
unit"1"
min0.001
max100000
start0.
nominal1

Type Modelica.​Media.​R134a.​R134a_ph.​VelocityOfSound
Type for velocity of sound with medium specific attributes

Extends from Modelica.​SIunits.​Velocity.

Attributes

NameValue
quantity"Velocity"
unit"m/s"
min0
max100000
start1000
nominal1000

Type Modelica.​Media.​R134a.​R134a_ph.​ExtraProperty
Type for unspecified, mass-specific property transported by flow

Extends from Real.

Attributes

NameValue
min0
maxModelica.Constants.inf
start1

Type Modelica.​Media.​R134a.​R134a_ph.​CumulativeExtraProperty
Type for conserved integral of unspecified, mass specific property

Extends from Real.

Attributes

NameValue
min0
maxModelica.Constants.inf
start1

Type Modelica.​Media.​R134a.​R134a_ph.​ExtraPropertyFlowRate
Type for flow rate of unspecified, mass-specific property

Extends from Real.

Attributes

NameValue
unit"kg/s"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​R134a.​R134a_ph.​IsobaricExpansionCoefficient
Type for isobaric expansion coefficient with medium specific attributes

Extends from Real.

Attributes

NameValue
unit"1/K"
min0
max1e+8
start0.

Type Modelica.​Media.​R134a.​R134a_ph.​DipoleMoment
Type for dipole moment with medium specific attributes

Extends from Real.

Attributes

NameValue
quantity"ElectricDipoleMoment"
unit"debye"
min0
max2
start0.

Type Modelica.​Media.​R134a.​R134a_ph.​DerDensityByPressure
Type for partial derivative of density with respect to pressure with medium specific attributes

Extends from Modelica.​SIunits.​DerDensityByPressure.

Attributes

NameValue
unit"s2/m2"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​R134a.​R134a_ph.​DerDensityByEnthalpy
Type for partial derivative of density with respect to enthalpy with medium specific attributes

Extends from Modelica.​SIunits.​DerDensityByEnthalpy.

Attributes

NameValue
unit"kg.s2/m5"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​R134a.​R134a_ph.​DerEnthalpyByPressure
Type for partial derivative of enthalpy with respect to pressure with medium specific attributes

Extends from Modelica.​SIunits.​DerEnthalpyByPressure.

Attributes

NameValue
unit"J.m.s2/kg2"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​R134a.​R134a_ph.​DerDensityByTemperature
Type for partial derivative of density with respect to temperature with medium specific attributes

Extends from Modelica.​SIunits.​DerDensityByTemperature.

Attributes

NameValue
unit"kg/(m3.K)"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Media.​R134a.​R134a_ph.​DerTemperatureByPressure
Type for partial derivative of temperature with respect to pressure with medium specific attributes

Extends from Real.

Attributes

NameValue
unit"K/Pa"
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Record Modelica.​Media.​R134a.​R134a_ph.​SaturationProperties
Saturation properties of two phase medium

Information

This icon is indicates a record.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​SaturationProperties (Saturation properties of two phase medium).

Fields

TypeNameDescription
AbsolutePressurepsatSaturation pressure
TemperatureTsatSaturation temperature

Record Modelica.​Media.​R134a.​R134a_ph.​FluidLimits
Validity limits for fluid model

Information

The minimum pressure mostly applies to the liquid state only. The minimum density is also arbitrary, but is reasonable for technical applications to limit iterations in non-linear systems. The limits in enthalpy and entropy are used as safeguards in inverse iterations.

Extends from Modelica.​Icons.​Record (Icon for records).

Fields

TypeNameDescription
TemperatureTMINMinimum temperature
TemperatureTMAXMaximum temperature
DensityDMINMinimum density
DensityDMAXMaximum density
AbsolutePressurePMINMinimum pressure
AbsolutePressurePMAXMaximum pressure
SpecificEnthalpyHMINMinimum enthalpy
SpecificEnthalpyHMAXMaximum enthalpy
SpecificEntropySMINMinimum entropy
SpecificEntropySMAXMaximum entropy

Type Modelica.​Media.​R134a.​R134a_ph.​FixedPhase
Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use

Extends from Integer.

Attributes

NameValue
min0
max2
start0

Record Modelica.​Media.​R134a.​R134a_ph.​FluidConstants
Extended fluid constants

Information

This icon is indicates a record.

Extends from Modelica.​Media.​Interfaces.​Types.​TwoPhase.​FluidConstants (Extended fluid constants).

Fields

TypeNameDescription
StringiupacNameComplete IUPAC name (or common name, if non-existent)
StringcasRegistryNumberChemical abstracts sequencing number (if it exists)
StringchemicalFormulaChemical formula, (brutto, nomenclature according to Hill
StringstructureFormulaChemical structure formula
MolarMassmolarMassMolar mass
TemperaturecriticalTemperatureCritical temperature
AbsolutePressurecriticalPressureCritical pressure
MolarVolumecriticalMolarVolumeCritical molar Volume
RealacentricFactorPitzer acentric factor
TemperaturetriplePointTemperatureTriple point temperature
AbsolutePressuretriplePointPressureTriple point pressure
TemperaturemeltingPointMelting point at 101325 Pa
TemperaturenormalBoilingPointNormal boiling point (at 101325 Pa)
DipoleMomentdipoleMomentDipole moment of molecule in Debye (1 debye = 3.33564e10-30 C.m)
BooleanhasIdealGasHeatCapacityTrue if ideal gas heat capacity is available
BooleanhasCriticalDataTrue if critical data are known
BooleanhasDipoleMomentTrue if a dipole moment known
BooleanhasFundamentalEquationTrue if a fundamental equation
BooleanhasLiquidHeatCapacityTrue if liquid heat capacity is available
BooleanhasSolidHeatCapacityTrue if solid heat capacity is available
BooleanhasAccurateViscosityDataTrue if accurate data for a viscosity function is available
BooleanhasAccurateConductivityDataTrue if accurate data for thermal conductivity is available
BooleanhasVapourPressureCurveTrue if vapour pressure data, e.g., Antoine coefficients are known
BooleanhasAcentricFactorTrue if Pitzer acentric factor is known
SpecificEnthalpyHCRIT0Critical specific enthalpy of the fundamental equation
SpecificEntropySCRIT0Critical specific entropy of the fundamental equation
SpecificEnthalpydeltahDifference between specific enthalpy model (h_m) and f.eq. (h_f) (h_m - h_f)
SpecificEntropydeltasDifference between specific enthalpy model (s_m) and f.eq. (s_f) (s_m - s_f)

Record Modelica.​Media.​R134a.​R134a_ph.​ThermodynamicState
Thermodynamic state

Information

This icon is indicates a record.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​ThermodynamicState (Thermodynamic state of two phase medium).

Fields

TypeNameDescription
FixedPhasephasePhase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use
SpecificEnthalpyhSpecific enthalpy
DensitydDensity
TemperatureTTemperature
AbsolutePressurepPressure

Model Modelica.​Media.​R134a.​R134a_ph.​BaseProperties
Base properties of R134a

Information

Model BaseProperties is a model within package PartialMedium and contains the declarations of the minimum number of variables that every medium model is supposed to support. A specific medium inherits from model BaseProperties and provides the equations for the basic properties.

The BaseProperties model contains the following 7+nXi variables (nXi is the number of independent mass fractions defined in package PartialMedium):

Variable Unit Description
T K temperature
p Pa absolute pressure
d kg/m3 density
h J/kg specific enthalpy
u J/kg specific internal energy
Xi[nXi] kg/kg independent mass fractions m_i/m
R J/kg.K gas constant
M kg/mol molar mass

In order to implement an actual medium model, one can extend from this base model and add 5 equations that provide relations among these variables. Equations will also have to be added in order to set all the variables within the ThermodynamicState record state.

If standardOrderComponents=true, the full composition vector X[nX] is determined by the equations contained in this base class, depending on the independent mass fraction vector Xi[nXi].

Additional 2 + nXi equations will have to be provided when using the BaseProperties model, in order to fully specify the thermodynamic conditions. The input connector qualifier applied to p, h, and nXi indirectly declares the number of missing equations, permitting advanced equation balance checking by Modelica tools. Please note that this doesn't mean that the additional equations should be connection equations, nor that exactly those variables should be supplied, in order to complete the model. For further information, see the Modelica.Media User's guide, and Section 4.7 (Balanced Models) of the Modelica 3.0 specification.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​BaseProperties (Base properties (p, d, T, h, u, R, MM, sat) of two phase medium).

Parameters

TypeNameDefaultDescription
BooleanpreferredMediumStatesfalse= true if StateSelect.prefer shall be used for the independent property variables of the medium
final BooleanstandardOrderComponentstrueIf true, and reducedX = true, the last element of X will be computed from the other ones

Connectors

TypeNameDescription
input InputAbsolutePressurepAbsolute pressure of medium
input InputMassFractionXi[nXi]Structurally independent mass fractions
input InputSpecificEnthalpyhSpecific enthalpy of medium

Function Modelica.​Media.​R134a.​R134a_ph.​setState_pTX
Set state for pressure and temperature (X not used since single substance)

Information

This function should be used by default in order to calculate the thermodynamic state record used as input by many functions.

Example:

     parameter Medium.AbsolutePressure p = 3e5;
     parameter Medium.Temperature T = 290;

     Medium.Density rho;

     equation

     rho = Medium.density(setState_pTX(p, T, fill(0, Medium.nX)));

Please note, that in contrast to setState_phX, setState_dTX and setState_psX this function can not calculate properties in the two-phase region since pressure and temperature are dependent variables. A guard function will be called if the temperature difference to the phase boundary is lower than 1K or the pressure difference to the critical pressure is lower than 1000 Pa.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​setState_pTX (Return thermodynamic state as function of p, T and composition X or Xi).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​setState_phX
Set state for pressure and specific enthalpy (X not used since single substance)

Information

This function should be used by default in order to calculate the thermodynamic state record used as input by many functions.

Example:

     parameter Medium.AbsolutePressure p = 3e5;
     parameter Medium.SpecificEnthalpy h = 4.2e5;

     Medium.Density rho;

     equation

     rho = Medium.density(setState_phX(p, h, fill(0, Medium.nX)));

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​setState_phX (Return thermodynamic state as function of p, h and composition X or Xi).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​setState_psX
Set state for pressure and specific entropy (X not used since single substance)

Information

This function may be used in order to calculate the thermodynamic state record used as input by many functions. It will calculate the missing states:

Example:

     parameter Medium.AbsolutePressure p = 3e5;
     parameter Medium.SpecficEntropy s = 1.7e3;

     Medium.SpecficEnthalpy h;

     equation

     h = Medium.specificEnthalpy(setState_psX(p, s, fill(0, Medium.nX)));

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​setState_psX (Return thermodynamic state as function of p, s and composition X or Xi).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​setState_dTX
Set state for density and temperature (X not used since single substance)

Information

Although the medium package is explicit for pressure and specific enthalpy, this function may be used in order to calculate the thermodynamic state record used as input by many functions. It will calculate the missing states:

Example:

     parameter Medium.Density d = 4;
     parameter Medium.Temperature T = 298;

     Medium.SpecficEntropy s;

     equation

     s = Medium.specificEntropy(setState_dTX(d, T, fill(0, Medium.nX)));

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​setState_dTX (Return thermodynamic state as function of d, T and composition X or Xi).

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​setSmoothState
Smooth transition function between state_a and state_b

Information

This function is used to approximate the equation

    state = if x > 0 then state_a else state_b;

by a smooth characteristic, so that the expression is continuous and differentiable:

   state := smooth(1, if x >  x_small then state_a else
                      if x < -x_small then state_b else f(state_a, state_b));

This is performed by applying function Media.Common.smoothStep(..) on every element of the thermodynamic state record.

If mass fractions X[:] are approximated with this function then this can be performed for all nX mass fractions, instead of applying it for nX-1 mass fractions and computing the last one by the mass fraction constraint sum(X)=1. The reason is that the approximating function has the property that sum(state.X) = 1, provided sum(state_a.X) = sum(state_b.X) = 1. This can be shown by evaluating the approximating function in the abs(x) < x_small region (otherwise state.X is either state_a.X or state_b.X):

    X[1]  = smoothStep(x, X_a[1] , X_b[1] , x_small);
    X[2]  = smoothStep(x, X_a[2] , X_b[2] , x_small);
       ...
    X[nX] = smoothStep(x, X_a[nX], X_b[nX], x_small);

or

    X[1]  = c*(X_a[1]  - X_b[1])  + (X_a[1]  + X_b[1])/2
    X[2]  = c*(X_a[2]  - X_b[2])  + (X_a[2]  + X_b[2])/2;
       ...
    X[nX] = c*(X_a[nX] - X_b[nX]) + (X_a[nX] + X_b[nX])/2;
    c     = (x/x_small)*((x/x_small)^2 - 3)/4

Summing all mass fractions together results in

    sum(X) = c*(sum(X_a) - sum(X_b)) + (sum(X_a) + sum(X_b))/2
           = c*(1 - 1) + (1 + 1)/2
           = 1

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​setSmoothState (Return thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b).

Inputs

TypeNameDescription
Realxm_flow or dp
ThermodynamicStatestate_aThermodynamic state if x > 0
ThermodynamicStatestate_bThermodynamic state if x < 0
Realx_smallSmooth transition in the region -x_small < x < x_small

Outputs

TypeNameDescription
ThermodynamicStatestateSmooth thermodynamic state for all x (continuous and differentiable)

Function Modelica.​Media.​R134a.​R134a_ph.​dynamicViscosity
Dynamic viscosity w.r.t. temperature and density | use setState_phX function for input

Information

This function calculates the dynamic viscosity of R134a from the state record (e.g., use setState_phX function for input). The dynamic viscosity is modelled by the corresponding states method of Klein, McLinden and Laesecke (1997).

Restrictions

This property is only defined in one-phase region.

References

Klein, McLinden and Laesecke:
An improved extended corresponding states method for estimation of viscosity of pure refrigerants and mixtures. Int. J. Refrig., Vol. 20, No.3, pp. 208-217, 1997.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​dynamicViscosity (Return dynamic viscosity).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DynamicViscosityetaDynamic viscosity

Function Modelica.​Media.​R134a.​R134a_ph.​thermalConductivity
Thermal conductivity w.r.t. thermodynamic state | use setState_phX function for input

Information

This function calculates the thermal conductivity of R134a from the state record (e.g., use setState_phX function for input). The thermal conductivity is modelled by the corresponding states model of McLinden, Klein. and Perkins (2000).

Restrictions

This property is only defined in one-phase region.

References

McLinden, Klein. and Perkins:
An extended corresponding states model for the thermal conductivity of refrigerants and refrigerant mixtures. Int. J. Refrig., 23 (2000) 43-63.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​thermalConductivity (Return thermal conductivity).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
ThermalConductivitylambdaThermal conductivity

Function Modelica.​Media.​R134a.​R134a_ph.​prandtlNumber
Return the Prandtl number

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
PrandtlNumberPrPrandtl number

Function Modelica.​Media.​R134a.​R134a_ph.​pressure
Pressure w.r.t. thermodynamic state

Information

This function is included for the sake of completeness.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​pressure (Return pressure).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
AbsolutePressurepPressure

Function Modelica.​Media.​R134a.​R134a_ph.​temperature
Temperature as function of pressure and specific enthalpy | use setState_phX function for input

Information

This function calculates the Kelvin temperature of R134a from the state record (e.g., use setState_phX function for input). The temperature is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​temperature (Return temperature).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​R134a.​R134a_ph.​density
Density as function of pressure and specific enthalpy | use setState_phX function for input

Information

This function calculates the density of R134a from the state record (e.g., use setState_phX function for input). The density is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​density (Return density).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​R134a.​R134a_ph.​specificEnthalpy
Specific enthalpy w.r.t. thermodynamic state | use setState_phX function for input

Information

This function is included for the sake of completeness.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​specificEnthalpy (Return specific enthalpy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​R134a.​R134a_ph.​specificInternalEnergy
Specific internal energy w.r.t. thermodynamic state

Information

This function calculates the specific internal energy of R134a from the state record (e.g., use setState_phX function for input). The specific internal energy is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​specificInternalEnergy (Return specific internal energy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEnergyuSpecific internal energy

Function Modelica.​Media.​R134a.​R134a_ph.​specificEntropy
Specific entropy w.r.t. thermodynamic state | use setState_phX function for input if necessary

Information

This function calculates the specific entropy of R134a from the state record (e.g., use setState_phX function for input). The specific entropy is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​specificEntropy (Return specific entropy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​R134a.​R134a_ph.​specificGibbsEnergy
Specific gibbs energy w.r.t. thermodynamic state

Information

This function calculates the specific Gibbs energy of R134a from the state record (e.g., use setState_phX function for input). The isentropic exponent is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​specificGibbsEnergy (Return specific Gibbs energy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEnergygSpecific Gibbs energy

Function Modelica.​Media.​R134a.​R134a_ph.​specificHelmholtzEnergy
Helmholtz energy w.r.t. thermodynamic state

Information

This function calculates the specific Helmholtz energy of R134a from the state record (e.g., use setState_phX function for input). The Helmholtz energy is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​specificHelmholtzEnergy (Return specific Helmholtz energy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificEnergyfSpecific Helmholtz energy

Function Modelica.​Media.​R134a.​R134a_ph.​specificHeatCapacityCp
Specific heat capacity at constant pressure | turns infinite in two-phase region! | use setState_phX function for input

Information

This function calculates the specific heat capacity of R134a at constant pressure from the state record (e.g., use setState_phX function for input). The specific heat capacity is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Restrictions

This property is only defined in one-phase region.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​specificHeatCapacityCp (Return specific heat capacity at constant pressure).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity at constant pressure

Function Modelica.​Media.​R134a.​R134a_ph.​heatCapacity_cp
Alias for deprecated name

Information

This function calculates the specific heat capacity of R134a at constant pressure from the state record (e.g., use setState_phX function for input). The specific heat capacity is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Restrictions

This property is only defined in one-phase region.

Extends from Modelica.​Media.​R134a.​R134a_ph.​specificHeatCapacityCp (Specific heat capacity at constant pressure | turns infinite in two-phase region! | use setState_phX function for input).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificHeatCapacitycpSpecific heat capacity at constant pressure

Function Modelica.​Media.​R134a.​R134a_ph.​specificHeatCapacityCv
Specific heat capacity at constant volume | use setState_phX function for input

Information

This function calculates the specific heat capacity of R134a at constant volume from the state record (e.g., use setState_phX function for input). The specific heat capacity is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Please note, that the function can also be called in the two-phase region, but the output is not continuous for a phase transition (see Tillner-Roth and Baehr, 1994). Values in two-phase region are considerably higher than in one-phase domain. The following figure just shows one-phase properties.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​specificHeatCapacityCv (Return specific heat capacity at constant volume).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity at constant volume

Function Modelica.​Media.​R134a.​R134a_ph.​heatCapacity_cv
Alias for deprecated name

Information

This function calculates the specific heat capacity of R134a at constant volume from the state record (e.g., use setState_phX function for input). The specific heat capacity is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Please note, that the function can also be called in the two-phase region, but the output is not continuous for a phase transition (see Tillner-Roth and Baehr, 1994). Values in two-phase region are considerably higher than in one-phase domain. The following figure just shows one-phase properties.

Extends from Modelica.​Media.​R134a.​R134a_ph.​specificHeatCapacityCv (Specific heat capacity at constant volume | use setState_phX function for input).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
SpecificHeatCapacitycvSpecific heat capacity at constant volume

Function Modelica.​Media.​R134a.​R134a_ph.​isentropicExponent
Isentropic exponent gamma w.r.t. thermodynamic state | not defined in two-phase region | use setState_phX function for input

Information

This function calculates the isentropic exponent of R134a from the state record (e.g., use setState_phX function for input). The isentropic exponent is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Restrictions

This property is only defined in one-phase region.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​isentropicExponent (Return isentropic exponent).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsentropicExponentgammaIsentropic exponent

Function Modelica.​Media.​R134a.​R134a_ph.​isentropicEnthalpy
Isentropic enthalpy of downstream pressure and upstream thermodynamic state (specific entropy)

Information

This function calculates the specific enthalpy of R134a for an isentropic pressure change from refState.p to p_downstream (e.g., use setState_phX function for input of refState).

The function can be used for instance to calculate an isentropic efficiency of a compressor or calculate the power consumption (obtained from the isentropic enthalpy) for a given efficiency.

Example:

     Medium.AbsolutePressure p_downstream=10e5;
     Medium.SpecificEnthalpy h_downstream=4.1e5;
     Medium.AbsolutePressure p_upstream=3e5;
     Medium.SpecificEnthalpy h_upstream=4.0e5;

     // Isentropic efficiency of a compressor:
     Real eta_is;

    equation

     h_is = isentropicEnthalpy(p_downstream, Medium.setState_phX(p_upstream, h_upstream));

     eta_is = (h_is-h_upstream)/(h_downstream - h_upstream);

Restrictions

The isentropic efficiency function should not be applied in liquid region.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​isentropicEnthalpy (Return isentropic enthalpy).

Inputs

TypeNameDescription
AbsolutePressurep_downstreamDownstream pressure
ThermodynamicStaterefStateReference state for entropy

Outputs

TypeNameDescription
SpecificEnthalpyh_isIsentropic enthalpy

Function Modelica.​Media.​R134a.​R134a_ph.​velocityOfSound
Velocity of sound w.r.t. thermodynamic state (only valid for one-phase)

Information

This function calculates the velocity of sound of R134a from the state record (e.g., use setState_phX function for input). The velocity of sound is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Restrictions

This property is only defined in one-phase region.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​velocityOfSound (Return velocity of sound).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
VelocityOfSoundaVelocity of sound

Function Modelica.​Media.​R134a.​R134a_ph.​isobaricExpansionCoefficient
Isobaric expansion coefficient w.r.t. thermodynamic state (only valid for one-phase)

Information

This function calculates the isobaric expansion coefficient of R134a from the state record (e.g., use setState_phX function for input). The isobaric expansion coefficient is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Restrictions

This property is only defined in one-phase region.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​isobaricExpansionCoefficient (Return overall the isobaric expansion coefficient beta).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsobaricExpansionCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​R134a.​R134a_ph.​beta
Alias for isobaricExpansionCoefficient for user convenience

Information

This function calculates the isobaric expansion coefficient of R134a from the state record (e.g., use setState_phX function for input). The isobaric expansion coefficient is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Restrictions

This property is only defined in one-phase region.

Extends from Modelica.​Media.​R134a.​R134a_ph.​isobaricExpansionCoefficient (Isobaric expansion coefficient w.r.t. thermodynamic state (only valid for one-phase)).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsobaricExpansionCoefficientbetaIsobaric expansion coefficient

Function Modelica.​Media.​R134a.​R134a_ph.​isothermalCompressibility
Isothermal compressibility w.r.t. thermodynamic state (only valid for one-phase)

Information

This function calculates the isothermal compressibility of R134a from the state record (e.g., use setState_phX function for input). The isothermal compressibility is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Restrictions

This property is only defined in one-phase region.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​isothermalCompressibility (Return overall the isothermal compressibility factor).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility

Function Modelica.​Media.​R134a.​R134a_ph.​kappa
Alias of isothermalCompressibility for user convenience

Information

This function calculates the isothermal compressibility of R134a from the state record (e.g., use setState_phX function for input). The isothermal compressibility is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Restrictions

This property is only defined in one-phase region.

Extends from Modelica.​Media.​R134a.​R134a_ph.​isothermalCompressibility (Isothermal compressibility w.r.t. thermodynamic state (only valid for one-phase)).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
IsothermalCompressibilitykappaIsothermal compressibility

Function Modelica.​Media.​R134a.​R134a_ph.​density_derp_h
Density derivative by pressure | use setState_phX function for input

Information

This function calculates the density derivative w.r.t. absolute pressure at constant specific enthalpy of R134a (e.g., use setState_phX function for input). The derivative is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994). It can be used for manual state transformations (e.g. from density to pressure).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​density_derp_h (Return density derivative w.r.t. pressure at const specific enthalpy).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DerDensityByPressureddphDensity derivative w.r.t. pressure

Function Modelica.​Media.​R134a.​R134a_ph.​density_derh_p
Density derivative by specific enthalpy | use setState_phX function for input

Information

This function calculates the density derivative w.r.t. specific enthalpy at constant pressure of R134a (e.g., use setState_phX function for input). The derivative is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994). It can be used for manual state transformations (e.g. from density to specific enthalpy).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​density_derh_p (Return density derivative w.r.t. specific enthalpy at constant pressure).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DerDensityByEnthalpyddhpDensity derivative w.r.t. specific enthalpy

Partial Function Modelica.​Media.​R134a.​R134a_ph.​density_derp_T
Return density derivative w.r.t. pressure at const temperature

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DerDensityByPressureddpTDensity derivative w.r.t. pressure

Partial Function Modelica.​Media.​R134a.​R134a_ph.​density_derT_p
Return density derivative w.r.t. temperature at constant pressure

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DerDensityByTemperatureddTpDensity derivative w.r.t. temperature

Partial Function Modelica.​Media.​R134a.​R134a_ph.​density_derX
Return density derivative w.r.t. mass fraction

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
DensitydddX[nX]Derivative of density w.r.t. mass fraction

Function Modelica.​Media.​R134a.​R134a_ph.​molarMass
Return the molar mass of the medium

Information

This icon indicates Modelica functions.

Extends from Modelica.​Media.​Interfaces.​PartialPureSubstance.​molarMass (Return the molar mass of the medium).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
MolarMassMMMixture molar mass

Function Modelica.​Media.​R134a.​R134a_ph.​specificEnthalpy_pTX
Return specific enthalpy from pressure, temperature and mass fraction

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy at p, T, X

Function Modelica.​Media.​R134a.​R134a_ph.​specificEntropy_pTX
Return specific enthalpy from p, T, and X or Xi

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
SpecificEntropysSpecific entropy

Function Modelica.​Media.​R134a.​R134a_ph.​density_pTX
Return density from p, T, and X or Xi

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
MassFractionX[:]Mass fractions

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​R134a.​R134a_ph.​temperature_phX
Return temperature from p, h, and X or Xi

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​R134a.​R134a_ph.​density_phX
Return density from p, h, and X or Xi

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​R134a.​R134a_ph.​temperature_psX
Return temperature from p, s, and X or Xi

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​R134a.​R134a_ph.​density_psX
Return density from p, s, and X or Xi

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​R134a.​R134a_ph.​specificEnthalpy_psX
Return specific enthalpy from p, s, and X or Xi

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
MassFractionX[:]Mass fractions
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Type Modelica.​Media.​R134a.​R134a_ph.​MassFlowRate
Type for mass flow rate with medium specific attributes

Extends from Modelica.​SIunits.​MassFlowRate.

Attributes

NameValue
quantity"MassFlowRate." + mediumName
unit"kg/s"
min-100000
max100000
start0.

Function Modelica.​Media.​R134a.​R134a_ph.​setState_pT
Return thermodynamic state from p and T

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​setState_ph
Return thermodynamic state from p and h

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​setState_ps
Return thermodynamic state from p and s

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​setState_dT
Return thermodynamic state from d and T

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​density_ph
Density as function of pressure and specific enthalpy

Information

This function calculates the density of R134a from the state variables p (absolute pressure) and h (specific enthalpy). The density is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​R134a.​R134a_ph.​temperature_ph
Temperature as function of pressure and specific enthalpy

Information

This function calculates the Kelvin temperature of R134a from the state variables p (absolute pressure) and h (specific enthalpy). The temperature is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
Integerphase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​R134a.​R134a_ph.​pressure_dT
Return pressure from d and T

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
AbsolutePressurepPressure

Function Modelica.​Media.​R134a.​R134a_ph.​specificEnthalpy_dT
Return specific enthalpy from d and T

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​R134a.​R134a_ph.​specificEnthalpy_ps
Return specific enthalpy from p and s

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​R134a.​R134a_ph.​temperature_ps
Return temperature from p and s

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​R134a.​R134a_ph.​density_ps
Return density from p and s

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​R134a.​R134a_ph.​specificEnthalpy_pT
Return specific enthalpy from p and T

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​R134a.​R134a_ph.​density_pT
Return density from p and T

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
TemperatureTTemperature
FixedPhasephase2 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​R134a.​R134a_ph.​setDewState
Return the thermodynamic state on the dew line

Information

This function shall be used in order to calculate the thermodynamic state record for the vapor phase boundary. It requires the saturation record as input which can be determined by both functions setSat_p and setSat_T:

Example:

    Medium.AbsolutePressure p=3e5;
    // Viscosity on the vapor phase boundary
    Modelica.SIunits.DynamicViscosity eta_vap;

    equation

    eta_vap = Medium.DynamicViscosity(Medium.setBubbleState(Medium.setSat_p(p)));

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​setDewState (Return the thermodynamic state on the dew line).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation point
FixedPhasephasePhase: default is one phase

Outputs

TypeNameDescription
ThermodynamicStatestateComplete thermodynamic state info

Function Modelica.​Media.​R134a.​R134a_ph.​setBubbleState
Return the thermodynamic state on the bubble line

Information

This function shall be used in order to calculate the thermodynamic state record for the liquid phase boundary. It requires the saturation record as input which can be determined by both functions setSat_p and setSat_T:

Example:

    Medium.AbsolutePressure p=3e5;
    // Viscosity on the liquid phase boundary
    Modelica.SIunits.DynamicViscosity eta_liq;

    equation

    eta_liq = Medium.DynamicViscosity(Medium.setBubbleState(Medium.setSat_p(p)));

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​setBubbleState (Return the thermodynamic state on the bubble line).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation point
FixedPhasephasePhase: default is one phase

Outputs

TypeNameDescription
ThermodynamicStatestateComplete thermodynamic state info

Function Modelica.​Media.​R134a.​R134a_ph.​setSat_T
Return saturation property record from temperature

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
TemperatureTTemperature

Outputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Function Modelica.​Media.​R134a.​R134a_ph.​setSat_p
Return saturation property record from pressure

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure

Outputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Function Modelica.​Media.​R134a.​R134a_ph.​bubbleEnthalpy
Specific enthalpy of liquid phase w.r.t saturation pressure | use setSat_p function for input

Information

This function calculates the liquid phase enthalpy of R134a from the state variable p (absolute pressure). It is modelled by cubic splines which are fitted with non-equidistant grid points derived from the fundamental equation of state of Tillner-Roth and Baehr (1994) and the Maxwell criteria.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​bubbleEnthalpy (Return bubble point specific enthalpy).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
SpecificEnthalpyhlBoiling curve specific enthalpy

Function Modelica.​Media.​R134a.​R134a_ph.​dewEnthalpy
Specific enthalpy of vapor phase w.r.t saturation pressure | use setSat_p function for input

Information

This function calculates the vapor phase enthalpy of R134a from the state variable p (absolute pressure). It is modelled by cubic splines which are fitted with non-equidistant grid points derived from the fundamental equation of state of Tillner-Roth and Baehr (1994) and the Maxwell criteria.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​dewEnthalpy (Return dew point specific enthalpy).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
SpecificEnthalpyhvDew curve specific enthalpy

Function Modelica.​Media.​R134a.​R134a_ph.​bubbleEntropy
Specific entropy of liquid phase w.r.t saturation pressure | use setSat_p function for input

Information

This function calculates the liquid phase entropy of R134a from the state variable p (absolute pressure). It is modelled by cubic splines which are fitted with non-equidistant grid points derived from the fundamental equation of state of Tillner-Roth and Baehr (1994) and the Maxwell criteria.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​bubbleEntropy (Return bubble point specific entropy).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
SpecificEntropyslBoiling curve specific entropy

Function Modelica.​Media.​R134a.​R134a_ph.​dewEntropy
Specific entropy of vapor phase w.r.t saturation pressure | use setSat_p function for input

Information

This function calculates the vapor phase entropy of R134a from the state variable p (absolute pressure). It is modelled by cubic splines which are fitted with non-equidistant grid points derived from the fundamental equation of state of Tillner-Roth and Baehr (1994) and the Maxwell criteria.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​dewEntropy (Return dew point specific entropy).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
SpecificEntropysvDew curve specific entropy

Function Modelica.​Media.​R134a.​R134a_ph.​bubbleDensity
Density of liquid phase w.r.t saturation pressure | use setSat_p function for input

Information

This function calculates the liquid phase density of R134a from the state variable p (absolute pressure). It is modelled by cubic splines which are fitted with non-equidistant grid points derived from the fundamental equation of state of Tillner-Roth and Baehr (1994) and the Maxwell criteria.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​bubbleDensity (Return bubble point density).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
DensitydlBoiling curve density

Function Modelica.​Media.​R134a.​R134a_ph.​dewDensity
Density of vapor phase w.r.t saturation pressure | use setSat_p function for input

Information

This function calculates the vapor phase density of R134a from the state variable p (absolute pressure). It is modelled by cubic splines which are fitted with non-equidistant grid points derived from the fundamental equation of state of Tillner-Roth and Baehr (1994) and the Maxwell criteria.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​dewDensity (Return dew point density).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
DensitydvDew curve density

Function Modelica.​Media.​R134a.​R134a_ph.​saturationPressure
Saturation pressure w.r.t. temperature

Information

This function calculates the saturation pressure of R134a from the state variable T (temperature). It is modelled by cubic splines which are fitted with non-equidistant grid points derived from the fundamental equation of state of Tillner-Roth and Baehr (1994) and the Maxwell criteria.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​saturationPressure (Return saturation pressure).

Inputs

TypeNameDescription
TemperatureTTemperature

Outputs

TypeNameDescription
AbsolutePressurepSaturation pressure

Function Modelica.​Media.​R134a.​R134a_ph.​saturationTemperature
Saturation temperature in two-phase region

Information

This function calculates the saturation temperature of R134a from the state variable p (absolute pressure). It is modelled by cubic splines which are fitted with non-equidistant grid points derived from the fundamental equation of state of Tillner-Roth and Baehr (1994) and the Maxwell criteria.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​saturationTemperature (Return saturation temperature).

Inputs

TypeNameDescription
AbsolutePressurepPressure

Outputs

TypeNameDescription
TemperatureTSaturation temperature

Function Modelica.​Media.​R134a.​R134a_ph.​saturationPressure_sat
Return saturation pressure

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
AbsolutePressurepSaturation pressure

Function Modelica.​Media.​R134a.​R134a_ph.​saturationTemperature_sat
Return saturation temperature

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
TemperatureTSaturation temperature

Function Modelica.​Media.​R134a.​R134a_ph.​saturationTemperature_derp
Derivative of saturation temperature in two-phase region

Information

This function calculates the derivative of saturation temperature of R134a with regard to the state variable p (absolute pressure). The non-derivative function is saturatuionTemperature.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​saturationTemperature_derp (Return derivative of saturation temperature w.r.t. pressure).

Inputs

TypeNameDescription
AbsolutePressurepPressure

Outputs

TypeNameDescription
DerTemperatureByPressuredTpDerivative of saturation temperature w.r.t. pressure

Function Modelica.​Media.​R134a.​R134a_ph.​saturationTemperature_derp_sat
Return derivative of saturation temperature w.r.t. pressure

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
DerTemperatureByPressuredTpDerivative of saturation temperature w.r.t. pressure

Function Modelica.​Media.​R134a.​R134a_ph.​surfaceTension
Surface tension as a function of temperature (below critical point)

Information

This function calculates the surface tension of R134a from the saturation record (e.g., use setSat_T function for input). The property is modelled by an approach of Okada and Higashi (1994).

Restrictions

This property is only defined in two-phase region.

References

Okada and Higashi:
Surface tension correlation of HFC-134a and HCFC-123. Proceedings of the Joint Meeting of IIR Commissions B1, B2, E1, and E2, Padua, Italy, pp. 541-548, 1994.

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​surfaceTension (Return surface tension sigma in the two phase region).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
SurfaceTensionsigmaSurface tension sigma in the two phase region

Function Modelica.​Media.​R134a.​R134a_ph.​dBubbleDensity_dPressure
Derivative of liquid density in two-phase region w.r.t pressure

Information

This function calculates the derivative of liquid density of R134a in the two-phase region with regard to the state variable p (absolute pressure). The non-derivative function is bubbleDensity.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​dBubbleDensity_dPressure (Return bubble point density derivative).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
DerDensityByPressureddldpBoiling curve density derivative

Function Modelica.​Media.​R134a.​R134a_ph.​dDewDensity_dPressure
Derivative of vapor density in two-phase region w.r.t pressure

Information

This function calculates the derivative of vapor density of R134a in two-phase region with regard to the state variable p (absolute pressure). The non-derivative function is dewDensity.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​dDewDensity_dPressure (Return dew point density derivative).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
DerDensityByPressureddvdpSaturated steam density derivative

Function Modelica.​Media.​R134a.​R134a_ph.​dBubbleEnthalpy_dPressure
Derivative of liquid specific enthalpy in two-phase region w.r.t pressure

Information

This function calculates the derivative of liquid enthalpy of R134a with regard to the state variable p (absolute pressure). The non-derivative function is bubbleEnthalpy.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​dBubbleEnthalpy_dPressure (Return bubble point specific enthalpy derivative).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
DerEnthalpyByPressuredhldpBoiling curve specific enthalpy derivative

Function Modelica.​Media.​R134a.​R134a_ph.​dDewEnthalpy_dPressure
Derivative of vapor specific enthalpy in two-phase region w.r.t pressure

Information

This function calculates the derivative of vapor enthalpy of R134a in the two-phase region with regard to the state variable p (absolute pressure). The non-derivative function is dewEnthalpy.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Media.​Interfaces.​PartialTwoPhaseMedium.​dDewEnthalpy_dPressure (Return dew point specific enthalpy derivative).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation property record

Outputs

TypeNameDescription
DerEnthalpyByPressuredhvdpSaturated steam specific enthalpy derivative

Function Modelica.​Media.​R134a.​R134a_ph.​setState_px
Return thermodynamic state from pressure and vapour quality

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
MassFractionxVapour quality

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​setState_Tx
Return thermodynamic state from temperature and vapour quality

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
TemperatureTTemperature
MassFractionxVapour quality

Outputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Function Modelica.​Media.​R134a.​R134a_ph.​vapourQuality
Return vapour quality

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ThermodynamicStatestateThermodynamic state record

Outputs

TypeNameDescription
MassFractionxVapour quality

Function Modelica.​Media.​R134a.​R134a_ph.​saturationTemperature_der_p
Time derivative of saturation temperature in two-phase region

Information

This function calculates the time derivative of saturation temperature of R134a with regard to the time derivative of p. The non-derivative function is saturatuionTemperature.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
Realder_pTime derivative of pressure

Outputs

TypeNameDescription
Realder_TsatTime derivative of saturation temperature

Function Modelica.​Media.​R134a.​R134a_ph.​dBubbleDensity_dPressure_der_sat
Time derivative of liquid density in two-phase region w.r.t pressure

Information

This function calculates the time derivative of liquid density of R134a with regard to the time derivative of p. The non-derivative function is bubbleDensity.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation properties | pressure is used for interpolation
SaturationPropertiesder_satDerivative of saturation properties

Outputs

TypeNameDescription
Realder_ddldpTime derivative of liquid density in two-phase region w.r.t pressure

Function Modelica.​Media.​R134a.​R134a_ph.​dDewDensity_dPressure_der_sat
Time derivative of vapor density in two-phase region w.r.t pressure

Information

This function calculates the time derivative of vapor density of R134a with regard to the time derivative of p. The non-derivative function is dewDensity.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation properties | pressure is used for interpolation
SaturationPropertiesder_satDerivative of saturation properties

Outputs

TypeNameDescription
Realder_ddvdpTime derivative of vapor density in two-phase region w.r.t pressure

Function Modelica.​Media.​R134a.​R134a_ph.​dBubbleEnthalpy_dPressure_der_sat
Time derivative of liquid specific enthalpy in two-phase region w.r.t pressure

Information

This function calculates the time derivative of liquid specific enthalpy of R134a with regard to the time derivative of p. The non-derivative function is bubbleEnthalpy.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation properties | pressure is used for interpolation
SaturationPropertiesder_satDerivative of saturation properties

Outputs

TypeNameDescription
Realder_dhldpTime derivative of liquid specific enthalpy in two-phase region w.r.t pressure

Function Modelica.​Media.​R134a.​R134a_ph.​dDewEnthalpy_dPressure_der_sat
Time derivative of vapor specific enthalpy in two-phase region w.r.t pressure

Information

This function calculates the time derivative of vapor enthalpy of R134a with regard to the time derivative of p. The non-derivative function is dewEnthalpy.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation properties | pressure is used for interpolation
SaturationPropertiesder_satDerivative of saturation properties

Outputs

TypeNameDescription
Realder_dhvdpDerivative of vapor specific enthalpy in two-phase region w.r.t pressure

Function Modelica.​Media.​R134a.​R134a_ph.​dDewEntropy_dPressure
Derivative of vapor specific entropy in two-phase region w.r.t pressure | use setState_phX function for input

Information

This function calculates the derivative of vapor entropy of R134a with regard to the state variable p (absolute pressure). The non-derivative function is dewEntropy.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation properties | pressure is used for interpolation

Outputs

TypeNameDescription
RealdsvdpDerivative of vapor specific entropy in two-phase region w.r.t pressure

Function Modelica.​Media.​R134a.​R134a_ph.​dDewEntropy_dPressure_der_sat
Time derivative of vapor specific entropy in two-phase region w.r.t pressure | use setState_phX function for input

Information

This function calculates the time derivative of vapor specific entropy of R134a with regard to the time derivative of p. The non-derivative function is dewEntropy.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation properties | pressure is used for interpolation
SaturationPropertiesder_satDerivative of saturation properties

Outputs

TypeNameDescription
Realder_dsvdpDerivative of vapor specific entropy in two-phase region w.r.t pressure

Function Modelica.​Media.​R134a.​R134a_ph.​dBubbleEntropy_dPressure
Derivative of liquid specific entropy in two-phase region w.r.t pressure | use setState_phX function for input

Information

This function calculates the derivative of liquid entropy of R134a with regard to the state variable p (absolute pressure). The non-derivative function is bubbleEntropy.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation properties | pressure is used for interpolation

Outputs

TypeNameDescription
RealdsldpDerivative of liquid specific entropy in two-phase region w.r.t pressure

Function Modelica.​Media.​R134a.​R134a_ph.​dBubbleEntropy_dPressure_der_sat
Time derivative of liquid specific entropy in two-phase region w.r.t pressure | use setState_phX function for input

Information

This function calculates the time derivative of liquid specific entropy of R134a with regard to the time derivative of p. The non-derivative function is bubbleEntropy.

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
SaturationPropertiessatSaturation properties | pressure is used for interpolation
SaturationPropertiesder_satDerivative of saturation properties

Outputs

TypeNameDescription
Realder_dsldpDerivative of liquid specific entropy in two-phase region w.r.t pressure

Function Modelica.​Media.​R134a.​R134a_ph.​derivsOf_ph
Derivatives required for inversion of temperature and density functions

Information

This function calculates the derivatives required for an inversion of temperature and density function.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
IntegerphaseNumber of phases

Outputs

TypeNameDescription
InverseDerivatives_rhoTderivsInverse derivatives for density and temperature

Function Modelica.​Media.​R134a.​R134a_ph.​dt_ph
Density and temperature w.r.t. pressure and specific enthalpy

Information

This function calculates the density and temperature of R134a from absolute pressure and specific enthalpy. In one-phase region the function calls the fundamental Helmholtz equation of Tillner-Roth (1994). In two-phase the density and temperature is computed from cubic splines for saturated pressure, liquid and vapor density.

Restrictions

The function cannot be inverted in a numerical way. Please use functions rho_props_ph and T_props_ph for this purpose.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy

Outputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature

Function Modelica.​Media.​R134a.​R134a_ph.​dtofphOnePhase
Density and temperature w.r.t. pressure and specific enthalpy in one-phase region

Information

This function calculates the density and temperature of R134a from absolute pressure and specific enthalpy in one-phase region. The function calls the fundamental Helmholtz equation of Tillner-Roth (1994) which is requiring density and temperature for input. Thus, a newton iteration is performed to determine density and temperature. The newton iteration stops if the inputs for pressure difference delp and specific enthalpy difference delh are larger than the actual differences derived from the newton iteration.

Restrictions

The function shall only be used for one-phase inputs since the fundamental equation is not valid for two-phase states.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhEnthalpy
AbsolutePressuredelpAbsolute error in p in iteration
SpecificEnthalpydelhAbsolute error in h in iteration

Outputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
Integererror1 if did not converged

Function Modelica.​Media.​R134a.​R134a_ph.​dtofpsOnePhase
Inverse iteration in one phase region (d,T) = f(p,s)

Information

This function calculates the density and temperature of R134a from absolute pressure and specific entropy in one-phase region. The function calls the fundamental helmholtz equation of Tillner-Roth (1994) which is requiring density and temperature for input. Thus, a newton iteration is performed to determine density and temperature. The newton iteration stops if the inputs for pressure difference delp and specific entropy difference dels are larger than the actual differences derived from the newton iteration.

Restrictions

The function shall only be used for one-phase inputs since the fundamental equation is not valid for two-phase states. The iteration could fail for liquid states with high pressures.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy
AbsolutePressuredelpAbsolute iteration accuracy
SpecificEntropydelsAbsolute iteration accuracy

Outputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature
IntegererrorError flag: trouble if different from 0

Function Modelica.​Media.​R134a.​R134a_ph.​f_R134a
Calculation of helmholtz derivatives by density and temperature

Information

This function adds the ideal gas contribution of the fundamental equation to the residual contribution and computes the helmholtz derivatives w.r.t. temperature and density.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature

Outputs

TypeNameDescription
HelmholtzDerivsfHelmholtz derivatives

Function Modelica.​Media.​R134a.​R134a_ph.​fid_R134a
Helmholtz coefficients of ideal part

Information

This function computes the ideal gas helmholtz derivatives of the fundamental equation of Tillner-Roth and Baehr for R134a (1994) w.r.t. to reduced temperature (tau=T_crit/T) and reduced density (delta=rho/rho_crit).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
RealdeltaReduced density (delta=d/dcrit)
RealtauReduced temperature (tau=Tcrit/T)

Outputs

TypeNameDescription
HelmholtzDerivsfidHelmholtz derivatives of ideal part

Function Modelica.​Media.​R134a.​R134a_ph.​fres_R134a
Calculation of helmholtz derivatives

Information

This function computes the residual helmholtz derivatives of the fundamental equation of Tillner-Roth and Baehr for R134a (1994) w.r.t. to reduced temperature (tau=T_crit/T) and reduced density (delta=rho/rho_crit). The function can be used for special properties depending just on the residual derivative parts.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
RealdeltaReduced density (delta=d/dcrit)
RealtauReduced temperature (tau=Tcrit/T)

Outputs

TypeNameDescription
HelmholtzDerivsfHelmholtz derivatives

Function Modelica.​Media.​R134a.​R134a_ph.​getPhase_ph
Number of phases by pressure and specific enthalpy

Information

This function computes the number of phases for R134a depending on the inputs for absolute pressure and specific enthalpy. It makes use of cubic spline functions for liquid and vapor specific enthalpy.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy

Outputs

TypeNameDescription
IntegerphaseNumber of phases

Function Modelica.​Media.​R134a.​R134a_ph.​getPhase_ps
Number of phases by pressure and entropy

Information

This function computes the number of phases for R134a depending on the inputs for absolute pressure and specific entropy. It makes use of cubic spline functions for liquid and vapor specific entropy.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
IntegerphaseNumber of phases

Function Modelica.​Media.​R134a.​R134a_ph.​hofpsTwoPhase
Isentropic specific enthalpy in two phase region h(p,s)

Information

This function computes the specific enthalpy in two-phase for R134a depending on the inputs for absolute pressure and specific entropy. It makes use of cubic spline functions for liquid and vapor specific enthalpy as well as specific entropy.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​R134a.​R134a_ph.​R134a_liqofdT
Properties on liquid boundary phase

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
TemperatureTTemperature

Outputs

TypeNameDescription
PhaseBoundaryPropertiesliqProperties on liquid boundary phase

Function Modelica.​Media.​R134a.​R134a_ph.​R134a_vapofdT
Properties on vapor boundary phase

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
TemperatureTTemperature

Outputs

TypeNameDescription
PhaseBoundaryPropertiesvapProperties on vapor boundary phase

Function Modelica.​Media.​R134a.​R134a_ph.​rho_ph_der
Time derivative function of density_ph

Information

This function calculates the derivative of density w.r.t. time. It is used as derivative function for rho_props_ph.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
InverseDerivatives_rhoTderivsRecord for derivatives
Realp_derDerivative of pressure
Realh_derDerivative of specific enthalpy

Outputs

TypeNameDescription
Reald_derDerivative of density

Function Modelica.​Media.​R134a.​R134a_ph.​rho_props_ph
Density as function of pressure and specific enthalpy

Information

This function integrates the derivative of density w.r.t. time in order to allow a numerical inversion for the complex fundamental equation of state.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
PressurepPressure
SpecificEnthalpyhSpecific enthalpy
InverseDerivatives_rhoTderivsRecord for the calculation of rho_ph_der

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​R134a.​R134a_ph.​T_ph_der
Time derivative function of T_ph

Information

This function calculates the derivative of temperature w.r.t. time. It is used as derivative function for T_props_ph.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
InverseDerivatives_rhoTderivsAuxiliary record
Realp_derDerivative of pressure
Realh_derDerivative of specific enthalpy

Outputs

TypeNameDescription
RealT_derDerivative of temperature

Function Modelica.​Media.​R134a.​R134a_ph.​T_props_ph
Temperature as function of pressure and specific enthalpy

Information

This function integrates the derivative of temperature w.r.t. time in order to allow a numerical inversion for the complex fundamental equation of state.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
InverseDerivatives_rhoTderivsRecord for the calculation of T_ph_der

Outputs

TypeNameDescription
TemperatureTTemperature

Function Modelica.​Media.​R134a.​R134a_ph.​dofpT
Compute d for given p and T

Information

This function calculates the density of R134a from absolute pressure and temperature. The function can only be executed in one-phase region. The safety margin to the phase boundary is 1[K] and 1000[Pa].

Restrictions

The function cannot be inverted in a numerical way. Please use functions rho_props_ph and T_props_ph for this purpose.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
PressuredelpIteration converged if (p-pre(p) < delp)

Outputs

TypeNameDescription
DensitydDensity

Function Modelica.​Media.​R134a.​R134a_ph.​hofpT
Compute h for given p and T

Information

This function calculates the specific enthalpy of R134a from absolute pressure and temperature. The function can only be executed in one-phase region. The safety margin to the phase boundary is 1[K] and 1000[Pa].

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature
PressuredelpIteration converged if (p-pre(p) < delp)

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific Enthalpy

Function Modelica.​Media.​R134a.​R134a_ph.​phaseBoundaryAssert
Assert function for checking threshold to phase boundary

Information

This function is used as a guard for property functions using pTX as an input. Property functions for two-phase media using pressure and temperature as inputs shall not be used close to the phase boundary in order to avoid errors and high deviations for just small deviations in the input arguments. The refrigerant state can not be determined in the two-phase region using pressure and temperature.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
PressurepRefrigerant pressure
TemperatureTRefrigerant temperature