Rachford-Rice equation for a two phase system. This equation is used to calculate the value that satisfies the mass balance between two phases.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=pr), | intent(in) | :: | z(:) |
Mole fractions vector |
||
real(kind=pr), | intent(in) | :: | K(:) |
K-factors |
||
real(kind=pr), | intent(in) | :: | beta |
value |
||
real(kind=pr), | intent(out) | :: | rr |
Rachford-Rice function value |
||
real(kind=pr), | intent(out) | :: | drrdb |
Derivative of the Rachford-Rice function |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=pr), | public | :: | denom(size(z)) |