Method and System for Flare Stack Monitoring and Optimization
20220179399 · 2022-06-09
Inventors
- Yasin Hajizadeh (Katy, TX, US)
- Jean-Paul Dessap (Paris, FR)
- Charles-Edouard Cohen (Neuilly-sur-Seine, FR)
Cpc classification
G05B19/4155
PHYSICS
International classification
Abstract
An integrated and comprehensive method and system is disclosed for measuring and real-time monitoring of gas flare and using that information to improve and/or optimize oil and gas production and/or flare operations. A first embodiment of the invention comprises a camera or any other visual recognition and recording system coupled with an image and video analytics/machine learning module to measure the flare and identify gas components or flow properties. A second embodiment of the invention is directed towards an intelligent optimization method and system that uses the flare and gas information and suggest a set of optimal production values to optimize flaring and reduce environmental impact of it.
Claims
1. A method for adjusting a composition of an oil and gas flow, the method comprising: capturing at least one of image and video data of a flare via a camera; analyzing the at least one of image and video data using a processor to determine properties of gas in the flare; and controlling at least one of an upstream or midstream operation on the oil and gas flow to modify the composition of the oil and gas flow based on the properties in the flare.
2. The method of claim 1 wherein the camera comprises at least one of a hyper-spectral and a multi-spectral camera.
3. The method of claim 1 wherein operation of analyzing is performed via one or more machine learning routines to learn from prior flaring images and videos.
4. The method of claim 3 wherein the machine learning routine comprises one or more optimization instructions for finding an improved production design or operation parameters that, when executed, produces a ranking of each scenario and its respective effect on flare type, temperature, condition and composition.
5. The method of claim 3 wherein the machine learning routine comprises at least one Convolutional Neural Network (CNN).
6. The method of claim 1 wherein the operation of analyzing is performed to provide estimates of type, temperature and composition of the flare.
7. The method of claim 1 wherein the operation of controlling is performed based on an optimization routine to determine at least one parameter to adjust.
8. The method of claim 7 wherein the optimization routine is based upon at least two competing objectives.
9. The method of claim 5 wherein the at least one parameter comprises a parameter selected from the group comprising an upstream production operation, a midstream processing facility, and a flare stack.
10. The method of claim 1 wherein the operation of controlling comprises diverting at least a portion of the oil and gas flow to a turbine.
11. The method of claim 7 wherein the turbine produces power for at least one of an upstream operation, a midstream operation, and an unrelated load.
12. A system for adjusting a composition of an oil and gas flow, the system comprising: a camera adapted to capture at least one of image and video data of a flare; a processor in communication with the camera and adapted to receive the at least one of image and video data and analyze analyzing the at least one of image and video data to determine properties of gas in the flare; and a controller in communication with the processor and adapted to control at least one of an upstream or midstream operation on the oil and gas flow to modify the composition of the oil and gas flow based on the properties in the flare.
13. The system of claim 12 wherein the camera comprises at least one of a hyper-spectral and a multi-spectral camera.
14. The system of claim 12 wherein the processor is adapted to analyze the at least one of image and video data via one or more machine learning routines to learn from prior flaring images and videos.
15. The system of claim 14 wherein the machine learning routine comprises one or more optimization instructions for finding an improved production design or operation parameters that, when executed, produces a ranking of each scenario and its respective effect on flare type, temperature, condition and composition.
16. The system of claim 14 wherein the machine learning routine comprises at least one Convolutional Neural Network (CNN).
17. The system of claim 12 wherein the processor is adapted to analyze the at least one of image and video data to provide estimates of type, temperature and composition of the flare.
18. The system of claim 12 wherein the controller is adapted to control the operation based on an optimization routine to determine at least one parameter to adjust.
19. The system of claim 18 wherein the optimization routine is based upon at least two competing objectives.
20. The system of claim 16 wherein the at least one parameter comprises a parameter selected from the group comprising an upstream production operation, a midstream processing facility, and a flare stack.
21. The system of claim 12 wherein the controller is adapted to control the operation to divert at least a portion of the oil and gas flow to a turbine.
22. The system of claim 18 wherein the turbine produces power for at least one of an upstream operation, a midstream operation, and an unrelated load.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0016] A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed descriptions when considered in connection with the accompanying drawings; it being understood that the drawings contained herein are not necessarily drawn to scale and that the accompanying drawings provide illustrative implementations and are not meant to limit the scope of the various technologies described herein; wherein:
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
DETAILED DESCRIPTION
[0034] Specific embodiments 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.
[0035] In the following detailed description of embodiments, numerous specific details are set forth in order to provide a more thorough understanding of the claims. However, it will be apparent to one of ordinary skill in the art that the claims 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. While the disclosure is a complete description of the preferred embodiments, it is possible to use various alternatives, modifications and equivalents. These modifications of the embodiments, as well as alternatives embodiments of the invention will become apparent to persons skilled in the art upon reference to the description of the invention. Therefore, the scope of the present invention should be determined not with reference to the description but should, instead, be determined with reference to the appended claims, along with their full scope of equivalents. Any feature described herein, whether preferred or not, may be combined with any other feature described herein, whether preferred or not. In the claims that follow, the indefinite article “A” or “An” refers to a quantity of one or more of the item following the article, except where expressed otherwise. The appended claims are not to be interpreted as including means-plus-function limitations, unless such a limitation is explicitly recited in a given claim using the phrase “means for”.
[0036] Throughout the application, ordinal numbers st, 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 a single element unless expressly disclosed, such as by the use of 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.
[0037] Furthermore, embodiments of the invention may be implemented, at least in part, either manually or automatically. Manual or automatic implementations may be executed, or at least assisted, through the use of machines, hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine readable medium. A processor(s) may perform the necessary tasks.
Input
[0038]
[0039]
[0040] Data repository module 220 stores multimedia received in the input module 210. It may also compare the feed from input module 210 with other existing internal or external databases (e.g., a library). The purpose of this step is to locate any image/video and associated information that might be relevant to flare image/video inputs received by the system; so that a clustering algorithm can identify similarities not only between new flare image/video entries but also with any existing internal or external information. In one embodiment, an algorithm for recognition of images and video is a deep Convolutional Neural Networks (CNN) algorithm. Other algorithms that may be used include, but are not limited to, Mask R-CNN, and View-GCN. The repository module, upon having right privileges, can access existing internal databases (e.g. previous flare information and multimedia data, best practices, etc.) and/or external databases. External databases can be divided into two groups: open databases such as Google's search engine; and closed databases where special permissions or payments are required to gain access (e.g. scientific databases with paid membership).
Estimation and Prediction
[0041] The predictive module 230 uses images and/or videos received in input module 210 and data repository 220 to train a machine learning model to predict gas composition being burnt in flare and associated flow regime and properties, such as flow rate.
[0042] Once the flare composition is determined and presented in the results module, it can be used to modify and/or optimize upstream and midstream operations to modify and/or optimize the flaring operations. In one example, production wells may be equipped with an electric submersible pump (ESP). An ESP is a type of pump that is enclosed in a protective housing that enables it to be submerged in the fluid that will be pumped. An electric motor drives the pump and can be controlled with a variable frequency drive (VFD) module. The higher VFD values result in faster motor rotates. One example of using the composition estimation is to control the ESP by adjusting the VFD values of the pump. To achieve this objective, the results module (250) is coupled with a secondary machine-learning based optimization module. This digital twin module uses the relationship between input parameters such as geological structure of the reservoir, location and pattern of production and injection wells, rock and fluid properties of reservoir, and pump parameters including VFD values to estimate the oil and gas production as its output parameter. Therefore, once a model is trained using historical field data, it can be used to estimate the amount of oil and gas that can be produced at any given VFD setting. Once the gas composition is estimated, it is used by the ML Adjuster/Optimizer (XXX) to find the best VFD value, and corresponding rotation speed so that an increased and/or optimal amount of oil is produced from a well. This increased and/or optimal oil production helps to improve and/or optimize the flaring operations in such a way that flaring is reduced and/or minimized and/or combustion efficiency is increased.
[0043] In yet another example, as shown in
[0044] Instead of flaring the gas, the gas output of a separator can also be used to in a gas turbine to generate power that can be used power wellsite equipment such as computers and pumps. In this case, the optimization in addition to using separate pressures as an input parameter in the optimization routine, turbine parameters such as compressor settings and operational temperatures can be included as additional input parameters. The objective function that will be optimized in this case can be maximization of power output of the turbine and/or efficiency and/or minimization of downtime for maintenance.
Multi-Objective Optimization of Decision Variables
[0045] Real-life optimization problems deal with multiple objectives which are often conflicting. Although the terms “optimization,” “optimize” and the like are used herein, one of ordinary skill in the art would readily appreciate from the disclosure provided that improvements, while not necessarily full optimizations, are also contemplated and are included wherever a term such as “optimization” are used. The multi-objective optimization field is concerned with finding optimal solutions in the presence of more than one objective or goal in the decision space. The optimality can be a minimized value if a cost function is considered or a maximized value if the objective function is defined as a utility function. As shown in
where x is a decision vector of n variables: x=(x.sub.1, x.sub.2, . . . , x.sub.n) and the number of objective functions in the problem is denoted with M. n the problem which can be minimized or maximized: f(x)=(f.sub.1 (x), f.sub.2 (x), . . . , f.sub.M (x)). The problem can come with a set of constraints (g.sub.j (x) and h.sub.k (x)) that determine the set of feasible solutions.
[0046] In a multi-objective optimization context, the aim is not to find a single solution but to explore a set of compromises among the objectives. Therefore, it is possible to define a dominance concept referred to as Edgeworth-Pareto optimality or more commonly known as Pareto optimality. The concept states that if there is an alternative solution (A) that is at least equal to (B) in terms of all objective functions, and if (A) is strictly better than (B) for at least one of the objective functions, then A dominates B (AB) The following equation shows the Pareto optimality concept.
TABLE-US-00001 1) f.sub.m(A) f.sub.m(B) for all m = 1,2, ..., M (A is no worse than B for all objectives) AND 2) f.sub.m(A)
f.sub.m(B) for at least one m = 1,2, ..., M (A is better than B for at least one objective)
[0047] A solution is called Pareto optimal if there is no feasible solution that can optimize an objective without causing a simultaneous degradation in at least another objective. Two main objectives can be followed in solving any multi-objective optimization; (1) obtain solutions as close as possible to the true Pareto front and (2) these solutions are as diverse as possible.
[0048]
[0049] Users can define objective functions and select the optimization algorithm type and parameters using a graphical user interface (see, e.g.,
[0050] In one or more embodiments, an optimization algorithm aims to find a single best or set of best solutions from the set of all feasible solutions. In other words, a solution is a particular value for each control variable representing a configurable element. Users can specify if they wish to perform an interactive optimization and if they would like to import a new optimization algorithm which is not present in system's library. Evolutionary algorithms are an attractive option for solving multi-objective optimization problems as they work with a population of solutions and can provide an ensemble of Pareto optimal solutions for decision making purposes. These algorithms themselves are divided to two groups of non-elitist based methods and elitist-based algorithms. The first group does not offer a mechanism to systematically preserve the elite solutions in each generation. Examples of non-elitist based approaches include Multi-objective Genetic Algorithm (MOGA) and Nondominated Sorting Genetic Algorithm (NSGA). On the other hand, elitist based approaches tend to favor survival of the elite solutions of each generation to the next one. Some of the algorithms belonging to this group include Pareto-Archived Evolutionary Strategy (PAES), elitist-based NSGA-II algorithm, estimation of distribution algorithms and particle swarm optimization. In one embodiment, the algorithm in this disclosure for multi-objective optimization of flare management is Multi-objective Differential Evolution.
[0051] The system shows the optimization progress using several metrics including iteration numbers, current iteration's best objective function values, overall best objective functions and so on. Furthermore, in multi-objective optimization, solution diversity and Pareto optimal coverage is also important and is displayed here.
[0052] Users may have an interactive optimization experience where the decision maker interacts with the multi-objective optimization algorithm by providing feedbacks while the optimization is still in progress. As an example, a method can be an interactive multi-objective particle swarm optimization introduced by Hettenhausen et al. (2010). Other methods of interactive optimization that can be utilized include trade-off based algorithms, reference point approaches and classification-based methods.
[0053]
Results Module
[0054] The results module 250 is a central decision-making location where the results of running optimization module is displayed to the user. A decision to adjust production and flaring operations such as flow rate can be made by the user and transferred back to field using communication module 260. In yet another embodiment, an automated decision to adjust operational properties is made by optimization module 240 and its results 560; and then transferred to field automatically using communication module 260. Example control parameters for upstream operations include ESP parameters such as VFD and choke size. Example control parameters for midstream include separator pressure.
[0055] In one or more embodiments and at various stages of the method, the system may interact with the user through the user interface to obtain additional information including new decision variables, modification of objective function, introduction of new metric to consider in solving the optimization problem, new stopping criteria for the optimization algorithm, new probability distribution, and so on.
[0056]
[0057] Further, as shown in
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067] The I/O section 1004 is connected to one or more user-interface devices (e.g., a keyboard 1016 and a display unit 1018), a disk storage unit 1012, and a disk drive unit 1020. Generally, in contemporary systems, the disk drive unit 1020 is a DVD/CD-ROM drive unit capable of reading the DVD/CD-ROM medium 1010, which typically contains programs and data 1022. The data may be stored in any applicable format and may, in some implementations, stored in an accessible database that is adapted to link items to activities such as uses, procedures, storage, age, etc. In other implementations, the disk drive may be an external storage system such as a standalone database (e.g., located on one or more networked servers). Computer program products containing mechanisms to effectuate the systems and methods in accordance with the described technology may reside in the memory section 1008, on a disk storage unit 1012, or on the DVD/CD-ROM medium 1010 of such a system 1000. Alternatively, a disk drive unit 1020 may be replaced or supplemented by a floppy drive unit, a tape drive unit, or other storage medium drive unit. The network adapter 1024 is capable of connecting the computer system to a network via the network link 1014, through which the computer system can receive instructions and data embodied in a carrier wave. Examples of such systems include SPARC systems offered by Sun Microsystems, Inc., personal computers offered by Dell Corporation and by other manufacturers of Intel-compatible personal computers, PowerPC-based computing systems, ARM-based computing systems and other systems running a UNIX-based or other operating system. It should be understood that computing systems may also embody devices such as Personal Digital Assistants (PDAs), mobile phones, gaming consoles, set top boxes, etc.
[0068] When used in a LAN-networking environment, the computer system 1000 is connected (by wired connection or wirelessly) to a local network through the network interface or adapter 1024, which is one type of communications device. When used in a WAN-networking environment, the computer system 1000 typically includes a modem, a network adapter, or any other type of communications device for establishing communications over the wide area network. In a networked environment, program modules depicted relative to the computer system 1000 or portions thereof, may be stored in a remote memory storage device. It is appreciated that the network connections shown are exemplary and other means of and communications devices for establishing a communications link between the computers may be used.
[0069] In accordance with an implementation, software instructions and data directed toward operating the subsystems may reside on the disk storage unit 1012, disk drive unit 1020 or other storage medium units coupled to the computer system. Said software instructions may also be executed by CPU 1006.
[0070] The implementations described herein are implemented as logical steps in one or more computer systems. The logical operations are implemented (1) as a sequence of processor-implemented steps executing in one or more computer systems and (2) as interconnected machine or circuit modules within one or more computer systems. The implementation is a matter of choice, dependent on the performance requirements of a particular computer system. Accordingly, the logical operations making up the embodiments and/or implementations described herein are referred to variously as operations, steps, objects, or modules. Furthermore, it should be understood that logical operations may be performed in any order, unless explicitly claimed otherwise or a specific order is inherently necessitated by the claim language.
[0071] Furthermore, certain operations in the methods described above must naturally precede others for the described method to function as described. However, the described methods are not limited to the order of operations described if such order sequence does not alter the functionality of the method. That is, it is recognized that some operations may be performed before or after other operations without departing from the scope and spirit of the claims.
[0072] Although implementations have been described above with a certain degree of particularity, those skilled in the art could make numerous alterations to the disclosed embodiments without departing from the spirit or scope of this invention. All directional references (e.g., upper, lower, upward, downward, left, right, leftward, rightward, top, bottom, above, below, vertical, horizontal, clockwise, and counterclockwise) are only used for identification purposes to aid the reader's understanding of the present invention, and do not create limitations, particularly as to the position, orientation, or use of the invention. Joinder references (e.g., attached, coupled, connected, and the like) are to be construed broadly and may include intermediate members between a connection of elements and relative movement between elements. As such, joinder references do not necessarily infer that two elements are directly connected and in fixed relation to each other. It is intended that all matter contained in the above description or shown in the accompanying drawings shall be interpreted as illustrative only and not limiting. Changes in detail or structure may be made without departing from the spirit of the invention as defined in the appended claims.