Predictive Soave-Redlich-Kwong (PSRK).
SRK equation combined with the modified Huron-Vidal mixing rule at
and a PSRK UNIFAC excess Gibbs model. The alpha
function is Soave by default, or Mathias-Copeman when c1, c2, and
c3 are provided.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=pr), | intent(in) | :: | tc(:) |
Critical temperature [K] |
||
| real(kind=pr), | intent(in) | :: | pc(:) |
Critical pressure [bar] |
||
| real(kind=pr), | intent(in) | :: | w(:) |
Acentric factor |
||
| type(Groups), | intent(in) | :: | molecules(:) |
UNIFAC group assignment |
||
| real(kind=pr), | intent(in), | optional | :: | c1(:) | ||
| real(kind=pr), | intent(in), | optional | :: | c2(:) | ||
| real(kind=pr), | intent(in), | optional | :: | c3(:) |
Mathias-Copeman alpha parameters |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(AlphaSoave), | private | :: | alpha |
Soave alpha function |
|||
| type(AlphaMathiasCopeman), | private | :: | alpha_mc | ||||
| type(Substances), | private | :: | composition | ||||
| type(UNIFAC), | private | :: | ge | ||||
| integer, | private | :: | i |
Loop/index variable. |
|||
| type(MHV), | private | :: | mixrule | ||||
| integer, | private | :: | nc |
Number of components. |