solve_rr Subroutine

public subroutine solve_rr(z, K, beta, beta_min, beta_max)

Solve the Rachford-Rice Equation.

Arguments

Type IntentOptional Attributes Name
real(kind=pr), intent(in) :: z(:)

Mole fractions vector

real(kind=pr), intent(in) :: K(:)

K-factors

real(kind=pr), intent(out) :: beta

value

real(kind=pr), intent(out) :: beta_min

Lower limit for

real(kind=pr), intent(out) :: beta_max

Upper limit for


Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: dgdb
real(kind=pr), public :: g
real(kind=pr), public :: step