Published on *PNG 520: Phase Behavior of Natural Gas and Condensate Fluids* (https://www.e-education.psu.edu/png520)

We assume that the system is at steady state and at a state of equilibrium. Adopting these two assumptions is essential to the developing of the equations that we use to solve these problems. These assumptions are convenient for modeling and have proven useful in representing the real phenomena. In conclusion, we claim that the systems maintain a state that resembles equilibrium and does not depart from it greatly. And what does steady state means? Simply stated, we say that a system is at steady state when whatever comes into the system goes out. This is, no accumulation takes place within the system.

Let us consider the equilibrium cell shown in Figure 12.1. “F” moles of a feed enter our equilibrium cell with a composition “z_{i}” and “n_{c}” is the number of components that we have in the mixture. A flash vaporization takes place at a given pressure and temperature, and two streams come out: “V” moles of a vapor of composition “y_{i}” and “L” moles of a liquid of composition “x_{i}”. In steady state, a simple overall balance yields:

$$F=L+V$$ (12.1a)

Now we define the fractions of gas and liquid to be, respectively:

$${\alpha}_{x}=\frac{V}{F}$$ (12.1b)

$${\alpha}_{l}=\frac{L}{F}$$ (12.1c)

Therefore, if we divide equation (12.1a) by “F”, we get:

$$1={\alpha}_{l}+{\alpha}_{g}$$ (12.2)

The same steady state assumption applies for the mass of each component separately. Here we revisit a concept we used in Module 5, when we studied the lever rule. At that point, we said that the number of moles of a component “i” per mole of mixture in the liquid phase is given by the product “x_{i}a_{L}”, while the number of moles of “i” per mole of mixture in the gas is given by “y_{i}a_{G}”. Since there are “z_{i}” moles of component “i” per mole of mixture coming into the system, the conservation of each component in the system imposes:

$${y}_{i}{\alpha}_{g}+{x}_{i}{\alpha}_{l}={z}_{i}{\text{wherei=1,2,...n}}_{\text{c}}$$ (12.3)

Equation (12.3) is true for each of the components in the system. Equation (12.2) can be introduced into equation (12.3) to yield:

$${y}_{i}{\alpha}_{g}+{x}_{i}\left(1-{\alpha}_{g}\right)={z}_{i}$$ (12.4)

One of the concepts that we normally use in vapor-liquid equilibria is that of the __equilibrium ratio, K _{i}__. In fact, most of the computations of phase behavior of natural gas mixtures are carried out through the concept of the equilibrium ratio. By definition, the equilibrium ratio of a component “i” in a vapor-liquid mixture is defined as the ratio of the molar composition of that component in the vapor phase to that in the liquid phase,

$${K}_{i}=\frac{{y}_{i}}{{x}_{i}}$$ (12.5)

In earlier literature, this concept was referred to as the *equilibrium constant*. In actuality, K_{i} is not constant but a function of the pressure, temperature, and composition of the system. However, equilibrium ratios can be fairly independent of composition when the pressure and temperature conditions are far from critical.

Therefore, today we refer to it as the vapor-liquid equilibrium ratio, K_{i}. We can introduce this concept into the balance in (12.4), as shown:

$${y}_{i}{\alpha}_{g}+\frac{{y}_{i}}{{K}_{i}}\left(1-{\alpha}_{g}\right)={z}_{i}$$ (12.6)

Now, solving for yi,

$${y}_{i}=\frac{{z}_{i}{K}_{i}}{1+{\alpha}_{g}\left({K}_{i}-1\right)}$$ (12.7)

A constraint that mole fractions must satisfy is that they must add up to unity. Since we solved for y_{i}, we can impose that the summation of all molar vapor fractions must be equal to one, i.e.,

$$\underset{{n}_{c}}{\overset{i=1}{{{\displaystyle \sum}}^{\text{}}}}{y}_{i}=1$$ (12.8)

If we now substitute (12.7) into (12.8), we get:

$$\underset{{n}_{c}}{\overset{i=1}{{{\displaystyle \sum}}^{\text{}}}}\frac{{z}_{i}{K}_{i}}{1+{\alpha}_{g}\left({K}_{i}-1\right)}=1$$ (12.9)

This equation is important for us; we call it an *objective function* because we can use it as the starting point for solving the vapor-liquid equilibrium problems we have posed.

However, as you may be thinking right now, this is not the only choice that we have for an *objective function.* In fact, we may obtain another *objective function* if we repeat the previous steps, while solving instead for x_{i}. In this case, we may introduce the concept of equilibrium ratio in (12.5) into (12.6) as follows:

$${K}_{i}{x}_{i}{\alpha}_{g}+{x}_{i}\left(1-{\alpha}_{g}\right)={z}_{i}$$ (12.10)

We now solve for xi,

$${x}_{i}=\frac{{z}_{i}}{1+{\alpha}_{g}\left({K}_{i}-1\right)}$$ (12.11)

If we apply the constraint that all mole fractions must add up to one,

$$\sum}_{i=1}^{{n}_{c}}\frac{{z}_{i}}{1+{\alpha}_{g}\left({K}_{i}-1\right)}=1$$ (12.12)

Both (12.9) and (12.12) are plausible *objective functions*. Either of them allows us to solve the flash problem that we are dealing with. The variables that make up both equations are:

n_{c} = Number of components,

z_{i} = Overall composition, or composition of the feed,

K_{i} = Equilibrium ratios of each of the components of the mixture,

a_{g} = Vapor fraction in the system.

What is it that we are looking for? Go back and look at the types of VLE problems that we would like to solve, as we presented them in the previous section. If we are interested in solving the *flash problem*, we want to know how much liquid and gas we will have inside the flash equilibrium cell. This is, given a liquid-vapor mixture of composition z_{i}, and n_{c} number of components, what percent of the total number of moles is liquid, and what percent is vapor? How do we split it? In this case, we would like to come up with a value for α_{l} and α_{g} respectively.

Equations (12.9) and (12.12) tell us that if we are able to come up with the proper values for the equilibrium ratios, K_{i}, which are functions of the pressure, temperature, and composition of the system, the only unknown left to solve for would be α_{g} — exactly what we want!

Well, do not rush. We would have to come up with a way of calculating K_{i}’s first, and this may not be a trivial task. For the time being, let us say we “know” K_{i}’s. Two questions remain unanswered:

- First, is it “better” to solve the problem using equation (12.9) or (12.12)? (Recall, either of them would lead us to the answer!).
- Second, how do we solve for α
_{g}? For a complex mixture of many components, “α_{g}” cannot be calculated explicitly.

We will address both of these questions in the next module. As for now, let us give you a hint: we will not use either equation (12.9) or (12.12) to solve the flash problem!