Cyclone gas-liquid separator inlet flow pattern identification method, device and processor

By installing a pressure sensor on the cyclone gas-liquid separator and using a machine learning algorithm to identify the inlet flow pattern of the cyclone gas-liquid separator, the problem that existing technology cannot identify is solved, and rapid and accurate identification of the flow pattern and flow safety assurance are achieved.

CN115406575BActive Publication Date: 2024-10-01CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202211066113.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2024-10-01
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

The existing technology cannot identify the inlet flow pattern of the cyclone gas-liquid separator in real time, and cannot identify the flow pattern through direct observation or data measurement, which affects the safety of the flow.

Method used

By installing pressure sensors at the inlet and overflow of the cyclone gas-liquid separator, the pressure difference is obtained and input into the flow pattern identification model. The machine learning algorithm (GBDT or XGBoost) is used for flow pattern identification and model training, and the training set is divided into Validation set, adjust model parameters to improve prediction accuracy.

Benefits of technology

It achieves rapid and accurate identification of the flow pattern at the inlet of the cyclone gas-liquid separator, improves flow safety and enables quick acquisition of usage data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115406575B_ABST
    Figure CN115406575B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a method, device and processor for identifying the inlet flow pattern of a cyclone gas-liquid separator. The method comprises: installing a first pressure sensor and a second pressure sensor at the inlet and overflow port of the cyclone gas-liquid separator respectively, acquiring a first pressure value and a second pressure value collected by the first pressure sensor and the second pressure sensor, determining a pressure difference between the inlet and the overflow port according to the first pressure value and the second pressure value, inputting the pressure difference into a flow pattern identification model, so as to output the inlet flow pattern of the cyclone gas-liquid separator through the flow pattern identification model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, storage medium and processor for identifying an inlet flow pattern of a cyclone gas-liquid separator. Background Art

[0002] The cyclone gas-liquid separator (GLCC) is an important separation equipment in the field of petroleum and chemical industry. Its working principle is that the gas-liquid mixture enters the separator from the tangential inlet, and the gas-liquid two phases are separated due to the difference in centrifugal force, and then discharged from different directions. As a component connected to the pipeline in the oil and gas gathering and transportation module, the identification of its flow pattern is of great significance to the overall flow safety of the station.

[0003] In the prior art, flow pattern identification is mainly based on the direct observation method. Since the separator and the pipeline cannot be made of transparent materials, the direct observation method cannot be used to identify the inlet flow pattern of the cyclone gas-liquid separator (GLCC) on-site, and it is impossible to perform flow pattern identification through the relevant actual measured data of the cyclone gas-liquid separator (GLCC). Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method, device, storage medium and processor for identifying the inlet flow pattern of a cyclone gas-liquid separator.

[0005] In order to achieve the above-mentioned object, the first aspect of the present application provides a method for identifying the flow pattern of a cyclone gas-liquid separator inlet, wherein the inlet and the overflow of the cyclone gas-liquid separator are respectively equipped with a first pressure sensor and a second pressure sensor, and the method comprises:

[0006] Acquire a first pressure value and a second pressure value collected by the first pressure sensor and the second pressure sensor;

[0007] determining a pressure difference between the inlet and the overflow port based on the first pressure value and the second pressure value;

[0008] The pressure difference is input into the flow pattern recognition model to output the inlet flow pattern of the cyclone gas-liquid separator through the flow pattern recognition model. The machine learning algorithm built in the flow pattern recognition model is GBDT or XGBoost.

[0009] In an embodiment of the present application, a plurality of first historical pressure values ​​and a second historical pressure value collected by a first pressure sensor and a second pressure sensor are obtained, a plurality of historical pressure difference values ​​between an inlet and an overflow port, and a historical inlet flow type corresponding to each historical pressure difference value are determined based on the plurality of first historical pressure values ​​and the second historical pressure value, a flow type identifier is added to each historical pressure difference value based on the historical inlet flow type, and the historical pressure difference values ​​containing the flow type identifier are input into a flow type recognition model in turn to train the flow type recognition model in an embodiment of the present application.

[0010] In an embodiment of the present application, multiple historical pressure difference values ​​and the historical inlet flow types corresponding to each historical pressure difference value are divided into a training set and a verification set according to a preset ratio; N historical pressure difference values ​​containing flow type identification are randomly selected from the training set and input into the flow type recognition model to train the flow type recognition model; after the flow type recognition model is trained with the data in the training set, M historical pressure difference values ​​containing flow type identification are randomly selected from the verification set and input into the flow type recognition model to detect the prediction accuracy of the flow type recognition model, wherein N and M are both natural numbers greater than zero; when the prediction accuracy of the flow type recognition model is greater than a preset threshold, it is determined that the flow type recognition model training is completed; when the prediction accuracy of the flow type recognition model is less than or equal to the preset threshold, the step of randomly selecting N historical pressure difference values ​​containing flow type identification from the training set and inputting them into the flow type recognition model to train the flow type recognition model is executed again until the prediction accuracy of the flow type recognition model is greater than the preset threshold.

[0011] In an embodiment of the present application, when the gas phase apparent flow rate and the liquid phase apparent flow rate are determined, multiple first historical pressure values ​​and second historical pressure values ​​collected by the first pressure sensor and the second pressure sensor are obtained so that the historical pressure difference between the first historical pressure values ​​and the second historical pressure values ​​changes periodically.

[0012] A second aspect of the present invention provides a processor configured to execute the above-mentioned method for identifying the inlet flow pattern of a cyclone gas-liquid separator.

[0013] The third aspect of the present application provides a cyclone gas-liquid separator inlet flow pattern identification device, comprising:

[0014] A data acquisition module, used for acquiring a first pressure value and a second pressure value through the first pressure sensor and the second pressure sensor;

[0015] A data processing module, configured to determine a pressure difference between the inlet and the overflow port according to the first pressure value and the second pressure value;

[0016] The flow pattern identification module is used to input the pressure difference into the flow pattern identification model so as to output the inlet flow pattern of the cyclone gas-liquid separator through the flow pattern identification model.

[0017] In an embodiment of the present application, the device also includes a model training module, which is configured to: obtain multiple first historical pressure values ​​and second historical pressure values ​​collected by the first pressure sensor and the second pressure sensor; determine multiple historical pressure difference values ​​between the inlet and the overflow port according to the multiple first historical pressure values ​​and the second historical pressure values, and the historical inlet flow type corresponding to each historical pressure difference value, and add a flow type identification to each historical pressure difference value according to the historical inlet flow type; and input the historical pressure difference values ​​containing the flow type identification into the flow type recognition model in turn to train the flow type recognition model.

[0018] In an embodiment of the present application, the model training module is further configured to: divide multiple historical pressure difference values ​​and the historical inlet flow types corresponding to each historical pressure difference value into a training set and a verification set according to a preset ratio; randomly select N historical pressure difference values ​​containing flow type identification from the training set and input them into the flow type recognition model to train the flow type recognition model; after the flow type recognition model is trained with the data in the training set, randomly select M historical pressure difference values ​​containing flow type identification from the verification set and input them into the flow type recognition model to detect the prediction accuracy of the flow type recognition model, wherein N and M are both natural numbers greater than zero; when the prediction accuracy of the flow type recognition model is greater than a preset threshold, determine that the flow type recognition model training is completed; when the prediction accuracy of the flow type recognition model is less than or equal to the preset threshold, randomly select N historical pressure difference values ​​containing flow type identification from the training set and input them into the flow type recognition model to train the flow type recognition model again, until the prediction accuracy of the flow type recognition model is greater than the preset threshold.

[0019] The fourth aspect of the present application provides a cyclone gas-liquid separator pressure difference collection device, comprising: a first pressure sensor installed at the inlet of the cyclone gas-liquid separator, a second pressure sensor installed at the overflow port of the cyclone gas-liquid separator, and a cyclone gas-liquid separator inlet flow type identification device.

[0020] A fifth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configures the processor to execute the method for identifying the inlet flow pattern of a cyclone gas-liquid separator.

[0021] According to the above-mentioned cyclone gas-liquid separator inlet flow pattern identification method, a first pressure sensor and a second pressure sensor are respectively installed at the inlet and overflow of the cyclone gas-liquid separator, and the first pressure value and the second pressure value collected by the first pressure sensor and the second pressure sensor are obtained. The pressure difference between the inlet and the overflow is determined according to the first pressure value and the second pressure value, and the pressure difference is input into the flow pattern identification model to output the inlet flow pattern of the cyclone gas-liquid separator through the flow pattern identification model. According to this method, the inlet flow pattern of the cyclone gas-liquid separator can be quickly and accurately identified, and the use data of the cyclone gas-liquid separator can be quickly obtained.

[0022] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0024] Figure 1 The schematic diagram of the process of the method for identifying the inlet flow pattern of the cyclone gas-liquid separator according to the embodiment of the present application is schematically shown;

[0025] Figure 2 A schematic diagram of a device for identifying a flow pattern at an inlet of a cyclone gas-liquid separator according to an embodiment of the present application is shown;

[0026] Figure 3 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0028] Figure 1 The schematic diagram of the flow chart of the method for identifying the inlet flow pattern of the cyclone gas-liquid separator according to the embodiment of the present application is shown. Figure 1 As shown, in one embodiment of the present application, a method for identifying the flow pattern of a cyclone gas-liquid separator inlet is provided, wherein the inlet and the overflow of the cyclone gas-liquid separator are respectively equipped with a first pressure sensor and a second pressure sensor, comprising the following steps:

[0029] Step 101: Acquire a first pressure value and a second pressure value collected by a first pressure sensor and a second pressure sensor.

[0030] Step 102: determining a pressure difference between the inlet and the overflow port according to the first pressure value and the second pressure value.

[0031] Step 103, input the pressure difference into the flow pattern recognition model to output the inlet flow pattern of the cyclone gas-liquid separator through the flow pattern recognition model, and the machine learning algorithm built in the flow pattern recognition model is GBDT or XGBoost.

[0032] A first pressure sensor and a second pressure sensor are installed at the inlet and overflow of the cyclone gas-liquid separator, respectively. The inlet pressure of the cyclone gas-liquid separator is obtained by the first pressure sensor as P1, and the overflow pressure of the cyclone gas-liquid separator is obtained by the second pressure sensor as P2. The pressure difference is calculated by obtaining the inlet pressure of the cyclone gas-liquid separator by the first pressure sensor and the overflow pressure of the cyclone gas-liquid separator by the second pressure sensor, and the pressure difference is calculated as △P=P1-P2. The calculated pressure difference is input into the flow pattern identification model to output the inlet flow pattern of the cyclone gas-liquid separator through the flow pattern identification model.

[0033] Among them, the flow pattern recognition model is a plurality of first historical cyclone gas-liquid separator inlet pressure values ​​and second cyclone gas-liquid separator overflow port historical pressure values ​​collected by the first pressure sensor and the second pressure sensor, and a plurality of historical pressure difference values ​​between the inlet and the overflow port, and a historical inlet flow pattern corresponding to each historical pressure difference value are determined according to the plurality of first historical cyclone gas-liquid separator inlet pressure values ​​and second cyclone gas-liquid separator overflow port historical pressure values. Specifically, the inlet flow pattern can be summarized as wave flow, annular flow and slug flow. The inlet flow pattern can be obtained by observation method, probe method and other inlet flow pattern recognition methods in the experimental stage of obtaining training set data, and a flow pattern identification is added to each historical pressure difference value according to the historical inlet flow pattern. The historical pressure difference values ​​containing the flow pattern identification are sequentially input into the flow pattern recognition model until the prediction accuracy of the flow pattern recognition model is greater than the preset threshold.

[0034] In one embodiment, the machine learning algorithm built into the flow pattern recognition model is GBDT or XGBoost.

[0035] The machine learning algorithm built into the flow pattern recognition model is GBDT or XGBoost. The machine learning algorithm can reduce the deviation of the flow pattern recognition model, continuously learn and optimize the flow pattern recognition model, and increase the flow pattern recognition accuracy of the flow pattern recognition model.

[0036] In one embodiment, a plurality of first historical pressure values ​​and a second historical pressure value collected by a first pressure sensor and a second pressure sensor are obtained, a plurality of historical pressure difference values ​​between an inlet and an overflow port and a historical inlet flow pattern corresponding to each historical pressure difference value are determined based on the plurality of first historical pressure values ​​and the second historical pressure value, a flow pattern identification is added to each historical pressure difference value based on the historical inlet flow pattern, and the historical pressure difference values ​​containing the flow pattern identification are sequentially input into a flow pattern recognition model to train the flow pattern recognition model in an embodiment of the present application.

[0037] The flow pattern recognition model is obtained by obtaining a plurality of first historical cyclone gas-liquid separator inlet pressure values ​​and a second cyclone gas-liquid separator overflow port historical pressure values ​​collected by the first pressure sensor and the second pressure sensor, and determining a plurality of historical pressure difference values ​​between the inlet and the overflow port, and a historical inlet flow pattern corresponding to each historical pressure difference value according to the plurality of first historical cyclone gas-liquid separator inlet pressure values ​​and the second cyclone gas-liquid separator overflow port historical pressure values. Specifically, the inlet flow pattern can be summarized as wave flow, annular flow and slug flow. The inlet flow pattern can be obtained by the inlet flow pattern recognition device, and a flow pattern identifier is added to each historical pressure difference value according to the historical inlet flow pattern. The historical pressure difference values ​​containing the flow pattern identifier are sequentially input into the flow pattern recognition model until the prediction accuracy of the flow pattern recognition model is greater than the preset threshold.

[0038] In one embodiment, multiple historical pressure difference values ​​and the historical inlet flow patterns corresponding to each historical pressure difference value are divided into a training set and a verification set according to a preset ratio, and N historical pressure difference values ​​containing flow pattern identifiers are randomly selected from the training set and input into a flow pattern recognition model to train the flow pattern recognition model. After the flow pattern recognition model is trained with the data in the training set, M historical pressure difference values ​​containing flow pattern identifiers are randomly selected from the verification set and input into the flow pattern recognition model to detect the prediction accuracy of the flow pattern recognition model, wherein N and M are both natural numbers greater than zero. When the prediction accuracy of the flow pattern recognition model is greater than a preset threshold, it is determined that the training of the flow pattern recognition model is completed. When the prediction accuracy of the flow pattern recognition model is less than or equal to the preset threshold, the step of randomly selecting N historical pressure difference values ​​containing flow pattern identifiers from the training set and inputting them into the flow pattern recognition model to train the flow pattern recognition model is performed again until the prediction accuracy of the flow pattern recognition model is greater than the preset threshold.

[0039] The flow pattern identification model is achieved by obtaining multiple first historical cyclone gas-liquid separator inlet pressure values ​​and second cyclone gas-liquid separator overflow port historical pressure values ​​collected by the first pressure sensor and the second pressure sensor, and determining multiple historical pressure differences between the inlet and the overflow port, as well as the historical inlet flow pattern corresponding to each historical pressure difference value according to the multiple first historical cyclone gas-liquid separator inlet pressure values ​​and second cyclone gas-liquid separator overflow port historical pressure values. According to a preset ratio, multiple historical pressure difference values ​​and the historical inlet flow types corresponding to each historical pressure difference value are divided into a training set and a verification set, and N historical pressure difference values ​​containing flow type identification are randomly selected from the training set and input into the flow type recognition model to train the flow type recognition model. After the flow type recognition model is trained with the data in the training set, M historical pressure difference values ​​containing flow type identification are randomly selected from the verification set and input into the flow type recognition model to detect the prediction accuracy of the flow type recognition model, wherein N and M are both natural numbers greater than zero. When the prediction accuracy of the flow type recognition model is greater than a preset threshold, it is determined that the training of the flow type recognition model is completed. When the prediction accuracy of the flow type recognition model is less than or equal to the preset threshold, the step of randomly selecting N historical pressure difference values ​​containing flow type identification from the training set and inputting them into the flow type recognition model to train the flow type recognition model is executed again until the prediction accuracy of the flow type recognition model is greater than the preset threshold.

[0040] In one embodiment, when the gas phase apparent flow rate and the liquid phase apparent flow rate are determined, multiple first historical pressure values ​​and second historical pressure values ​​collected by the first pressure sensor and the second pressure sensor are obtained so that the historical pressure difference between the first historical pressure value and the second historical pressure value changes periodically.

[0041] Determine the gas phase apparent flow velocity and liquid phase apparent flow velocity and the inlet flow type of the mixture entering the cyclone gas-liquid separator. When the gas phase apparent flow velocity and liquid phase apparent flow velocity are determined, a first pressure sensor and a second pressure sensor are respectively installed at the inlet and the overflow port of the cyclone gas-liquid separator. The first pressure sensor and the second pressure sensor collect a plurality of first historical inlet pressure values ​​of the cyclone gas-liquid separator and a plurality of historical pressure values ​​of the overflow port of the second cyclone gas-liquid separator. The difference between the first historical inlet pressure value of the cyclone gas-liquid separator and the second historical pressure value of the overflow port of the cyclone gas-liquid separator varies periodically.

[0042] An embodiment of the present invention provides a processor configured to execute the above-mentioned method for identifying the inlet flow pattern of a cyclone gas-liquid separator.

[0043] The present invention provides a device for identifying the inlet flow pattern of a cyclone gas-liquid separator. Figure 2 As shown, including:

[0044] The data acquisition module 201 is used to acquire the first pressure value and the second pressure value through the first pressure sensor and the second pressure sensor.

[0045] The data processing module 202 is used to determine the pressure difference between the inlet and the overflow port according to the first pressure value and the second pressure value.

[0046] The flow pattern recognition module 203 is used to input the pressure difference into the flow pattern recognition model, so as to output the inlet flow pattern of the cyclone gas-liquid separator through the flow pattern recognition model.

[0047] In one embodiment, the device also includes a model training module, which is configured to: obtain multiple first historical pressure values ​​and second historical pressure values ​​collected by the first pressure sensor and the second pressure sensor; determine multiple historical pressure difference values ​​between the inlet and the overflow port according to the multiple first historical pressure values ​​and the second historical pressure values, and the historical inlet flow type corresponding to each historical pressure difference value, and add a flow type identification to each historical pressure difference value according to the historical inlet flow type; and input the historical pressure difference values ​​containing the flow type identification into the flow type recognition model in turn to train the flow type recognition model.

[0048] In one embodiment, the model training module is further configured to: divide multiple historical pressure difference values ​​and the historical inlet flow types corresponding to each historical pressure difference value into a training set and a verification set according to a preset ratio; randomly select N historical pressure difference values ​​containing flow type identification from the training set and input them into the flow type recognition model to train the flow type recognition model; after the flow type recognition model is trained with the data in the training set, randomly select M historical pressure difference values ​​containing flow type identification from the verification set and input them into the flow type recognition model to detect the prediction accuracy of the flow type recognition model, wherein N and M are both natural numbers greater than zero; when the prediction accuracy of the flow type recognition model is greater than a preset threshold, determine that the flow type recognition model training is completed; when the prediction accuracy of the flow type recognition model is less than or equal to the preset threshold, execute the step of randomly selecting N historical pressure difference values ​​containing flow type identification from the training set and inputting them into the flow type recognition model to train the flow type recognition model again, until the prediction accuracy of the flow type recognition model is greater than the preset threshold.

[0049] The data acquisition module is used to obtain multiple first historical inlet pressure values ​​of the cyclone gas-liquid separator and the historical pressure values ​​of the overflow port of the second cyclone gas-liquid separator collected by the first pressure sensor and the second pressure sensor. The data processing module determines multiple historical pressure differences between the inlet and the overflow port, and the historical inlet flow type corresponding to each historical pressure difference value according to the multiple first historical inlet pressure values ​​of the cyclone gas-liquid separator and the historical pressure values ​​of the overflow port of the second cyclone gas-liquid separator. A flow type identifier is added to each historical pressure difference value according to the historical inlet flow type. The model training module is used to input the historical pressure difference values ​​containing the flow type identifier into the flow type recognition model in sequence to train the flow type recognition model until the prediction accuracy of the flow type recognition model is greater than a preset threshold.

[0050] An embodiment of the present invention provides a cyclone gas-liquid separator pressure difference collection device, comprising: a first pressure sensor installed at the inlet of the cyclone gas-liquid separator, a second pressure sensor installed at the overflow port of the cyclone gas-liquid separator, and a cyclone gas-liquid separator inlet flow type identification device.

[0051] An embodiment of the present invention provides a storage medium, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the method for identifying the inlet flow pattern of a cyclone gas-liquid separator.

[0052] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor A01, a network interface A02, a display screen A04, an input device A05 and a memory (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A06. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor A01, a method for identifying the inlet flow pattern of a cyclone gas-liquid separator is implemented. The display screen A04 of the computer device can be a liquid crystal display or an electronic ink display, and the input device A05 of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0053] Those skilled in the art will understand that Figure 3The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0054] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of the above-mentioned method for identifying the inlet flow pattern of a cyclone gas-liquid separator are implemented.

[0055] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0056] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0057] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0058] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0059] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0060] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0061] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0062] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0063] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for identifying the inlet flow pattern of a cyclone gas-liquid separator, characterized in that: The inlet and the overflow of the cyclone gas-liquid separator are respectively equipped with a first pressure sensor and a second pressure sensor, and the method comprises: Acquire a plurality of first historical pressure values ​​and second historical pressure values ​​collected by the first pressure sensor and the second pressure sensor; Determining a plurality of historical pressure difference values ​​between the inlet and the overflow port and a historical inlet flow pattern corresponding to each historical pressure difference value according to a plurality of first historical pressure values ​​and a second historical pressure value; Adding a flow type identifier to each historical pressure difference value according to the historical inlet flow type; Dividing the plurality of historical pressure difference values ​​and the historical inlet flow pattern corresponding to each historical pressure difference value into a training set and a verification set according to a preset ratio; Randomly selecting N historical pressure difference values ​​containing the flow pattern identifier from the training set and inputting them into the flow pattern recognition model to train the flow pattern recognition model; After the flow pattern recognition model is trained using the data in the training set, M historical pressure difference values ​​containing the flow pattern identifier are randomly selected from the validation set and input into the flow pattern recognition model to detect the prediction accuracy of the flow pattern recognition model, wherein N and M are both natural numbers greater than zero; When the prediction accuracy of the flow pattern recognition model is greater than a preset threshold, determining that the training of the flow pattern recognition model is completed; In the case where the prediction accuracy of the flow pattern recognition model is less than or equal to the preset threshold, the step of randomly selecting N historical pressure difference values ​​containing the flow pattern identifier from the training set and inputting them into the flow pattern recognition model to train the flow pattern recognition model is performed again until the prediction accuracy of the flow pattern recognition model is greater than the preset threshold; Acquire a first pressure value and a second pressure value collected by the first pressure sensor and the second pressure sensor; determining a pressure difference between the inlet and the overflow port according to the first pressure value and the second pressure value; The pressure difference is input into a flow pattern recognition model to output the inlet flow pattern of the cyclone gas-liquid separator through the flow pattern recognition model. The machine learning algorithm built in the flow pattern recognition model is GBDT or XGBoost.

2. The method according to claim 1, characterized in that The method further comprises: When the gas phase apparent flow rate and the liquid phase apparent flow rate are determined, multiple first historical pressure values ​​and second historical pressure values ​​collected by the first pressure sensor and the second pressure sensor are obtained so that the historical pressure difference between the first historical pressure value and the second historical pressure value changes periodically.

3. A processor, characterized in that: The method is configured to execute the method for identifying the inlet flow pattern of a cyclone gas-liquid separator according to any one of claims 1 to 2.

4. A cyclone gas-liquid separator inlet flow pattern identification device, characterized in that: include: A data acquisition module, used for acquiring a first pressure value and a second pressure value through the first pressure sensor and the second pressure sensor; a data processing module, configured to determine a pressure difference between an inlet and an overflow port according to the first pressure value and the second pressure value; A flow pattern recognition module, used for inputting the pressure difference into a flow pattern recognition model, so as to output the inlet flow pattern of the cyclone gas-liquid separator through the flow pattern recognition model, wherein the machine learning algorithm built in the flow pattern recognition model is GBDT or XGBoost; The model training module is configured to: obtain a plurality of first historical pressure values ​​and a second historical pressure value collected by the first pressure sensor and the second pressure sensor; determine a plurality of historical pressure difference values ​​between the inlet and the overflow port and a historical inlet flow type corresponding to each historical pressure difference value according to the plurality of first historical pressure values ​​and the second historical pressure value; and add a flow type identifier to each historical pressure difference value according to the historical inlet flow type; The multiple historical pressure difference values ​​and the historical inlet flow patterns corresponding to each historical pressure difference value are divided into a training set and a verification set according to a preset ratio; N historical pressure difference values ​​containing flow pattern identifiers are randomly selected from the training set and input into a flow pattern recognition model to train the flow pattern recognition model; after the flow pattern recognition model is trained with the data in the training set, M historical pressure difference values ​​containing the flow pattern identifiers are randomly selected from the verification set and input into the flow pattern recognition model to detect the prediction accuracy of the flow pattern recognition model, wherein N and M are both natural numbers greater than zero; when the prediction accuracy of the flow pattern recognition model is greater than a preset threshold, it is determined that the flow pattern recognition model has been trained; When the prediction accuracy of the flow type recognition model is less than or equal to the preset threshold, the step of randomly selecting N historical pressure difference values ​​containing the flow type identification from the training set and inputting them into the flow type recognition model to train the flow type recognition model is performed again until the prediction accuracy of the flow type recognition model is greater than the preset threshold.

5. A cyclone gas-liquid separator pressure difference acquisition device, characterized in that: include: A first pressure sensor is installed at the inlet of the cyclone gas-liquid separator; A second pressure sensor is installed at the overflow port of the cyclone gas-liquid separator; as well as The cyclone gas-liquid separator inlet flow pattern identification device according to claim 4.

6. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the method for identifying the inlet flow pattern of a cyclone gas-liquid separator according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Seabed caisson type gas-liquid separator

    CN105781517A

  • System for quickly recognizing gathering-transportation riser system gas-liquid two-phase flow mass flow pattern

    CN105823617A

  • Method for identify gas and liquid two-phase flow pattern of wet dust removing equipment

    CN108593191A

  • Gas-liquid two-phase flow pattern recognition method based on acoustic emission-BP neural network

    CN111896616A

  • Annular mist flow gas phase apparent velocity prediction method based on particle swarm BP neural network

    CN112926767A