Concept
The compositional model is a reservoir numerical simulation model in which the reservoir fluid is divided into multiple components according to chemical composition and a conservation equation is established separately for each component; it is also called the multicomponent model, and when used for condensate gas reservoirs it is also called the condensate reservoir model. Its starting point is that the same component can appear in any of the oil, gas, and water phases and, under certain conditions, can move from one phase to another, which is called interphase mass transfer.
The black oil model describes the hydrocarbons with only two components, oil and gas, and mass transfer varies only with pressure. In the following situations the mass transfer process is complex, the black oil model cannot describe it, and the compositional model is needed:
- the dropout (retrograde condensation) and revaporization of condensate in the development of condensate gas fields, for which the phenomenon is described in Phase Diagrams and Phase Behavior;
- the injection of hydrocarbon gas, or non-hydrocarbon gases such as carbon dioxide and nitrogen, into a reservoir, with component exchange between the gas and the crude oil;
- miscible flooding processes, and depletion and pressure-maintenance production of volatile oil reservoirs.
The two types of model describe the fluids differently: the black oil model gives the PVT changes with formation volume factors and the solution gas-oil ratio, while the compositional model calculates them with a cubic equation of state. In the development of a condensate gas reservoir, the decline of formation pressure changes the pressure, saturation, and composition of the fluid, and the compositional model tracks each grid block and its produced fluid from the standpoint of compositional change. The basic solution variables are pressure, saturation, and the mole fraction of each hydrocarbon component.
Mechanism and Equations
Component Conservation Equations
The compositional model usually still distinguishes three phases (oil, gas, and water), with each phase flowing according to Darcy's law. The hydrocarbons are divided into N components, and the distribution of component i among the phases obeys phase equilibrium. When the solubility in water is small, the hydrocarbon components can be allowed to exist in the oil phase and the gas phase only.
Because components transfer between phases, the mass of any single phase is not conserved, and conservation must be written for each component. Let Cij be the mass fraction of component i in phase j. The mass flux of component i is the sum of its fluxes in the three phases, so that:
i = 1, 2, …, N; j = o, g, w
In this equation, ρj, μj, Sj, and Krj are the density, viscosity, saturation, and relative permeability of phase j; qi is the mass of component i produced per unit rock volume per unit time, positive for production. Compared with the black oil model, each equation here is summed over the three phases, and the number of equations increases with the number of components.
Auxiliary Equations
Besides the N conservation equations, the following relations are needed to form a closed model:
| Relation | Content | Number |
|---|---|---|
| Saturation constraint | So + Sg + Sw = 1 | 1 |
| Mass fraction constraint | ΣiCij = 1 for each phase | 3 |
| PVT properties | The density and viscosity of each phase are functions of the pressure and composition of that phase | 6 |
| Phase equilibrium | Each component has one equilibrium ratio between gas and oil and one between gas and water, Kigo = Cig/Cio and Kigw = Cig/Ciw, which are functions of temperature, the pressure of each phase, and composition | 2N |
| Relative permeability | Krw, Krg, and Kro are functions of saturation | 3 |
| Capillary pressure | pcwo = po − pw, pcgo = pg − po | 2 |
The unknowns are three phase pressures, three saturations, the densities and viscosities of the three phases, three relative permeabilities, and 3N mass fractions, 3N + 15 in all. The conservation equations together with the relations in the table also number 3N + 15, so once the initial and boundary conditions are given, the problem is well posed.
To compare the size of the two models, the basis of counting must first be made consistent. The six unknowns of the black oil model count only the three phase pressures and three saturations; density, viscosity, and relative permeability are given by auxiliary relations and are not counted. Of the 3N + 15 above, 9 are quantities of this kind. On the black oil basis, counting only pressures, saturations, and mass fractions, the compositional model has 3N + 6 unknowns per grid block. Using the unified example of this category, assume the fluid is divided into N = 8 components: there are 3 × 8 + 6 = 30 unknowns per grid block, or 150 for 5 grid blocks in one dimension; the three-phase black oil model on the same basis has 6 per grid block, or 30 for 5 grid blocks. In the actual solution some of these can be eliminated, but the phase equilibrium calculation must be performed in every grid block at every iteration, so the computational load is clearly greater than that of the black oil model.
Methods for Calculating Phase Equilibrium
The determination of equilibrium ratios has passed through two stages:
- Convergence pressure method. Compositional models of the 1970s mostly first determined the gas-liquid equilibrium ratios from the convergence pressure and then performed phase equilibrium (flash) calculations. This method relied heavily on empirical correlations.
- Equation of state method. From the 1980s, models were based on equations of state, using equations such as Peng-Robinson and Redlich-Kwong to describe the PVT properties and phase behavior of the fluid, and the distribution of the mole fractions of the components between the gas and liquid phases was obtained from equality of fugacities. This method has a sound physical and thermodynamic basis supported by experiment and has been generally adopted in compositional models since.
Comparison with the Black Oil Model
| Item | Black oil model | Compositional model |
|---|---|---|
| Hydrocarbon components | 2 (oil and gas) | N (including pseudocomponents) |
| Interphase mass transfer | Only gas dissolving in or escaping from the oil phase, varying with pressure | Every component can transfer between phases, varying with pressure, temperature, and composition |
| Property description | Pressure-function tables of Bo, Bg, Rs, etc. | Equation of state plus equilibrium ratios |
| Unknowns per grid block | 6 (3 pressures, 3 saturations) | 3N + 6 (plus 9 auxiliary quantities ρ, μ, Kr, 3N + 15 in total) |
| Typical applications | Depletion and waterflooding of conventional reservoirs | Volatile oil, condensate gas, gas injection, and miscible flooding |
Influencing Factors and Considerations
- When the compositional model is worthwhile. For conventional reservoirs without pronounced compositional change, the black oil model is sufficient. The compositional model is needed only when the reservoir fluid is close to the critical state, retrograde condensation occurs during production, or there is appreciable component exchange between the injected gas and the crude oil. For identification of fluid types, see Types of Reservoir Fluids.
- Component lumping. Real crude oil contains hundreds or thousands of compounds, and in simulation the heavy components, and components with similar properties, are usually lumped into a small number of pseudocomponents. The more components, the finer the description, but the unknowns increase as 3N and the computing time grows accordingly; the lumping scheme should be checked against experimental data.
- The equation of state must first be matched to experiments. The calculated results of the equation of state must be compared with PVT experiments on the fluid of the reservoir concerned (such as constant volume depletion and constant composition expansion), and the parameters adjusted before it is used in simulation. For sampling and experiments, see Fluid Sampling and PVT Tests.
- Mass fraction and mole fraction. The conservation equations are often written in mass fractions, whereas the equation of state and phase equilibrium calculations use mole fractions; the two must be converted using the molar mass of each component, and attention must be paid to which basis is used at input and output.
- Temperature. The equilibrium ratio is a function of temperature. The conventional compositional model is isothermal; a thermal recovery model must add an energy conservation equation to mass conservation, and it also uses the methods of the compositional model.
- Numerical stability. Near the critical point the properties of the two phases approach each other, and phase identification and flash iterations may fail to converge, so the time step size and grid block size must be controlled accordingly. For discretization of the equations, see Finite Difference Discretization.