.ThermofluidStream.Media.XRGMedia.CO2_ph

XRG_Media: medium model for CO2 (R744) and p,h as states

Information

Calculation of fluid properties for Carbon Dioxide (R744) in the fluid region of 5.18 bar (Triple pressure) to 8000 bar and 216.6 Kelvin (Triple temperature) to 1100 Kelvin.

Restriction

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

References

Span,R.and W. Wagner:
A New Equation of State for Carbon Dioxide Covering Fluid Region from Triple Point Temperature to 1100 K at Pressures up to 800 MPa. J. Phys. Chem. Ref. Data, Vol. 25, No. 6, 1996.
Pfafferott,T.:
Dynamische Simulation von CO2-Kaelteprozessen fuer mobile Anwendungen. PhD thesis at Institute of ThermoFluidDynamics, Hamburg University of Technology, Shaker Verlag, Aachen(Germany), 2005.
Fenghour, A. et al.:
The Viscosity of Carbon Dioxide. J. Phys. Chem. Ref. Data, Vol. 27, No. 1, 1998.
Vesovic, V. et al.:
The Transport Properties of Carbon Dioxide. J. Phys. Chem. Ref. Data, Vol. 19, No. 3, 1990.

Contents

Name Description
 SaturationProperties
 ThermodynamicState Thermodynamic state
 BaseProperties Base properties of CO2
 setState_phX Set state for pressure and specific enthalpy (X not used since single substance)
 setState_dTX Set state for density and temperature (X not used since single substance)
 setState_psX Set state for pressure and specific entropy (X not used since single substance)
 setState_pTX Set state for pressure and temperature (X not used since single substance)
 setBubbleState Return the thermodynamic state on the bubble line
 setDewState Return the thermodynamic state on the dew line
 density_ph Density as function of pressure and specific enthalpy
 density Density as function of pressure and specific enthalpy | use setState_phX function for input
 temperature_ph Temperature as function of pressure and specific enthalpy
 temperature Temperature as function of pressure and specific enthalpy | use setState_phX function for input
 pressure Pressure w.r.t. thermodynamic state
 specificInternalEnergy Specific internal energy w.r.t. thermodynamic state
 specificEnthalpy Specific enthalpy w.r.t. thermodynamic state | use setState_phX function for input
 specificEntropy Specific entropy w.r.t. thermodynamic state | use setState_phX function for input if necessary
 saturationTemperature Saturation temperature in two-phase region
 saturationTemperature_derp Derivative of saturation temperature in two-phase region
 saturationTemperature_der_p Derivative of saturation temperature in two-phase region
 bubbleDensity Density of liquid phase w.r.t saturation pressure
 dBubbleDensity_dPressure Derivative of liquid density in two-phase region w.r.t pressure
 dBubbleDensity_dPressure_der_sat Derivative of liquid density in two-phase region w.r.t pressure
 dewDensity Density of vapor phase w.r.t saturation pressure
 dDewDensity_dPressure Derivative of vapor density in two-phase region w.r.t pressure
 dDewDensity_dPressure_der_sat Derivative of vapor density in two-phase region w.r.t pressure
 bubbleEnthalpy Specific enthalpy of liquid phase w.r.t saturation pressure
 dBubbleEnthalpy_dPressure Derivative of liquid specific enthalpy in two-phase region w.r.t pressure
 dBubbleEnthalpy_dPressure_der_sat Derivative of liquid specific enthalpy in two-phase region w.r.t pressure
 dewEnthalpy Specific enthalpy of vapor phase w.r.t saturation pressure
 dDewEnthalpy_dPressure Derivative of vapor specific enthalpy in two-phase region w.r.t pressure
 dDewEnthalpy_dPressure_der_sat Derivative of vapor specific enthalpy in two-phase region w.r.t pressure
 dewEntropy Specific entropy of vapor phase w.r.t saturation pressure
 dDewEntropy_dPressure Derivative of vapor specific entropy in two-phase region w.r.t pressure | use setState_phX function for input
 dDewEntropy_dPressure_der_sat Time derivative of vapor specific entropy in two-phase region w.r.t pressure | use setState_phX function for input
 bubbleEntropy Specific entropy of liquid phase w.r.t saturation pressure
 dBubbleEntropy_dPressure 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
 saturationPressure Saturation pressure w.r.t. temperature
 specificHeatCapacityCp Specific heat capacity at constant pressure | turns inifity in two-phase region! | use setState_phX function for input
 specificHeatCapacityCv Specific heat capacity at constant volume | use setState_phX function for input
 dynamicViscosity Dynamic viscosity w.r.t. temperature and density | use setState_phX function for input
 thermalConductivity Thermal conductivity w.r.t. thermodynamic state | use setState_phX function for input
 surfaceTension Surface tension as a function of temperature (below critical point)
 velocityOfSound Velocity of sound w.r.t. thermodynamic state (only valid for one-phase)
 isothermalCompressibility Isothermal compressibility w.r.t. thermodynamic state (only valid for one-phase)
 isobaricExpansionCoefficient Isobaric expansion coefficient w.r.t. thermodynamic state (only valid for one-phase)
 isentropicExponent Isentropic exponent gamma w.r.t. thermodynamic state | not defined in two-phase region | use setState_phX function for input
 specificGibbsEnergy Specific gibbs energy w.r.t. thermodynamic state
 specificHelmholtzEnergy Helmholtz energy w.r.t. thermodynamic state
 density_derh_p Density derivative by specific enthalpy | use setState_phX function for input
 density_derp_h Density derivative by pressure | use setState_phX function for input
 isentropicEnthalpy Isentropic enthalpy of downstream pressure and upstream thermodynamic state (specific entropy)
 specificEnthalpy_psX
 derivsOf_ph
 dt_ph Density and temperature w.r.t. pressure and specific enthalpy
 dtofphOnePhase Density and temperature w.r.t. pressure and specific enthalpy in one-phase region
 dtofpsOnePhase Inverse iteration in one phase region (d,T) = f(p,s)
 f_CO2 Calculation of helmholtz derivatives by density and temperature
 fid_CO2 Helmholtz coefficients of ideal part
 fres_CO2 Calculation of helmholtz derivatives
 getPhase_ph Number of phases by pressure and specific enthalpy
 getPhase_ps Number of phases by pressure and entropy
 hofpsTwoPhase Isentropic specific enthalpy in two phase region h(p,s)
 CO2_liqofdT Properties on liquid boundary phase
 CO2_vapofdT Properties on vapor boundary phase
 rho_ph_der Derivative function of rho_ph
 rho_props_ph Density as function of pressure and specific enthalpy
 T_ph_der Derivative function of T_ph
 T_props_ph Temperature as function of pressure and specific enthalpy
 setSmoothState Smooth transition function between state_a and state_b
 dofpT Compute d for given p and T
 hofpT Compute h for given p and T
 phaseBoundaryAssert Assert function for checking threshold to phase boundary

Revisions

Copyright (C) 2007-2021, XRG Simulation GmbH


Generated at 2026-04-02T18:18:35Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos