Patent Document ID: 9494709
Application ID: 14040930
Patent Flag: 1

Claim One:
1. A computer implemented method of forming a model of determined well production rate of component fluids from a well in a subsurface reservoir and of determined layer completion rates of perforated well intervals in the well, from measured total well production, with a coupled well reservoir model during reservoir simulation of well production at a time step during a plurality of time steps of the reservoir simulation, the coupled well reservoir model being organized into a reservoir grid subdivided into; (1) a plurality of finite difference reservoir cells for the reservoir simulation comprising a plurality of reservoir neighbor cells at the perforated well intervals; (2) the perforated well intervals in the reservoir being located at a plurality of formation layers; (3) the perforated well intervals of the formation layers having unknown well potentials and fluid completion rates for component fluids at the time step; (4) the formation layers comprising vertical fluid flow layers having vertical fluid flow therefrom and flow barrier layers with no vertical fluid flow therefrom; (5) the formation layers each further having a permeability, a thickness, and a layer potential; and (6) the reservoir grid further having a plurality of well cells at locations of the well in the grid adjacent reservoir neighbor cells of the well in the formation layers of the reservoir grid; the computer implemented method determining layer completion rates for the component fluids from the formation layers of the well and well production rates of the component fluids from the well, the computer implemented method comprising the steps of: (a) forming a full computation matrix reservoir model of reservoir data of cells of the reservoir grid, including the reservoir data for the reservoir neighbor cells at the perforated well intervals of plurality of formation layers, the reservoir data including the permeability, thickness, and potential of each of the plurality of formation layers; (b) forming a reduced well model system matrix of reservoir data by assembling as single vertical flow layers in the matrix the data of the vertical fluid flow layers which have vertical fluid flow therebetween and are located between flow barrier layers in the reservoir model; (c) determining a bottomhole pressure for the well by solving the reduced well model system matrix for the bottomhole pressure of the well; (d) forming a coupled reservoir well model, treating the well as a bottomhole pressure specified well having the determined bottomhole pressure as a uniform pressure along the well, wherein the coupled reservoir well model is in the form of a matrix: [ A RR A RW A WR A WW ] ⁡ [ Φ R → Φ W → ] = [ b R → b W → ] wherein A RR is a tridiagonal matrix of the reservoir data for the cells of the reservoir grid, A RW is a vector of the productivity indexes for the reservoir neighbor cells of the formation layers adjacent the perforated well intervals; A WR is a vector for the reservoir neighbor cells of the productivity indexes from the well to the formation layers of the reservoir; A WW is a linear scalar of the productivity indexes of the well at the formation layers; {right arrow over (Φ R )} is a vector of unknown reservoir potentials for the reservoir neighbor cells at the perforated well intervals; {right arrow over (Φ W )} is a vector of unknown well potentials in the wellbore; {right arrow over (b R )} is a vector of reservoir data constants for the reservoir neighbor cells around the well; and {right arrow over (b W )} is a vector of the well data constants for the well at the perforated well intervals; (e) solving the coupled reservoir well model to determine the fluid flows in the reservoir neighbor cells of the formation layers and the productivity indexes and potentials of the reservoir neighbor cells at the time step for each of the formation layers; (f) solving the coupled reservoir well model to determine the productivity indexes of the reservoir neighbor cells and well at the perforated well intervals of the reservoir at the time step; (g) determining layer completion rates for the component fluids of the vertical fluid flow layers and the flow barrier layers of the well based on the determined productivity indexes of the reservoir neighbor cells and well cells at the perforated well intervals of the reservoir at the time step; (h) determining total well production rate for the well from the determined layer completion rates for the component fluids of the vertical fluid flow layers and the flow barrier layers of the well at the time step; and (i) forming a record of the determined layer completion rates for the component fluids of the vertical fluid flow layers and the flow barrier layers of the well and the determined total well production rate for the well at the time step.