solve_rr Subroutine

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

solve_rr

Description

Solve the Rachford-Rice Equation using the Newton method.

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


Calls

proc~~solve_rr~~CallsGraph proc~solve_rr solve_rr proc~betalimits betalimits proc~solve_rr->proc~betalimits proc~rachford_rice rachford_rice proc~solve_rr->proc~rachford_rice

Called by

proc~~solve_rr~~CalledByGraph proc~solve_rr solve_rr proc~flash flash proc~flash->proc~solve_rr proc~flash_no_beta_limits flash_no_beta_limits proc~flash_no_beta_limits->proc~solve_rr

Variables

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