Modelica.Media.R134a.Common

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Modelica.Media.R134a.Common.PhaseBoundaryProperties PhaseBoundaryProperties Thermodynamic base properties on the phase boundary
Modelica.Media.R134a.Common.InverseDerivatives_rhoT InverseDerivatives_rhoT Derivatives required for inversion of density and temperature functions w.r.t. pressure and enthalpy states
Modelica.Media.R134a.Common.EOSIdealCoeff EOSIdealCoeff Record for coefficients of ideal term of Helmholtz equation of state
Modelica.Media.R134a.Common.EOSResidualCoeff EOSResidualCoeff Record for coefficients of residual term of Helmholtz equation of state
Modelica.Media.R134a.Common.CubicSplineDerEval CubicSplineDerEval Derivative of cubic spline
Modelica.Media.R134a.Common.CubicSplineEval CubicSplineEval Cubic spline
Modelica.Media.R134a.Common.cv2Phase cv2Phase Compute isochoric specific heat capacity inside the two-phase region
Modelica.Media.R134a.Common.FindInterval FindInterval Half-interval search algorithm
Modelica.Media.R134a.Common.helmholtzToBoundaryProps helmholtzToBoundaryProps Calculate phase boundary property record from dimensionless Helmholtz function

Modelica.Media.R134a.Common.PhaseBoundaryProperties Modelica.Media.R134a.Common.PhaseBoundaryProperties

Thermodynamic base properties on the phase boundary

Information

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

Contents

NameDescription
dDensity [kg/m3]
hEnthalpy [J/kg]
uInner energy [J/kg]
sEntropy [J/(kg.K)]
cpHeat capacity at constant pressure [J/(kg.K)]
cvHeat capacity at constant volume [J/(kg.K)]
kappaIsentropic exponent [1/Pa]
aVelocity of sound [m/s]
betaIsobaric expansion coefficient [1/K]
gammaIsentropic exponent [1]
ptDerivative of pressure w.r.t. temperature [Pa/K]
pdDerivative of pressure w.r.t. density [Pa.m3/kg]

Modelica.Media.R134a.Common.InverseDerivatives_rhoT Modelica.Media.R134a.Common.InverseDerivatives_rhoT

Derivatives required for inversion of density and temperature functions w.r.t. pressure and enthalpy states

Information

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

Contents

NameDescription
phaseNumber of phases
pPressure [Pa]
TKelvin-temperature [K]
rhoDensity [kg/m3]
hSpecific enthalpy [J/kg]
cvSpecific heat capacity at constant volume [J/(kg.K)]
ptDerivative of pressure w.r.t. temperature
pdDerivative of pressure w.r.t. density
dpTdp/dT derivative of saturation curve

Modelica.Media.R134a.Common.EOSIdealCoeff Modelica.Media.R134a.Common.EOSIdealCoeff

Record for coefficients of ideal term of Helmholtz equation of state

Information

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

Contents

NameDescription
ncNo. of coefficients in a
a[nc]Coefficients of ideal term of Helmholtz equation of state

Modelica.Media.R134a.Common.EOSResidualCoeff Modelica.Media.R134a.Common.EOSResidualCoeff

Record for coefficients of residual term of Helmholtz equation of state

Information

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

Contents

NameDescription
ncNo. of coefficients in c, d, t, n
ns1No. of zero coefficients in c
c[nc]Coefficients of residual term of Helmholtz equation of state
d[nc]Coefficients of residual term of Helmholtz equation of state
t[nc]Coefficients of residual term of Helmholtz equation of state
n[nc]Coefficients of residual term of Helmholtz equation of state

Modelica.Media.R134a.Common.CubicSplineDerEval Modelica.Media.R134a.Common.CubicSplineDerEval

Derivative of cubic spline

Information

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

Inputs

NameDescription
xInput
coefs[4]Spline coefficients

Outputs

NameDescription
yderSpline derivative

Modelica.Media.R134a.Common.CubicSplineEval Modelica.Media.R134a.Common.CubicSplineEval

Cubic spline

Information

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

Inputs

NameDescription
xInput
coefs[4]Spline coefficients

Outputs

NameDescription
yOutput

Modelica.Media.R134a.Common.cv2Phase Modelica.Media.R134a.Common.cv2Phase

Compute isochoric specific heat capacity inside the two-phase region

Information

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

Inputs

NameDescription
liqProperties on the boiling curve
vapProperties on the condensation curve
xVapour mass fraction [1]
TTemperature [K]
pPressure [Pa]

Outputs

NameDescription
cvIsochoric specific heat capacity [J/(kg.K)]
dpTDerivative of pressure w.r.t. temperature

Modelica.Media.R134a.Common.FindInterval Modelica.Media.R134a.Common.FindInterval

Half-interval search algorithm

Information

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

Inputs

NameDescription
xInput
breaks[:]Grid points defining the intervals

Outputs

NameDescription
iFound interval number
error1=did not find interval

Modelica.Media.R134a.Common.helmholtzToBoundaryProps Modelica.Media.R134a.Common.helmholtzToBoundaryProps

Calculate phase boundary property record from dimensionless Helmholtz function

Information

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

Inputs

NameDescription
fDimensionless derivatives of Helmholtz function

Outputs

NameDescription
satPhase boundary property record
Automatically generated Tue Feb 24 16:59:30 2026.