Академический Документы
Профессиональный Документы
Культура Документы
SPE 16502
This paper was prepared for presentation at the Petroleum Industry Applications of Microcomputers held in Del Lago on Lake Conroe, Montgomery,
Texas, June 23-26, 1987.
This paper was selected for presentation by an SPE Program Committee following review of information contained in an abstract submitted by the
author(s). Contents of the paper, as presented, have not been reviewed by the Society of Petroleum Engineers and are subject to correction by the
author(s). The material, as presented, does not necessarily reflect any position of the Society of Petroleum Engineers, its officers, or members. Papers
presented at SPE meetings are subject to publication review by Editorial Committees of the Society of Petroleum Engineers. Permission to copy is
restricted to an abstract of not more than 300 words. Illustrations may not be copied. The abstract should contain conspicuous acknowledgment of
where and by whom the paper is presented. Write Publications Manager, SPE, P.O. Box 833836, Richardson, TX 75083-3836. Telex, 730989 SPEDAL.
EQUIPMENT
INTRODUCTION
The components of the PVT system modeled in the simulator
Phase behavior plays a fundamental role in oil recovery
are shown schematically in Fig. 1. This system is similar to an actual
processes, ranging from the production of gas condensate reservoirs
apparatus designed for study of COrhydrocarbon mixtures 1• The
to the injection of C02 for enhanced oil recovery (EOR) purposes.
simulator screen is shown in Fig. 2. Labels in parentheses in the text
Reservoir engineers work routinely with data obtained from
refer to both Figs. 1 and 2. The system is centered around a 100 cm3
pressure-volume-temperature (PVT) experiments (for example R 8 ,
PVT cell (Visual Cell). In a typical experiment a single component
B 0 , and J.lg) but are sometimes less familiar with the experimental
or a mixture is transferred from a charging vessel (Charging Vessel 1,
procedures used to obtain the data than with the uses to which the
2 or 3) to the cell by using the hand pump (Hand Pump) to remove
data may be put. Students learning about the behavior of reservoir
mercury from the visual cell and to inject mercury into the charging
fluids need to understand how experiments are performed.
vessel. The mass of a component charged to the visual cell is
Researchers performing PVT experiments may find it useful to be
obtained from the volume of mercury transferred into the charging
able to predict the course of an experiment while it is being
vessel at a given pressure and temperature.
conducted.
Once a mixture of known overall composition is within the
This paper describes an interactive PVT simulator that allows visual cell, its volumetric behavior is investigated by injecting or
the user to become familiar with the experimental techniques used in removing mercury from the cell. After the pressure has changed, the
a PVT laboratory. Simulator experiments can be performed far more fluid is circulated using a small circulation pump (LC Pump) to mix
rapidly than actual experiments, and of course, avoid the potential the phases. When equilibrium is reached the circulation is stopped.
safety concerns inherent in high pressure experiments. Thus, a PVT Volumes of phases present in the cell are obtained by measuring the
simulator has considerable value as a teaching tool. heights of the mercury interface and the interfaces between the
In order to be useful, whether for training, practice or phases. Bubble point and dew point pressures can be obtained by
prediction, the simulator should allow the user to perform any of the noting the pressures at which the volume of the vapor or liquid phase
operations that would be performed during PVT experiments in the becomes zero.
physical laboratory. To accomplish this the simulator must: A sample of one of the phases can be removed from the system
for compositional analysis by using the motor-driven pump (Servo
• allow an action, such as opening a valve or turning on a Pump) to inject mercury into the cell at a known flow rate. As the
pump, to be taken, sample leaves the cell through one of the sampling loops (1 or 2}, it
193
2 SIMULATION OF PVT EXPERIMENTS SPE 16502
passes through a high-pressure densitometer (D-1 or D-2) and a green (pump oft). Pressure gauges are continuously updated and the ·
capillary tube of known internal diameter and length. The back-pressure regulator (BPR) set pressure is displayed digitally on
densitometer reports fluid density. The pressure drop along the the BPR. All vessels and components have descriptive labels and all
capillary tube is used along with capillary length and diameter to valves have numbers. Vessel labels and valve numbers may be
calculate fluid viscosity. Fluid pressure in the sampling line is displayed independently as 'desired. There is a block on the right of
maintained constant by a back-pressure regulator (BPR). the screen that reports the input temperatures relevant to the
Downstream of the BPR the fluid sample is at a pressure close to experiment. A clock displays real time. The 25m line reports
atmospheric. The sample is allowed to split into liquid and vapor in program status and messages and is used for data input.
a small separator vial (Centrifuge Tube). The amount of liquid is
determined by weight and the number of moles of vapor is measured
Program Operations
by monitoring the pressure in a vessel (Gas Vessel) that is evacuated
initially. Compositions of the liquid and vapor are determined by Program functions are implemented by pressing the appropriate
chromatography (Gas Chromatograph). The overall composition of function key, Fl through FlO. The function of each of these
the sample is then calculated from the amounts and compositions of special-purpose keys is summarized briefly in Table 1. As shown in
the two phases present at atmospheric pressure. Table 1, some function keys require data input, while others do not.
The apparatus shown in Fig. 1 is capable of measuring There are two basic operations: valves may be opened or
equilibrium phase compositions and fluid properties as well as closed, and fluid may be injected or withdrawn by either the hand
volumetric behavior of mixtures with changes in pressure. The pump (Hand Pump) or the motor-driven pump (Servo Pump). In
apparatus can be used, therefore, for standard constant-composition addition to these two basic operations, the following ancillary
expansions, differential liberation experiments, or more complex operations may be performed:
characterizations of the behavior of enhanced oil recovery fluid
systems. • the circulating (LC) pump may be cycled (graphic effect
only),
PROGRAM DESCRIPTION
• the BPR pressure may be set,
The PVT simulator mimics operation of the PVT laboratory
system by displaying a schematic diagram of the PVT apparatus on • the sample collection system may be evacuated,
the monitor screen. A typical screen display is shown in Fig. 2. The
user must open and close valves, and operate pumps, to charge fluids • the gas chromatograph (GC) may be charged with the fluids
into the PVT cell (Visual Cell), to compress or expand mixtures in in the sampling system (this also resets the sample collection
the cell, or to take samples for fluid property and phase composition system),
measurements. The operation of the PVT simulator is based on the
following assumptions: • the GC analysis may be displayed (if no sample has been
taken the analysis displayed is that of the visual cell), and
1. thermodynamic equilibrium is instantaneous,
2. Joule-Thompson cooling and heating effects are neglected, • vessel labels and valve numbers may be toggled on and off.
3. pressure changes take place isothermally,
4. mercury is incompressible, and Everything that may be done in the laboratory (and therefore in the
5. tubing in the system has no volume. simulator) is a combination of these operator actions.
The phase behavior of the fluid mixtures is calculated with the Peng- Since data are entered as strings it is possible to use the
Robinson equation of state (EOS). <BACKSPACE> key to return to the previous level of program
operation or to cancel a function key request altogether. This is
Data Input convenient if one decides not to perform a particular action.
Data are entered as strings. In this way it is possible for the
data entry module to check the validity of each number as it is Computation Of Phase Behavior
entered before adding it to the string. By validity is meant, for At the heart of the computation module of the simulator is the
example, that if the required input is numeric, only numbers may be Peng-Robinson equation-of-state (EOS)2• Since compositions,
entered. The 25m line is used for data input. Since data are checked volumes and temperatures are known by the simulator at all times, in
for validity and type when they are entered, a characteristic "beep" is single-phase liquid or vapor regions the resulting pressure is
sounded if there is a data input error. Error checking does not calculated directly by the EOS. In two-phase regions a flash
preclude one's making a mistake: for example, error checking will calculation is required. In a typical EOS flash calculation, pressure is
not allow toggling valve 50, since there is no valve 50 in the system; known and the EOS calculates phase volumes. Here the overall
it will, however, allow opening enough valves to create a loop that system volume is fixed, whether in a charging vessel, the visual cell,
could result in an unrecoverable material balance error. or either leg of the sampling system. Since the system volume is
fixed, the flash algorithm must iterate on pressure. It does this by
Graphic Screen first iterating on phase composition in the standard way until vapor
The PVT lab simulator makes extensive interactive use of and liquid fugacities are equal. Then it compares the sum of the
screen graphic capabilities. The visual cell is drawn large on the phase volumes predicted by the EOS to the fixed overall volume of
screen with an oversized viewport so that it may be seen easily. Fig. the system and adjusts the pressure until that sum matches the overall
2 is a typical screen display. Vapor and liquid volumes in the cell volume of the fixed system, within some error criterion. This is
are reported digitally on the screen in cc's and visually as similar to what actually happens in the laboratory; we change the
proportional areas within the cell viewport. Yellow mottled with overall system volume and circulate the fluids until equilibrium is
randomly-moving grey dots represents the vapor phase; brown achieved. The result is an equilibrium pressure.
represents the liquid phase; and grey represents mercury. The The equilibrium pressure algorithm described above is used
interfaces of the phases in the cell are reported accurately according repeatedly by the simulator. If the volume of a charging vessel is
to their relative volumes, although the interfaces are shown straight changed by injecting or withdrawing mercury, there must be a new
rather than curved. equilibrium pressure calculated. If a sample is taken through either
By opening the appropriate valve the pressure in the cell or of the sampling lines, it is likely that the sample fluid will form two
anywhere in the system may be seen. Valve position is reported phases in the low-pressure portion of the sampling system. In that
either as green (valve open) or red (valve closed). Pump status is case, the pressure calculated is reported as the pressure in the gas
reported by the color of the pump base either as red (pump on) or collection vessel (Gas Vessel).
194
SPE 16502 L.W. BOUETI, A. SAGEEV AND F.M. ORR 3
Computation Of Viscosity And Density • Using function key <F2>, close Valve 1.
In the PVT laboratory, fluid viscosity is calculated by observing The charging vessel is now isolated.
the pressure drop of fluid flowing through a capillary tube of known
diameter and length. Poiseulle' s Law is used to calculate viscosity, • Using function key <F2>, open Valve 8.
given the pressure drop and volumetric flowrate. The simulator uses The pressure on the gauge near Valve 8 now reads 55.584
the correlation of Lohrenz, Bray and Clark3 to calculate viscosity. psia (Fig. 3a). This is the pressure in the cell (Visual Cell).
Pressure drop is calculated based on the set flowrate of the motor- Since the cell pressure is so low relative to the charging vessel
driven pump (Servo Pump). If the motor-driven pump is started and pressure we will compress the cell contents to raise its
allowed to run sufficiently long, a stabilized pressure drop is achieved pressure. Since the hand pump has no mercury in it, we must
and no further pressure drop is displayed on the screen. A finite time first isolate the cell (Visual Cell) and fill the hand pump with
is required for the pressure drop to stabilize because the contents of mercury from the mercury supply vessel (Hg Supply).
the cell must be compressed to a pressure higher than that set for the
BPR. The change in cell volume required is calculated based on the • Using function key <F2>, close Valve 8.
overall compressibility of the cell contents at the start of the
compression step. Because the change in pressure is usually small in The cell (Visual Cell) is now isolated.
such steps, changes in phase composition are ignored. Then, from
the same data as those available in the laboratory, namely flowrate, • Using function key <F2>, open Valves 9 and 10.
pressure drop and the physical dimensions of the capillary tube, The tubing from the hand pump to the mercury supply vessel
viscosity may be calculated. (Hg Supply) is now open.
Molar and mass densities may be calculated directly at any time
since the simulator continuously tracks the molar compositions and • Press function key <FS>.
volumes of all phases in all vessels. The 25rn line prompts "Enter injection volume (cc):
The tubing between the hand pump and the charging vessel is The pump runs for ten seconds then "beeps" off. The. 25m
now open. line informs "Coming to equilibrium ... " while the flash is
being calculated. When the flash is complete there is a "beep"
• Using function key <F2>, open Valve 4. and the simulator redraws the fluid levels in the cell. Now
The valve at the top of the charging vessel is now open. there is a total C02-hydrocarbon volume of 64.853 cc's in the
cell (Visual Cell). The liquid volume is shown on the screen
• Using function key <F2>, open Valve 11. as 34.082 cc's and the vapor volume is given as 30.761 cc's.
The pressure is now 233.51 psia (Fig. 4).
The tubing from the top of the charging vessel to the cell
(Visual Cell) is now open. Since the pressures in both the • Press function key <F6>.
charging vessel and the cell are no longer isolated, an
equilibrium pressure must be achieved. The simulator This operates the circulating (LC) pump. On the simulator
accomplished this by first calculating the compressibilities of this has a graphic effect only. The color of the pump base
the fluids in each vessel. It is known that the change in changes from green to red to indicate the pump is "ON". The
volume in one vessel is equal to the negative change in 25m line informs "LC pump circulating ... ". The LC pump
volume in the other vessel. The equilibrium pressure is the runs for about ten seconds. There is a "beep" and the color of
same for both vessels and is equal to the original pressure plus the pump base changes from red to green to indicate the pump
the compressibility times the volume change in that vessel. is "OFF".
Thus the equilibrium pressure is easily calculated. The new This sequence may be repeated as many times as desired.
pressure, 999.9 psia, is reported on the gauge near Valve 8. There are few variations here: if the hand pump becomes filled (it
The procedure now is to inject a small volume of mercury into has a 30 cm3 capacity) it must be discharged into the mercury supply
the charging vessel using the hand pump. The pressure in the system vessel using a sequence similar to the charging of the hand pump
described previously.
will rise slightly. Next a small volume of mercury is withdrawn from
the cell (Visual Cell) with the hand pump to bring the system
pressure back down to the original pressure, 1000.0 psia. This is
Taking A Fluid Sample: Differential Liberation Experiment
done in small steps, being careful not to exceed the working pressure
limits of either the system tubing or any of the vessels. When At this point it is possible to· perform one step of a differential
enough fluid has been transferred into the cell (Visual Cell) by this liberation experiment. The starting condition is the same as that with
method, the charging operations continues. During the charge which we ended the constant-composition expansion. Refer to Figs.
operation, the transferred fluid is assumed to remain segregated from 2 and 5 while performing the following steps. Table 1 summarizes
the cell contents. the special function keys.
• Using function key <F2>, close Valve 11. • Using function key <F2>, close Valve 9.
This isolates the cell from the charging vessel. Here the The hand pump is now isolated.
simulator must recombine the contents of the cell, since
additional mass (C02 from the charging vessel) has been • Using function key <F2>, open Valve 7.
added. The 25m line informs "Recombining the VC ... ". The tubing is now open between the cell (Visual Cell) and the
Following recombination, the new overall composition of the motor-driven pump (Servo Pump). These two operations were
cell must be checked by the EOS. In our example it is still a necessary in order to set up the system to begin the
single-phase liquid. The pressure is reported as 999.7 psia differential liberation experiment. All of the operations which
(Fig. 3c). The phase volume in the cell (Visual Cell) is follow are part of that experiment.
34.853 cc's of liquid.
• Press function key <F7>.
• Using function key <F2>, close Valve 4. The 25m line prompts "Enter set pressure: The
This isolates the tubing leg between the charging vessel and BPR set pressure must be greater than or equal to the pressure
the cell. of the fluids to which it will be exposed when the sampling
line is opened to preclude fluid from flashing across the BPR.
• Using function key <F2>, close Valve 1. Under these conditions, the flash would not be at constant
The charging vessel is now completely isolated. pressure. A reasonable set pressure is 235 psia.
Constant Composition Expansion • Enter the number "235" and press <ENTER>.
The cell (Visual Cell) now c·ontains 20 mole percent C0 2 and The new BPR set pressure, 235 psia, is displayed digitally on
40 mole percent each of n-Butane (C 4) and n-Decane (C 10). The the BPR.
volume of the COz-hydrocarbon mixture is 34.853 cc's. The pressure
in the cell is 999.7 psia. We know the pressure by opening Valve 8. • Using function key <F2>, open Valve 19.
A constant-composition expansion may now be performed. Refer to The separator vial (Centrifuge Tube) and the gas vessel are
Figs. 2 and 4 while performing the following steps. Table 1 now ready to receive a sample.
summarizes the special function keys.
• Press function key <F8>.
• Using function key <F2>, open Valve 8.
Pressing this function key resets the sample collection system
The tubing from the hand pump to the cell is now open. The pressure to zero psia. This operation is scaled to take about
pressure on the gauge near Valve 8 reads 999.7 psia. ten seconds. To simulate the action of a vaccuum pump, the
pressure in the sampling system, shown on the gauge at the
• Press function key <FS>. gas vessel, may be seen falling to zero psia.
The 25m line prompts "Enter injection volume (cc):
• Using function key <F2>, open Valve 13.
• Enter the number "-30" and press <ENTER>. From Fig. 5 it may be seen that the upper sample leg is in the
The 25m line prompts "Press <ENTER> to withdraw fluid." vapor region of the cell. In order to sample the upper phase,
Valves 13, 15 and 17 must be opened. When Valve 13 is
• Press <ENTER>. opened the cell pressure, 233.51 psia, is d_isplayed on both of
196
SPE 1502 L.W. BOUETI, A. SAGEEV AND F.M. ORR 5
the pressure gauges on the upper sample leg. These pressure Now that the cell has been isolated, the simulator must
gauges will be used later to determine the increase in pressure recombine the contents of the cell. The 25m line informs
required in the cell (Visual Cell) in order to start fluid flowing "Recombining the VC " and there is a "beep" when the
through the capillary tube. calculation is complete.
• Using function key <F2>, open Valves 15 and 17. • Using function key <F2>, close Valves 15 and 17.
The sampling system is now ready for a vapor sample to be This isolates the cell and the sample leg up to the BPR.
taken from the cell.
• Using function key <F2>, close Valve 19.
• Press function key <F3>. The separator vial (Centrifuge Tube) has now been isolated
Pressing this function key causes a small drop-down frame to from the gas vessel.
appear at the lower left-hand corner of the screen. The 25m
line prompts "Enter rate (cc/min): __". This is the flow • Using function key <F2>, open Valves 20 and 21.
rate in cm3/min. for the motor-driven pump (Servo Pump). The sample in the gas vessel is now ready to be charged to
the gas chromatograph, using helium from the supply cylinder
• Enter the number "2" and press <ENTER>. (He Supply).
The 25m line now prompts "Enter max. delivery
(cc): __". This is the maximum delivery shutdown. • Press function key <F9>.
This function key provides a graphic effect. There is about a
• Enter the number "22" and press <ENTER>.
ten-second delay while the 25m line informs "Charging the
Since the motor-driven pump flow totalizer is zero, the drop- GC ... ". After the delay there is a "beep" and the sampling
down frame is erased from the screen at this time. The values system is reset to its original condition: the separator vial
that have been entered have been saved by the simulator. Had (Centrifuge Tube) is changed out and the gas vessel is purged
there been flow previously through the pump, the 25m line with helium at atmospheric pressure. At this time another
would have prompted, "Reset total delivery (Y/N)?" A single sample may be taken.
keystroke, either a "Y" or an "N", would have performed the
requested action and the drop-down frame would have been • Using function key <F2>, close Valves 20 and 21.
erased as before. The system is now ready for a vapor sample The system is now completely isolated.
to be taken.
• Press function key <FlO>.
• Press function key <F4>.
When this function key is pressed a drop-down frame appears
Pressing this function key starts the motor-driven pump (Servo at the upper ·right-hand corner of the screen. The frame
Pump). The pump base changes color from green to red to displays the analysis from the GC. The analysis of the sample
indicate that the pump is running. A subsequent <F4> taken in our example is shown in Fig: 8. The sample is all
function key request would immediately stop the pump. As vapor, comprising more than 75% C02 • The 25m line
the pump runs, the drop-down frame is redrawn on the screen. prompts "Press ESC to continue ... ". When the <ESC> key is
We may now watch as the delivery begins to climb. This is a pressed the sample analysis frame is erased and program
real-time function; the flow rate of 2.0 cm3 /min. takes exactly operations may continue.
one minute for each 2.0 cc's delivered.
Now we must watch the pressure gauges on the sample leg. At At this point in the differential liberation experiment we would
first, the pressure at both gauges climbs until it reaches that of the continue as we have just done, by withdrawing mercury from the cell
BPR set pressure, 235 psia. As the pump continues to deliver (Visual Cell) to lower the pressure (constant composition expansion),
mercury into the cell, the downstream pressure stops climbing. The then taking another sample. This sequence could continue until there
upstream pressure, however, continues to climb. This is because of is no more mercury left in the cell.
the higher pressure required in the cell due to the viscosity of the
fluid flowing through the capillary tube. In the example presented there are two basic operations:
opening and closing valves, and starting and stopping pumps. Each
The pressure at the upstream gauge in this example finally of the other operations was preliminary to performing one of the two
stabilizes when it reaches 246.38 psia. The pump delivery at this basic operations. By being c~eful we avoided the physical limits of
point is about 7.8 cc's of mercury into the cell (Fig. 6). The pump the apparatus: the cell has a finite volume, the hand pump has a finite
continues to deliver mercury to the cell until it has delivered 22.000 capacity and the vessels and tubing have working pressure limits.
cc's, the maximum delivery shutdown volume. Then the pump shuts
off. This is announced by a "beep" and the color of the pump base SUMMARY
changes from red to green. With the flow of mercury into the cell
stopped, the pressure at the upstream gauge now falls off until it The example PVT experiments described here indicate that a
reaches that of the BPR set pressure, 235 psia. reasonably realistic simulation of the operation of a PVT laboratory
can be made based on use of the Peng-Robinson equation of state to
At this point the simulator must do some internal bookkeeping represent the volumetric properties of components and to calculate
and check the contents and condition of the fluids in both the cell and phase equilibrium. A high resolution, full-color display of a scehmatic
the sampling system. In this example the vapor from the cell is a of the experimental apparatus coupled to a program structure that
single-phase vapor in the sampling system. Its pressure is calculated resolves system operations into a series of discrete steps, such as
by the EOS and displayed on the pressure gauge at the gas vessel. In opening a valve or operating a pump, allows the user to perform
this example it is 4.666 psia (Fig. 7). simulated experiments that mimic closely the actions taken in a
Next the fluid levels in the cell (Visual Cell) are changed to typical PVT experiment. Because the simulated apparatus contains
reflect the volume of mercury that has been injected. The system is equipment for density, viscosity and co"mposition measurements, the
now static. At this point it is possible to reset the motor-driven pump PVT simulator can be used to perform experiments that range in
(Servo Pump) flow totalizer and inject more mercury. In our complexity from simple constant composition expansions to
example we will now isolate the sampling system and determine the multiple-contact phase behavior experiments including sampling of
composition of the sample we have taken. the phases. Hence, the simulator described is a flexible tool for
instruction about procedures and observations typical of PVT
• Using function key <F2>, close Valve 13. experiments used in the oil industry. •
197
6 SIMULATION OF PVT EXPERIMENTS SPE 16502
198
SPE 1 6 50 2·4
12
11
------;==--~~
I I I
I I I
I
I
LC
Pump
Gas
Chromatograph
Centrifuge
Tube
? = Help l'lenu
Fig. 2-Simulator representation of PVT apparatus.
b c
199
Fig. 4-Constant composition
expansion.
PSI PUMP
Rate (ccllllin)
2.800
ltax . deli very
22.888 cc
Tota 1 deli uery
8.153 cc
Fig. ?-Differential liberation experiment: post-sampling equilibrium. Fig. 8-Gas chromatograph sample analysis.
200