Pipeline analysis methods, devices, equipment and storage media
By obtaining the actual pressure measured values and pipeline network data of the pressure monitoring point, and using the pipeline network simulation method to analyze and obtain the target theoretical pipeline diameter combination, the problem of lack of effective means to analyze and detect underground pipeline networks in the existing technology is solved, and the automation and efficiency improvement of pipeline network analysis is achieved.
Patent Information
- Application Number
- CN202411831259.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-04
AI Technical Summary
The existing technology lacks effective means to analyze and detect underground municipal gas pipeline entities, which makes it difficult to monitor and optimize the distribution capacity and structural abnormalities of the pipeline network.
By obtaining the actual pressure measured value and pipeline network data of the pressure monitoring point, the pipeline network simulation method is used to construct the objective function with the actual pressure measured value, and the target theoretical pipe diameter combination is analyzed, and the actual pipe network is analyzed to judge the distribution capacity and structural abnormalities of the pipeline network.
It realizes the automation of pipeline analysis, improves analysis efficiency, can verify and judge the physical structure of pipeline network, ensures the transmission and distribution capabilities of pipeline networks, and assists in optimizing the basic pipeline model of pipeline network simulation.
Smart Images

Figure CN119756463A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pipe network detection, and in particular to a pipe network analysis method, device, equipment and storage medium. Background Art
[0002] Most municipal gas pipelines are buried underground, and after the construction is completed, they are generally not visible. The data such as the pipe diameter recorded during the construction may be wrong. After the pipeline has been used for a long time, the actual transmission and distribution capacity of the pipe section may also change (particles in the pipe, changes in pipe diameter, etc.). At the same time, the records of the switch status of the valves on the pipeline are also easily confused. These are not easy to check and verify because the pipeline is buried underground.
[0003] Currently, there is no effective means to analyze and detect pipeline network entities. How to analyze and detect pipeline network entities has become a technical problem that needs to be solved urgently.
[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present invention is to provide a pipe network analysis method, device, equipment and storage medium, aiming to solve the technical problem that there is currently no effective means for analyzing and detecting pipe network entities.
[0006] To achieve the above object, the present invention provides a pipe network analysis method, which comprises the following steps:
[0007] Obtain the actual pressure values uploaded by several pressure monitoring points;
[0008] Acquire pipe network data of the target pipe network, and extract flow data and actual pipe diameter combination from the pipe network data;
[0009] Using a pipe network simulation method in combination with the measured pressure value to construct an objective function, and analyzing the objective function to obtain a target theoretical pipe diameter combination;
[0010] The target pipe network is analyzed based on the target theoretical pipe diameter combination and the actual pipe diameter combination.
[0011] In some embodiments, the pipe network analysis method further comprises:
[0012] Obtain the flow data of the gas source end of the target pipeline network at different time periods, as well as the gas consumption data of the user end at different time periods;
[0013] Determine available gas usage data according to the flow data of the gas source end of the target pipeline network in different time periods and the gas usage data of the user end in different time periods;
[0014] Flow rate data is determined based on the available gas usage data.
[0015] In some embodiments, determining the available gas usage data according to the flow data of the gas source end of the target pipeline network in different time periods and the gas usage data of the user end in different time periods includes:
[0016] Calculate the gas consumption difference between the flow data of the gas source end and the gas consumption data of the user end in any same time period;
[0017] If the gas usage difference is within a set range, it is determined that the flow data at the gas source end and the gas usage data at the user end are available gas usage data.
[0018] In some embodiments, the method of constructing an objective function by combining the pipe network simulation method with the pressure measured value includes:
[0019] Subtract the vectors corresponding to the pressure calculation value and the pressure measured value, and calculate the norm of the resulting vector to construct a reference function, which is:
[0020]
[0021] in, is the vector corresponding to the pressure calculation value, is the vector corresponding to the measured pressure value;
[0022] Based on the reference function and combined with the pipe diameter combination [d1′, d2′, …, d10′] T Construct the objective function:
[0023]
[0024] In some embodiments, analyzing the objective function to obtain a target theoretical pipe diameter combination includes:
[0025] Minimize the value of the objective function to obtain the optimization function:
[0026]
[0027] Based on the optimization function, the pipe diameter combination [d1′, d2′, …, d10′] is selected from the pipe diameter combination [d1′, d2′, …, d10′] by using an integer programming method. T The target theoretical pipe diameter combination is determined in the formula: T is a combination of a finite number of pipe diameters in the search space, wherein the combination of the finite number of pipe diameters is a combination of a number of discrete pipe diameters;
[0028] Or, based on the optimization function, from the pipe diameter combination [d1′, d2′, …, d10′]T The target theoretical pipe diameter combination is determined in the formula: T is a continuous real variable.
[0029] In some embodiments, the analyzing the target pipe network based on the target theoretical pipe diameter combination and the actual pipe diameter combination includes:
[0030] Comparing and analyzing the target theoretical pipe diameter combination with the actual pipe diameter combination one by one to determine a number of pipe diameter differences;
[0031] If the pipe diameter difference exceeds the preset pipe diameter deviation, it is determined that an actual pipe section corresponding to the target pipe network has an abnormality.
[0032] In addition, to achieve the above-mentioned purpose, the present invention further proposes a pipe network analysis device, the pipe network analysis device comprising:
[0033] A monitoring module is used to obtain the actual pressure values uploaded by several pressure monitoring points;
[0034] An acquisition module, used to acquire the pipe network data of the target pipe network, and extract the flow data and the actual pipe diameter combination from the pipe network data;
[0035] A calculation module, used to construct an objective function by using a pipe network simulation method in combination with the pressure measured value, and analyze the objective function to obtain a target theoretical pipe diameter combination;
[0036] An analysis module is used to analyze the target pipe network based on the target theoretical pipe diameter combination and the actual pipe diameter combination.
[0037] In some embodiments, the acquisition module is used to acquire the flow data of the gas source end of the target pipeline network at different time periods, and the gas consumption data of the user end at different time periods;
[0038] Determine available gas usage data according to the flow data of the gas source end of the target pipeline network in different time periods and the gas usage data of the user end in different time periods;
[0039] Flow rate data is determined based on the available gas usage data.
[0040] In addition, to achieve the above-mentioned purpose, the present invention also proposes a pipeline network analysis device, which includes: a memory, a processor, and a pipeline network analysis program stored in the memory and executable on the processor, and the pipeline network analysis program is configured to implement the steps of the pipeline network analysis method described above.
[0041] In addition, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which a pipe network analysis program is stored, and when the pipe network analysis program is executed by a processor, the steps of the pipe network analysis method described above are implemented.
[0042] The present invention obtains measured pressure values uploaded by several pressure monitoring points; obtains pipe network data of a target pipe network, and extracts flow data and actual pipe diameter combinations from the pipe network data; constructs an objective function using a pipe network simulation method in combination with the measured pressure values, and analyzes the objective function to obtain a target theoretical pipe diameter combination; analyzes the target pipe network based on the target theoretical pipe diameter combination and the actual pipe diameter combination, and uses pipe network simulation and integer programming methods to automate the entire data analysis process, avoiding continuous trial analysis based on personnel experience, thereby improving analysis efficiency, and providing a basis for verifying and judging the physical structure of the pipe network, thereby ensuring the transmission and distribution capacity of the pipe network, and assisting in optimizing the basic pipe network model of pipe network simulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a flow chart of the first embodiment of the pipe network analysis method of the present invention;
[0044] Figure 2 It is a schematic diagram of the gas source end, user end and pipe section division in the pipe network analysis method of the present invention;
[0045] Figure 3 This is a structural block diagram of the first embodiment of the pipe network analysis device of the present invention.
[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0048] The embodiment of the present invention provides a pipe network analysis method, referring to Figure 1 , Figure 1 It is a flow chart of a first embodiment of a pipe network analysis method of the present invention.
[0049] In this embodiment, the pipe network analysis method includes the following steps:
[0050] Step S10: Obtaining actual pressure values uploaded by several pressure monitoring points.
[0051] In this embodiment, the executor of this embodiment is a pipe network analysis device, wherein the pipe network analysis device has functions such as data processing, data communication and program running. The pipe network analysis device can be a computer terminal device or other network device, and of course it can also be other devices with similar functions, and this embodiment does not limit this.
[0052] It should be noted that most municipal gas pipelines are buried underground and cannot be seen directly after the construction is completed. The data such as the pipe diameter recorded during the construction may be wrong. The actual transmission and distribution capacity of the pipe section may also change after the pipeline has been used for a long time (particles in the pipe, changes in pipe diameter, etc.). At the same time, the switch status records of the valves on the pipeline are also easily confused. These are not easy to check and verify because the pipeline is buried underground. However, there is currently no effective means for analyzing and detecting the pipeline entity.
[0053] In order to solve the above technical problems, this embodiment obtains the actual pressure values uploaded by several pressure monitoring points; obtains the pipeline data of the target pipeline network, and extracts the flow data and the actual pipe diameter combination from the pipeline data; uses the pipeline simulation method to combine the actual pressure values to construct the objective function, and analyzes the objective function to obtain the target theoretical pipe diameter combination; analyzes the target pipeline based on the target theoretical pipe diameter combination and the actual pipe diameter combination, and uses the pipeline simulation and integer programming methods. The entire data analysis process can be automated to avoid relying on the experience of personnel for continuous trial analysis, thereby improving the analysis efficiency, and can also provide a basis for verifying and judging the physical structure of the pipeline network, thereby ensuring the transmission and distribution capacity of the pipeline network, and at the same time assisting in optimizing the basic pipeline model of the pipeline network simulation. Specifically, it can be implemented as follows.
[0054] In the specific implementation, it is necessary to first obtain the monitored pressure value through the pressure monitoring point in the pipeline network. The pressure value is the measured value. It should be noted that for the built pipeline network, the monitored pressure value is the pressure value of the gas source or each pressure monitoring point.
[0055] Step S20: Obtain the pipe network data of the target pipe network, and extract the combination of flow data and actual pipe diameter from the pipe network data.
[0056] When the pipeline network already exists, the parameters in the pipeline network data are clear, and the flow rate at each point can be obtained through the meter. At this time, the flow data and the actual pipe diameter are known quantities.
[0057] In order to improve the quality of pipeline network data and to obtain flow data, in this embodiment, by analyzing the data of the gas source end and the user end, a suitable special time period is found, so as to screen out the time periods with only stable user gas consumption and the corresponding gas consumption data, so as to carry out analysis. Specifically, the flow data of the gas source end of the target pipeline network in different time periods and the gas consumption data of the user end in different time periods are obtained, and the available gas consumption data is determined according to the flow data of the gas source end of the target pipeline network in different time periods and the gas consumption data of the user end in different time periods, and the flow data is determined based on the available gas consumption data, wherein the step of determining the available gas consumption data according to the flow data of the gas source end of the target pipeline network in different time periods and the gas consumption data of the user end in different time periods further includes calculating the gas consumption difference between the flow data of the gas source end and the gas consumption data of the user end in any same time period; if the gas consumption difference is within the set range, the flow data of the gas source end and the gas consumption data of the user end are determined to be available gas consumption data.
[0058] In view of the above process, this embodiment further combines Figure 2 For explanation, refer to Figure 2 As shown, there are two gas sources: A and B, and five centralized gas users: c, d, e, f, and g. The remaining users are assumed to be scattered along the pipeline, which is not shown in the figure. Pipe sections: 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10, a total of 10 sections. In this embodiment, the flow of the AB gas source is obtained, and the gas consumption of the five centralized gas users c, d, e, f, and g is obtained at the same time (Note: the gas consumption of other users is not not obtained, but the dispersed gas consumption is not transmitted back in real time due to various reasons such as different selection of meters, so it cannot be counted). Analysis shows that the flow of the gas source is basically equal to the sum of the five centralized gas consumptions, indicating that the flow on this pipeline network has been fully obtained in this time period, and it happens that other dispersed users in this selected time period do not use gas at this time. Therefore, the obtained flow can be used as the basic data for analysis to carry out the next step of analysis.
[0059] This embodiment further illustrates that, for example, assume that three time points are taken on a certain day: 12 noon, 20 pm, and 4 am. The flow that can be obtained at 12 o'clock is: Qc=500, Qd=2000, Qe=2000, Qf=3000, Qg=500 (the gas volume of these five users can be obtained in real time and very accurately), QA=8000, QB=4000. At this time, it can be seen that among the acquired data, the data entering the network and the data of the user end that can be statistically analyzed are not equal, because there are still many scattered users in the network at this moment, and they are not counted because there is no real-time transmission.
[0060] The traffic that can be obtained at 20 o'clock in the evening is: Qc=1000, Qd=1000, Qe=2000, Qf=2000, Qg=500, QA=8000, QB=8000. At this time, it can be seen that among the data that have been obtained, the data entering the network and the data on the user side that can be statistically analyzed are not equal, because there are still many scattered users in the network at this moment, which are not counted because there is no real-time transmission.
[0061] The traffic that can be obtained at 4 a.m. is: Qc=500, Qd=2000, Qe=2000, Qf=2000, Qg=500, QA=4000, QB=3050. At this time, it can be seen that the data that has been obtained, the data entering the network and the data on the user end that can be statistically analyzed are basically equal, because although there are many scattered users in the network at this moment, they do not use gas during this period, so even if there is no real-time transmission and no statistics, it does not affect the results. Because the data changes every day, if the data counted at 4 a.m. on a certain day is not equal, then the data on that day cannot be used as the basic data for analysis.
[0062] Step S30: constructing an objective function by combining the pipe network simulation method with the measured pressure value, and analyzing the objective function to obtain a target theoretical pipe diameter combination.
[0063] Subtract the vectors corresponding to the pressure calculation value and the pressure measured value, and calculate the norm of the resulting vector to construct a reference function, which is:
[0064]
[0065] in, is the vector corresponding to the pressure calculation value, is the vector corresponding to the measured pressure value;
[0066] Based on the reference function and combined with the pipe diameter combination [d1′, d2′, …, d10′] T Construct the objective function:
[0067]
[0068] Step S40: Analyze the target pipe network based on the target theoretical pipe diameter combination and the actual pipe diameter combination.
[0069] Minimize the value of the objective function to obtain the optimization function:
[0070]
[0071] Based on the optimization function, the pipe diameter combination [d1′, d2′, …, d10′] is selected from the pipe diameter combination [d1′, d2′, …, d10′] by using an integer programming method.T The target theoretical pipe diameter combination is determined in the formula: T It is a combination of a finite number of pipe diameters in the search space, and the combination of the finite number of pipe diameters is a combination of a number of discrete pipe diameters.
[0072] Specifically, multiple different preset theoretical pipe diameters are selected from a finite number of pipe diameter combinations in a search space, where the search space is a space formed by the combination of pipe diameters of all pipe sections in the pipe network. This is a constrained integer linear programming problem because the choice of pipe diameter is a finite fixed value, as shown in the table below.
[0073] Material outer diameter inner diameter Wall thickness PE 400 327.2 36.4 PE 355 090.4 32.3 PE 315 257.8 28.6 PE 250 204.6 22.7 PE 200 163.6 18.2 PE 160 130.8 14.6 PE 110 90 10 PE 90 73.6 8.2 PE 63 51.4 5.8 ……
[0074] As shown in the above table, the pipe diameters that can be selected for each pipe section in the entire pipe network form a very large combination space. For each specific pipe diameter combination in the pipe network, the corresponding calculated pressure value of the pipe network node can be calculated. There is a deviation between the calculated pressure value and the true value. This deviation is the target to be optimized in this embodiment. Through the integer programming method, the minimum value of this deviation and the corresponding pipe diameters of all different pipe sections of the corresponding pipe network are obtained.
[0075] The above method is based on a finite series of pipe diameters for analysis. However, there may be some special cases in the actual pipe network, that is, the pipe network is worn and corroded, or there are attachments, which cause some changes in the pipe diameter. In this case, it is not a finite series of pipe diameters, but a continuous real number variable. In this case, the corresponding integer programming method is not used. For this situation, in this embodiment, based on the optimization function, the pipe diameter combination [d1′, d2′, …, d10′] is selected. T Determine the target theoretical pipe diameter combination, pipe diameter combination [d1′, d2′, …, d10′] T is a continuous real variable.
[0076] Step S40: Analyze the target pipe network based on the target theoretical pipe diameter combination and the actual pipe diameter combination.
[0077] In this embodiment, it is necessary to find the most suitable combination of pipe network parameters under the flow condition, so that the combination of calculated pressure values obtained under the flow condition is closest to the measured pressure result, and the target theoretical pipe diameter is the parameter in this parameter combination, and then the target theoretical pipe diameter is compared with the actual pipe diameter obtained above, so as to realize the detection of the pipe network entity. Specifically, the pipe diameter difference between the target theoretical pipe diameter and the actual pipe diameter is calculated. If the pipe diameter difference exceeds the preset pipe diameter deviation, it means that the actual pipe diameter has a large deviation from the theoretical pipe diameter. In this case, it can be determined that the actual pipe section corresponding to the target pipe network has an abnormality. For example, (d1′-d1) is analyzed. If it exceeds the threshold, it is considered that there is an abnormality.
[0078] This embodiment obtains the measured pressure values uploaded by several pressure monitoring points; obtains the pipeline data of the target pipeline network, and extracts the flow data and the actual pipe diameter combination from the pipeline data; uses the pipeline simulation method to combine the measured pressure values to construct the objective function, and analyzes the objective function to obtain the target theoretical pipe diameter combination; analyzes the target pipeline network based on the target theoretical pipe diameter combination and the actual pipe diameter combination, and uses the pipeline simulation and integer programming methods. The entire data analysis process can be automated to avoid relying on the experience of personnel for continuous trial analysis, thereby improving the analysis efficiency, and can also provide a basis for verifying and judging the physical structure of the pipeline network, ensuring the transmission and distribution capacity of the pipeline network, while assisting in optimizing the basic pipeline model of the pipeline network simulation.
[0079] In addition, an embodiment of the present invention further proposes a storage medium, on which a pipe network analysis program is stored. When the pipe network analysis program is executed by a processor, the steps of the pipe network analysis method described above are implemented.
[0080] Reference Figure 3 , Figure 3 This is a structural block diagram of the first embodiment of the pipe network analysis device of the present invention.
[0081] like Figure 3 As shown, the pipe network analysis device proposed in the embodiment of the present invention includes:
[0082] The monitoring module 10 is used to obtain the actual pressure values uploaded by several pressure monitoring points.
[0083] The acquisition module 20 is used to acquire the pipe network data of the target pipe network and extract the combination of flow data and actual pipe diameter from the pipe network data.
[0084] The calculation module 30 is used to construct an objective function by using a pipe network simulation method in combination with the pressure measured value, and analyze the objective function to obtain a target theoretical pipe diameter combination.
[0085] The analysis module 40 is used to analyze the target pipe network based on the target theoretical pipe diameter combination and the actual pipe diameter combination.
[0086] This embodiment obtains the measured pressure values uploaded by several pressure monitoring points; obtains the pipeline data of the target pipeline network, and extracts the flow data and the actual pipe diameter combination from the pipeline data; uses the pipeline simulation method to combine the measured pressure values to construct the objective function, and analyzes the objective function to obtain the target theoretical pipe diameter combination; analyzes the target pipeline network based on the target theoretical pipe diameter combination and the actual pipe diameter combination, and uses the pipeline simulation and integer programming methods. The entire data analysis process can be automated to avoid relying on the experience of personnel for continuous trial analysis, thereby improving the analysis efficiency, and can also provide a basis for verifying and judging the physical structure of the pipeline network, ensuring the transmission and distribution capacity of the pipeline network, while assisting in optimizing the basic pipeline model of the pipeline network simulation.
[0087] In some embodiments, the acquisition module 20 is used to acquire the flow data of the gas source end of the target pipeline network at different time periods, and the gas consumption data of the user end at different time periods;
[0088] Determine available gas usage data according to the flow data of the gas source end of the target pipeline network in different time periods and the gas usage data of the user end in different time periods;
[0089] Flow rate data is determined based on the available gas usage data.
[0090] In some embodiments, the acquisition module 20 is used to calculate the gas usage difference between the flow data of the gas source end and the gas usage data of the user end in any same time period;
[0091] If the gas usage difference is within a set range, it is determined that the flow data at the gas source end and the gas usage data at the user end are available gas usage data.
[0092] In some embodiments, the calculation module 30 is used to subtract the vectors corresponding to the pressure calculation value and the pressure measured value, and calculate the norm of the obtained vector to construct a reference function, and the reference function is:
[0093]
[0094] in, is the vector corresponding to the pressure calculation value, is the vector corresponding to the measured pressure value;
[0095] Based on the reference function and combined with the pipe diameter combination [d1′, d2′, …, d10′] T Construct the objective function:
[0096]
[0097] In some embodiments, the calculation module 30 is used to minimize the value of the objective function to obtain an optimization function:
[0098]
[0099] Based on the optimization function, the pipe diameter combination [d1′, d2′, …, d10′] is selected from the pipe diameter combination [d1′, d2′, …, d10′] by using an integer programming method. T The target theoretical pipe diameter combination is determined in the formula: T is a combination of a finite number of pipe diameters in the search space, wherein the combination of the finite number of pipe diameters is a combination of a number of discrete pipe diameters;
[0100] Or, based on the optimization function, from the pipe diameter combination [d1′, d2′, …, d10′] T The target theoretical pipe diameter combination is determined in the formula: T is a continuous real variable.
[0101] In some embodiments, the analysis module 40 is used to compare and analyze the target theoretical pipe diameter combination with the actual pipe diameter combination one by one to determine a number of pipe diameter differences;
[0102] If the pipe diameter difference exceeds the preset pipe diameter deviation, it is determined that an actual pipe section corresponding to the target pipe network has an abnormality.
[0103] An embodiment of the present application also provides a pipe network analysis device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus, and the memory is used to store computer programs; the processor is used to implement the above-mentioned pipe network analysis method when executing the program stored in the memory.
[0104] The communication bus mentioned in the above-mentioned pipe network analysis device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc.
[0105] The communication interface is used for communication between the above-mentioned pipe network analysis equipment and other equipment.
[0106] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0107] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
[0108] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0109] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0110] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0111] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
[0112] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0113] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0114] In addition, for technical details that are not described in detail in this embodiment, reference can be made to the pipe network analysis method provided in any embodiment of the present invention, and will not be repeated here.
[0115] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0116] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0118] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
[0119] It is understandable that the system provided by the embodiment of the present invention corresponds to the method provided by the embodiment of the present invention, and the explanation, examples and beneficial effects of the relevant contents can refer to the corresponding parts in the above method.
Claims
1. A pipe network analysis method, characterized in that: The pipe network analysis method comprises: Obtain the actual pressure values uploaded by several pressure monitoring points; Acquire pipe network data of the target pipe network, and extract flow data and actual pipe diameter combination from the pipe network data; Using a pipe network simulation method in combination with the measured pressure value to construct an objective function, and analyzing the objective function to obtain a target theoretical pipe diameter combination; The target pipe network is analyzed based on the target theoretical pipe diameter combination and the actual pipe diameter combination.
2. The pipe network analysis method according to claim 1, characterized in that: The pipe network analysis method further comprises: Obtain the flow data of the gas source end of the target pipeline network at different time periods, as well as the gas consumption data of the user end at different time periods; Determine available gas usage data according to the flow data of the gas source end of the target pipeline network in different time periods and the gas usage data of the user end in different time periods; Flow rate data is determined based on the available gas usage data.
3. The pipe network analysis method according to claim 2, characterized in that: The determining of available gas consumption data according to the flow data of the gas source end of the target pipeline network in different time periods and the gas consumption data of the user end in different time periods includes: Calculate the gas consumption difference between the flow data of the gas source end and the gas consumption data of the user end in any same time period; If the gas usage difference is within a set range, it is determined that the flow data at the gas source end and the gas usage data at the user end are available gas usage data.
4. The pipe network analysis method according to claim 1, characterized in that: The method of using the pipe network simulation method in combination with the pressure measured value to construct an objective function includes: Subtract the vectors corresponding to the pressure calculation value and the pressure measured value, and calculate the norm of the resulting vector to construct a reference function, which is: in, is the vector corresponding to the pressure calculation value, is the vector corresponding to the measured pressure value; Based on the reference function and combined with the pipe diameter combination [d1′, d2′, …, d10′] T Construct the objective function:
5. The pipe network analysis method according to claim 4, characterized in that: The objective function is analyzed to obtain a target theoretical pipe diameter combination, including: Minimize the value of the objective function to obtain the optimization function: Based on the optimization function, the pipe diameter combination [d1′, d2′, …, d10′] is selected from the pipe diameter combination [d1′, d2′, …, d10′] by using an integer programming method. T The target theoretical pipe diameter combination is determined in the formula: T is a combination of a finite number of pipe diameters in the search space, wherein the combination of the finite number of pipe diameters is a combination of a number of discrete pipe diameters; Or, based on the optimization function, from the pipe diameter combination [d1′, d2′, …, d10′] T The target theoretical pipe diameter combination is determined in the formula: T is a continuous real variable.
6. The pipe network analysis method according to claim 1, characterized in that: The analyzing the target pipe network based on the target theoretical pipe diameter combination and the actual pipe diameter combination includes: Comparing and analyzing the target theoretical pipe diameter combination with the actual pipe diameter combination one by one to determine a number of pipe diameter differences; If the pipe diameter difference exceeds the preset pipe diameter deviation, it is determined that an actual pipe section corresponding to the target pipe network has an abnormality.
7. A pipe network analysis device, characterized in that: The pipe network analysis device comprises: A monitoring module is used to obtain the actual pressure values uploaded by several pressure monitoring points; An acquisition module, used to acquire the pipe network data of the target pipe network, and extract the flow data and the actual pipe diameter combination from the pipe network data; A calculation module, used to construct an objective function by using a pipe network simulation method in combination with the pressure measured value, and analyze the objective function to obtain a target theoretical pipe diameter combination; An analysis module is used to analyze the target pipe network based on the target theoretical pipe diameter combination and the actual pipe diameter combination.
8. The pipe network analysis device according to claim 7, characterized in that: The acquisition module is used to acquire the flow data of the gas source end of the target pipeline network at different time periods, and the gas consumption data of the user end at different time periods; Determine available gas usage data according to the flow data of the gas source end of the target pipeline network in different time periods and the gas usage data of the user end in different time periods; Flow rate data is determined based on the available gas usage data.
9. A pipe network analysis device, characterized in that: The pipe network analysis device comprises: a memory, a processor, and a pipe network analysis program stored in the memory and executable on the processor, wherein the pipe network analysis program is configured to implement the steps of the pipe network analysis method according to any one of claims 1 to 6.
10. A storage medium, characterized in that: The storage medium stores a pipe network analysis program, which, when executed by a processor, implements the steps of the pipe network analysis method according to any one of claims 1 to 6.