R134a_phMedium model for R134a and p,h as states |
Thermodynamic state |
|
Base properties of R134a |
|
Set state for pressure and specific enthalpy (X not used since single substance) |
|
Set state for density and temperature (X not used since single substance) |
|
Set state for pressure and specific entropy (X not used since single substance) |
|
Set state for pressure and temperature (X not used since single substance) |
|
Return the thermodynamic state on the bubble line |
|
Return the thermodynamic state on the dew line |
|
Density as function of pressure and specific enthalpy |
|
Density as function of pressure and specific enthalpy | use setState_phX function for input |
|
Temperature as function of pressure and specific enthalpy |
|
Temperature as function of pressure and specific enthalpy | use setState_phX function for input |
|
Pressure w.r.t. thermodynamic state |
|
Specific internal energy w.r.t. thermodynamic state |
|
Specific enthalpy w.r.t. thermodynamic state | use setState_phX function for input |
|
Specific entropy w.r.t. thermodynamic state | use setState_phX function for input if necessary |
|
Saturation temperature in two-phase region |
|
Derivative of saturation temperature in two-phase region |
|
Time derivative of saturation temperature in two-phase region |
|
Density of liquid phase w.r.t saturation pressure | use setSat_p function for input |
|
Derivative of liquid density in two-phase region w.r.t pressure |
|
dBubbleDensity_dPressure_der_sat Time derivative of liquid density in two-phase region w.r.t pressure |
|
Density of vapor phase w.r.t saturation pressure | use setSat_p function for input |
|
Derivative of vapor density in two-phase region w.r.t pressure |
|
Time derivative of vapor density in two-phase region w.r.t pressure |
|
Specific enthalpy of liquid phase w.r.t saturation pressure | use setSat_p function for input |
|
Derivative of liquid specific enthalpy in two-phase region w.r.t pressure |
|
dBubbleEnthalpy_dPressure_der_sat Time derivative of liquid specific enthalpy in two-phase region w.r.t pressure |
|
Specific enthalpy of vapor phase w.r.t saturation pressure | use setSat_p function for input |
|
Derivative of vapor specific enthalpy in two-phase region w.r.t pressure |
|
dDewEnthalpy_dPressure_der_sat Time derivative of vapor specific enthalpy in two-phase region w.r.t pressure |
|
Specific entropy of vapor phase w.r.t saturation pressure | use setSat_p function for input |
|
Derivative of vapor specific entropy in two-phase region w.r.t pressure | use setState_phX function for input |
|
Time derivative of vapor specific entropy in two-phase region w.r.t pressure | use setState_phX function for input |
|
Specific entropy of liquid phase w.r.t saturation pressure | use setSat_p function for input |
|
Derivative of liquid specific entropy in two-phase region w.r.t pressure | use setState_phX function for input |
|
dBubbleEntropy_dPressure_der_sat Time derivative of liquid specific entropy in two-phase region w.r.t pressure | use setState_phX function for input |
|
Saturation pressure w.r.t. temperature |
|
Specific heat capacity at constant pressure | turns infinite in two-phase region! | use setState_phX function for input |
|
Specific heat capacity at constant volume | use setState_phX function for input |
|
Dynamic viscosity w.r.t. temperature and density | use setState_phX function for input |
|
Thermal conductivity w.r.t. thermodynamic state | use setState_phX function for input |
|
Surface tension as a function of temperature (below critical point) |
|
Velocity of sound w.r.t. thermodynamic state (only valid for one-phase) |
|
Isothermal compressibility w.r.t. thermodynamic state (only valid for one-phase) |
|
Isobaric expansion coefficient w.r.t. thermodynamic state (only valid for one-phase) |
|
Isentropic exponent gamma w.r.t. thermodynamic state | not defined in two-phase region | use setState_phX function for input |
|
Specific gibbs energy w.r.t. thermodynamic state |
|
Helmholtz energy w.r.t. thermodynamic state |
|
Density derivative by specific enthalpy | use setState_phX function for input |
|
Density derivative by pressure | use setState_phX function for input |
|
Isentropic enthalpy of downstream pressure and upstream thermodynamic state (specific entropy) |
|
Derivatives required for inversion of temperature and density functions |
|
Density and temperature w.r.t. pressure and specific enthalpy |
|
Density and temperature w.r.t. pressure and specific enthalpy in one-phase region |
|
Inverse iteration in one phase region (d,T) = f(p,s) |
|
Calculation of helmholtz derivatives by density and temperature |
|
Helmholtz coefficients of ideal part |
|
Calculation of helmholtz derivatives |
|
Number of phases by pressure and specific enthalpy |
|
Number of phases by pressure and entropy |
|
Isentropic specific enthalpy in two phase region h(p,s) |
|
Properties on liquid boundary phase |
|
Properties on vapor boundary phase |
|
Time derivative function of density_ph |
|
Density as function of pressure and specific enthalpy |
|
Time derivative function of T_ph |
|
Temperature as function of pressure and specific enthalpy |
|
Smooth transition function between state_a and state_b |
|
Compute d for given p and T |
|
Compute h for given p and T |
|
Assert function for checking threshold to phase boundary |
ThermoStates |
Value: Modelica.Media.Interfaces.Choices.IndependentVariables.ph Type: IndependentVariables Description: Enumeration type for independent variables |
---|---|
mediumName |
Value: "R134a_ph" Type: String Description: Name of the medium |
substanceNames |
Value: {"tetrafluoroethan"} Type: String[:] Description: Names of the mixture substances. Set substanceNames={mediumName} if only one substance. |
extraPropertiesNames |
Value: fill("", 0) Type: String[:] Description: Names of the additional (extra) transported properties. Set extraPropertiesNames=fill("",0) if unused |
singleState |
Value: false Type: Boolean Description: = true, if u and d are not a function of pressure |
reducedX |
Value: true Type: Boolean Description: = true if medium contains the equation sum(X) = 1.0; set reducedX=true if only one substance (see docu for details) |
fixedX |
Value: true Type: Boolean Description: = true if medium contains the equation X = reference_X |
reference_p |
Value: 101325 Type: AbsolutePressure (Pa) Description: Reference pressure of Medium: default 1 atmosphere |
reference_T |
Value: 298.15 Type: Temperature (K) Description: Reference temperature of Medium: default 25 deg Celsius |
reference_X |
Value: fill(1 / nX, nX) Type: MassFraction[nX] (kg/kg) Description: Default mass fractions of medium |
p_default |
Value: 101325 Type: AbsolutePressure (Pa) Description: Default value for pressure of medium (for initialization) |
T_default |
Value: Modelica.SIunits.Conversions.from_degC(20) Type: Temperature (K) Description: Default value for temperature of medium (for initialization) |
h_default |
Value: 420e3 Type: SpecificEnthalpy (J/kg) Description: Default value for specific enthalpy of medium (for initialization) |
X_default |
Value: reference_X Type: MassFraction[nX] (kg/kg) Description: Default value for mass fractions of medium (for initialization) |
C_default |
Value: fill(0, nC) Type: ExtraProperty[nC] Description: Default value for trace substances of medium (for initialization) |
nS |
Value: size(substanceNames, 1) Type: Integer Description: Number of substances |
nX |
Value: nS Type: Integer Description: Number of mass fractions |
nXi |
Value: if fixedX then 0 else if reducedX then nS - 1 else nS Type: Integer Description: Number of structurally independent mass fractions (see docu for details) |
nC |
Value: size(extraPropertiesNames, 1) Type: Integer Description: Number of extra (outside of standard mass-balance) transported properties |
C_nominal |
Value: 1.0e-6 * ones(nC) Type: Real[nC] Description: Default for the nominal values for the extra properties |
smoothModel |
Value: false Type: Boolean Description: True if the (derived) model should not generate state events |
onePhase |
Value: false Type: Boolean Description: True if the (derived) model should never be called with two-phase inputs |
fluidConstants |
Value: r134aConstants Type: FluidConstants[nS] Description: Constant data for the fluid |
ph_explicit |
Value: true Type: Boolean |
dT_explicit |
Value: false Type: Boolean |
r134aLimits |
Value: Type: FluidLimits[1] |
r134aConstants |
Value: Type: FluidConstants[1] |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.
The functions provided by this package shall be used inside of the restricted limits according to the referenced literature.
References