Construct an initial pure-component critical-point estimate.
Uses successive pure-fluid saturation calculations and the ratio of vapor to liquid volume to move the trial temperature toward the critical region. The estimates are initial guesses, not final results.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ArModel), | intent(in) | :: | model |
Equation of state used to evaluate pressure and derivatives. |
||
| integer, | intent(in) | :: | i |
One-based component index. |
||
| integer, | intent(in) | :: | nc |
Number of components in the model. |
||
| real(kind=pr), | intent(out) | :: | V_est |
Estimated critical volume [L/mol]. |
||
| real(kind=pr), | intent(out) | :: | T_est |
Estimated critical temperature [K]. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | private | :: | P_sat | ||||
| real(kind=pr), | private | :: | T | ||||
| real(kind=pr), | private | :: | VL | ||||
| real(kind=pr), | private | :: | VV | ||||
| real(kind=pr), | private | :: | dT | ||||
| integer, | private | :: | iter |
Iteration count. |
|||
| type(PurePsat), | private | :: | psat |
Declared saturation-line result; currently unused by this estimate. |
|||
| logical, | private | :: | psat_converged | ||||
| real(kind=pr), | private | :: | ratio | ||||
| real(kind=pr), | private | :: | z(nc) |
Feed or overall composition. |