The disclosure generally relates to formation evaluation and, in particular, pressure monitoring at varying depths in a wellbore to determine if and the type of reservoir fluids that are present in the surrounding subsurface formation.
Determining the pressure at different depths in a wellbore can be used to maximize hydrocarbon recovery from the surrounding subsurface formation. In particular, the values of the pressure at different depths can be correlated to whether and the type of reservoir fluids that are present in the subsurface formation.
Embodiments of the disclosure may be better understood by referencing the accompanying drawings.
The description that follows includes example systems, methods, techniques, and program flows that embody embodiments of the disclosure. However, it is understood that this disclosure may be practiced without these specific details. For instance, this disclosure refers to determining the type of reservoir fluids based on a determined pressure gradient in a wellbore in illustrative examples. Embodiments of this disclosure can also be used to determine other types of formation attributes based on the determined pressure gradient. In other instances, well-known instruction instances, protocols, structures, and techniques have not been shown in detail in order not to obfuscate the description.
Example embodiments relate to identifying pressure gradients at different depths in a wellbore that can then be used to determine whether and the type of reservoir fluids present in the surrounding subsurface formation. Measurements of pressure at different depths of a wellbore can be indicative of the presence of reservoir fluids in the surrounding subsurface formation. Each reservoir fluid can manifest itself as a pressure gradient. A given subsurface formation may be comprised of any (a priori unknown) number of pressure gradients. In addition to not knowing the number of expected gradients, measurement errors can result in significant ambiguity in interpreting the fluid gradients. As further described below, example embodiments can be used to help resolve both of these problems.
Example embodiments can address multiple challenges with regard to pressure gradient determination across different depths of a wellbore. For example, a first challenge (being addressed by example embodiments) can include identifying the specific depth ranges for each fluid present in the surrounding subsurface formation. A second challenge being addressed can include determining a definitive fluid gradient over each of the identified depth ranges.
In some embodiments, a meta-heuristic process (e.g., simulated annealing) can be used to partition the complete depth range over individual fluid depth ranges. Additionally, a special-purpose fitting method can construct an estimate for the fluid gradients over these defined depth partitions. Such fitted fluid gradients can satisfy a number of domain (physical) constraints. Thus, in some embodiments, the combination of meta-heuristic depth-partition search and constrained multi-gradient fitting can yield a collection of solutions that potentially explain the observed (measured) data. In some implementations, this collection of solutions can be pruned to remove suboptimal solutions. In some embodiments, this collection of solutions can be used to assess the fluid gradient interpretation uncertainty. In turn, such an uncertainty can be used to devise a subsequent process wherein new depth values can be iteratively recommended for future sampling in an effort to reduce the interpretation uncertainty.
Thus, example embodiments can be robust against outlier solutions to access the fluid gradient interpretation uncertainty. Also, example embodiments can be readily scaled to the discontinuous pressure gradient setting wherein fluid gradients may not be in contact (i.e., separated by fluid barriers (non-fluid-bearing formation rock)). Example embodiments can also provide solutions that are less susceptible to local optimality as a result of the meta-heuristic optimization search. Additionally, as further described below, example embodiments can include an autonomous recommendation engine for additional sampling. Example embodiments can, thus, provide a greater interpretation autonomy that can assist in characterization of the reservoirs in the subsurface formation, while still optimizing pressure sample collection.
Conventional approaches for determining pressure gradients may use a clustering scheme to derive a pressure gradient solution collection. In contrast to example embodiments (described herein), such a clustering-driven fitting may not be robust against a heavy outlier presence. Additionally, example embodiments can include a set of inter-gradient and intra-gradient constraints that can be more comprehensive. Also, although the conventional approaches of clustering identify discrete subsets of points, such approaches do not infer fluid discontinuity. Furthermore, conventional approaches fail to resolve ambiguity. Instead, conventional approaches merely assume that more data may be needed and ensuring that the algorithm may be updated incrementally until the ambiguity is (presumably) resolved.
Thus, example embodiments (unlike conventional approaches) do not require manual pre-removal of measurement outliers. Rather, outliers can be inherently and autonomously handled within the fitting operation. Also, conventional approaches (unlike example embodiments) are susceptible to local optimality. For instance, the conventional spline approach greedily seeks the one knot that achieves the optimum segment break and is recursively applied to the segment with the worst error. Greedy approaches generally cannot ensure non-local optimality. Similarly, the conventional local slope method relies on k-means clustering to finalize the gradients. As a result, this conventional method is also prone to local optimality. Additionally, these conventional approaches are not easily scalable to the discrete pressure gradient setting (i.e., presence of fluid barriers (node sections)). Finally, these conventional approaches do not scale well with the problem size as these approaches employ brute-force schemes.
The wireline system 100 includes surface equipment above a ground surface 105 and the wellbore 150. The surface equipment is coupled to the logging tool 148 via a wireline 111. In general, surface equipment provides power, material, and structural support for the operation of the logging tool 148. In this example, the surface equipment includes a drilling rig 102 and associated equipment, and a data logging and control truck 115. The truck 115 can include a computer 190 and other devices to monitor data logging operations by the logging tool 148. In some embodiments, the computer 190 can be local or remote to the wellsite. A processor of the computer 190 may perform operations, such as downhole pressure gradient identification under uncertainty (as further described below). In some embodiments, the processor of the computer 190 can receive and store logging data from the logging tool 148 and/or control and direct logging operations. An example of the computer 190 is depicted in
Below the drilling rig 102 is the wellbore 150 extending from the surface 105 into the earth 110 and passing through a plurality of subsurface formations. The wellbore 150 penetrates through the geologic formations and in some implementations forms a deviated path, which may include a substantially horizontal section. The wellbore 150 may be reinforced with one or more casing strings. The wireline 111 can be spooled out at the surface by the truck 115. A cable tension sensing device 117 is located at the surface and provides cable tension data to the truck 115. A speed sensor device 119 located at the surface provides surface cable speed data to the truck 115.
In some embodiments, the logging tool 148 can include sensors and other instruments to measure pressure at different depths of the wellbore 150. The logging tool 148 can transmit these different pressure-depth measurement pairs to the surface via the wireline 111 for further data processing (as further described below). As shown, a sampling depth range 170 can be defined in the wellbore 150. As further described below, the sampling depth range 170 can be a range of depth in the wellbore 150 over which a number of pressure-depth measurement pairs are sampled. Also, as shown, the sampling depth range 170 can be across multiple subsurface formations 172-182 that may be fluid bearing and non-fluid bearing. The pressure-depth measurement pairs sampled in the subsurface formations 172-182 of the sampling depth range 170 can be partitioned into a number of fluid depth ranges. Each of the fluid depth ranges can define a range where a type of reservoir fluid is present in the subsurface formations 172-182. Examples of such operations are now described.
At block 202, pressure is sampled in one or more subsurface formations at a number of depths in a wellbore across a sampling depth range to generate a number of pressure-depth measurement pairs. For example, with reference to
In some embodiments, pressure can be sampled at a number of depths across the sampling depth range with a wireline tool in the wellbore (such as the wireline tool 148 of
The pressure samples and corresponding depths can be used to generate a number of pressure-depth measurement pairs. To help illustrate,
At block 204, the sampling depth range is partitioned into a number of fluid depth ranges, wherein each of the number of fluid depth ranges comprises a range where a type of reservoir fluid is present in the subsurface formation. For example, with reference to
In
In
In
In
In
In
In
In
In
In
In
Returning to the operations of the flowchart 200 of
The energy function can represent the objective function that is being optimized. In some embodiments, the energy function can be a measure of the fitness of a given solution (i.e., a partition and the linear fit of the underlying partition). For example, the energy of each solution can be assessed in terms of the quality of the solution obtained from the constrained robust fit (e.g., the weighted norm of the residuals). In some embodiments, the quality of the solution will increase as the value output by energy function decreases. For instance, the optimal value of the energy function may arbitrarily approach zero to indicate gradients that fit with minimum error i.e., low measurement noise. An example constrained robust fit is further described below in reference to block 206. In some embodiments, the energy function, represented by Ew,P (using Equations 1 and 2 below) can be defined as:
Where x is a vector of measured depths, y is a vector of measured pressures, m is a vector of predicted gradient slopes, b is a vector of predicted gradient offsets, P is a given depth partitioning, W is a diagonal matrix defining residual weights, C(x, P) is a matrix used for pressure reconstruction, ŷ is a vector of reconstructed pressures, and Ew,P(m,b) is the energy of a given solution specified via m, b, W, and P.
The simulated annealing process may be able to determine globally optimal solutions by performing guided random exploration of the solution space that may render it unsusceptible to local optimality. In some instances, a random state within the defined state space may be selected as the initial state. The simulated annealing process may then iteratively migrate from one state to a neighboring state. Next, the simulated annealing process may accept solutions with an energy that is worse (i.e., larger) than the energy of the current state. The extent of how much worse a solution's energy may be acceptable can be made variable in terms of the notion of a temperature schedule. A maximum number of annealing iterations may be defined. In some embodiments, the maximum number of iterations may be manually defined. For example, the maximum number of iterations can be 5, 100, 1000, etc. In some embodiments, a decaying temperature function, represented by T(c), Ts, and Tf (using Equations 3, 4, and 5 below, respectively) over such an iteration range may be defined as follows:
Where maxiter is the maximum number of annealing iterations, c is the annealing iteration index, a is a constant, Δ is a constant representing the maximum expected energy differential over any neighborhood, Ps is the initial probability of acceptance for worse solutions, Pf is the final probability of acceptance for worse solutions, Ts is the starting temperature, Tf is the final temperature, T(c) is the temperature at iteration c. During the early portion of the temperature curve, the simulated annealing process may heavily encourage acceptance of severely worse (i.e., worse fit) solutions than the solution of the current state. In some embodiments, this may be known as the exploration stage of the simulated annealing process. Progressively, as the temperature drops off, exploration may be less encouraged, tying subsequent transitions to mostly solution exploitation.
In some embodiments, state transition is in part governed by a neighbor function. In some implementations, the neighbor function, represented by neighbor(p) (using Equation 6 below), can be defined as follows:
neighbor(p)sort(p+r) (6)
Where p is the ordered boundary vector representing depth partition and r is a random integer vector within a sufficiently small ball. Given a particular state (i.e., partitioning), the neighbor function may determine at random a new state deemed a neighboring state.
In some embodiments, given the current state and a suggested new state (i.e., the new state determined by the neighbor function), the transition probability function may assign a probability of acceptance of the new state based on the current temperature value and the energy differential between the two underlying states. The transition can then be taken according to the assigned probability. In some embodiments, if the energy of the new solution is greater than or equal to the energy of the current solution, then the transition probability function, represented by P (using Equation 7 below) can be defined as follows:
Where Ecurr is the energy of current solution, Enew is the energy of new solution, Tcurr is the current temperature, and P(Tcurr, Ecurr, Enew) is the transition probability. In some embodiments, if the energy of the new solution is less than the energy of the current solution, than the transition probability can be 1 since finding an optimal solution requires minimizing the energy function.
At block 206, a fitting operation is performed to determine the fluid gradient for each of the number of fluid depth ranges identified in the underlying partition. For example, with reference to
For example, there may be a priori physical constraints that govern fluid gradients when viewed as a pressure function of depth. Example types of constraints include, but are not limited to, allowable slope ranges for each reservoir fluid type and inter-gradient constraints. To help illustrate, Table 1 below depicts example allowable slope ranges of fluid gradients.
In some embodiments, reservoir fluids may be categorized into fluid types such as gas, oil, and water. For instance, with reference to
In some embodiments, there may be constraints that govern multiple fluid gradients simultaneously. For example, in a continuous gradient profile setting (i.e., the subsurface formation(s) in the sampling depth range are fluid bearing), a constraint can be that fluid gradients increase in depth. For instance, a reservoir fluid at a deeper depth must have a slope greater than that of a reservoir fluid at a shallower depth. As another example, for any two intersecting fluid gradients (i.e., in contact), a constraint can be that fitted reconstructions of pressure measurements belonging to each gradient should lie in the upper halfspace with respect to the other gradient.
For example,
mi<mi+1∀i (8)
m
i
x
j
+b
i
≥m
i+1
x
j
+b
i+1
∀i, ∀j∈P
i (9)
m
i+1
x
j
+b
i+1
≥m
i
x
j
+b
i
∀i, ∀j∈P
i+1 (10)
Where i is the fluid index increasing with depth, x is a vector of measured depths, m is a vector of gradient slopes to be solved for, b is a vector of gradient offsets to be solved for, and Pi is a subset in partition P of index i.
In alternative embodiments, increasing-slope constraints for continuous fluids may be augmented by additional continuity constraints such as sufficient slope difference between consecutive gradients over specific slope ranges (e.g., a difference in the slope between at least two consecutive continuous-gradients is greater than a threshold), or slope range exclusivity constraints (e.g., no two consecutive gradients may be simultaneously in any of pre-defined slope intervals).
A constrained robust fit of each fluid depth range in the underlying partitioning may be based on the constraints. The constrained robust fit may be characterized as an iterated sequence of constrained weighted least squares problem. In the first iteration, a standard least squares may be solved subject to the required constraints. Residuals may then be analyzed, and a respective set of weights may be generated based on a weight function, represented below by bisquare(.), that may be inversely proportional to the residuals (see Equations 11-12 below). For example, with reference to
Where tuning is a tuning constant, residuals is a set of constrained fit residuals, r is an individual residual, cutoff is a cutoff value used in weight function, and bisquare(.) is a weight function.
Such a constrained robust fit may be adequate for a number of datasets of pressure-depth measurement pairs with the exception of those exhibiting a significant outlier presence particularly where the noise distribution may be right-skewed. If there is a significant outlier presence with right skewness (e.g., with reference to
cutoff+tuning+*median(abs (residuals)) (13)
cutoff−tuning−*median(abs (residuals)) (14)
w+(bisquare(r+, cutoff+)|r+≥0) (15)
w−(bisquare(r−, cutoff−)|r−<0) (16)
Where tuning+ is a tuning constant for positive residuals, tuning− is a tuning constant for negative residuals, cutoff+ is a cutoff value for positive residuals, cutoff− is a cutoff value for negative residuals, w+ is a weight vector for positive residuals, and w− is a weight vector for negative residuals.
Some embodiments may prefix tuning− to a default value while tuning+ is optimized so as to satisfy a predefined target error. To help illustrate, Table 2 below depicts an example pseudocode for optimizing tuning+.
Where g is evaluates the difference between the achieved error and the target error as a function of the tuning parameter, tuning+. The root of g(.) (see step 8 of the pseudocode in Table 2) can be determined using different techniques. One example technique for determining the root of g(.) can include the pseudocode depicted in Table 3 below for the Regula Falsi method of root finding as one familiar with the literature would appreciate.
The subsurface formations in the sampling depth interval may comprise both continuous and discontinuous (i.e., non-fluid-bearing or a barrier) subsurface formations. For instance, with reference to
In some embodiments, discontinuous subsurface formations do not adhere to the same constraints mentioned above. Determination of a fluid gradient of a reservoir fluid of a fluid depth range that follows a discontinuous subsurface formation may be observed as a fluid gradient that is “right-shifted” (i.e., having an offset term that is lower than what it would have been had there not been a discontinuity). As such, both forms of inter-gradient constraints (e.g., the increasing slope inter-gradient constraint and the halfspace-related inter-gradient constraint) may need to be appropriately accommodated when a discontinuity can be recognized.
The hybrid continuous-discontinuous gradient profile problem may be formulated via the incorporation of at least one additional parameter for each fluid gradient. Hence, in addition to the slope and offset terms, each fluid gradient may also be parameterized via a binary shift parameter. The increasing-slope and the halfspace-related inter-gradient constraints may be relaxed when there is a discontinuous subsurface formation between continuous subsurface formations (i.e., subsurface formation 174 and in between subsurface formations 172, 176). Such relaxations may be achieved via solving for the binary shift values wherein a value of 1 indicates a need for constraint relaxation (and thus recognizing a discontinuity) and zero indicating fluid continuity.
Thus, in some embodiments, the constrained robust fit algorithm for determining fluid gradients in a sampling depth range with a discontinuous configuration may begin by first performing a constrained robust fit with the additional shift parameters by relaxing the inter-gradient constraints governing fluids that are in contact. The fitting error may be obtained from such a problem subject to shift corrections. Next, a second problem may be formulated where the same adapted constraints are used. A new constraint can be added on the fitting error to be bounded by the error obtained in the preceding problem, and a new optimization objective of minimizing the number of required fluid gradient shifts. Such an objective may be in line with the minimum description length (“MDL”) principle (e.g., simplest explanation or Occam's Razor).
At block 208, a determination is made of whether a required number of partitions of the pressure-depth measurement pairs have been exhausted. For example, the sample depth range can be partitioned again, via a meta-heuristic process, to determine different fluid depth ranges in the pressure-depth measurement pairs (204) and the fitting operation can be performed on the new fluid depth ranges (206). Operations described in blocks 204 and 206 may be repeated until approximately all possible fluid depth ranges and associated fluid gradients have been determined. Each of the possible fluid depth ranges and associated fluid gradients may be a solution.
At block 210, the solution set is pruned to identify optimal solutions. For example, with reference to
At block 212, the interpretation uncertainty of the solution set is determined. For example, with reference to
At block 214, a determination is made of whether an interpretation uncertainty threshold has been exceeded. For example, with reference to
At block 216, at least one new depth within the sampling depth range is determined, based on the uncertainty, to measure the pressure at the associated depth. For example, with reference to
At block 218, pressure is sampled in the subsurface formation at the at least one new depth to generate at least one new pressure-depth measurement pair. For example, with reference to
These operations can be repeated until the interpretation uncertainty threshold is not exceeded (at block 212). If the interpretation uncertainty threshold is not exceeded, operations of the flowchart 200 continue at block 220.
At block 220, the reservoir architecture is determined based on the solution set. For example, with reference to
In some implementations, the determined reservoir architecture can be used to perform and/or update different downhole operations. To illustrate,
At block 602, the presence and volume of reservoir fluid at at least one depth within the sampling depth range is determined based on the reservoir architecture. For example, with reference to
At block 604, it is determined if downhole operations need to be updated based on the determined presence and volume of reservoir fluid. For example, with reference to
At block 606, downhole operations are updated based on the determined presence and volume of reservoir fluid. For example, with reference to
The flowcharts are provided to aid in understanding the illustrations and are not to be used to limit scope of the claims. The flowcharts depict example operations that can vary within the scope of the claims. Additional operations may be performed; fewer operations may be performed; the operations may be performed in parallel; and the operations may be performed in a different order. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by program code. The program code may be provided to a processor of a general-purpose computer, special purpose computer, or other programmable machine or apparatus.
As will be appreciated, aspects of the disclosure may be embodied as a system, method or program code/instructions stored in one or more machine-readable media. Accordingly, aspects may take the form of hardware, software (including firmware, resident software, micro-code, etc.), or a combination of software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” The functionality presented as individual modules/units in the example illustrations can be organized differently in accordance with any one of platform (operating system and/or hardware), application ecosystem, interfaces, programmer preferences, programming language, administrator preferences, etc.
Any combination of one or more machine-readable medium(s) may be utilized. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable storage medium may be, for example, but not limited to, a system, apparatus, or device, that employs any one of or combination of electronic, magnetic, optical, electromagnetic, infrared, or semiconductor technology to store program code. More specific examples (a non-exhaustive list) of the machine-readable storage medium would include the following: a portable computer diskette, a hard disk, a random-access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a machine-readable storage medium may be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable storage medium is not a machine-readable signal medium.
A machine-readable signal medium may include a propagated data signal with machine readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A machine-readable signal medium may be any machine-readable medium that is not a machine-readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a machine-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as the Java® programming language, C++ or the like; a dynamic programming language such as Python; a scripting language such as Perl programming language or PowerShell script language; and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on a stand-alone machine, may execute in a distributed manner across multiple machines, and may execute on one machine while providing results and or accepting input on another machine.
The program code/instructions may also be stored in a machine-readable medium that can direct a machine to function in a particular manner, such that the instructions stored in the machine-readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
While described in reference to the example wireline system depicted in
A logging tool 726 can be integrated into the bottom-hole assembly near the drill bit 714. As the drill bit 714 extends the wellbore 716 through the formations 718, the bottom-hole assembly can determine pressure measurements at different depths (as described herein). The logging tool 726 may take the form of a drill collar (i.e., a thick-walled tubular that provides weight and rigidity to aid the drilling process). The logging tool 726 can also include one or more navigational packages for determining the position, inclination angle, horizontal angle, and rotational angle of the tool. Such navigational packages can include, for example, accelerometers, magnetometers, and/or sensors.
For purposes of communication, a downhole telemetry sub 728 can be included in the bottom-hole assembly to transfer measurement data to a surface receiver 730 and to receive commands from the surface. Mud pulse telemetry is one common telemetry technique for transferring tool measurements to surface receivers and receiving commands from the surface, but other telemetry techniques can also be used. In some embodiments, the telemetry sub 728 can store logging data for later retrieval at the surface when the logging assembly is recovered.
At the surface, the surface receiver 730 can receive the uplink signal from the downhole telemetry sub 728 and can communicate the signal to a data acquisition module 732. The data acquisition module 732 can include one or more processors, storage mediums, input devices, output devices, software, etc. The data acquisition module 732 can collect, store, and/or process the data received from the logging tool 726 (as described herein).
Although
The computer 800 also includes a signal processor 811 and a controller 815. The signal processor 811 and the controller 815 can perform one or more of the operations described herein. For example, the signal processor 811 can process the pressure/depth pairs to partition the pressure/depth pairs into fluid depth ranges and determine the fluid gradients of the respective fluid depth ranges. The controller 815 can perform various control operations to a wellbore operation based on the output from the signal processor 811. For example, the controller 815 can modify a completion operation based on the simulations.
Any one of the previously described functionalities may be partially (or entirely) implemented in hardware and/or on the processor 801. For example, the functionality may be implemented with an application specific integrated circuit, in logic implemented in the processor 801, in a co-processor on a peripheral device or card, etc. Further, realizations may include fewer or additional components not illustrated in
While the aspects of the disclosure are described with reference to various implementations and exploitations, it will be understood that these aspects are illustrative and that the scope of the claims is not limited to them. In general, techniques for simulating drill bit abrasive wear and damage during the drilling of a wellbore as described herein may be implemented with facilities consistent with any hardware system or hardware systems. Many variations, modifications, additions, and improvements are possible.
Plural instances may be provided for components, operations or structures described herein as a single instance. Finally, boundaries between various components, operations and data stores are somewhat arbitrary, and particular operations are illustrated in the context of specific illustrative configurations. Other allocations of functionality are envisioned and may fall within the scope of the disclosure. In general, structures and functionality presented as separate components in the example configurations may be implemented as a combined structure or component. Similarly, structures and functionality presented as a single component may be implemented as separate components. These and other variations, modifications, additions, and improvements may fall within the scope of the disclosure.
Embodiment #1: A method comprising: receiving a measurement of a pressure in a subsurface formation at a number of depths in a wellbore formed in the subsurface formation across a sampling depth range of the subsurface formation to generate a number of pressure-depth measurement pairs; partitioning the sampling depth range into a number of fluid depth ranges, wherein each of the number of fluid depth ranges comprises a range where a type of reservoir fluid is present in the subsurface formation; performing a fitting operation over each of the number of fluid depth ranges to determine a fluid gradient for the type of the reservoir fluid for each of the number of fluid depth ranges; and generating a solution set of one or more solutions based on the fluid gradient of the reservoir fluid for each of the number of fluid depth ranges determined from performing the fitting operation, wherein each solution defines a partitioning of the sampling depth range into the number of fluid depth ranges and the fluid gradient of each of the number of fluid depth ranges.
Embodiment #2: The method of Embodiment #1, wherein partitioning the sampling depth range into the number of fluid depth ranges comprises performing a meta-heuristic method.
Embodiment #3: The method of one or more of Embodiment #1 or #2, further comprising: determining a reservoir architecture across the sampling depth range based on at least one of the fluid gradient for the type of the reservoir fluid for each of the number of fluid depth ranges defined by at least one solution of the solution set and a fluid barrier in the subsurface formation.
Embodiment #4: The method of Embodiment #3, further comprising performing a downhole operation in the wellbore based on the reservoir architecture.
Embodiment #5: The method of one or more of Embodiments #1-4, further comprising: determining an uncertainty of the solution set; and determining, based on the uncertainty, at least one new depth within the sampling depth range to determine the pressure.
Embodiment #6: The method of Embodiment #5, further comprising: receiving a measurement of a pressure in the subsurface formation at the at least one new depth to generate at least one new pressure-depth measurement pair.
Embodiment #7: The method of one or more of Embodiments #1-6, further comprising: pruning the solution set to remove at least one solution from the solution set.
Embodiment #8: The method of one or more of Embodiments #1-7, wherein performing the fitting operation comprises performing a linear fit over each of the number of fluid depth ranges to determine a fluid gradient for the type of the reservoir fluid for each of the number of fluid depth ranges.
Embodiment #9: The method of Embodiment #8, wherein performing the linear fit comprises performing the linear fit having a constraint that constrains an allowable range for a gradient slope of the linear fit based on the type of reservoir fluid.
Embodiment #10: The method of Embodiment #8, wherein performing the linear fit comprises performing the linear fit having at least one constraint that is defined across more than one fluid gradient.
Embodiment #11: The method of Embodiment #10, wherein the at least one constraint includes that a gradient slope of the linear fit is to increase with a depth of the wellbore, that a difference in a slope between at least two consecutive continuous-gradients is greater than a threshold, and that a slope of at least two consecutive gradients is not equal.
Embodiment #12: A system comprising: a sensor to measure a pressure in a subsurface formation at a number of depths in a wellbore formed in the subsurface formation across a sampling depth range of the subsurface formation to generate a number of pressure-depth measurement pairs; a processor; and a computer-readable medium having instructions stored thereon that are executable by the processor to cause the processor to, partition the sampling depth range into a number of fluid depth ranges, wherein each of the number of fluid depth ranges comprises a range where a type of reservoir fluid is present in the subsurface formation; perform a fitting over each of the number of fluid depth ranges to determine a fluid gradient for the type of the reservoir fluid for each of the number of fluid depth ranges; and generate a solution set of one or more solutions based on the fluid gradient of the reservoir fluid for each of the number of fluid depth ranges determined from performing the fitting, wherein each solution defines a partitioning of the sampling depth range into the number of fluid depth ranges and the fluid gradient of each of the number of fluid depth ranges.
Embodiment #13: The system of Embodiment #12, wherein the instructions that are executable by the processor to cause the processor to partition the sampling depth range into the number of fluid depth ranges comprises instructions that are executable by the processor to cause the processor to perform a simulated annealing.
Embodiment #14: The system of one or more of Embodiment #12 or #13, wherein the instructions comprise instructions that are executable by the processor to cause the processor to determine a reservoir architecture across the sampling depth range based on at least one of the fluid gradient for the type of the reservoir fluid for each of the number of fluid depth ranges defined by at least one solution of the solution set and a fluid barrier in the subsurface formation.
Embodiment #15: The system of one or more of Embodiment #12-14, wherein the instructions comprise instructions that are executable by the processor to cause the processor to, determine an uncertainty of the solution set; and determine, based on the uncertainty, at least one new depth within the sampling depth range to determine the pressure, wherein the sensor is to measure a pressure in the subsurface formation at the at least one new depth to generate at least one new pressure-depth measurement pair.
Embodiment #16: The system of one or more of Embodiments #12-15, wherein the instructions that are executable by the processor to cause the processor to perform the fitting comprises instructions that are executable by the processor to cause the processor to perform a linear fit over each of the number of fluid depth ranges to determine a fluid gradient for the type of the reservoir fluid for each of the number of fluid depth ranges.
Embodiment #17: The system of Embodiment #16, wherein the instructions that are executable by the processor to cause the processor to perform the linear fit comprises instructions that are executable by the processor to cause the processor to perform the linear fit having a constraint that comprises at least one of a constraint of an allowable range for a gradient slope of the linear fit based on the type of reservoir fluid, a constraint that is defined across more than one fluid gradient, and a constraint that the gradient slope of the linear fit is to increase with a depth of the wellbore.
Embodiment #18: A non-transitory, computer-readable medium having instructions stored thereon that are executable by a processor to perform operations comprising: receiving a measurement of a pressure in a subsurface formation at a number of depths in a wellbore formed in the subsurface formation across a sampling depth range of the subsurface formation to generate a number of pressure-depth measurement pairs; partitioning the sampling depth range into a number of fluid depth ranges, wherein each of the number of fluid depth ranges comprises a range where a type of reservoir fluid is present in the subsurface formation; performing a fitting operation over each of the number of fluid depth ranges to determine a fluid gradient for the type of the reservoir fluid for each of the number of fluid depth ranges; and generating a solution set of one or more solutions based on the fluid gradient of the reservoir fluid for each of the number of fluid depth ranges determined from performing the fitting operation, wherein each solution defines a partitioning of the sampling depth range into the number of fluid depth ranges and the fluid gradient of each of the number of fluid depth ranges.
Embodiment #19: The non-transitory, computer-readable medium of Embodiment #18, wherein performing the fitting operation comprises performing a linear fit over each of the number of fluid depth ranges to determine a fluid gradient for the type of the reservoir fluid for each of the number of fluid depth ranges.
Embodiment #20: The non-transitory, computer-readable medium of Embodiment #19, wherein performing the linear fit comprises performing the linear fit having a constraint that comprises at least one of, a constraint of an allowable range for a gradient slope of the linear fit based on the type of reservoir fluid; a constraint that is defined across more than one fluid gradient; and a constraint that the gradient slope of the linear fit is to increase with a depth of the wellbore.
Use of the phrase “at least one of” preceding a list with the conjunction “and” should not be treated as an exclusive list and should not be construed as a list of categories with one item from each category, unless specifically stated otherwise. A clause that recites “at least one of A, B, and C” can be infringed with only one of the listed items, multiple of the listed items, and one or more of the items in the list and another item not listed.