Auxiliar functions used for phase-equilibria calculation.
Calculate the pressure at a given T of a mixture using the Wilson equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(BaseModel), | intent(in) | :: | model |
Model of the mixture. |
||
real(kind=pr), | intent(in) | :: | z(:) |
Mole fractions of the components. |
||
real(kind=pr), | intent(in) | :: | T |
Temperature [K]. |
K-factors regression done by Wilson, used for initialization.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(BaseModel), | intent(in) | :: | model | |||
real(kind=pr), | intent(in) | :: | T | |||
real(kind=pr), | intent(in) | :: | P |