functiondensity_pT_Soave
solve Redlich-Kwong-Soave for density
Information
Density from the Redlich-Kwong-Soave equation of state, used as start value for the iterative solution of the Helmholtz EoS (see Span 2000, section 3.3.1). All real roots of the cubic equation in the compressibility factor Z are determined with the algorithm of Deiters and Macías-Salinas (2014); of those, only roots with Z>B (specific volume larger than the covolume b) are physical. If there are several physical roots, the liquid root (smallest Z) is used for p>psat and the vapour root (largest Z) otherwise.
- Soave, G.
- Equilibrium constants from a modified Redlich-Kwong equation of state
Chemical Engineering Science 27, 1197-1203 (1972) - Deiters, U. K. and Macías-Salinas, R.
- Calculation of Densities from Cubic Equations of State: Revisited
Ind. Eng. Chem. Res. 53, 2529-2536 (2014)
DOI: 10.1021/ie4038664
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | ||
| AbsolutePressure | p | ||
| AbsolutePressure | psat | Ancillary.saturationPressure_T(T = T) | selects the liquid (p>psat) or vapour root if there are several physical roots |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Density | d |