You can edit almost every page by Creating an account. Otherwise, see the FAQ.

RETINA Simulation

From EverybodyWiki Bios & Wiki

RETINA Simulation is a Black-Oil and Compositional reservoir simulation software fully developed in Engineering Support and Technology Development Company (ESTD Co.).

Introduction[edit]

It is a fully-implicit, three-phase, finite volume, unstructured based and three dimensional parallel reservoir simulator; also, it is visualized and can be run in fully implicit and adaptive implicit AIM modes.[1] RETINA Simulation core and view have been written in FORTRAN and Java, respectively. It can be used on any PC or notebook with a sufficient memory and a FORTRAN90 compiler.
An Adaptive Algebraic Multi-grid solver (AAMG) in the presence of constrained pressure residual (CPR) preconditioner[2] is designed for preventing severe convergence problems in models with high heterogeneity and/or large number of non-neighbor connections. This technique is implemented for solving the governing discretized three dimensional partial differential equations. The implemented CPR preconditioner using AAMG as its elliptic solver and Blocked ILU as the hyperbolic solver is the best solution for damping both smooth pressure field and high frequency saturation field errors in giant fractured reservoir models; the BiCG-Stabilized solver preconditioner by CPR-AAMG has been implemented to achieve acceptable results of high efficiency and robustness for a variety of small homogenous to large heterogeneous/fractured models.

For large simulations RETINA can run in parallel mode. The Parallel option is based on multi-threaded algorithms and shared memory architecture, for better usage of SIMD and Open-MP instructions. Multi-threaded algorithms can utilize any user defined number of CPU cores.

An improved and computationally efficient version of Newton's method, which uses higher order terms in the Jacobian matrix in addition to the Newton’s basic linear terms to account for cross variable dependencies, including a high-tech stable linear solver, is implemented for overcoming convergency problems and losses in computational effort and prohibitively small time steps. This scheme leads to a smaller number of non-linear iterations compared to other known commercial simulators with larger time steps.

Key features[edit]

  1. Pre-processing
  2. Simulation
  3. Post-Process

Pre-processing[edit]

  1. ECLIPSE DATA file is read and transferred directly to RETINA Simulation model automatically.
  2. All the imported data can be edited and removed and new data can be added to the model easily.
  3. Pre-processor is completely user friendly and easy to use.
  4. 3D visualizer can display all the imported and created properties, wells and well completions.
  5. PVT and SCAL tables and graphs are displayed and can be edited.
  6. RETINA Simulation model can be built in an interactive and user-friendly environment from scratch.
  7. Data model is bounded to simulator core. There is no such thing as DATA file.
  8. All the data are entered and built in the software. No need to modify the DATA file.
  9. Simulation models can be easily created. Different data (PVT, SCAL, CFP, PPGrid Properties, Aquifer and Wells) can be imported seamlessly.
  10. Grid properties could be modified using property calculator.
  11. Simulation models can be run and restarted easily
  12. All data in the model will be validated before the run.
  13. Statistical information for all the data is displayed.
  14. Complete control over unit conversion of data on every dialog.
  15. Complete control over floating point viewing precision in every dialog.
  16. Completely decoupled view and model layers that can be later converted to a Server-Client system

Simulation[edit]

  1. Corner-point grid support
  2. Full and Quasi Newton non-linear solvers.
  3. 3D 3 Phase Black Oil single and dual medium formulation
  4. BiCG-Stab linear solver
  5. ILU0, ILU1 and AMG pre-conditioner
  6. Well and group control features
  7. Well auto completion
  8. Sonier et. al. Matrix-Fracture transfer function[3]
  9. Relative permeability and capillary pressure hysteresis[4]
  10. Full segregation and stone type 3-phase models[5][6]
  11. 2 and 3 point Horizontal and Vertical end point scaling[7]
  12. Changing gas-oil capillary pressure with respect to pressure (inter-facial tension)
  13. Multiple saturation functions, PVT, rock compressibility, equilibration and fluid in place regions[8]
  14. VFP table support
  15. Multi-threaded parallel support
  16. Automatic time step selection algorithm
  17. Implicit fully coupled well modeling
  18. Fully implicit formulation

Post-Process[edit]

  1. 4D visualization
  2. Live summary plot viewing
  3. Load RETINA Simulation and ECLIPSE summary results and compare the results.

Capabilities and key advantages[edit]

  1. High tech AMG based linear solver brings stable solution to complex reservoirs
  2. Large time steps and more stable solution in dual porosity/permeability models
  3. Improved non-linear Newton iterations
  4. Multi-threading based on OpenMp Parallel technology
  5. Advanced well equations which are solved for all the variables just like regular cells
  6. Well inner iteration for stable solution of fully coupled well and grid equations
  7. RETINA keeps everything in physical range while maintaining high numerical efficiency
  8. DFN modeling
  9. List of dual-porosity transfer functions and shape factor formula
  10. Full field simulation of unconventional reservoirs (tight oil / shale gas)
  11. List of group control facilities for prediction runs
  12. Live result presentation (4D visualization)
  13. Changing the model during simulation
  14. Interactive and user friendly interface
High tech AMG[edit]

RETINA Simulation has the BiCG-Stab standard iterative linear solver which is powered by several pre-conditioners including:

  1. CPR-AMG-ILU0
  2. ILU0
  3. CPR-AMG-ILU1
  4. ILU1

The solver and all the pre-conditioners have been developed and tested by ESTD and are fully customized for reservoir simulation needs. Among them, the CPR method is the cutting-edge pre-conditioner in numerical sciences which is based on the AMG technique. Using the AMG technique along with the CPR method to solve the pressure equation is at the heart of RETINA Simulation TM powerful numerical solver, especially considering the fact that using the CPR method without the AMG technique will present no industrial benefit.

The linear solver of well-known commercial simulators that utilize the Nested-Factorization method as the pre-conditioner are almost the fastest solvers in the market which are mainly suited for models with a dominant directional behavior (mostly z direction) and make use of the nearly structured shape of corner point grids. Therefore using Nested Factorization for simulation of models with high heterogeneity and/or large number of non-neighbor connections (either of which usually occur in giant fractured reservoirs) can result in severe convergency problems. The AMG technology is one of the most recent strategies for solving matrices generated in elliptic partial differential equations that can produce suitable solutions for complicated problems.

RETINA Simulation has its own customized AMG based solver which is fully tested on more than 50 sets of data from real-world fields, SPE samples, and many synthetic models. This solver has the power of solving very complex, large and heterogeneous models without linear convergency problems. This fact gives RETINA Simulation the power to solve models that are simply not solvable using known commercial simulators.

Large time steps[edit]

One of the most valuable outcomes of using cutting-edge scientific methods and technologies in RETINA Simulation is that, RETINA Simulation can solve dual porosity/permeability models much faster and more reliable than known commercial simulators. RETINA Simulation usually has larger time steps with more realistic results in the case of dual porosity/permeability models. It can also solve these models with less time step cut back and has far less non-linear and linear convergency problems. The main reason for RETINA Simulation remarkable stability is its cutting-edge AMG based linear solver along with an improved non-linear iteration scheme.

Improved non-linear Newton iterations[edit]

In order to tackle the complexity of the non-linear system with cross variable dependencies, RETINA Simulation uses a new and creative method to reduce the number of non-linear iterations.

RETINA Simulation uses higher order terms in its Jacobian matrix in addition to the Newton’s basic linear terms to account for cross variable dependencies. This scheme leads to a smaller number of non-linear iterations compared to basic Newton iterations. The number of Newton iterations in RETINA Simulation non-linear solver is now comparable to other known commercial simulators with larger time-steps. All the aforementioned features allow RETINA Simulation numerical solver to be among the best solver technologies available to date.

Multi-threading parallel technology[edit]

RETINA Simulation utilizes a multi-threading algorithm that inserts no approximation in the solution and therefore is fully stable for large and complex models. This algorithm can utilize all or any user defined number of CPU cores efficiently. In parallel simulations, the solution does not change from the single core case and follows the exact same path. This however is not the case for other simulators that use domain-decomposition techniques. These techniques change the solution of the original system and therefore decrease the accuracy of the solution. This is the main reason why parallel accuracy of commercial simulators is decreased especially in cases with a large number of CPUs.

Advanced well equations[edit]

RETINA Simulation uses a 3-equation and 3-variable well model and solves well equations in saturated and under-saturated states just like ordinary cells which is not the case in known commercial simulators.

RETINA Simulation solves well equations for the following set of variables:

  1. BHP, Sw and Sg for saturated wells
  2. BHP, Sw and Rs for under-saturated wells

Whereas known commercial simulators always solve the well for three variables: BHP, Fw and Fg regardless of the state of the well. Therefore for under-saturated wells, Rs of well is not calculated and hence is not correct. Wrong Rs causes the wrong oil mobility especially for injection connections. This also causes the wrong reservoir volume rate calculation for under-saturated wells.

Well inner iteration[edit]

RETINA Simulation solves well equations fully implicitly and fully coupled with grid equations. This is the most stable scheme to solve the reservoir equations. However, unstable wells need a large number of non-linear iterations to converge. For these special cases, there is a better solution.

Well equations can be decoupled from the grid equations altogether before each Newton iteration and iterated separately to converge. All the equations are then coupled together and iterated again to reach the final solution.

This is the default scheme used in known commercial simulators and causes a more stable well solution. In some rare cases however, this method causes some stability problems and increases computational cost. Therefore it's better to be an optional feature in the simulator. This facility is optional in RETINA Simulation so that the user can test its effectiveness without being forced to use it.

Physical range[edit]

Saturation Values will never go out of bound, cells with low oil saturation do not have an unrealistic Rs and combining oils with different Rs does not result in unrealistic free gas saturation when DRSDT is zero.

  1. Known commercial simulators allow phase saturations to fall below zero or grow above one. This behavior is not realistic and should be avoided. The only way to make sure this numerical constraint is satisfied is to use algebraic constraints during non-linear iterations. RETINA Simulation applies these numerical constraints in all the possible cases so that no variable can take an unrealistic value. RETINA Simulation also controls the constraints to prevent any numerical inefficiency.
  2. Under-saturated cells with very low oil saturation are very difficult to solve for Rs. Known commercial simulators solve this problem with a non-physical assumption. They solve these cells as saturated and therefore solve for Sg and not Rs. In some cases this can result in small values of free gas saturation below the WOC. It also causes the bubble point pressure of cells below WOC to be equal to their oil pressure which in turn leads to large values of Rs especially in highly under-saturated reservoirs. As it happens, these cells with large Rs can be located right next to other cells with regular (and hence much less) values of Rs. This can cause numerical instability in known commercial simulators. RETINA Simulation however does not solve under-saturated cells with low oil saturation as saturated cells, but rather, treats them as regular under-saturated cells with some numerical enhancements. Therefore, cells have a correct value of Rs below WOC and no instability occurs in RETINA Simulation due to this issue. Moreover, RETINA Simulation solves these cells with almost no numerical difficulty.
DFN modeling[edit]

The DFN feature allows RETINA Simulation to solve fully unstructured fractured grids (i.e. modeling fractures as 2D surfaces between 3D matrix cells). This feature is fully implemented and tested with several synthetic cases, however, due to the fact that DFN is not used in industry, real-world cases are not available for further testing.

Dual-porosity transfer functions[edit]

RETINA Simulation includes the following transfer functions:

  1. Kazemi (1976)
  2. Gilman-Kazemi (1983)
  3. Quandalle and Sabathier (1989)

The following shape factor calculation formulas are implemented in RETINA Simulation:

  1. Warren and root[9]
  2. Kazemi et al. [10]
  3. Gilman[11]
  4. Coats [12]
  5. Chang [13]
  6. Lim and Aziz [14]
Tight oil / Shale gas[edit]

RETINA Simulation has magnificent ability to simulate unstructured and hybrid DFN models. Technically speaking, using RETINA Simulation, engineers can model the volume around the wells using an unstructured DFN grid while using the conventional structured single or dual porosity grid for the rest of the reservoir volume. This ability comes in handy especially in case of wells stimulated using Hydraulic Fracturing.

The current solution for predicting performance of unconventional reservoirs is to perform the following two simulations:

  1. Single well simulation using explicit DFN model to predict the well performance. The results of this simulation are usually used to design the Hydraulic Fracturing operation and predict the future performance of wells. An overall skin factor is also estimated for full field studies.
  2. Full field simulation with a conventional approach using a prevalent industrial simulator. The results are used to predict the overall (usually qualitative) performance of the field. Simulation is done using single or dual porosity approach according to rock properties of the field. In this simulation, hydraulically fractured wells are represented either by an overall skin or adjusting properties of cells surrounding each well.

RETINA Simulation is able to combine the DFN model with the full field simulation to create a model that includes all the details needed to predict full field performance as well as single well results.

RETINA Simulation has a toolbox that can generate unstructured or hybrid grids for the mentioned simulation approach. The overall full field study workflow for unconventional reservoirs is as follows:

  1. Importing conventional grid (static fine grid) for the model along with the well deviations.
  2. Entering hydraulic fracturing parameters for each well. (These parameters could be estimated using Hydraulic Fracturing Design module of RETINA Simulation)
  3. Generating suitable grid for the reservoir and around well-bores according to well paths and fracture geometry.
  4. Transferring data from the conventional grid to the newly generated grid.
  5. Perform simulation using RETINA Simulation

Running this kind of full field models has multiple numerical difficulties. The first issue is high heterogeneity of these models; and the second issue is high throughput nature of DFN models. Two dimensional fracture cells with small pore volume and high speed of flow are a great challenge for numerical solvers.
These are the two main issues that prevent current industrial simulators from handling full field DFN models. By contrast, RETINA Simulation benefits from a modern and robust linear solver that is easily capable of handling the mentioned issues. Using RETINA Simulation, DFN models are simulated smoothly and with large time-steps while other simulators face severe problems while simulating such models.

Group control facilities[edit]

All the usual group control facilities are available in RETINA Simulation:

  1. Multi-level hierarchical fully implicit production and injection group control
  2. Re-injection and voidage replacement of the production group to injection wells
  3. Auto work-over and economic limit handling
  4. Auto drilling and completion facilities
  5. Limiting the drilling and work-over rigs
  6. Drilling wells in sequential or prioritized queues
  7. Group guide rate calculation formula
Live result presentation[edit]

Simulation graphs and 3D results can be animated in real-time during the simulation. Results are loaded automatically as they are written on disk in a smooth and efficient manner.

Changing the model during simulation[edit]

Simulation can be paused at any time, which allows the user to change the data for the upcoming time steps. When the simulation is resumed, RETINA Simulation will load the new data for corresponding steps.

Interactive user interface[edit]
  • Grid property editing
  1. All the grid properties are defined and edited
  • Graphs for PVT, SCAL, End-Pint Scaling and other data
  1. PVT, SCAL and other data are plotted automatically as soon as they are defined
  • RETINA Simulation Import capabilities
  1. Grids with formats: GRID, EGRID, FEGRID, FGRID, GRDECL and RESCUE to and exported from RETINA Simulation.
  2. PVT table
  3. Schedule keywords
  4. SCAL keywords
  5. Equilibration keywords
  6. Aquifer keywords
  7. EPS keywords
  8. VFP tables
  9. ECLIPSE DATA file
  • Well path import
  • Well recurrent manager
  • Easily define multiple wells and connections (one click)
  • VFP table generator
  • Multiple (RETINA Simulation and ECLIPSE) cases result viewer

Real case study[edit]

The case is an offshore oil field located beneath the Kharg island in Gulf. Production from this field started in 1972. The history matching model of this field was delivered to ESTD in an agreement between IOOC and ESTD aimed at validating and certifying RETINA Simulation.

The model is dual porosity with some single porosity layers (DPNUM). It is an under-saturated reservoir with a moderate aquifer as its boundary condition. during these years 8 oil producing wells are activated. More details about the model are described at Table 1.

Model type Black Oil dual porosity with DPNUM
No. of active cells 211410
No. of active wells 8
Model run duration 24 years
Special model Hysteresis, GRAVDR, STOG, AQUCT

The model is simulated with RETINA Simulation and results from “ECLIPSE E100” are used for comparison and validation. The two simulators were allowed to select their own time steps as they see fit and no special tuning were defined. The main restriction on time step size is the frequency of input history rates which is almost every one month. The results from these two simulators for this case study are compared from two aspects: accuracy and speed.

Accuracy[edit]

All the results match almost perfectly and this is the case for all the other wells and vectors. The selected well is the first producing well and hence has more results through the simulation.

Simulation result Max. of relative difference (percent)
Field average pressure 0.051%
Field oil production rate 0.000025%
Field gas production rate 0.5%
Field water production rate 4.7%
Wells gas production rate 0.83%
Wells water production rate 5.1%
Wells bottom-hole pressure 0.98%
Wells average block pressure 0.78%
Aquifer rate 2.7%

Speed[edit]

RETINA Simulation can take larger time steps in this model and therefore it has less simulation run time. RETINA Simulation is usually more stable and can get larger time steps in the case of dual porosity models with tight matrices and high conductive fractures. This is due to a better linear solver pre-conditioner used in RETINA Simulation. Hence, in this case (as a typical dual porosity model), we expect a better performance compared to ECLIPSE. More detail on speed comparison is explained in the following sections.

Simulation elapsed time in seconds[edit]

This is the time taken to run the model from time 0 to the specified simulation time (days). RETINA Simulation has less elapsed time and can run the model almost two times faster than ECLIPSE 100. RETINA Simulation takes 16615.70 seconds where ECLIPSE 100 needs 27185.98 seconds to run the entire model. RETINA Simulation solves the model with 957 time steps and 5499 non-linear iterations and ECLIPSE 100 with 7588 time steps and 42587 non-linear iterations.

Time step size[edit]

The report step size (time at which the well rates are entered for the model) is the limiting factor for time steps in RETINA Simulation in most of the time steps; whereas ECLIPSE 100 faces trouble taking large time step in the size of report step size. Average size of time steps in RETINA Simulation is 21.69 days where ECLIPSE 100 has the average of 5.34 days time steps. From the accuracy comparison it is evident that, large time step sizes do not lead to higher time truncation error in RETINA Simulation.

References[edit]

  1. Spillette, A.G.; Hillestad, J.G.; Stone, H.L. (1973). "A High-Stability Sequential Solution Approach to Reservoir Simulation". Society of Petroleum Engineers of AIME. Society of Petroleum Engineers. doi:10.2118/4542-MS.
  2. Wallis, J.R.; Kendall, R.P.; Little, T.E. (1985). "Constrained Residual Acceleration of Conjugate Residual Methods". Society of Petroleum Engineers. doi:10.2118/13536-MS.
  3. Sonier, F.; Souillard, P.; Blaskovich, F.T. (1988). "Numerical Simulation of Naturally Fractured Reservoirs". 3 (4). Society of Petroleum Engineers: 1114-1123. doi:10.2118/15627-PA.
  4. Carlson, F. M. (1981). "Simulation of Relative Permeability Hysteresis to the Non-Wetting Phase". SPE Annual Technical Conference and Exhibition, 4-7 October, San Antonio, Texas. Society of Petroleum Engineers. doi:10.2118/10157-MS.
  5. Stone, H. L. (1970). "Probability Model for Estimating Three-Phase Relative Permeability". Journal of Petroleum Technology. Society of Petroleum Engineers. 22 (2): 214-218. doi:10.2118/2116-PA.
  6. Stone, H. L. (1973). "Estimation of Three-Phase Relative Permeability And Residual Oil Data". Journal of Canadian Petroleum Technology. Petroleum Society of Canada. 12 (4): 53-61. doi:10.2118/73-04-06.
  7. Killough, J. E. (1976). "Reservoir Simulation with History-dependent Saturation Functions". Society of Petroleum Engineers Journal. Society of Petroleum Engineers. 16 (1): 245-255. doi:10.2118/5106-PA.
  8. Zhangxin Chen;, Guanren Huan and Yuanle Ma (2006). Computational Methods for Multiphase Flows in Porous Media. Philadelphia: Society for Industrial and Applied Mathematics (SIAM). ISBN 978-0-89871-606-1. Search this book on
  9. Warren, J.; Root, P. (1963). "The Behavior of Naturally Fractured Reservoirs". Society of Petroleum Engineers Journal. Society of Petroleum Engineers. 3 (3): 245-255. doi:10.2118/426-PA.
  10. Kazemi, H. (1976). "Numerical Simulation of Water-Oil Flow in Naturally Fractured Reservoirs". Society of Petroleum Engineers Journal. Society of Petroleum Engineers. 16 (6): 317-326. doi:10.2118/5719-PA.
  11. Gilman, J. R. (1986). "An Efficient Finite-Difference Method for Simulating Phase Segregation in the Matrix Blocks in Double-Porosity Reservoirs". SPE Reservoir Engineering. Society of Petroleum Engineers. 1 (4): 403-413. doi:10.2118/12271-PA.
  12. Coats, K. H (1989). "Implicit Compositional Simulation of Single-Porosity and Dual-Porosity Reservoirs". SPE Symposium on Reservoir Simulation, 6-8 February, Houston, Texas. Society of Petroleum Engineers. doi:10.2118/18427-MS.
  13. Chang, M. M. (1993). "Deriving the shape factor of a fractured rock matrix". National Inst. for Petroleum and Energy Research, Bartlesville, OK (United States), Technical Report. doi:10.2172/10192737.
  14. Lim, K.T.; Aziz, K. (1995). "Matrix-fracture transfer shape factors for dual-porosity simulators". Journal of Petroleum Science and Engineering. Society of Petroleum Engineers. 13 (3): 169-178. doi:10.1016/0920-4105(95)00010-F.

External links[edit]

  • www.estdco.com


This article "RETINA Simulation" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:RETINA Simulation. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.