Calculate gas molar volume, compressibility factor Z and density for a gas mixture from the pseudo critical constants and acentric factor using cubic equation of state.
The psedo critical properties are calculated from the component mass fraction (dot product of the mass fraction and the component property). The pseudo critical pressure is calculated from the psuedo critical temperature, mole volume and compressibility factor using the ideal gas equation. The mole fraction of the first component is adjusted so that the sum of the mole fractions equals 1. The compressibility factor can be calculated using either the Peng Robinson, Soave, Redlich Kwong or Van Der Waals equations.
Tool Input
- eostype : Equation Of State
- Zu : User Defined Compressibility Factor
- X : Mole Fraction Data
- mwx : Molar Mass Data
- Tcx : Critical Temperature Data
- Vcx : Critical Mole Volume Data
- Zcx : Critical Compressibility Factor Data
- ωx : Accentric Factor Data
- P : Fluid Pressure
- T : Fluid Temperature
Tool Output
- ρ : Mixture Density
- ω : Mixture Accentric Factor
- Pc : Mixture Pseudo Critical Pressure
- Pr : Mixture Reduced Pressure
- SG : Gas Specific Gravity Relative To Air
- Tc : Mixture Pseudo Critical Temperature
- Tr : Mixture Reduced Temperature
- Vc : Mixture Critical Mole Volume
- Vm : Mixture Mole Volume
- Z : Mixture Compressibility Factor
- Zc : Mixture Critical Compressibility Factor
- cvg : Convergence Check
- mw : Mixture Molar Mass