PNG 520
Phase Relations in Reservoir Engineering

Objective Function and Newton-Raphson Procedure

PrintPrint

We have seen that from a molar material balance applied to a two-phase system in equilibrium, and the definition of Ki, we can derive the Rachford and Rice Objective Function:

F( α g )= i=1 n z i ( K i 1 ) 1+ α g ( K i 1 ) =0 This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. (13.3)

Equation (13.3) is a non-linear equation in one variable, and the Newton Raphson procedure is usually implemented to solve it. In general, Newton Raphson is an iterative procedure with a fast rate of convergence. The method calculates a new estimate,   α g new This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. , which is closer to the real answer than the previous guess, α g old This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. , as follows:

α g new = α g old F( α g old ) F'( α g old ) This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. (13.6)

Substituting (13.3) and (13.4) into (13.6),

α g new = α g old + i=1 n z i ( K i 1 ) 1+ α g old ( K i 1 ) i=1 n z i ( K i 1 ) 2 [ 1+ α g old ( K i 1 ) ] 2 This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. (13.7)

In this iterative scheme, convergence is achieved when

| α g new α g old |<ε This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. (13.8)

where ε This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. is a small number ( ε = 1.0 x  10  9   This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. is usually adequate). After solving for α g This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. , the liquid molar fraction and composition of each of the phases can be calculated as follows:

Liquid Molar Fraction:   α l =1 α g This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. (13.9a)

Percentage of Liquid:  %L=100* α l This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. (13.9b)

Percentage of Vapor:  %V=100* α g This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. (13.9c)

Vapor Phase Composition:   y i = z i K i 1+ α g ( K i 1 ) This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. (12.7)

Liquid Phase Composition:   x i = z i 1+ α g ( K i 1 ) This equation is not rendering properly due to an incompatible browser. See Technical Requirements in the Orientation for a list of compatible browsers. (12.11)