Oil and gas facilities require frequent inspection to ensure integrity of equipment structures, such as pipelines or pressure vessels. The integrity of pipelines or pressure vessels relates to pipe leaks, pipe weld defects, pipe failures, pipeline drag reduction, etc.
Machine learning is a subset of artificial intelligence (AI). In machine learning, algorithms are trained to find patterns and correlations in large training data sets and to make the best decisions and predictions based on that analysis. Artificial neural networks (ANNs) are a subset of machine learning in deep learning algorithms. The ANN includes node layers, i.e., an input layer, one or more hidden layers, and an output layer. Each node connects to another node and has an associated weight and threshold. If the output of any individual node is above the specified threshold value, that node is activated, sending data to the next layer of the network. Otherwise, no data is passed along to the next layer of the network. ANNs rely on training data to learn and improve their accuracy over time. The accuracy of the ANN models is dependent on the quality and relevance of the data used for training and testing. For example, inadequate data, or data that is not representative of real-world conditions, can result in poor ANN model performance. In another example, overfitting occurs when a ANN model is too complex and fits the training data too closely, leading to poor generalization to new data. In yet another example, ANNs can be complex and difficult to interpret, making it challenging to understand the decisions made by the algorithms and leading to reduced trust in the system. Some ANN models can be computationally intensive, making them difficult to implement in real-time applications or on resource-constrained systems. Choosing the appropriate type of ANN and its parameters can be challenging and may require significant domain expertise and experimentation. Imbalanced data, where one class of events (e.g. pipe failures) occurs much less frequently than the other classes, can result in poor ANN model performance leading to an under-representation of the minority classes.
In general, in one aspect, the invention relates to a method to perform a maintenance operation of an equipment structure. The method includes collecting monitoring data of the equipment structure disposed in a region of interest, processing the monitoring data to generate normalized monitoring data of the equipment structure, training, based on a first historical portion of the normalized monitoring data as training data and using a machine learning algorithm, an artificial neural network (ANN) model, validating, based on a second historical portion of the normalized monitoring data as validation data, the ANN model to generate a validated ANN model, detecting, using a real time portion of the normalized monitoring data as input to the validated ANN model, an anomaly of the equipment structure, and performing, in response to detecting the anomaly, the maintenance operation of the equipment structure.
In general, in one aspect, the invention relates to a pipe anomaly analyzer for performing a maintenance operation of an equipment structure. The pipe anomaly analyzer includes a computer processor and memory storing instructions, when executed by the computer processor comprising functionality for collecting monitoring data of the equipment structure disposed in a region of interest, processing the monitoring data to generate normalized monitoring data of the equipment structure, training, based on a first historical portion of the normalized monitoring data as training data and using a machine learning algorithm, an artificial neural network (ANN) model, validating, based on a second historical portion of the normalized monitoring data as validation data, the ANN model to generate a validated ANN model, detecting, using a real time portion of the normalized monitoring data as input to the validated ANN model, an anomaly of the equipment structure, and performing, in response to detecting the anomaly, the maintenance operation of the equipment structure.
In general, in one aspect, the invention relates to a system that includes an equipment structure disposed in a region of interest, and a pipe anomaly analyzer comprising a computer processor and memory storing instructions, when executed by the computer processor comprising functionality for collecting monitoring data of the equipment structure disposed in the region of interest, processing the monitoring data to generate normalized monitoring data of the equipment structure, training, based on a first historical portion of the normalized monitoring data as training data and using a machine learning algorithm, an artificial neural network (ANN) model, validating, based on a second historical portion of the normalized monitoring data as validation data, the ANN model to generate a validated ANN model, detecting, using a real time portion of the normalized monitoring data as input to the validated ANN model, an anomaly of the equipment structure, and performing, in response to detecting the anomaly, a maintenance operation of the equipment structure.
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.
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 (for example, first, second, third) may be used as an adjective for an element (that is, 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.
In general, embodiments of the disclosure include a method and system for performing a maintenance operation of an equipment structure. To perform the maintenance operation, machine learning algorithms are used to detect pipe anomalies in the equipment structure. In one or more embodiments of the invention, Fuzzy Logic (FL) and Support Vector Machine (SVM) based artificial neural networks (ANNs) are combined with Artificial Bee Colony (ABC) algorithm to detect leaks, classify pipe weld defects, and predict pipe failure in the equipment structure. In addition, the ANNs are trained through the Independent Component Analysis (ICA) algorithm to predict drag reduction in crude oil pipelines. In one or more embodiments, input variables of the ANNs include pressure and flow rates, magnetic flux leakage signals, stationary and non-stationary status, temperature, type of product, land use, and pipeline age, location and diameter.
Turning to
In some embodiments, the well system (106) includes a wellbore (120), a well sub-surface system (122), a well surface system (124), and a well control system (“control system”) (126). The control system (126) may control various operations of the well system (106), such as well production operations, well completion operations, well maintenance operations, and reservoir monitoring, assessment and development operations. In some embodiments, the control system (126) includes a computer system.
The wellbore (120) may include a bored hole that extends from the surface (108) into a target zone of the hydrocarbon-bearing formation (104), such as the reservoir (102). An upper end of the wellbore (120), terminating at or near the surface (108), may be referred to as the “up-hole” end of the wellbore (120), and a lower end of the wellbore, terminating in the hydrocarbon-bearing formation (104), may be referred to as the “down-hole” end of the wellbore (120). The wellbore (120) may facilitate the circulation of drilling fluids during drilling operations, the flow of hydrocarbon production (“production”) (121) (e.g., oil and gas) from the reservoir (102) to the surface (108) during production operations, the injection of substances (e.g., water) into the hydrocarbon-bearing formation (104) or the reservoir (102) during injection operations, or the communication of monitoring devices (e.g., logging tools) into the hydrocarbon-bearing formation (104) or the reservoir (102) during monitoring operations (e.g., during in situ logging operations).
In some embodiments, the well sub-surface system (122) includes casing installed in the wellbore (120). For example, the wellbore (120) may have a cased portion and an uncased (or “open-hole”) portion. The cased portion may include a portion of the wellbore having casing (e.g., casing pipe and casing cement) disposed therein.
In some embodiments, the well surface system (124) includes a wellhead (130). The wellhead (130) may include a rigid structure installed at the “up-hole” end of the wellbore (120), at or near where the wellbore (120) terminates at the Earth's surface (108). The wellhead (130) may include structures for supporting (or “hanging”) casing and production tubing extending into the wellbore (120). Production (121) may flow through the wellhead (130), after exiting the wellbore (120) and the well sub-surface system (122), including, for example, the casing and the production tubing.
In some embodiments, during operation of the well system (106), the control system (126) collects and records well system data (140) for the well system (106). The well system data (140) may include, for example, a record of measurements of wellhead pressure (Pwh) (e.g., including flowing wellhead pressure), wellhead temperature (Twh) (e.g., including flowing wellhead temperature), wellhead production rate (Qwh) over some or all of the life of the well system (106), and water cut data. The well system data (140) may further include pipeline monitoring data of equipment structures at the wellsite (106a). Throughout this disclosure, the term “equipment structure” refers to mechanical structures of equipment and piping network. In some embodiments, the measurements and monitoring data are recorded in real-time, and are available for review or use within seconds, minutes or hours of the condition being sensed (e.g., the measurements are available within 1 hour of the condition being sensed). In such an embodiment, the well system data (140) may be referred to as “real-time” well system data (140). Real-time well system data (140) may enable an operator of the well (106) to assess a relatively current state of the well system (106), and make real-time decisions regarding development and maintenance of the well system (106) and the reservoir (102), such as on-demand adjustments in regulation of production flow from the well or preventive maintenance of equipment structures to prevent disruption to the production flow from the well.
A database of recorded well system data (140), including but not limited to pipeline monitoring data, may be interrogated using machine learning and artificial intelligence techniques to identify continuous process improvement. For example, the quality of pipelines may be monitored and analyzed over a time period, or the deterioration of a pipe may be identified over time to enable proactive maintenance or repair.
In one or more embodiments, a training data set (160a) is generated by at least combining the recorded well system data (140), including but not limited to pipeline monitoring data, and cumulative records of pipe repair and replacement throughout a region of interest. For example, the region of interest may be a field having multiple wellsites (e.g., wellsite (106a)), processing plants (e.g., processing plant (180)), and pipeline networks (e.g., pipeline network (170)). In another example, the region of interest may be a portion of the field, a portion a wellsite (e.g., wellsite (106a)), a portion of a processing plant (e.g., processing plant (180)), or a portion of a pipeline network (e.g., pipeline network (170)). Accordingly, a machine learning algorithm for the maintenance operation of the region of interest is trained based on the training data set (160a). The machine learning algorithm is used to generate maintenance notices to facilitate the maintenance operation of the region of interest.
In some embodiments, the well system (106) includes a pipe anomaly analyzer (160). For example, the pipe anomaly analyzer (160) may include hardware and/or software with functionality for facilitating operations of the well system (106), such as well production operations, well drilling operation, well completion operations, well maintenance operations, and reservoir monitoring, assessment and development operations. For example, the pipe anomaly analyzer (160) may store well system data (140) such as pipeline monitoring data. In some embodiments, the pipe anomaly analyzer (160) may analyze the pipeline monitoring data to generate recommendations to facilitate various operations of the well system (106), such as a preventive maintenance of the equipment structures. In some embodiments, the pipe anomaly analyzer (160) may include hardware and/or software with functionality for generating one or more ANN models based on the training data set (160a) to address a range of problems, including detecting leaks, classifying pipe weld defects, and predicting pipe failures in pipelines. In addition, the pipe anomaly analyzer (160) uses ANN techniques combined with fuzzy logic, support vector machines, and artificial bee colony to effectively address various problems in pipelines. The use of ICA algorithm improves the accuracy of the predictions and helped to optimize the ANN model.
While the pipeline monitoring data is described above for equipment structures installed in the well system (106), additional and/or alternative monitoring data may correspond to equipment structures installed in the pipeline network (170), the processing plant (180), or other facilities of various industries, such as healthcare industry, agriculture, etc. For example, the pipeline monitoring data may correspond to medical imaging of tubes and branches in a human or animal body that are used for diagnosis to identify and classify diseases and conditions more accurately and efficiently. In another example, the pipeline monitoring data may correspond to pipes found in precision agriculture to facilitate identifying and classifying crop diseases, pests, and soil conditions to improve crop management and yields.
In one or more embodiments, the processing plant (180) is an industrial process plant such as an oil/petroleum refinery where petroleum (crude oil) is transformed and refined, or other types of chemical processing plants. The processing plant (180) typically includes large, sprawling industrial complexes with extensive piping network running throughout, carrying streams or liquids between large chemical processing units, such as distillation columns. Processing plant facilities require frequent inspection in order to ensure the asset integrity of the structure and safe work practices.
While the oil and gas facilities are shown as including the well environment (100) and processing plant (180), in one or more embodiments, the oil and gas facilities may additionally or alternatively include equipment (pressure vessels), storage tanks, piping and an associated pipeline network.
While the pipe anomaly analyzer (160) is shown at a well site, embodiments are contemplated where at least a portion of the pipe anomaly analyzer (160) is located away from well sites. In some embodiments, the pipe anomaly analyzer (160) may include a computer system that is similar to the computing system (400) described below with regard to
Turning to
As shown in
Further as shown in
Further as shown in
In some embodiments, ANNs are used to detect leaks in pipelines by training the ANN model with historical data such as pressure readings, flow rates, and temperature variations in the training data set (160a) depicted in
In some embodiments, ANNs are used to classify pipe weld defects by training the ANN model based on the training data set (160a) depicted in
In some embodiments, ANNs are used to predict pipe failures by training the ANN model with historical data such as past failures, pressure and temperature readings, and corrosion rates in the training data set (160a) depicted in
In some embodiments, ANNs are used to predict drag reduction in crude oil pipelines. Independent Component Analysis (ICA) algorithms are used to separate the data into independent components, making it easier for the ANNs to learn patterns in the data of the training data set (160a) depicted in
In some embodiments, regularization techniques (e.g., L1 and L2 regularization) and cross-validation techniques (e.g., k-fold cross-validation) are used in the pipe anomaly analyzer (160) to assess the accuracy of the ANN models and prevent overfitting of the input data. The ANN models are simplified by reducing the number of hidden layers or neurons to speed up the processing time and simplify the ANNs and algorithms. The simplified ANNs and algorithms execute on multiple processors or GPUs thus significantly speeding up the processing time. Additional real-time data pre-processing techniques, such as feature scaling and normalization, are also used in the pipe anomaly analyzer (160) to further speed up the processing time and debottleneck in real-time processing.
In some embodiments, the ANNs and algorithms are integrated with real-time monitoring systems, allowing for real-time monitoring of the pipelines and real-time decision-making in the event of a leak or pipe failure. The ANNs and algorithms are customizable by the users by providing an interface that allows the users to modify the parameters of the ANN models and to specify the inputs and outputs of the ANN models.
In some embodiments, the ANNs and algorithms are dynamic and adaptable to changes in the pipeline systems over time. For example, techniques such as online learning may be used to allow ANN models update in real-time as new data becomes available. In another example, transfer learning techniques are used to allow the ANNs and algorithms adapt to different pipeline systems by reusing the knowledge gained from previous ANN models. These help to reduce the time and resources required to train new ANN models and improve the ANN models' accuracy.
In some embodiments, the ANNs and algorithms allow the selection of the most appropriate ANN model for a given pipeline system. For example, visualization techniques such as decision trees, rule-based ANN models, heat maps, saliency maps, and local interpretable ANN model-agnostic explanations (LIME) are used to help user to understand how the algorithms make decisions and make appropriate selections.
Based on the foregoing, the output (162) of the pipe anomaly analyzer (160) includes pipeline leak detection, pipeline weld defects classification, and pipeline failure prediction. In one or more embodiments, output results of the ANNs and algorithms are integrated with the decision-making processes of the pipeline management system. For example, the output results of the ANNs and algorithms may be translated using an integration layer of the pipeline anomaly analyzer (160) into a compatible format of the pipeline management system. A user-friendly interface allows the pipeline management systems to access the output results of the ANNs and algorithms for a user to easily understand and act upon the detected pipe anomalies.
Turning to
Initially in Step 200, pipeline monitoring data such as pressure readings, flow rates, temperature variations, images of pipe welds, historical failures, corrosion rates and other data related to selected features are collected from all pipelines throughout a region of interest. As noted above, the region of interest may include an entire field where multiple wellsites, processing plants, and pipeline networks are located. Alternatively, the region of interest may include a portion of the field, a portion of a wellsite, a portion of a processing plant, or a portion of a pipeline network.
In Step 201, the collected pipeline monitoring data are pre-processed to remove any missing or inconsistent values, and normalized to ensure that all variables are on the same scale.
In Step 202, ANN models are trained based on the pre-processed pipeline monitoring data using machine learning algorithms. The pipeline monitoring data includes historical monitoring data and real time monitoring data. The historical monitoring data are used as training data and validation data to train and validate the ANN models. The real time monitoring data is used as input to the ANN models to detect pipe anomalies. For example, fuzzy logic is used to train a leak detection model, SVM is used to train a pipe weld defect classification model, ABC is used to train a pipe failure prediction model, and ICA is used to train a crude oil pipeline drag reduction model.
In Step 203, the trained ANN models are evaluated on a set of validation data to assess performance and accuracy. Accordingly, the ANN models are fine-tuned based on the evaluation results to generate validated ANN models.
In Step 204, the trained ANN models are deployed in a real-world pipeline system (e.g., an equipment structure) to perform pipe anomaly detections, such as detecting leaks, classifying pipe weld defects, and predicting pipe failures. The real-world pipeline system refers to a system in active operation, such as wellbore production, fluids transportation through pipelines, online processing operation within a processing plant, etc. The ANN models take the real time monitoring data s input to generate output results of detected pipe anomalies. Accordingly, a maintenance operation is performed in response to a detected pipe anomaly. For example, the active operation of the equipment structure may be halted and a pipe with detected anomaly may be repaired or replaced in the equipment structure before re-activating the operation of the equipment structure.
The heat map (300) for detecting pipe anomalies is an important tool for maintaining the integrity and reliability of pipeline systems, ensuring their safe and efficient operation. For example, by monitoring the pressure drop across a pipeline, the heat map can detect anomalies such as leaks, blockages, or corrosion that could cause more significant problems if left undetected. Early detection of these anomalies allows for proactive maintenance and repair, reducing the risk of downtime, environmental damage, or safety incidents. By detecting anomalies early, the heat map can help minimize the cost of repairing pipeline issues. Proactive maintenance and repair are typically less expensive than emergency repairs and replacements that can be required if pipeline issues go undetected. By detecting pipeline issues before they escalate, the heat map can help prevent accidents, environmental damage, and human injuries. This helps to ensure that workers, communities, and the environment are protected. By identifying potential pipeline issues, the heat map can help operators optimize their pipeline systems, making them more efficient and cost-effective. This can result in improved production, reduced energy consumption, and better overall performance of the industrial process.
Embodiments may be implemented on a computer system.
The computer (402) can serve in a role as a client, network component, a server, a database or other persistency, or any other component (or a combination of roles) of a computer system for performing the subject matter described in the instant disclosure. The illustrated computer (402) is communicably coupled with a network (430). In some implementations, one or more components of the computer (402) may be configured to operate within environments, including cloud-computing-based, local, global, or other environment (or a combination of environments).
At a high level, the computer (402) is an electronic computing device operable to receive, transmit, process, store, or manage data and information associated with the described subject matter. According to some implementations, the computer (402) may also include or be communicably coupled with an application server, e-mail server, web server, caching server, streaming data server, business intelligence (BI) server, or other server (or a combination of servers).
The computer (402) can receive requests over network (430) from a client application (for example, executing on another computer (402)) and responding to the received requests by processing the said requests in an appropriate software application. In addition, requests may also be sent to the computer (402) from internal users (for example, from a command console or by other appropriate access method), external or third-parties, other automated applications, as well as any other appropriate entities, individuals, systems, or computers.
Each of the components of the computer (402) can communicate using a system bus (403). In some implementations, any or all of the components of the computer (402), both hardware or software (or a combination of hardware and software), may interface with each other or the interface (404) (or a combination of both) over the system bus (403) using an application programming interface (API) (412) or a service layer (413) (or a combination of the API (412) and service layer (413). The API (412) may include specifications for routines, data structures, and object classes. The API (412) may be either computer-language independent or dependent and refer to a complete interface, a single function, or even a set of APIs. The service layer (413) provides software services to the computer (402) or other components (whether or not illustrated) that are communicably coupled to the computer (402). The functionality of the computer (402) may be accessible for all service consumers using this service layer. Software services, such as those provided by the service layer (413), provide reusable, defined business functionalities through a defined interface. For example, the interface may be software written in JAVA, C++, or other suitable language providing data in extensible markup language (XML) format or other suitable format. While illustrated as an integrated component of the computer (402), alternative implementations may illustrate the API (412) or the service layer (413) as stand-alone components in relation to other components of the computer (402) or other components (whether or not illustrated) that are communicably coupled to the computer (402). Moreover, any or all parts of the API (412) or the service layer (413) may be implemented as child or sub-modules of another software module, enterprise application, or hardware module without departing from the scope of this disclosure.
The computer (402) includes an interface (404). Although illustrated as a single interface (404) in
The computer (402) includes at least one computer processor (405). Although illustrated as a single computer processor (405) in
The computer (402) also includes a memory (406) that holds data for the computer (402) or other components (or a combination of both) that can be connected to the network (430). For example, memory (406) can be a database storing data consistent with this disclosure. Although illustrated as a single memory (406) in
The application (407) is an algorithmic software engine providing functionality according to particular needs, desires, or particular implementations of the computer (402), particularly with respect to functionality described in this disclosure. For example, application (407) can serve as one or more components, modules, applications, etc. Further, although illustrated as a single application (407), the application (407) may be implemented as multiple applications (407) on the computer (402). In addition, although illustrated as integral to the computer (402), in alternative implementations, the application (407) can be external to the computer (402).
There may be any number of computers (402) associated with, or external to, a computer system containing computer (402), each computer (402) communicating over network (430). Further, the term “client,” “user,” and other appropriate terminology may be used interchangeably as appropriate without departing from the scope of this disclosure. Moreover, this disclosure contemplates that many users may use one computer (402), or that one user may use multiple computers (402).
In some embodiments, the computer (402) is implemented as part of a cloud computing system. For example, a cloud computing system may include one or more remote servers along with various other cloud components, such as cloud storage units and edge servers. In particular, a cloud computing system may perform one or more computing operations without direct active management by a user device or local computer system. As such, a cloud computing system may have different functions distributed over multiple locations from a central server, which may be performed using one or more Internet connections. More specifically, cloud computing system may operate according to one or more service ANN models, such as infrastructure as a service (IaaS), platform as a service (PaaS), software as a service (SaaS), mobile “backend” as a service (MBaaS), serverless computing, artificial intelligence (AI) as a service (AIaaS), and/or function as a service (FaaS).
Embodiments provide the following advantages: (i) improved accuracy in that the techniques can be trained on high-quality and relevant data, leading to improved accuracy in detecting leaks, classifying defects, and predicting failures, (ii) real-time processing in that by optimizing the algorithms, real-time processing and decision-making can be achieved, allowing for quicker actions in the event of a leak or failure, (iii) early detection in that the ANN models can be trained to identify early signs of leaks, defects, and failures, allowing for proactive maintenance and mitigation, (iv) cost savings in that by detecting leaks, classifying defects, and predicting failures early, significant cost savings can be achieved in terms of repairs, replacements, and environmental clean-up, (v) improved safety in that by detecting and mitigating potential failures early, the safety of pipeline operations and the surrounding communities can be improved, (vi) enhanced data integration in that the algorithms can be integrated more effectively with existing pipeline management systems, allowing for seamless data exchange and decision-making, and customization in that the ANN models can be made more adaptable to different pipeline systems by incorporating more diverse data sources and allowing for greater customization of the ANN models.
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.