Package Modelica.​Media.​R134a.​Common
Icon for standard packages

Information

Standard package icon.

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

Package Contents

NameDescription
CubicSplineDerEvalDerivative of cubic spline
CubicSplineEvalCubic spline
cv2PhaseCompute isochoric specific heat capacity inside the two-phase region
EOSIdealCoeffRecord for coefficients of ideal term of Helmholtz equation of state
EOSResidualCoeffRecord for coefficients of residual term of Helmholtz equation of state
FindIntervalHalf-interval search algorithm
helmholtzToBoundaryPropsCalculate phase boundary property record from dimensionless Helmholtz function
InverseDerivatives_rhoTDerivatives required for inversion of density and temperature functions w.r.t. pressure and enthalpy states
PhaseBoundaryPropertiesThermodynamic base properties on the phase boundary

Record Modelica.​Media.​R134a.​Common.​PhaseBoundaryProperties
Thermodynamic base properties on the phase boundary

Information

This icon is indicates a record.

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

Fields

TypeNameDescription
DensitydDensity
SpecificEnthalpyhEnthalpy
SpecificEnergyuInner energy
SpecificEntropysEntropy
SpecificHeatCapacitycpHeat capacity at constant pressure
SpecificHeatCapacitycvHeat capacity at constant volume
IsothermalCompressibilitykappaIsentropic exponent
VelocityaVelocity of sound
IsobaricExpansionCoefficientbetaIsobaric expansion coefficient
IsentropicExponentgammaIsentropic exponent
DerPressureByTemperatureptDerivative of pressure wrt temperature
DerPressureByDensitypdDerivative of pressure wrt density

Record Modelica.​Media.​R134a.​Common.​InverseDerivatives_rhoT
Derivatives required for inversion of density and temperature functions w.r.t. pressure and enthalpy states

Information

This icon is indicates a record.

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

Fields

TypeNameDescription
IntegerphaseNumber of phases
PressurepPressure
TemperatureTKelvin-temperature
DensityrhoDensity
SpecificEnthalpyhSpecific enthalpy
SpecificHeatCapacitycvSpecific heat capacity at constant volume
RealptDerivative of pressure wrt temperature
RealpdDerivative of pressure wrt density
RealdpTdp/dT derivative of saturation curve

Record Modelica.​Media.​R134a.​Common.​EOSIdealCoeff
Record for coefficients of ideal term of Helmholtz equation of state

Information

This icon is indicates a record.

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

Fields

TypeNameDescription
parameter IntegerncNo. of coefficients in a
parameter Reala[nc]Coefficients of ideal term of Helmholtz equation of state

Record Modelica.​Media.​R134a.​Common.​EOSResidualCoeff
Record for coefficients of residual term of Helmholtz equation of state

Information

This icon is indicates a record.

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

Fields

TypeNameDescription
parameter IntegerncNo. of coefficients in c, d, t, n
parameter Integerns1No. of zero coefficients in c
parameter Realc[nc]Coefficients of residual term of Helmholtz equation of state
parameter Reald[nc]Coefficients of residual term of Helmholtz equation of state
parameter Realt[nc]Coefficients of residual term of Helmholtz equation of state
parameter Realn[nc]Coefficients of residual term of Helmholtz equation of state

Function Modelica.​Media.​R134a.​Common.​CubicSplineDerEval
Derivative of cubic spline

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
RealxInput
Realcoefs[4]Spline coefficients

Outputs

TypeNameDescription
RealyderSpline derivative

Function Modelica.​Media.​R134a.​Common.​CubicSplineEval
Cubic spline

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
RealxInput
Realcoefs[4]Spline coefficients

Outputs

TypeNameDescription
RealyOutput

Function Modelica.​Media.​R134a.​Common.​cv2Phase
Compute isochoric specific heat capacity inside the two-phase region

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PhaseBoundaryPropertiesliqProperties on the boiling curve
PhaseBoundaryPropertiesvapProperties on the condensation curve
MassFractionxVapour mass fraction
TemperatureTTemperature
PressurepPressure

Outputs

TypeNameDescription
SpecificHeatCapacitycvIsochoric specific heat capacity
RealdpTDerivative of pressure w.r.t. temperature

Function Modelica.​Media.​R134a.​Common.​FindInterval
Half-interval search algorithm

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
RealxInput
Realbreaks[:]Grid points defining the intervals

Outputs

TypeNameDescription
IntegeriFound interval number
Integererror1=did not find interval

Function Modelica.​Media.​R134a.​Common.​helmholtzToBoundaryProps
Calculate phase boundary property record from dimensionless Helmholtz function

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
HelmholtzDerivsfDimensionless derivatives of Helmholtz function

Outputs

TypeNameDescription
PhaseBoundaryPropertiessatPhase boundary property record

Generated 2018-12-12 12:14:18 EST by MapleSim.