But he who does the truth comes to the light, that his deeds may be clearly seen, that they have been done in God. John 3:21
Pipeng Free Online Software : Cubic EOS Z Factor Calculators
Home Up Level Site Map My Pipeng Help? Contact
List Detail Email Instructions Bookmark
Pipeng : Cubic EOS Gas Compressibility Z Factor - Peng Robinson Soave And Redlich Kwong Equation Of State Calculation Module

Cubic EOS Z Factor Calculators

Description : Cubic equation of state EOS gas molar volume, gas compressibility Z factor and density calculators: Redlich Kwong, Soave and Peng Robinson methods.

Discussion : The calculators solve for the molar volume from a cubic in terms of the temperature, pressure and critical constants. The compressibility Z factor and density are calculated from the molar volume. The Redlich Kwong, Soave and Peng Robinson equations of state are based on the corresponding states principle CSP.

Calculator Tools In This Module:

CALC : Fluid : Z Factor 021 : Methane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 022 : Ethane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 023 : Ethene Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 024 : Propane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 025 : Propene Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 026 : Butane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 027 : Isobutane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 028 : Pentane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 029 : Isopentane or 2-Methylbutane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 030 : Ammonia Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 031 : Carbon Dioxide Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 032 : Nitrogen Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 033 : Water Vapour Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 041 : Peng Robinson Gas Compressibility Z Factor and Gas Density From Critical Constants : Calculator
CALC : Fluid : Z Factor 042 : Soave Gas Compressibility Z Factor and Gas Density From Critical Constants : Calculator
CALC : Fluid : Z Factor 043 : Redlich Kwong Gas Compressibility Z Factor and Gas Density From Critical Constants : Calculator
CALC : Fluid : Z Factor 044 : General Gas Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator
CALC : Fluid : Z Factor 051 : General Gas Mixture Compressibility Z Factor and Gas Density From Critical Constants : Soave Redlich Kwong and Peng Robi : Calculator


Link

Module List

CALC : Fluid : Z Factor 021 : Methane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the methane gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 022 : Ethane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the ethane gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 023 : Ethene Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the ethene or ethylene gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 024 : Propane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the propane gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 025 : Propene Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the propene or propylene gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 026 : Butane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the butane gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 027 : Isobutane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the isobutane gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 028 : Pentane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the pentane gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 029 : Isopentane or 2-Methylbutane Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the isopentane gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 030 : Ammonia Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the ammonia gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 031 : Carbon Dioxide Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the carbon dioxide gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 032 : Nitrogen Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the nitrogen gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 033 : Water Vapour Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the water vapour gas molar volume, compressibility factor Z and density from the critical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave and Redlich Kwong.

Discussion : Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 041 : Peng Robinson Gas Compressibility Z Factor and Gas Density From Critical Constants : Calculator

Description : Calculate the molar volume, compressibility Z factor and density for a general gas using the Peng Robinson equation of state EOS.

Discussion : The function CalcPR) calculates the molar volume from the critical constants and acentric factor using the Peng Robinson equation of state (EOS). The compressibility Z factor and density are calculated from the molar volume. To verify the CalcPR() function, check that the Peng Robinson check pressure is equal to the fluid pressure.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • mw = Fluid Mole Weight or Molar Mass

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
A = R 2 Tc 2 / ( 2.1870 Pc )
B = R Tc / ( 12.8535 Pc )
ALPHA = 1 + ( 0.37464 + 1.54226 ω - 0.26922 ω 2 )( 1 - √( T / Tc ) ) 2
Pchk = R T / ( Vm - B ) - A ALPHA / ( Vm 2 + 2 Vm B - B 2 )
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 042 : Soave Gas Compressibility Z Factor and Gas Density From Critical Constants : Calculator

Description : Calculate the molar volume, compressibility Z factor and density for a general gas using the Soave equation of state EOS.

Discussion : The function CalcSO() calculates the molar volume from the critical constants by the Soave equation of state which is derived from the Redlich Kwong equation of state (EOS). The compressibility Z factor and density are calculated from the molar volume. To verify the CalcSO() function, check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • mw = Fluid Mole Weight or Molar Mass

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
A = R 2 Tc 2 / ( 2.3393 Pc )
B = R Tc / ( 11.5420 Pc )
ALPHA = 1 + ( 0.480 + 1.574 ω - 0.176 ω 2 )( 1 - √( T / Tc ) ) 2
Pchk = R T / ( Vm - B ) - A ALPHA / ( Vm ( Vm + B ) )
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 043 : Redlich Kwong Gas Compressibility Z Factor and Gas Density From Critical Constants : Calculator

Description : Calculate the molar volume, compressibility Z factor and density for a general gas using the Redlich Kwong equation of state EOS.

Discussion : The function CalcRK() calculates the molar volume from the critical constants by the Redlich Kwong equation of state (EOS). The compressibility Z factor and density are calculated from the molar volume. To verify the CalcRK() function, check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • mw = Fluid Mole Weight or Molar Mass

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
A = ( R 2 Tc 5 / 2 ) / ( 2.3393 Pc )
B = ( R Tc ) / ( 11.5420 Pc )
Pchk = ( R T ) / ( Vm - B ) - A / ( Vm ( Vm + B ) √( T ) )
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 044 : General Gas Compressibility Z Factor and Gas Density : Soave Redlich Kwong and Peng Robinson : Calculator

Description : Calculate the molar volume, compressibility Z factor and density for a general gas using a cubic EOS: Peng Robinson, Soave or Redlich Kwong.

Discussion : The functions CalcPR(), CalcSO() and CalcRK() calculate the molar volume from the critical constants by the Peng Robinson, Soave and Redlich Kwong equation of state (EOS) respectively. The compressibility Z factor and density are calculated from the molar volume. To verify the functions, check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ω = Dimensionless Acentric Factor ω
  • P = Fluid Absolute Pressure
  • Pc = Fluid Critical Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tc = Fluid Critical Temperature
  • W = Equation Of State
  • mw = Fluid Mole Weight or Molar Mass

Output Variables :

  • ρ = Fluid Density
  • Pchk = Check Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • cvg = Convergence Check

Calculation :

 If W = 1 : Peng Robinson
list( Vm , Pchk , cvg ) = CalcPR( Pc , Tc , ω , P , T )
 Otherwise If W = 2 : Soave
list( Vm , Pchk , cvg ) = CalcSO( Pc , Tc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Pc , Tc , P , T )
 End of If Block
Tr = T / Tc
Pr = P / Pc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

CALC : Fluid : Z Factor 051 : General Gas Mixture Compressibility Z Factor and Gas Density From Critical Constants : Soave Redlich Kwong and Peng Robi : Calculator

Description : Calculate the molar volume, compressibility factor Z and density for a gas mixture from the pseudocritical constants and acentric factor using cubic equation of state EOS: Peng Robinson, Soave or Redlich Kwong.

Discussion : The pseudocritical values are calculated from the fluid components using Kay's rule. The function CalcZFactor() calculates the Z factor from the Peng Robinson coefficients. To verify the CalcZFactor() function, check that the Peng Robinson check pressure is equal to the fluid pressure. The function DotProduct() calculates the vector dot product of two arrays. The value of the first mole fraction is calculated so that the sum of the mole fractions equals 1. Check that the check pressure is close to or equal to the fluid pressure, and the convergence check is close to or equal to 1.

Input Variables :

  • ωx = Fluid Fraction Acentric Factor
  • P = Fluid Absolute Pressure
  • R = Universal Gas Constant
  • T = Fluid Absolute Temperature
  • Tcx = Fluid Fraction Critical Temperature
  • Vcx = Fluid Fraction Critical Mole Volume
  • W = Equation Of State
  • X = Fluid Mole Fraction
  • Zcx = Fluid Fraction Critical Z Factor
  • mwx = Fluid Fraction Mole Weight or Molar Mass

Output Variables :

  • ρ = Fluid Density
  • ω = Dimensionless Acentric Factor ω
  • Pchk = Check Pressure
  • Ppc = Fluid Critical Pressure
  • Pr = Fluid Reduced Pressure Ratio
  • Tpc = Fluid Critical Temperature
  • Tr = Fluid Reduced Temperature Ratio
  • Vm = Fluid Mole Volume
  • Vpc = Fluid Critical Mole Volume
  • Z = Fluid Dimensionless Compressibility Z Factor
  • Zpc = Fluid Dimensionless Critical Compressibility Z Factor
  • cvg = Convergence Check
  • mw = Fluid Mole Weight or Molar Mass

Calculation :

X[1] = 1 + X[1] - ArraySum( X )
Tpc = DotProduct( X , Tcx )
Vpc = DotProduct( X , Vcx )
Zpc = DotProduct( X , Zcx )
Ppc = ( Zpc R Tpc ) / Vpc
mw = DotProduct( X , mwx )
ω = DotProduct( X , ωx )
 If W = 1 : Peng Robinson
 list( Vm , Pchk , cvg ) = CalcPR( Ppc , Tpc , ω , P , T )
 Otherwise If W = 2 : Soave
 list( Vm , Pchk , cvg ) = CalcSO( Ppc , Tpc , ω , P , T )
 Otherwise If W = 3 : Redlich Kwong
 list( Vm , Pchk , cvg ) = CalcRK( Ppc , Tpc , P , T )
 End of If Block
Tr = T / Tpc
Pr = P / Ppc
Z = P Vm / ( R T )
ρ = ( mw P ) / ( Z R T )

Back To Top

18 rows selected

Back To Top

Copyright © Pipeng Ltd 2010 : EULA
List Detail Email Instructions Bookmark
Home Up Level Site Map My Pipeng Help? Contact
pipeng.com (192 μs : 20 ms : 1.376 MB)