A GPU-Based, Industrial Grade Compositional Reservoir Simulator

2021 ◽  
Author(s):  
K. Esler ◽  
R. Gandham ◽  
L. Patacchini ◽  
T. Garipov ◽  
P. Panfili ◽  
...  

Abstract Recently, graphics processing units (GPUs) have been demonstrated to provide a significant performance benefit for black-oil reservoir simulation, as well as flash calculations that serve an important role in compositional simulation. A comprehensive approach to compositional simulation based on GPUs had yet to emerge, and some questions remained as to whether the benefits observed in black-oil simulation would persist with a more complex fluid description. We present our positive answer to this question through the extension of a commercial GPU-based black-oil simulator to include a compositional description based on standard cubic equations of state. We describe the motivations for the formulation we select to make optimal use of GPU characteristics, including choice of primary variables and iteration scheme. We then describe performance results on an example sector model and simplified synthetic case designed to allow a detailed examination of scaling with respect to the number of hydrocarbon components and model size, as well as number of processors. We finally show results from two complex asset models (synthetic and real) and examine performance scaling with respect to GPU generation, demonstrating that performance correlates strongly with GPU memory bandwidth.

SPE Journal ◽  
2021 ◽  
pp. 1-16
Author(s):  
K. Esler ◽  
R. Gandham ◽  
L. Patacchini ◽  
T. Garipov ◽  
A. Samardzic ◽  
...  

Summary Recently, graphics processing units (GPUs) have been demonstrated to provide a significant performance benefit for black-oil reservoir simulation, as well as flash calculations that serve an important role in compositional simulation. A comprehensive approach to compositional simulation based on GPUs has yet to emerge, and the question remains as to whether the benefits observed in black-oil simulation persist with a more complex fluid description. We present a positive answer to this question through the extension of a commercial GPU-basedblack-oil simulator to include a compositional description based on standard cubic equations of state (EOSs). We describe the motivations for the selected nonlinear formulation, including the choice of primary variables and iteration scheme, and support for both fully implicit methods (FIMs) and adaptive implicit methods (AIMs). We then present performance results on an example sector model and simplified synthetic case designed to allow a detailed examination of runtime and memory scaling with respect to the number of hydrocarbon components and model size, as well as the number of processors. We finally show results from two complex asset models (synthetic and real) and examine performance scaling with respect to GPU generation, demonstrating that performance correlates strongly with GPU memory bandwidth. NOTE: This paper is published as part of the 2021 SPE Reservoir Simulation Conference Special Issue.


2007 ◽  
Vol 10 (05) ◽  
pp. 489-499 ◽  
Author(s):  
Kassem Ghorayeb ◽  
Jonathan Anthony Holmes

Summary Black-oil reservoir simulation still has wide application in the petroleum industry because it is far less demanding computationally than compositional simulation. But a principal limitation of black-oil reservoir simulation is that it does not provide the detailed compositional information necessary for surface process modeling. Black-oil delumping overcomes this limitation by converting a black-oil wellstream into a compositional wellstream, enabling the composition and component molar rates of a production well in a black-oil reservoir simulation to be reconstituted. We present a comprehensive black-oil delumping method based primarily on the compositional information generated in the depletion process that is used initially to provide data for the black-oil simulation in a typical workflow. Examples presented in this paper show the accuracy of this method in different depletion processes: natural depletion, water injection, and gas injection. The paper also presents a technique for accurately applying the black-oil delumping method to wells encountering crossflow. Introduction With advances in computing speed, it is becoming more typical to use a fully compositional fluid description in hydrocarbon reservoir simulation. However, the faster computers become, the stronger the simulation engineer's tendency to build more challenging (and thus more CPU intensive) models. Compositional simulation in today's multi-million-cell models is still practically unfeasible. Black-oil fluid representation is a proven technique that continues to find wide application in reservoir simulation. However, an important limitation of black-oil reservoir simulation is the lack of detailed compositional information necessary for surface process modeling. The black-oil delumping technique described in this paper provides the needed compositional information, yet adds negligible computational time to the simulation. Delumping a black-oil wellstream consists of retrieving the detailed components' molar rates to convert the black-oil wellstream into a compositional wellstream. It reconstitutes the composition and component molar rates of the production stream. Black-oil delumping can be achieved with differing degrees of accuracy by using options ranging from setting a constant oil and gas composition for the whole run to using the results of a depletion process: constant-volume depletion (CVD), constant-composition expansion (CCE), and differential liberation (DL). The simplest method is to assign a fixed composition (component mole fraction) to stock-tank oil and gas. This could be applied over the whole reservoir, or, if the hydrocarbon mixture properties vary across the reservoir, different oil and gas compositions can be reassigned at any time during the run. Some black-oil simulators have an API tracking feature that allows oils of different properties to mix within the reservoir. The pressure/volume/temperature (PVT) properties of the oil mixture are parameterized with the oil surface density. To provide a delumping option compatible with the API tracking, stock-tank oil and gas compositions may be tabulated against the density of oil at surface conditions.


2010 ◽  
Vol 13 (04) ◽  
pp. 588-595 ◽  
Author(s):  
G. M. van Essen ◽  
J. D. Jansen ◽  
D. R. Brouwer ◽  
S. G. Douma ◽  
M. J. Zandvliet ◽  
...  

Summary The St. Joseph field has been on production since September 1981 under natural depletion supported by crestal gas injection. As part of a major redevelopment study, the scope for waterflooding was addressed using "smart" completions with multiple inflow control valves (ICVs) in the wells to be drilled for the redevelopment. Optimal control theory was used to optimize monetary value over the remaining producing life of the field, and in particular to select the optimal number of ICVs, the optimal configuration of the perforation zones, and the optimal operational strategies for the ICVs. A gradient-based optimization technique was implemented in a reservoir simulator equipped with the adjoint functionality to compute gradients of an objective function with respect to control parameters. For computational reasons, an initial optimization study was performed on a sector model, which showed promising results.


1998 ◽  
Vol 1 (04) ◽  
pp. 372-379 ◽  
Author(s):  
K.H. Coats ◽  
L.K. Thomas ◽  
R.G. Pierson

2002 ◽  
Vol 5 (01) ◽  
pp. 11-23 ◽  
Author(s):  
A.H. Dogru ◽  
H.A. Sunaidi ◽  
L.S. Fung ◽  
W.A. Habiballah ◽  
N. Al-Zamel ◽  
...  

Summary A new parallel, black-oil-production reservoir simulator (Powers**) has been developed and fully integrated into the pre- and post-processing graphical environment. Its primary use is to simulate the giant oil and gas reservoirs of the Middle East using millions of cells. The new simulator has been created for parallelism and scalability, with the aim of making megacell simulation a day-to-day reservoir-management tool. Upon its completion, the parallel simulator was validated against published benchmark problems and other industrial simulators. Several giant oil-reservoir studies have been conducted with million-cell descriptions. This paper presents the model formulation, parallel linear solver, parallel locally refined grids, and parallel well management. The benefits of using megacell simulation models are illustrated by a real field example used to confirm bypassed oil zones and obtain a history match in a short time period. With the new technology, preprocessing, construction, running, and post-processing of megacell models is finally practical. A typical history- match run for a field with 30 to 50 years of production takes only a few hours. Introduction With the development of early parallel computers, the attractive speed of these computers got the attention of oil industry researchers. Initial questions were concentrated along these lines:Can one develop a truly parallel reservoir-simulator code?What type of hardware and programming languages should be chosen? Contrary to seismic, it is well known that reservoir simulator algorithms are not naturally parallel; they are more recursive, and variables display a strong dependency on each other (strong coupling and nonlinearity). This poses a big challenge for the parallelization. On the other hand, if one could develop a parallel code, the speed of computations would increase by at least an order of magnitude; as a result, many large problems could be handled. This capability would also aid our understanding of the fluid flow in a complex reservoir. Additionally, the proper handling of the reservoir heterogeneities should result in more realistic predictions. The other benefit of megacell description is the minimization of upscaling effects and numerical dispersion. The megacell simulation has a natural application in simulating the world's giant oil and gas reservoirs. For example, a grid size of 50 m or less is used widely for the small and medium-size reservoirs in the world. In contrast, many giant reservoirs in the Middle East use a gridblock size of 250 m or larger; this easily yields a model with more than 1 million cells. Therefore, it is of specific interest to have megacell description and still be able to run fast. Such capability is important for the day-to-day reservoir management of these fields. This paper is organized as follows: the relevant work in the petroleum-reservoir-simulation literature has been reviewed. This will be followed by the description of the new parallel simulator and the presentation of the numerical solution and parallelism strategies. (The details of the data structures, well handling, and parallel input/output operations are placed in the appendices). The main text also contains a brief description of the parallel linear solver, locally refined grids, and well management. A brief description of megacell pre- and post-processing is presented. Next, we address performance and parallel scalability; this is a key section that demonstrates the degree of parallelization of the simulator. The last section presents four real field simulation examples. These example cases cover all stages of the simulator and provide actual central processing unit (CPU) execution time for each case. As a byproduct, the benefits of megacell simulation are demonstrated by two examples: locating bypassed oil zones, and obtaining a quicker history match. Details of each section can be found in the appendices. Previous Work In the 1980s, research on parallel-reservoir simulation had been intensified by the further development of shared-memory and distributed- memory machines. In 1987, Scott et al.1 presented a Multiple Instruction Multiple Data (MIMD) approach to reservoir simulation. Chien2 investigated parallel processing on sharedmemory computers. In early 1990, Li3 presented a parallelized version of a commercial simulator on a shared-memory Cray computer. For the distributed-memory machines, Wheeler4 developed a black-oil simulator on a hypercube in 1989. In the early 1990s, Killough and Bhogeswara5 presented a compositional simulator on an Intel iPSC/860, and Rutledge et al.6 developed an Implicit Pressure Explicit Saturation (IMPES) black-oil reservoir simulator for the CM-2 machine. They showed that reservoir models over 2 million cells could be run on this type of machine with 65,536 processors. This paper stated that computational speeds in the order of 1 gigaflop in the matrix construction and solution were achievable. In mid-1995, more investigators published reservoir-simulation papers that focused on distributed-memory machines. Kaarstad7 presented a 2D oil/water research simulator running on a 16384 processor MasPar MP-2 machine. He showed that a model problem using 1 million gridpoints could be solved in a few minutes of computer time. Rame and Delshad8 parallelized a chemical flooding code (UTCHEM) and tested it on a variety of systems for scalability. This paper also included test results on Intel iPSC/960, CM-5, Kendall Square, and Cray T3D.


Author(s):  
Anita Theresa Panjaitan ◽  
Rachmat Sudibjo ◽  
Sri Fenny

<p>Y Field which located around 28 km south east of Jakarta was discovered in 1989. Three wells have been drilled and suspended. The initial gas ini place (IGIP) of the field is 40.53 BSCF. The field will be developed in 2011. In this study, reservoir simulation model was made to predict the optimum development strategy of the field. This model consisted of 1,575,064 grid cells which were built in a black oil simulator. Two field development scenarios were defined with and without compressor. Simulation results show that the Recovery Factor at thel end of the contract is 61.40% and 62.14% respectively for Scenarios I and II without compressor. When compressor is applied then Recovey Factor of Scenarios I and II is 68.78% and 74.58%, correspondingly. Based on the economic parameters, Scenario II with compressor is the most <br />attractive case, where IRR, POT, and NPV of the scenario are 41%, 2.9 years, and 14,808 MUS$.</p>


Sign in / Sign up

Export Citation Format

Share Document