Extends from Modelica.Icons.Package (Icon for standard packages).
| Name | Description |
|---|---|
| Thermodynamic base properties on the phase boundary | |
| Derivatives required for inversion of density and temperature functions w.r.t. pressure and enthalpy states | |
| Record for coefficients of ideal term of Helmholtz equation of state | |
| Record for coefficients of residual term of Helmholtz equation of state | |
| Derivative of cubic spline | |
| Cubic spline | |
| Compute isochoric specific heat capacity inside the two-phase region | |
| Half-interval search algorithm | |
| Calculate phase boundary property record from dimensionless Helmholtz function |
Modelica.Media.R134a.Common.PhaseBoundaryPropertiesThermodynamic base properties on the phase boundary
Extends from Modelica.Icons.Record (Icon for records).
| Name | Description |
|---|---|
| d | Density [kg/m3] |
| h | Enthalpy [J/kg] |
| u | Inner energy [J/kg] |
| s | Entropy [J/(kg.K)] |
| cp | Heat capacity at constant pressure [J/(kg.K)] |
| cv | Heat capacity at constant volume [J/(kg.K)] |
| kappa | Isentropic exponent [1/Pa] |
| a | Velocity of sound [m/s] |
| beta | Isobaric expansion coefficient [1/K] |
| gamma | Isentropic exponent [1] |
| pt | Derivative of pressure w.r.t. temperature [Pa/K] |
| pd | Derivative of pressure w.r.t. density [Pa.m3/kg] |
Modelica.Media.R134a.Common.InverseDerivatives_rhoTDerivatives required for inversion of density and temperature functions w.r.t. pressure and enthalpy states
Extends from Modelica.Icons.Record (Icon for records).
| Name | Description |
|---|---|
| phase | Number of phases |
| p | Pressure [Pa] |
| T | Kelvin-temperature [K] |
| rho | Density [kg/m3] |
| h | Specific enthalpy [J/kg] |
| cv | Specific heat capacity at constant volume [J/(kg.K)] |
| pt | Derivative of pressure w.r.t. temperature |
| pd | Derivative of pressure w.r.t. density |
| dpT | dp/dT derivative of saturation curve |
Modelica.Media.R134a.Common.EOSIdealCoeffRecord for coefficients of ideal term of Helmholtz equation of state
Extends from Modelica.Icons.Record (Icon for records).
| Name | Description |
|---|---|
| nc | No. of coefficients in a |
| a[nc] | Coefficients of ideal term of Helmholtz equation of state |
Modelica.Media.R134a.Common.EOSResidualCoeffRecord for coefficients of residual term of Helmholtz equation of state
Extends from Modelica.Icons.Record (Icon for records).
| Name | Description |
|---|---|
| nc | No. of coefficients in c, d, t, n |
| ns1 | No. 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.CubicSplineDerEvalDerivative of cubic spline
Extends from Modelica.Icons.Function (Icon for functions).
| Name | Description |
|---|---|
| x | Input |
| coefs[4] | Spline coefficients |
| Name | Description |
|---|---|
| yder | Spline derivative |
Modelica.Media.R134a.Common.CubicSplineEvalCubic spline
Extends from Modelica.Icons.Function (Icon for functions).
| Name | Description |
|---|---|
| x | Input |
| coefs[4] | Spline coefficients |
| Name | Description |
|---|---|
| y | Output |
Modelica.Media.R134a.Common.cv2PhaseCompute isochoric specific heat capacity inside the two-phase region
Extends from Modelica.Icons.Function (Icon for functions).
| Name | Description |
|---|---|
| liq | Properties on the boiling curve |
| vap | Properties on the condensation curve |
| x | Vapour mass fraction [1] |
| T | Temperature [K] |
| p | Pressure [Pa] |
| Name | Description |
|---|---|
| cv | Isochoric specific heat capacity [J/(kg.K)] |
| dpT | Derivative of pressure w.r.t. temperature |
Modelica.Media.R134a.Common.FindIntervalHalf-interval search algorithm
Extends from Modelica.Icons.Function (Icon for functions).
| Name | Description |
|---|---|
| x | Input |
| breaks[:] | Grid points defining the intervals |
| Name | Description |
|---|---|
| i | Found interval number |
| error | 1=did not find interval |
Modelica.Media.R134a.Common.helmholtzToBoundaryPropsCalculate phase boundary property record from dimensionless Helmholtz function
Extends from Modelica.Icons.Function (Icon for functions).
| Name | Description |
|---|---|
| f | Dimensionless derivatives of Helmholtz function |
| Name | Description |
|---|---|
| sat | Phase boundary property record |