Transient condition identification method for oil pipeline, electronic device and storage medium

CN119150042BActive Publication Date: 2026-11-03CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310724288.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-16
Publication Date
2026-11-03
Estimated Expiration
2043-06-16

AI Technical Summary

Technical Problem

Existing technologies make it difficult to achieve continuous and accurate measurement of external environmental parameters of oil pipelines. Traditional mechanistic models have low accuracy in identifying transient faults and lack sufficient data support, making it difficult to identify abnormal operating conditions.

Method used

By using a transient operating condition identification model, transient hydraulic data sets are simulated and matched with actual data to identify transient accidents, and the interrelationship between environmental parameters and flow physical parameters along the pipeline is constructed to enhance the reliability of the identification.

Benefits of technology

It improves the reliability of identifying transient operating conditions in oil pipelines, supports the expansion of transient operating condition data, and enhances the ability to identify abnormal operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119150042B_ABST
    Figure CN119150042B_ABST
Patent Text Reader

Abstract

The application provides a transient operating condition identification method and device of an oil pipeline, an electronic device and a storage medium, and comprises the following steps: inputting boundary conditions of a transient operating condition of a pipeline and position information of each sensing point on the pipeline into a transient operating condition identification model, outputting a plurality of simulated transient hydraulic data sets from the transient operating condition identification model, and the simulated transient hydraulic data set is a data set composed of simulated transient hydraulic data of each sensing point on the pipeline when a preset transient accident occurs; the transient accident represents that one or more transient points fail; each simulated transient hydraulic data set is matched with actual transient hydraulic data, and a transient accident is determined based on a matching result, so that the identification of the transient accident has higher reliability and supports expansion of transient operating condition data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of oil pipeline monitoring technology, and in particular to a method, electronic device and storage medium for identifying transient operating conditions of oil pipelines. Background Technology

[0002] With the introduction of concepts such as "intelligent pipeline" and "smart pipeline network", digital and artificial intelligence technologies are gradually being applied to the construction and operation management of oil and gas pipelines. In the process of digitalization and intelligentization of oil and gas pipelines, it is necessary to accurately project the physical entity of the oil and gas pipeline network into a digital body and establish a digital twin. The final form of the digital twin is a complete and accurate digital description of the physical entity, which can be used to simulate, monitor, diagnose, predict and control the formation process and state of the physical entity in the real physical environment. At present, the mathematical representation of the operation process of oil pipelines still has the following problems: (1) It is not yet possible to continuously and accurately measure the external environmental parameters of oil pipelines. Traditional mechanism models are difficult to avoid deviations from the actual data of pipeline operation. The daily quasi-steady-state operation data of oil pipelines is large, but the transient operation data caused by abnormal conditions is small. Directly identifying abnormal conditions based on transient operation data lacks sufficient data support. (2) Compared with plant systems such as chemical plants, oil pipelines have a large spatial span, complex environmental information along the line, and many related physical parameters. The traditional mechanism model has low accuracy in analyzing data and identifying transient faults. Summary of the Invention

[0003] To address the problems existing in the prior art, this invention provides a method for identifying transient operating conditions of oil pipelines, an electronic device, and a storage medium.

[0004] In a first aspect, the present invention provides a method for identifying transient operating conditions of an oil pipeline, comprising:

[0005] The transient operating condition boundary conditions of the pipeline and the location information of each sensing point on the pipeline are input into the transient operating condition identification model. The transient operating condition identification model outputs multiple simulated transient hydraulic data sets. The simulated transient hydraulic data sets are data sets composed of simulated transient hydraulic data of each sensing point on the pipeline when a transient accident occurs. The transient accident represents the failure of one or more transient points.

[0006] Each simulated transient hydraulic data set is matched with the actual transient hydraulic data, and the transient accident is determined based on the matching results;

[0007] The transient operating condition identification model characterizes the interrelationships between environmental parameters along the pipeline, the flow physical parameters of the medium inside the pipeline, and transient hydraulic data.

[0008] In one embodiment, the method further includes: obtaining the transient condition identification model, including:

[0009] The actual transient hydraulic data of each sensing point on the pipeline under quasi-steady-state operation is obtained, and the key independent variable physical parameters along the pipeline are simulated based on the actual transient hydraulic data. The key independent variable physical parameters include the pressure on the inner wall of the pipeline, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, and the ambient temperature along the pipeline.

[0010] Based on the pressure inside the pipeline wall, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, the ambient temperature along the pipeline, and the boundary conditions of the transient operating conditions, the simulated transient hydraulic data for any point along the pipeline as the transient point are determined.

[0011] A verification dataset was determined based on the simulated transient hydraulic data.

[0012] The hydraulic and thermal loss factors of the pipeline are equivalently processed to obtain the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline. Based on the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline, a transient flow mechanism model of the pipeline is constructed. The transient flow mechanism model of the pipeline characterizes the relationship between the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline.

[0013] To obtain the actual physical quantities of environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline;

[0014] The change curves of the actual physical quantities and the transient hydraulic data of the pipeline are input into the transient flow mechanism model of the pipeline for fusion to determine the initial transient condition identification model.

[0015] The initial transient condition identification model is updated and verified using the verification dataset to determine the transient condition identification model.

[0016] In one embodiment, determining the verification dataset based on the simulated transient hydraulic data includes:

[0017] Acquire actual transient hydraulic data at the time of fault occurrence at the transient point;

[0018] The actual transient hydraulic data at the time of the transient point failure is compared with the corresponding simulated transient hydraulic data. Based on the comparison result, it is determined whether the simulated transient hydraulic data is to be included in the verification dataset, until the number of simulated transient hydraulic data in the verification dataset reaches a preset value.

[0019] In one embodiment, the method further includes:

[0020] Simulated transient hydraulic data that was not included in the validation dataset was used as actual transient hydraulic data under quasi-steady-state operation. The key independent variable physical parameters along the pipeline were re-simulated based on the new actual transient hydraulic data. Then, based on the newly obtained key independent variable physical parameters and transient operating condition boundary conditions, the simulated transient hydraulic data when any point along the pipeline is taken as the transient point was determined.

[0021] Secondly, the present invention provides a transient condition identification device for an oil pipeline, comprising:

[0022] The processing module is used to input the transient operating condition boundary conditions of the pipeline and the location information of each sensing point on the pipeline into the transient operating condition identification model. The transient operating condition identification model outputs multiple simulated transient hydraulic data sets. The simulated transient hydraulic data sets are data sets composed of simulated transient hydraulic data of each sensing point on the pipeline when a transient accident occurs. The transient accident represents the failure of one or more transient points.

[0023] The determination module is used to match each simulated transient hydraulic data set with the actual transient hydraulic data, and determine the transient accident based on the matching results;

[0024] The transient operating condition identification model characterizes the interrelationships between environmental parameters along the pipeline, the flow physical parameters of the medium inside the pipeline, and transient hydraulic data.

[0025] Thirdly, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the transient operating condition identification method for oil pipelines as described in any one of the first aspects.

[0026] Fourthly, the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the transient condition identification method for oil pipelines as described in any one of the first aspects.

[0027] The transient operating condition identification method, electronic equipment, and storage medium for oil pipelines provided by this invention enable the transient operating condition identification model to output multiple simulated transient hydraulic data sets corresponding to different transient accidents under the constraint of the transient operating condition boundary conditions of the pipeline, and match them with actual transient hydraulic data. Based on the matching results, the transient accident is determined, which makes the identification of transient accidents more reliable and supports the expansion of transient operating condition data. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0029] Figure 1 This is a flowchart illustrating the transient operating condition identification method for oil pipelines provided by the present invention.

[0030] Figure 2 This is a schematic diagram of the transient operating condition identification device for oil pipelines provided by the present invention;

[0031] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0033] The following is combined Figures 1 to 3 This invention describes the method, apparatus, electronic equipment, and storage medium for identifying transient operating conditions of oil pipelines.

[0034] Figure 1 This diagram illustrates a flowchart of a transient condition identification method for oil pipelines provided by the present invention. (See attached diagram.) Figure 1 The method includes:

[0035] 11. Input the transient operating condition boundary conditions of the pipeline and the location information of each sensing point on the pipeline into the transient operating condition identification model. The transient operating condition identification model outputs multiple simulated transient hydraulic data sets. The simulated transient hydraulic data sets are data sets composed of simulated transient hydraulic data of each sensing point on the pipeline when a transient accident occurs. A transient accident indicates that one or more transient points have failed.

[0036] 12. Match each simulated transient hydraulic data set with the actual transient hydraulic data, and determine the transient accident based on the matching results;

[0037] The transient operating condition identification model characterizes the interrelationships between environmental parameters along the pipeline, flow physical parameters of the medium inside the pipeline, and transient hydraulic data.

[0038] Regarding steps 11 and 12, it should be noted that in this invention, the oil pipeline is used to transport oil products. Oil pipelines are generally buried underground, but in special circumstances, they may be placed on the ground. To ensure the safe transport of oil products, it is necessary to identify potential faults in the oil pipeline so that the fault location can be further detected and promptly eliminated when a real fault occurs. Various sensing points are installed on the pipeline, including pressure sensors, temperature sensors, and fluid velocity sensors. The locations of these sensing points on the pipeline also need to be clearly defined.

[0039] Because pipelines generate a large amount of routine quasi-steady-state operational data, but have limited transient operational data caused by abnormal conditions (such as leaks), directly identifying abnormal conditions based on transient operational data lacks sufficient data support. Therefore, it is necessary to simulate the transient operational conditions of pipelines using a transient operational condition identification model to output simulated transient hydraulic data sets, thereby increasing the amount of transient operational data. In this invention, the transient operational condition identification model characterizes the interrelationships between environmental parameters along the pipeline, the flow physical parameters of the medium within the pipeline, and transient hydraulic data. Transient hydraulic data includes the flow velocity, temperature, and pressure of the medium on the inner wall of the pipeline.

[0040] In this invention, the transient operating condition boundary condition of a pipeline refers to the fault information at the transient point and the operating status of each piece of equipment on the pipeline when a transient accident occurs. Examples include the location of a pipeline leak, the size of the leak hole, and the current status of pumps on / off and valves on / off the pipeline.

[0041] In this invention, based on the above-mentioned interrelationships, after inputting the transient operating condition boundary conditions and the location information of each sensing point on the pipeline, the model outputs a simulated transient hydraulic data set. The simulated transient hydraulic data set is a data set composed of simulated transient hydraulic data of each sensing point on the pipeline when a preset transient accident occurs. The transient accident indicates that one or more transient points have failed.

[0042] In this invention, each simulated transient hydraulic data set is matched with actual transient hydraulic data, and a transient accident is determined based on the matching results. It should be noted that each simulated transient hydraulic data set represents data at one or more transient points where a fault occurs. Matching this data with the actual transient hydraulic data yields a matching degree. When the matching degree reaches a certain requirement, it can be determined that the fault at one or more transient points is consistent with the actual transient hydraulic data, thus identifying the transient accident.

[0043] The transient operating condition identification method for oil pipelines provided by this invention enables the transient operating condition identification model to output multiple simulated transient hydraulic data sets corresponding to different transient accidents under the constraint of the transient operating condition boundary conditions of the pipeline, and matches them with actual transient hydraulic data. Based on the matching results, the transient accident is determined, which makes the identification of transient accidents more reliable and supports the expansion of transient operating condition data.

[0044] In a further step of the above method, the processing procedure for obtaining the transient operating condition identification model is explained as follows:

[0045] The actual transient hydraulic data of each sensing point on the pipeline under quasi-steady-state operation is obtained, and the key independent variable physical parameters along the pipeline are simulated based on the actual transient hydraulic data. The key independent variable physical parameters include the pressure on the inner wall of the pipeline, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, and the ambient temperature along the pipeline.

[0046] Based on the pressure inside the pipeline wall, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, the ambient temperature along the pipeline, and the boundary conditions of the transient operating conditions, the simulated transient hydraulic data for any point along the pipeline as the transient point are determined.

[0047] Determine the validation dataset based on simulated transient hydraulic data;

[0048] The hydraulic and thermal loss factors of the pipeline are equivalently processed to obtain the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline. Based on the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline, a transient flow mechanism model of the pipeline is constructed. The transient flow mechanism model of the pipeline characterizes the relationship between the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline.

[0049] Obtain the actual physical quantities of environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline;

[0050] The change curves of actual physical quantities and pipeline transient hydraulic data are input into the pipeline transient flow mechanism model for fusion to determine the initial transient condition identification model.

[0051] The validation dataset is used to update and validate the initial transient condition identification model, thus determining the transient condition identification model.

[0052] It should be noted that in this invention, key independent variable physical parameters along the pipeline are derived based on actual data from the quasi-steady-state operation of the pipeline. Specifically, the actual transient hydraulic data of each sensing point on the pipeline during the quasi-steady-state operation is obtained, and the key independent variable physical parameters along the pipeline are derived based on the analysis of this actual transient hydraulic data.

[0053] Because the measurement data at each sensing point on the pipeline is acquired by instruments distributed in a "point" manner, it only represents the data of the sensing point's location. Here, "along the pipeline" refers to the operational data of the entire pipeline. That is, by using partial data, various key independent physical parameters along the pipeline can be calculated.

[0054] In this invention, the key independent physical parameters include the pressure inside the pipeline wall, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, and the ambient temperature along the pipeline.

[0055] Since the key independent physical parameters along the pipeline are known, the simulated transient hydraulic data for any point along the pipeline as the transient point are determined based on the pipeline inner wall pressure, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, the ambient temperature along the pipeline, and the transient operating condition boundary conditions.

[0056] Then, a validation dataset was determined based on simulated transient hydraulic data at transient points under various conditions.

[0057] The hydraulic and thermal loss factors of the pipeline are equivalently processed to obtain the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline. Based on the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline, a transient flow mechanism model of the pipeline is constructed. The transient flow mechanism model of the pipeline characterizes the relationship between the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline.

[0058] Considering the interaction between hydraulics and heat, changes in the medium's temperature lead to changes in its density and viscosity, resulting in altered frictional losses. These changes, in turn, affect flow rate and velocity. Furthermore, variations in flow rate and velocity cause changes in frictional losses, which in turn affect temperature. Factors contributing to thermal losses include heat flux density, friction coefficient, flow velocity, pipe diameter, density, time, specific heat, temperature, and equivalent heat transfer coefficient. Factors contributing to hydraulic losses in pipelines include time, pipe diameter, pipe length, pressure, flow velocity, density, friction coefficient, pressure wave velocity, and bulk modulus of elasticity.

[0059] The hydraulic and thermal loss factors in the pipeline are equivalently processed to obtain environmental parameters along the pipeline route and flow physical parameters of the medium inside the pipeline. Based on the environmental parameters along the pipeline route and the flow physical parameters of the medium inside the pipeline, a transient flow mechanism model of the pipeline is constructed.

[0060] It should be noted that there are hydraulic loss factors (such as friction along the pipeline and local friction) and thermal loss factors (such as soil temperature, atmospheric temperature changes, and precipitation) along the pipeline route. Some of these factors can be monitored, but most cannot. Therefore, they need to be quantified (equivalent to certain parameters to simplify the process). For example, there are too many factors affecting thermal loss along the pipeline route, so they are processed into parameters such as the temperature of the medium surrounding the pipeline and the thermal conductivity of the soil.

[0061] In this invention, the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline include the density, flow velocity, temperature, elastic coefficient, friction coefficient, pipe diameter, elastic modulus of the pipe material, wall thickness, soil temperature, pressure, etc.

[0062] The transient flow mechanism model for pipelines consists of a thermodynamic model and a hydraulic model. The thermodynamic model includes parameters such as the density, velocity, temperature, elastic modulus, and friction coefficient of the medium, while the hydraulic model includes parameters such as pipe diameter, elastic modulus of the pipe material, wall thickness, soil temperature, and pressure. The construction method is as follows: 1. Calculate the velocity, pressure, and temperature under quasi-steady-state conditions; 2. Under a certain transient condition, using the temperature from step 1 as the calculated value, calculate the viscosity, density, and friction coefficient of the medium, and use the hydraulic model in the model to calculate the velocity and pressure; 3. Using the velocity and pressure calculated in step 2, use the thermodynamic model in the model to calculate the temperature under the transient condition; 4. Using the temperature calculated in step 3, repeat step 2 to calculate the velocity and pressure; repeat steps 2, 3, and 4 iteratively until the specified accuracy threshold is reached, thus completing the model construction.

[0063] In this invention, actual physical quantities of environmental parameters along the pipeline and flow physical parameters of the medium inside the pipeline are collected.

[0064] The variation curves of actual physical quantities and transient hydraulic data of the pipeline are input into the transient flow mechanism model of the pipeline for fusion to determine the initial transient condition identification model. This transient condition identification model characterizes the interrelationships between environmental parameters along the pipeline, the flow physical parameters of the medium inside the pipeline, and transient hydraulic data.

[0065] The validation dataset is used to update and validate the initial transient condition identification model, thus determining the transient condition identification model.

[0066] In a further step of the above method, the process of determining the verification dataset based on the simulated transient hydraulic data is explained in detail below:

[0067] Acquire actual transient hydraulic data at the time of fault occurrence at the transient point;

[0068] The actual transient hydraulic data at the time of the transient point failure is compared with the corresponding simulated transient hydraulic data. Based on the comparison results, it is determined whether the simulated transient hydraulic data should be included in the verification dataset, until the number of simulated transient hydraulic data in the verification dataset reaches a preset value.

[0069] It should be noted that in this invention, simulated transient hydraulic data that matches the transient operating condition boundary conditions are compared and analyzed with actual transient hydraulic data. The simulated transient hydraulic data with a high degree of agreement is expanded into the validation dataset, while the simulated transient hydraulic data with a low degree of agreement is used as the actual transient hydraulic data under quasi-steady-state operation. The key independent variable physical parameters along the pipeline are re-simulated based on the new actual transient hydraulic data. Then, based on the newly obtained key independent variable physical parameters and transient operating condition boundary conditions, the simulated transient hydraulic data when any point along the pipeline is taken as the transient point is determined.

[0070] The degree of agreement here refers to whether the simulated leak location matches the actual leak location, or whether the simulated valve closing location matches the actual valve closing location. It also includes the fact that the deviation between the simulated data and the actual data is less than a certain value (such as 10%).

[0071] The transient operating condition identification method for oil pipelines provided by this invention enables the transient operating condition identification model to output multiple simulated transient hydraulic data sets corresponding to different transient accidents under the constraint of the transient operating condition boundary conditions of the pipeline, and matches them with actual transient hydraulic data. Based on the matching results, the transient accident is determined, which makes the identification of transient accidents more reliable and supports the expansion of transient operating condition data.

[0072] The transient operating condition identification device for oil pipelines provided by the present invention will be described below. The transient operating condition identification device for oil pipelines described below can be referred to in correspondence with the transient operating condition identification method for oil pipelines described above.

[0073] Figure 2 This diagram illustrates the structure of a transient condition identification device for an oil pipeline provided by the present invention. (See attached diagram.) Figure 2 The device includes a processing module 21 and a determining module 22, wherein:

[0074] Processing module 21 is used to input the transient operating condition boundary conditions of the pipeline and the location information of each sensing point on the pipeline into the transient operating condition identification model. The transient operating condition identification model outputs multiple simulated transient hydraulic data sets. The simulated transient hydraulic data sets are data sets composed of simulated transient hydraulic data of each sensing point on the pipeline when a transient accident occurs. A transient accident indicates that one or more transient points have failed.

[0075] The determination module 22 is used to match each simulated transient hydraulic data set with the actual transient hydraulic data, and determine the transient accident based on the matching results;

[0076] The transient operating condition identification model characterizes the interrelationships between environmental parameters along the pipeline, flow physical parameters of the medium inside the pipeline, and transient hydraulic data.

[0077] In a further embodiment of the above-described apparatus, the apparatus further includes an acquisition module for acquiring a transient operating condition identification model, comprising:

[0078] The actual transient hydraulic data of each sensing point on the pipeline under quasi-steady-state operation is obtained, and the key independent variable physical parameters along the pipeline are simulated based on the actual transient hydraulic data. The key independent variable physical parameters include the pressure on the inner wall of the pipeline, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, and the ambient temperature along the pipeline.

[0079] Based on the pressure inside the pipeline wall, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, the ambient temperature along the pipeline, and the boundary conditions of the transient operating conditions, the simulated transient hydraulic data for any point along the pipeline as the transient point are determined.

[0080] Determine the validation dataset based on simulated transient hydraulic data;

[0081] The hydraulic and thermal loss factors of the pipeline are equivalently processed to obtain the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline. Based on the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline, a transient flow mechanism model of the pipeline is constructed. The transient flow mechanism model of the pipeline characterizes the relationship between the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline.

[0082] To obtain the actual physical quantities of environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline;

[0083] The change curves of actual physical quantities and pipeline transient hydraulic data are input into the pipeline transient flow mechanism model for fusion to determine the initial transient condition identification model.

[0084] The initial transient condition identification model is updated and validated using the validation dataset to determine the transient condition identification model.

[0085] In a further embodiment of the aforementioned apparatus, the acquisition module, during the process of determining the verification dataset based on simulated transient hydraulic data, is specifically used for:

[0086] Acquire actual transient hydraulic data at the time of fault occurrence at the transient point;

[0087] The actual transient hydraulic data at the time of the transient point failure is compared with the corresponding simulated transient hydraulic data. Based on the comparison results, it is determined whether the simulated transient hydraulic data should be included in the verification dataset, until the number of simulated transient hydraulic data in the verification dataset reaches a preset value.

[0088] In a further embodiment of the above-described apparatus, the acquisition module is also used for:

[0089] Simulated transient hydraulic data that was not included in the validation dataset was used as actual transient hydraulic data under quasi-steady-state operation. The key independent variable physical parameters along the pipeline were re-simulated based on the new actual transient hydraulic data. Then, based on the newly obtained key independent variable physical parameters and transient operating condition boundary conditions, the simulated transient hydraulic data when any point along the pipeline is taken as the transient point was determined.

[0090] Since the device described in this embodiment of the invention is based on the same principle as the method described in the above embodiments, more detailed explanations will not be repeated here.

[0091] The transient operating condition identification device for oil pipelines provided by this invention enables the transient operating condition identification model to output multiple simulated transient hydraulic data sets corresponding to different transient accidents under the constraint of the transient operating condition boundary conditions of the pipeline, and matches them with actual transient hydraulic data. Based on the matching results, the transient accident is determined, which makes the identification of transient accidents more reliable and supports the expansion of transient operating condition data.

[0092] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include: a processor 31, a communication interface 32, a memory 33, and a communication bus 34. The processor 31, communication interface 32, and memory 33 communicate with each other via the communication bus 34. The processor 31 can call the computer program in the memory 33 to execute the steps of the transient condition identification method for oil pipelines. These steps include, for example, inputting the transient condition boundary conditions of the pipeline and the location information of each sensing point on the pipeline into the transient condition identification model; the transient condition identification model outputting multiple simulated transient hydraulic data sets; these simulated transient hydraulic data sets being data sets composed of simulated transient hydraulic data from each sensing point on the pipeline when a preset transient accident occurs; a transient accident representing a failure at one or more transient points; matching each simulated transient hydraulic data set with actual transient hydraulic data; and determining the transient accident based on the matching results.

[0093] The transient operating condition identification model characterizes the interrelationships between environmental parameters along the pipeline, the flow physical parameters of the medium inside the pipeline, and transient hydraulic data.

[0094] Furthermore, the logical instructions in the aforementioned memory 33 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0095] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by the computer, the computer is able to execute the steps of a transient condition identification method for oil pipelines, for example including: inputting the transient condition boundary conditions of the pipeline and the location information of each sensing point on the pipeline into a transient condition identification model; outputting multiple simulated transient hydraulic data sets from the transient condition identification model; wherein the simulated transient hydraulic data sets are data sets composed of simulated transient hydraulic data of each sensing point on the pipeline when a preset transient accident occurs; a transient accident characterizes a failure at one or more transient points; matching each simulated transient hydraulic data set with actual transient hydraulic data, and determining a transient accident based on the matching results;

[0096] The transient operating condition identification model characterizes the interrelationships between environmental parameters along the pipeline, the flow physical parameters of the medium inside the pipeline, and transient hydraulic data.

[0097] On the other hand, embodiments of the present invention also provide a processor-readable storage medium storing a computer program for causing the processor to execute steps of a transient condition identification method for oil pipelines. For example, the program includes: inputting the transient condition boundary conditions of the pipeline and the location information of each sensing point on the pipeline into a transient condition identification model; outputting multiple simulated transient hydraulic data sets from the transient condition identification model; the simulated transient hydraulic data sets being data sets composed of simulated transient hydraulic data from each sensing point on the pipeline when a preset transient accident occurs; a transient accident representing a failure at one or more transient points; matching each simulated transient hydraulic data set with actual transient hydraulic data; and determining a transient accident based on the matching results.

[0098] The transient operating condition identification model characterizes the interrelationships between environmental parameters along the pipeline, flow physical parameters of the medium inside the pipeline, and transient hydraulic data.

[0099] The processor-readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic memory (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO)), optical memory (e.g., CD, DVD, BD, HVD), and semiconductor memory (e.g., ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)).

[0100] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0101] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for identifying transient operating conditions of an oil pipeline, characterized in that, include: The transient operating condition boundary conditions of the pipeline and the location information of each sensing point on the pipeline are input into the transient operating condition identification model. The transient operating condition identification model outputs multiple simulated transient hydraulic data sets. The simulated transient hydraulic data sets are data sets composed of simulated transient hydraulic data of each sensing point on the pipeline when a transient accident occurs. The transient accident represents the failure of one or more transient points. The simulated transient hydraulic data includes the flow velocity, temperature and pressure of the medium in the pipeline on the inner wall of the pipeline. The transient operating condition boundary conditions of the pipeline refer to the fault information of the transient point and the operating status of each device on the pipeline when a transient accident occurs. Each simulated transient hydraulic data set is matched with the actual transient hydraulic data, and the transient accident is determined based on the matching results; The transient operating condition identification model characterizes the relationship between environmental parameters along the pipeline, flow physical parameters of the medium inside the pipeline, and transient hydraulic data. The method further includes: obtaining the transient operating condition identification model, including: The actual transient hydraulic data of each sensing point on the pipeline under quasi-steady-state operation is obtained, and the key independent variable physical parameters along the pipeline are simulated based on the actual transient hydraulic data. The key independent variable physical parameters include the pressure on the inner wall of the pipeline, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, and the ambient temperature along the pipeline. Based on the pressure inside the pipeline wall, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, the ambient temperature along the pipeline, and the boundary conditions of the transient operating conditions, the simulated transient hydraulic data for any point along the pipeline as the transient point are determined. A verification dataset was determined based on the simulated transient hydraulic data. The hydraulic and thermal loss factors of the pipeline are equivalently processed to obtain the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline. Based on the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline, a transient flow mechanism model of the pipeline is constructed. The transient flow mechanism model of the pipeline characterizes the relationship between the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline. To obtain the actual physical quantities of environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline; The change curves of the pipeline transient hydraulic data and the actual physical quantities are input into the pipeline transient flow mechanism model for fusion to determine the initial transient condition identification model. The initial transient condition identification model is updated and verified using the verification dataset to determine the transient condition identification model.

2. The method for identifying transient operating conditions of oil pipelines according to claim 1, characterized in that, The determination of the verification dataset based on the simulated transient hydraulic data includes: Acquire actual transient hydraulic data at the time of fault occurrence at the transient point; The actual transient hydraulic data at the time of the transient point failure is compared with the corresponding simulated transient hydraulic data. Based on the comparison result, it is determined whether the simulated transient hydraulic data is to be included in the verification dataset, until the number of simulated transient hydraulic data in the verification dataset reaches a preset value.

3. The method for identifying transient operating conditions of oil pipelines according to claim 2, characterized in that, The method further includes: Simulated transient hydraulic data that was not included in the validation dataset was used as actual transient hydraulic data under quasi-steady-state operation. The key independent variable physical parameters along the pipeline were re-simulated based on the new actual transient hydraulic data. Then, based on the newly obtained key independent variable physical parameters and transient operating condition boundary conditions, the simulated transient hydraulic data when any point along the pipeline is taken as the transient point was determined.

4. A transient operating condition identification device for an oil pipeline, characterized in that, include: The processing module is used to input the transient operating condition boundary conditions of the pipeline and the location information of each sensing point on the pipeline into the transient operating condition identification model. The transient operating condition identification model outputs multiple simulated transient hydraulic data sets. The simulated transient hydraulic data sets are data sets composed of simulated transient hydraulic data of each sensing point on the pipeline when a transient accident occurs. The transient accident represents the failure of one or more transient points. The simulated transient hydraulic data includes the flow velocity, temperature and pressure of the medium in the pipeline on the inner wall of the pipeline. The transient operating condition boundary conditions of the pipeline refer to the fault information of the transient points and the operating status of each device on the pipeline when a transient accident occurs. The determination module is used to match each simulated transient hydraulic data set with the actual transient hydraulic data, and determine the transient accident based on the matching results; The transient operating condition identification model characterizes the relationship between environmental parameters along the pipeline, flow physical parameters of the medium inside the pipeline, and transient hydraulic data. The device further includes an acquisition module for acquiring the transient operating condition identification model, including: The actual transient hydraulic data of each sensing point on the pipeline under quasi-steady-state operation is obtained, and the key independent variable physical parameters along the pipeline are simulated based on the actual transient hydraulic data. The key independent variable physical parameters include the pressure on the inner wall of the pipeline, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, and the ambient temperature along the pipeline. Based on the pressure inside the pipeline wall, the friction coefficient between the pipeline oil and the inner wall, the thermal conductivity between the pipeline oil and the environment, the ambient temperature along the pipeline, and the boundary conditions of the transient operating conditions, the simulated transient hydraulic data for any point along the pipeline as the transient point are determined. A verification dataset was determined based on the simulated transient hydraulic data. The hydraulic and thermal loss factors of the pipeline are equivalently processed to obtain the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline. Based on the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline, a transient flow mechanism model of the pipeline is constructed. The transient flow mechanism model of the pipeline characterizes the relationship between the environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline. To obtain the actual physical quantities of environmental parameters along the pipeline and the flow physical parameters of the medium inside the pipeline; The change curves of the pipeline transient hydraulic data and the actual physical quantities are input into the pipeline transient flow mechanism model for fusion to determine the initial transient condition identification model. The initial transient condition identification model is updated and verified using the verification dataset to determine the transient condition identification model.

5. The transient operating condition identification device for oil pipelines according to claim 4, characterized in that, In the process of determining the verification dataset based on the simulated transient hydraulic data, the acquisition module is specifically used for: Acquire actual transient hydraulic data at the time of fault occurrence at the transient point; The actual transient hydraulic data at the time of the transient point failure is compared with the corresponding simulated transient hydraulic data. Based on the comparison result, it is determined whether the simulated transient hydraulic data is to be included in the verification dataset, until the number of simulated transient hydraulic data in the verification dataset reaches a preset value.

6. The transient operating condition identification device for oil pipelines according to claim 5, characterized in that, The acquisition module is also used for: The simulated transient hydraulic data that was not included in the validation dataset was used as the actual transient hydraulic data under quasi-steady-state operation. The key independent physical parameters along the pipeline were re-simulated based on the new actual transient hydraulic data. Based on the newly obtained key independent variable physical parameters and transient operating condition boundary conditions, simulated transient hydraulic data are determined when any point along the pipeline is taken as the transient point.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the transient condition identification method for oil pipelines as described in any one of claims 1-3.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the transient condition identification method for oil pipelines as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Compressed air system and intelligent pipe network leakage detecting method for same

    CN102563362A

  • Construction method for hydraulic loss calculation model of circular ring region of double-pipe heat exchanger

    CN115859496A

  • Anomaly localization in a pipeline

    US20170255717A1