The operation of an oil and gas production unit involves making various decisions which affect the production volume and the quality of the blend produced. There are different approaches to gas blend optimization. While some existing approaches seek to enhance a current production, they cannot be used to optimize future targets before putting wells on production, or for planning special production scenarios beforehand.
Accordingly, there exists a need for a system and method that optimizes the quality of the final sales gas prior to putting the wells on production.
This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter.
In one aspect, embodiments disclosed herein relate to a system for gas blend optimization. The system includes an analytical module equipped to obtain well data from a plurality of wells within a geographical region of interest and one or more computer processors and a non-transitory computer-readable medium having executable instructions encoded thereon such that when executed, the one or more processors perform multiple operations. The operations include obtaining a target rate for one or more parameters of interest in a desired gas blend and obtaining data related to the one or more parameters of interest for each well of a plurality of wells within the geographical region of interest. Based on the obtained data, an effect of each well's contribution to the one or more parameters of interest in the total gas produced at a gas processing facility is determined. Based on the identified effect of each well, a list of wells in the plurality of wells is selected. Finally, the one or more parameters of interest in the total gas produced are optimized until the assigned target rate is met by adjusting a well gas rate for each well in a list of wells based on their effects on the total gas produced.
In another aspect, embodiments disclosed herein related to a computer implemented method and a computer readable program. The computer readable program includes computer-readable instructions stored on a non-transitory computer-readable medium that are executable by a computer having one or more computer processors, such that upon execution of the instructions, the one or more computer processors perform the operations listed herein. The computer implemented method includes an act of causing a computer to execute such instructions and perform the resulting operations.
Other aspects and advantages of the claimed subject matter will be apparent from the following description and the appended claims.
Specific embodiments of the disclosed technology will now be described in detail with reference to the accompanying figures. Like elements in the various figures are denoted by like reference numerals for consistency. This disclosed technology may, however, be embodied in many different forms and should not be construed as limited to the implementations set forth herein. The components described hereinafter as making up various elements of the disclosed technology are intended to be illustrative and not restrictive. Many suitable components that would perform the same or similar functions as components described herein are intended to be embraced within the scope of the disclosed electronic devices and methods. Such other components not described herein may include, but are not limited to, for example, components developed after development of the disclosed technology.
In the following detailed description of embodiments of the disclosure, numerous specific details are set forth in order to provide a more thorough understanding of the disclosure. However, it will be apparent to one of ordinary skill in the art that the disclosure may be practiced without these specific details. In other instances, well-known features have not been described in detail to avoid unnecessarily complicating the description.
Throughout the application, ordinal numbers (e.g., first, second, third, etc.) may be used as an adjective for an element (i.e., any noun in the application). The use of ordinal numbers is not to imply or create any particular ordering of the elements nor to limit any element to being only a single element unless expressly disclosed, such as using the terms “before”, “after”, “single”, and other such terminology. Rather, the use of ordinal numbers is to distinguish between the elements. By way of an example, a first element is distinct from a second element, and the first element may encompass more than one element and succeed (or precede) the second element in an ordering of elements.
It is also to be understood that the mention of one or more method steps does not preclude the presence of additional method steps or intervening method steps between those steps expressly identified. Similarly, it is also to be understood that the mention of one or more components in a device or system does not preclude the presence of additional components or intervening components between those components expressly identified. Further, steps of the method may be performed in parallel or in sequence, and steps may be omitted or added without departing from the scope herein.
In one aspect, embodiments disclosed herein relate to a system and method for optimizing a gas blend based on a criterion defined by the user. A typical refinery has many different hydrocarbon streams to consider as blend stocks. Gasoline may be blended to meet multiple different quality specifications, such as vapor pressure; initial, intermediate, and final boiling points; carbon dioxide (CO2) content, sulfur (e.g., hydrogen sulfide (H2S)) content, chloride content, nitrogen gas (N2+) content; color; stability; aromatics content; olefin content; octane measurements; and other local governmental or market restrictions.
The system and method described herein ensures operational limits are met while minimizing the impact of undesired levels of certain parameters by analyzing the performance of each well based on an assigned well target. A well target is the availed gas production that needs to be met in a specified month. The target may be adjusted for various reasons, including energy demand or a change in reservoir depletion strategy. The assigned rate per well is related directly to the depletion strategy of the field and may vary in rate from thousands of cubic feet of gas to millions of cubic feet of gas per day. Furthermore, certain processes in gas separation units require having a specific CO2/H2S ratio. A significant deviation from a specific ratio may affect the integrity of the equipment. Additionally, maintaining specific levels of parameters, such as H2S and CO2, in the blended gas is essential for environmental, operational, and health reasons.
The system and method according to embodiments of the present disclosure generates an optimized gas blend that meets a specified target that may be set by a user. The optimized gas blend is generated by automatically altering the assigned target of the wells with minimum user interaction so that the rates of all wells (i.e., total well rate) may be adjusted. This adjustment is determined based on the control and measurements of the raw gas at both the well level and the gas plant level, as described in detail below. The final gas blend is optimized by a wide range of parameters that include, but are not limited to, CO2, H2S, chloride, and N2+.
The system may also include multiple well environments (e.g., well environment A (112), well environment B (114)) in a geographical region of interest near the gas processing facility (102), which may be similar to the well environment described below in
The well log data (120) may include any data related to visual observations while drilling or data generated by instruments lowered into the well during drilling. Well log data (120) is used to measure, for instance, depths of formation tops, thickness of formations, porosity, water saturation, temperature, estimated permeability, and presence of oil and/or gas.
The gas blend optimizer (116) may include hardware and/or software with functionality for generating one or more machine learning models (122) using the machine learning algorithms (118). Thus, different types of machine-learning models may be trained, such as convolutional neural networks, deep neural networks, recurrent neural networks, support vector machines, decision trees, inductive learning models, deductive learning models, supervised learning models, unsupervised learning models, reinforcement learning models, etc. In some embodiments, two or more different types of machine-learning models are integrated into a single machine-learning architecture, e.g., a machine learning model may include decision trees and neural networks. In some embodiments, the gas blend optimizer (116) may generate augmented or synthetic data to produce a large amount of interpreted data for training a particular model.
The well sample data obtained at the surface and sensor data may then be analyzed on a gas-chromatograph equipped with a mass-spectrometer (210), and processing may be performed at a processing module (212). The processing module (212) may be implemented in hardware (i.e., circuitry), software, or any combination thereof. In one embodiment, the GC-MS (210) is a triple quadrupole mass spectrometer, or GC-MS-QQQ. The GC-MS-QQQ is a tandem mass spectrometer consisting of two quadrupole mass analyzers in series with a radio frequency (RF)-only quadrupole between them to act as a cell for collision-induced dissociation. The GC-MS-QQQ allows for increased sensitivity and specificity, resulting in lower detection and quantitation limits. As can be appreciated by one skilled in the art, analysis equipment other than GC-MS may be utilized to analyze well and gas data.
Referring again to
Referring to
The gas blend optimization workflow according to embodiments of the present disclosure comprises multiple steps. In an initial step, the system performs data importing and linking, as described above. The data that is imported may be well log data (120), data from the processing module (212), or data from an external source (e.g., database). An optimization method is selected to adjust the target rates for all wells within a gas processing plant, or for wells sharing a common factor (e.g., gas gathering manifold). Many optimization methods are available to one of ordinary skill in the art for optimizing the target rates. Non-limiting examples of optimization methods include the steepest decent method, the stochastic gradient descent method, the nonlinear conjugate gradient method, the Broyden-Fletcher-Goldfarb-Shannon (BFGS) method, the limited-memory BFGS method, and simulated annealing.
The optimization method may be any suitable method ranging from a simple logical iteration that ensures the stability of a well to a more sophisticated approach depending on the parameter being optimized and the fields located in the area. Here, area refers to a well environment, as depicting in
Next, constraints are set for the system described here. The constraints may be manually input by a user, as described above, or automatically set based on a set of predetermined criteria. Non-limiting examples of constraints include maximum allowable gas rate, minimum pressure required for each well, and maximum water-gas ratio. In a next step, mole percentages of parameters of interest total of original blend (current production or original targets) are determined. This is also referred to as the weighted average total or blend total parameter. The goal is to identify the effect of each parameter of interest, or byproduct, at an individual well level. The calculation is performed as follows:
The following is an example of calculation of the blend total parameter in a three well system having the following parameters.
Total Gas Rate=500+200+300=1,000 MSCFD (thousand standard cubic feet per day)
Non-limiting examples of parameters of interest include CO2, H2S, and chloride.
Subsequently, a correction factor is calculated for each well as follows:
Thus, assuming an actual H2S at the gas processing facility is 1%, the correction factor would be determined as follows:
The correction factor is applied immediately after calculation of the blend total parameter in equation (1) to adjust for the well level percentage of parameters, or byproducts. The correction is needed since the well level mole percentage is taken at different operating conditions (e.g., pressure and temperature) than what is operated at the gas processing plant level, which is the gathering point for the produced gas. The actual current parameter total value in equation (2) is the actual reading of the value being optimized at the gas plant for the entire gas blend (total gas production), whereas the estimated calculated parameter total in equation (2) is the calculated value from the well-by-well level as determined in equation (1).
Following the adjustment based on the determined correction factors, the system described herein sorts wells in a descending order list based on their contribution to the selected parameter's total. A wells count is identified and the first well in the list is selected. The system checks if the selected well meets the constraints criteria. If it does not, the next well in the list is selected. If the well does meet the constraints criteria, a rate is adjusted by increasing it some determined unit (e.g., rate=rate+1). The rate that is being adjusted is the raw gas rate of a single well that is measured in standard cubic feet of gas (thousands or millions). The rate adjustment is not limited to a specific value or unit, and 1 is used throughout this disclosure for illustration purposes only. The wells are then sorted in an ascending order based on their contribution to the parameter's total. The first well in that list is selected, and the system determines whether the selected well meets the constraints criteria. If not, the next well is selected from the list. If the well selected does meet the constraints criteria, then the rate is adjusted by decreasing it by the same value/unit as it was increased by previously (e.g., rate=rate−1).
Next, the new parameter total is calculated. The new parameter total is the well level total after adjustment (i.e., increase or decrease in raw gas rate). If the target is not achieved, the system selects the next top well contributor and proceeds to checking if the selected well meets the constraints criteria and continues the process from there. The “target” is the targeted amount of additional sales gas that is being demanded or the amount of gas that is required for optimization. The gas blend may be an addition to the originally allocated gas for each day, or a portion of the original gas that need to be optimized. In the optimization system/workflow depicted in
A well count is then identified and the top contributing well in the list (i=1) is selected (Block 412). Once selected, the system according to embodiments of the present disclosure determines whether the top well (i=1) meets the constraints criteria (Block 414). If not, the system moves on to the next well in the list (i=i+1) (Block 416). If it does meet the criteria, the rate (i.e., the rate of raw gas production per well) is adjusted (Block 418). In one embodiment, the rate is decreased by one unit (i.e., rate=rate−1). Following the rate adjustment (Block 418), the system described herein then sorts wells in ascending order (or descending if ascending order was used first) according to each well's contribution to the weighted average total (Block 420). In Block 422, the lowest contributing well in the list is identified. Once identified, the system according to embodiments of the present disclosure determines whether the lowest contributing well (i=1) meets the constraints criteria (Block 424). If not, the system moves on to the next well in the list (i=i+1) (Block 426). If it does meet the criteria, then the rate is adjusted (Block 428). In one embodiment, the rate is increased by one unit/value (i.e., rate=rate+1). The order of increasing or decreasing the unit/value as adjustment is not critical. In other words, the rate may be increased first, then decreased, or decreased first, then increased. Significantly, it is critical to adjust the gas blend in both directions (increase and decrease) a certain volume to be consistent. For example, the rate of a Well A may be increased if it is determined that it helps in achieving the desired optimization outcome. Since the total gas rate needs to remain fixed, a Well B is identified in another sorting/listing to be reduced by the same amount as the increase in A, as its current rate does not help in meeting the desired optimization outcome.
Using the new rates, the system described herein calculates a new weighted average total for the wells (Block 430). The system then determines if the target has been met (Block 432). If not, the method returns to the first sorting of wells by contribution percentage (Block 410). If the target has been met, then the algorithm stops and a new optimized list is exported (Block 434). The new optimized list includes the list of wells that may be utilized for adjusting the gas blend to the specifications needed. Once generated, the list may then be shared with field operators who may ensure each well meets its new well rate. The generated list may be shared via a multitude of methods, including, but not limited to, an electronic transmission via text message and/or email, or a visual notification to a display utilized by field operators.
The total amount of gas production is optimized by either increasing or decreasing the rates of sub-wells (corresponding to a list of wells for optimizing) that are located in each area. Referring to
In one or more embodiments, a comparison may be generated of previous (or current) values for a parameter being optimized in a sales gas versus the new values following the optimization process described herein. In its raw state, natural gas cannot be sold and, therefore, must be processed to meet certain specifications for sales gas. Sales gas is processed to remove liquified petroleum gas, condensate, and CO2. Sales gas typically consists mainly of methane and ethane. Non-limiting examples of specifications for sales gas include a maximum hydrocarbon dewpoint temperature at a pressure of 800 pound-force per square inch in relation to atmospheric pressure (psig), a maximum allowable CO2 content, a maximum allowable H2S content and total organic sulfur content, a maximum allowable water-vapor content, a maximum allowable temperature of gas leaving the gas processing plant, a minimum pressure to enter a gas transmission grid, and a minimum heating value. Each of these specifications may be used as parameters for optimization using the present invention. For example, the percent CO2 in an original sales gas may be compared with the percent CO2 in an adjusted sales gas using the system and method according to embodiments of the present disclosure. A visual output (or result), such as a graph or table, may be generated to allow a user to assess and quantify the change in the parameter being optimized (e.g., CO2). Additionally, this type of summary provides a way to ensure that the additional gas is being optimized as intended.
Additionally, in one or more embodiments, the system described herein is configured to predict the overall blend outcome at the plant level. The gas optimization method described is used to optimize gas byproducts, such as CO2, H2S, N2+, from the source (i.e., untreated gas production) by identifying the effect of each byproduct at an individual well level. From that information, the gas optimization system determines which wells to utilize for adjusting the gas blend, and a future estimation is generated prior to implementation. Future estimation is used to determine the effect of adjusting the blend prior to actual implementation. The prediction of the parameter of interest is determined by the weighted average method of equation (1) described above. The selection of wells is controlled by a set of well level constraints (e.g., maximum surface pressure, maximum gas rate) to maintain the well health conditions.
One or more embodiments of the invention described herein may be implemented on a computing system. Any combination of mobile, desktop, server, router, switch, embedded device, or other types of hardware may be used.
The computing system (600) may also include one or more input device(s) (608), such as a camera, imager, touchscreen, keyboard, mouse, microphone, touchpad, electronic pen, or any other type of input device. Further, the computing system (600) may include one or more output device(s) (610), such as a screen (e.g., a liquid crystal display (LCD), a plasma display, touchscreen, cathode ray tube (CRT) monitor, or other display device), a printer, external storage, or any other output device. One or more of the output device(s) may be the same or different from the input device(s). The computing system (600) may be connected to a network (612) (e.g., a local area network (LAN), a wide area network (WAN) such as the Internet, mobile network, or any other type of network) via a network interface connection (not shown). The input and output device(s) may be locally or remotely (e.g., via the network (612)) connected to the computer processor(s) (602), memory (604), and storage device(s) (606). Many different types of computing systems exist, and the aforementioned input and output device(s) (608), (610) may take other forms.
Further, one or more elements of the computing system (600) may be located at a remote location and be connected to the other elements over a network (612). Further, one or more embodiments may be implemented on a distributed system having a plurality of nodes, where each portion of the embodiment may be located on a different node within the distributed system. In one embodiment, the node corresponds to a distinct computing device. In other embodiments, the node may correspond to a computer processor with associated physical memory. In yet other embodiments, the node may correspond to a computer processor or micro-core of a computer processor with shared memory and/or resources.
Software instructions in the form of computer readable program code to perform embodiments of the disclosure may be stored, in whole or in part, temporarily or permanently, on a non-transitory computer readable medium such as a CD, DVD, storage device, a diskette, a tape, flash memory, physical memory, or any other computer readable storage medium. Specifically, the software instructions may correspond to computer readable program code that, when executed by a processor(s), is configured to perform one or more embodiments of the disclosure.
The gas optimization system and method described herein has several advantages, such as the ability to optimize a gas blend instantaneously (i.e., within seconds). In contrast, existing technologies are very time consuming. Additionally, since less interaction is required by a user compared to existing technologies, there is an increase in productivity, an increase in accuracy, and less human error in optimizing the gas blend. Furthermore, the invention according to embodiments of the present disclosure may ensure compliance of several objectives in one run, such as operational limitations and sales gas specifications. For instance, while one parameter may be the focus of the optimization, the constraints set by a user prior to the optimization ensure the operational limitations are met. Non-limiting examples of operational limitations include ensuring the selection of only stable wells which do not shut down unintentionally and minimizing water production from wells to avoid future issues that may negatively impact operation. Additionally, unlike existing methods which have limited optimization for maximizing only production, the gas optimization system and method described herein may be utilized to enhance the overall quality of the produced gas.
Although only a few example embodiments have been described in detail above, those skilled in the art will readily appreciate that many modifications are possible in the example embodiments without materially departing from this invention. Accordingly, all such modifications are intended to be included within the scope of this disclosure as defined in the following claims. In the claims, means-plus-function clauses are intended to cover the structures described herein as performing the recited function and not only structural equivalents, but also equivalent structures. Thus, although a nail and a screw may not be structural equivalents in that a nail employs a cylindrical surface to secure wooden parts together, whereas a screw employs a helical surface, in the environment of fastening wooden parts, a nail and a screw may be equivalent structures. It is the express intention of the applicant not to invoke 35 U.S.C. § 112(f) for any limitations of any of the claims herein, except for those in which the claim expressly uses the words ‘means for’ together with an associated function.