Data processing method and system for natural gas pipeline transportation path matching, medium and equipment

By obtaining and comparing the basic supply and demand data and historical data of the natural gas pipeline transportation platform, combining safety assessment and flow detection, optimizing the path matching of natural gas pipeline transportation, the problem of low path matching accuracy in the existing technology is solved, and efficient and flexible path matching is achieved.

CN119722386AInactive Publication Date: 2025-03-28SHANSHU TECH (BEIJING) CO LTD +5
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411825537.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-03-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing natural gas pipeline path matching technology relies on empirical judgment and simple calculations, and it is difficult to adapt to the complex and changeable pipeline environment and user needs, resulting in low accuracy of path matching.

Method used

The basic supply and demand data and historical data are obtained through the natural gas pipeline transportation platform, the real-time path is obtained, and the predefined set of inevitable paths is compared, the safety assessment indicators and flow detection results are determined, and the path matching is finally optimized through the feedback component.

Benefits of technology

The accuracy and optimization of natural gas pipeline transmission path matching is achieved, the efficiency and flexibility of path matching is improved, and the safety, stability and efficient coordination of natural gas pipeline transmission is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119722386A_ABST
    Figure CN119722386A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of pipeline transportation path matching, and particularly discloses a data processing method and system for natural gas pipeline transportation path matching, a medium and device.The method comprises the steps of real-time path matching, real-time path judgment, safety evaluation index judgment and flow detection and feedback. Comparing with a predefined pipeline transportation inevitable path set, judging a safety evaluation index of the natural gas pipeline transportation real-time path, if the safety evaluation index of the natural gas pipeline transportation real-time path is greater than a safety evaluation preset index, performing flow detection on the natural gas pipeline transportation path, and judging a flow detection result of the natural gas pipeline transportation path; finally, data processing of natural gas pipeline transportation path matching is completed, the purpose of protecting safety, stability and efficient cooperation of natural gas pipeline transportation operation is achieved, precision and optimization of path matching are achieved, and the efficiency and flexibility of natural gas pipeline transportation path matching are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pipeline transmission path matching, and in particular to a data processing method, system, medium and equipment for natural gas pipeline transmission path matching. Background Art

[0002] As the scale of natural gas pipeline network continues to expand, how to efficiently and reasonably plan and match the natural gas transmission path has become an urgent problem to be solved. Traditional path matching methods often rely on empirical judgment and simple calculations, which are difficult to adapt to the complex and changing pipeline network environment and the ever-changing user needs. Therefore, it is necessary to adopt advanced data processing methods to optimize the matching of natural gas pipeline transmission paths.

[0003] For example, the invention patent with announcement number CN113298293B announces a natural gas pipeline transmission path matching method, which includes the following steps: initialize the nodes and pipe sections of the natural gas pipeline network, and the nodes include root nodes, station nodes and child nodes; perform iterative calculations in the order of natural gas resources in the root nodes from small to large, specify a root node, determine the child node closest to the root node, allocate the natural gas of the root node to the child node until the child node is saturated, and mark the child node; continue to search for the unmarked child node closest to the root node, allocate the natural gas of the root node to it until the child node is saturated and marked, and repeat the operation until the natural gas of the specified root node is allocated; specify the next root node and repeat the iterative calculation until the natural gas of all root nodes is allocated or all child nodes are marked.

[0004] For example, the invention patent with announcement number CN113326984B relates to the field of natural gas transmission technology, specifically to a global scheduling method based on a natural gas pipeline network system, including: obtaining the gas transmission demand of each upper gas point and lower gas point; inputting the gas transmission demand of each upper gas point and lower gas point into a pre-trained path planning model, and loading the corresponding pipeline network related data; calculating and generating a global gas transmission scheduling plan for realizing natural gas scheduling through the path planning model; the global gas transmission scheduling plan includes a list of optimal gas transmission paths corresponding to each upper gas point and lower gas point, as well as the gas transmission direction and gas transmission occupancy of each pipe section of the optimal gas transmission path.

[0005] Combining the above technical solutions, it is found that most pipeline path matching technical solutions only rely on preset algorithms and rules. These rules and algorithms may not cover all actual scenarios, thereby reducing the accuracy of pipeline path matching and affecting users' use of natural gas. Summary of the invention

[0006] In view of the deficiencies in the prior art, the present invention provides a data processing method, system, medium and device for natural gas pipeline path matching, which can effectively solve the problems involved in the above-mentioned background technology.

[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: In the first aspect, the present invention provides a data processing method for natural gas pipeline path matching, including: S1. Through the natural gas pipeline platform, basic data belonging to natural gas supply and demand and various historical basic data belonging to natural gas supply and demand are obtained, and the basic data belonging to natural gas supply and demand and various historical basic data belonging to natural gas supply and demand are compared to obtain the real-time path of natural gas pipeline; S2. The real-time path of natural gas pipeline is compared with a predefined pipeline inevitable path set to obtain a path comparison result; S3. Based on the path comparison result, the safety assessment index of the real-time path of natural gas pipeline is determined, and compared with the predefined safety assessment preset index; S4. When the safety assessment index of the real-time path of natural gas pipeline is greater than the safety assessment preset index, the pipeline flow detection device performs flow detection on the real-time path of natural gas pipeline, determines the flow detection result of the natural gas pipeline path, and based on the flow detection result, the path matching feedback component feeds back the transmission flow of the natural gas pipeline path, and finally completes the data processing of natural gas pipeline path matching.

[0008] As a further method, the basic data belonging to the natural gas supply and demand and the historical basic data belonging to the natural gas supply and demand are compared, and the specific comparison process is: the basic data belonging to the natural gas supply and demand specifically include the demand of the user downloading point and the supply of the gas source upload point; the historical basic data belonging to the natural gas supply and demand specifically include the historical demand of each user downloading point and the historical supply of each gas source upload point; the user downloading point demand is compared with the historical demand of each user downloading point, and the gas source upload point supply is compared with the historical supply of each gas source upload point to obtain a basic data comparison result, that is, a first comparison result of the basic data or a second comparison result of the basic data; the first comparison result of the basic data is that the user downloading point demand is equal to the historical demand of a certain user downloading point and the gas source upload point supply is equal to the historical supply of a certain gas source upload point; the second comparison result of the basic data is that the user downloading point demand is not equal to the historical demand of each user downloading point and the gas source upload point supply is not equal to the historical supply of each gas source upload point.

[0009] As a further method, the real-time path of natural gas pipeline transportation is compared with a predefined pipeline inevitable path set to obtain a path comparison result. The specific comparison process is: the path comparison result, that is, the real-time path of natural gas pipeline transportation belongs to the pipeline inevitable path set or the real-time path of natural gas pipeline transportation does not belong to the pipeline inevitable path set; if the real-time path of natural gas pipeline transportation belongs to the pipeline inevitable path set, the real-time path of natural gas pipeline transportation is subjected to a safe transportation detection; if the real-time path of natural gas pipeline transportation does not belong to the pipeline inevitable path set, it is determined whether the real-time path of natural gas pipeline transportation belongs to the pipeline inevitable mismatch path set; if the real-time path of natural gas pipeline transportation does not belong to the pipeline inevitable mismatch path set, a specific path is selected from the pipeline inevitable path set in a predefined manner, replaced with the real-time path of natural gas pipeline transportation, and the real-time path of natural gas pipeline transportation is subjected to a safe transportation detection.

[0010] As a further method, the safety assessment index of the real-time natural gas pipeline transmission path is determined by the following specific determination process: the real-time natural gas pipeline transmission path is subjected to safety transportation detection, specifically, the safety detection device receives and executes the safety transportation detection signal, i.e., the real-time natural gas pipeline transmission path is subjected to safety transportation detection; by performing safety transportation detection on the real-time natural gas pipeline transmission path, safety transportation detection information of the safety detection device is obtained, specifically including environmental detection information within the safety detection area to which the real-time natural gas pipeline transmission path belongs and status detection information of the natural gas pipeline at each safety detection point; the environmental detection information within the safety detection area to which the real-time natural gas pipeline transmission path belongs specifically includes the maximum methane concentration within the safety detection area to which the real-time natural gas pipeline transmission path belongs, the maximum environmental temperature within the safety detection area to which the real-time natural gas pipeline transmission path belongs, and the status of the natural gas pipeline at each safety detection point. the minimum ambient temperature within the safety detection area; the status detection information of the natural gas pipeline at each safety detection point, specifically including the tolerable pressure value of the natural gas pipeline at each safety detection point and the vibration intensity value of the natural gas pipeline at each safety detection point; comparing the tolerable pressure value of the natural gas pipeline at each safety detection point with the pressure reference value; if the tolerable pressure value at a certain safety detection point of the natural gas pipeline is less than the pressure reference value, then the safety detection point of the natural gas pipeline is recorded as a safety detection abnormal point, thereby obtaining the number of safety detection abnormal points of the natural gas pipeline by statistics; extracting the ambient temperature reference value and the pressure reference value from the natural gas pipeline platform; comprehensively determining the safety assessment index of the natural gas pipeline real-time path based on the environmental detection information of the natural gas pipeline real-time path in the safety detection area and the status detection information of the natural gas pipeline at each safety detection point.

[0011] As a further method, the flow detection result of the natural gas pipeline transmission path is determined, and the specific comparison process is: obtaining the flow detection related data of the pipeline transmission flow detection equipment, specifically including the maximum transmission flow, the minimum transmission flow and the real-time transmission flow of the natural gas pipeline transmission path within the flow detection period; extracting the maximum flow of the natural gas pipeline and the minimum flow of the natural gas pipeline from the natural gas pipeline transmission platform; according to the maximum transmission flow of the natural gas pipeline transmission path within the flow detection period, the minimum transmission flow of the natural gas pipeline transmission path within the flow detection period, the maximum flow of the natural gas pipeline and the minimum flow of the natural gas pipeline, comprehensively determining the flow detection result of the natural gas pipeline transmission path, the specific method is as follows: if [(GD max -SS max )>0]∪[(SS min -GD min )>0], the flow detection result of the natural gas pipeline transmission path is that the flow meets the requirements; otherwise, the flow detection result of the natural gas pipeline transmission path is that the flow does not meet the requirements; where SS max is the maximum flow rate of the natural gas pipeline during the flow detection period, SS min GD is the minimum flow rate of the natural gas pipeline during the flow detection period. max is the maximum flow rate of natural gas pipeline, GD min is the minimum flow rate of natural gas pipeline.

[0012] As a further method, the path matching feedback component provides feedback on the delivery flow of the natural gas pipeline transmission path, and the specific comparison process is: if the flow compliance comparison result shows that the flow is consistent, the natural gas pipeline transmission path is used to transmit natural gas according to the real-time delivery flow of the natural gas pipeline transmission path within the flow detection period; if the flow compliance comparison result shows that the flow is not consistent, the path matching feedback component provides feedback on the delivery flow of the natural gas pipeline transmission path; the delivery flow is fed back, specifically, the real-time delivery flow of the natural gas pipeline transmission path within the flow detection period is set as the preset value of the delivery flow, so as to transmit natural gas.

[0013] The second aspect of the present invention provides a system for a data processing method for matching a natural gas pipeline transmission path, characterized in that it includes: a real-time path comparison module, which is used to obtain basic data belonging to natural gas supply and demand and various historical basic data belonging to natural gas supply and demand through a natural gas pipeline transmission platform, and compare the basic data belonging to natural gas supply and demand and various historical basic data belonging to natural gas supply and demand, so as to obtain the real-time path of the natural gas pipeline transmission; a pipeline transmission inevitable path set comparison module, which is used to compare the real-time path of the natural gas pipeline transmission with a predefined pipeline transmission inevitable path set to obtain a path comparison result; a safety assessment index determination module, which is used to determine the safety assessment index of the real-time path of the natural gas pipeline transmission based on the path comparison result, and compare it with the predefined safety assessment preset index; a transmission flow feedback module, which is used to, when the safety assessment index of the real-time path of the natural gas pipeline transmission is greater than the safety assessment preset index, the pipeline transmission flow detection device performs flow detection on the real-time path of the natural gas pipeline transmission, determines the flow detection result of the natural gas pipeline transmission path, and based on the flow detection result, the path matching feedback component feeds back the transmission flow of the natural gas pipeline transmission path, and finally completes the data processing of the natural gas pipeline transmission path matching.

[0014] A third aspect of the present invention provides a computer-readable storage medium for storing a program, wherein when the program is executed by a processor, the data processing method for matching a natural gas pipeline transmission path is implemented.

[0015] A fourth aspect of the present invention provides an electronic device, characterized in that the electronic device comprises a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the described method.

[0016] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects:

[0017] (1) The present invention provides a data processing method, system, medium and device for natural gas pipeline path matching. First, the real-time path of the natural gas pipeline is obtained, and compared with a predefined pipeline inevitable path set, so that the real-time path of the natural gas pipeline meets the fixed path matching relationship constraint, and the safety assessment index of the real-time path of the natural gas pipeline is determined. If the safety assessment index of the real-time path of the natural gas pipeline is greater than the preset safety assessment index, the flow detection result of the natural gas pipeline path is performed on the natural gas pipeline path, and the natural gas pipeline path is determined. The flow detection result makes the natural gas pipeline path meet the pipeline path flow restriction, and finally the data processing of the natural gas pipeline path matching is completed, with the goal of protecting the safe, stable and efficient coordination of the natural gas pipeline operation, realizing the precision and optimization of the path matching, and improving the efficiency and flexibility of the natural gas pipeline path matching.

[0018] (2) The present invention determines the safety assessment index of the real-time path of natural gas pipeline transportation based on the real-time path of natural gas pipeline transportation, and can timely discover the potential safety hazards that may exist in the pipeline transportation process. For example, by monitoring the pressure, temperature, flow and other parameters of the pipeline, it can be determined whether the pipeline is in a safe operating state, thereby optimizing the operating efficiency of the natural gas pipeline.

[0019] (3) When matching the natural gas pipeline transmission path, the present invention allows manual pre-setting of the path matching results, realizing the organic combination of manual intervention and automatic calculation, ensuring that the matching results are more in line with actual needs, and improving the flexibility and accuracy of path matching. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.

[0021] Figure 1 The figure is a schematic flow chart of the method steps of the present invention.

[0022] Figure 2 It is a schematic diagram of system module connection of the present invention.

[0023] Figure 3 This is the path matching relationship diagram of the present invention. DETAILED DESCRIPTION

[0024] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0025] Reference Figure 1 As shown, the first aspect of the present invention provides a data processing method for natural gas pipeline path matching, including: S1. obtaining basic data belonging to natural gas supply and demand and various historical basic data belonging to natural gas supply and demand through a natural gas pipeline platform, and comparing the basic data belonging to natural gas supply and demand and various historical basic data belonging to natural gas supply and demand, so as to obtain a real-time path of natural gas pipeline transportation.

[0026] The above-mentioned natural gas pipeline transportation platform is a comprehensive platform that integrates multiple technologies and functions, aiming to efficiently and safely manage and optimize the natural gas transportation process. The platform is not only used to obtain and analyze basic data on natural gas supply and demand and various historical basic data, but also used to monitor and dispatch the operation of natural gas pipelines in real time.

[0027] The above-mentioned basic data of natural gas supply and demand and various historical basic data can be extracted from the subsystem of the natural gas pipeline platform, the SCADA system (supervisory control and data acquisition system).

[0028] Specifically, the basic data of natural gas supply and demand and the historical basic data of natural gas supply and demand are compared, and the specific comparison process is:

[0029] The basic data on natural gas supply and demand specifically include demand at user download points and supply at gas source upload points.

[0030] The historical basic data of natural gas supply and demand specifically include the historical demand of each user downloading point and the historical supply of each gas source upload point.

[0031] The above-mentioned user download point demand volume indicates the user's demand gas volume to be matched within the current path matching plan at the download point; the gas source upload point supply volume indicates the supply gas volume to be matched within the current path matching plan of a gas source at the upload point.

[0032] Compare the demand at the user downloading point with the historical demand at each user downloading point, and compare the supply at the gas source upload point with the historical supply at each gas source upload point to obtain the basic data comparison result, that is, the first comparison result of the basic data or the second comparison result of the basic data.

[0033] The first comparison result of the basic data is that the demand at the user downloading point is equal to the historical demand at a certain user downloading point and the supply at the gas source loading point is equal to the historical supply at a certain gas source loading point.

[0034] The second comparison result of the basic data is that the demand of the user downloading point is not equal to the historical demand of each user downloading point and the supply of the gas source loading point is not equal to the historical supply of each gas source loading point.

[0035] In this embodiment, the user download point needs to meet the constraint conditions, that is, the demands of all user download points need to be met, and the demand of any demand point is equal to the sum of the delivery amounts delivered to the demand point by each supply point. The specific expression can be expressed as:

[0036]

[0037] Explanation of symbols: f sd It is expressed as the gas volume transported from supply point s to demand point d; dm d It is expressed as the total amount of transportation from the supply point to the demand point d, m d It is represented as the total demand of demand point d, and D is represented as the set of demand points.

[0038] The gas source loading point needs to meet the supply balance constraint of the supply point, that is, the supply of any supply point is equal to the sum of the supply volume delivered from the supply point to each demand point. The specific expression can be expressed as:

[0039]

[0040] Symbol Description: sp s It is represented as the total supply of supply point s, and S is the set of supply points.

[0041] By meeting the above conditions and accurately matching the delivery volume of supply points and demand points, unnecessary transit and storage links can be reduced, thereby reducing losses during natural gas transportation. On the premise of meeting all demand points, the transportation route can be further optimized, and shorter and more efficient transportation routes can be selected for natural gas transportation to improve the overall natural gas transportation efficiency. Ensuring that the supply volume of each supply point is equal to the total delivery volume to each demand point will help maintain the stability of the natural gas supply and avoid safety issues caused by insufficient or excessive supply.

[0042] It should be explained that the above-mentioned user download point demand, gas source upload point supply, each user download point historical demand and each gas source upload point historical supply are arranged according to their numerical values ​​when compared. The numerical value arrangement makes the comparison between the data intuitive and clear, and it is easier to observe the changing trends of demand and supply. The arranged data helps to optimize the natural gas path matching strategy according to the actual situation of demand and supply.

[0043] Furthermore, the real-time path of natural gas pipeline transportation is obtained, and the specific analysis process is as follows:

[0044] The above-mentioned real-time path of natural gas pipeline transportation refers to the path of natural gas actually flowing in the pipeline network during the current time period. These paths are usually determined based on multiple factors such as real-time supply and demand, pipeline operation status, and dispatch instructions. Since the real-time path reflects the pipeline transmission status at the current moment, its number is relatively limited; compared with the real-time path, the historical path of natural gas pipeline transportation covers all the flow paths of natural gas in the pipeline network in the past period of time. These paths have gone through several historical spans and may include different seasons, weather conditions, supply and demand conditions, etc. Since the historical path records all the transmission conditions of the natural gas pipeline network in the past time, its number is much larger than the real-time path.

[0045] It should be explained that in this embodiment, the user download point demand is set to belong to the user download point historical demand range, and the gas source loading point supply is set to belong to the gas source loading point historical supply range, so as to ensure that the user download point historical demand and the gas source loading point historical supply can include all user download point demands and gas source loading point supplies in this embodiment.

[0046] If the basic data comparison result shows that the demand at the user downloading point is equal to the historical demand at a certain user downloading point and the supply at the gas source uploading point is equal to the historical supply at a certain gas source uploading point, then the pipeline transmission path corresponding to the historical demand at the user downloading point and the historical supply at the gas source uploading point shall be recorded as the real-time path of the natural gas pipeline transmission.

[0047] If the basic data comparison result shows that the user download point demand is not equal to the historical demand of each user download point and the gas source loading point supply is not equal to the historical supply of each gas source loading point, then the user download point demand and the historical demand of each user download point are processed by difference, and the gas source loading point supply and the historical supply of each gas source loading point are processed by difference, so as to obtain the demand difference of each user download point and the supply difference of each gas source loading point, and arrange the demand difference of each user download point and the supply difference of each gas source loading point in order from small to large, and the pipeline path between the historical demand of the user download point corresponding to the demand difference of the first-ranked user download point and the historical supply of the gas source loading point corresponding to the supply difference of the first-ranked gas source loading point is recorded as the real-time path of natural gas pipeline transportation.

[0048] This embodiment also includes that if the demands of the user downloading points are not equal to the historical demands of each user downloading point, and the supply of the gas source loading point is equal to the historical supply of a certain gas source loading point, then the historical demands of each user downloading point corresponding to the historical supply of a certain gas source loading point are subtracted from the user downloading point demand to obtain the user downloading point demand difference, and the user downloading point demand differences are arranged in order from small to large, and the pipeline path between the user downloading point historical demand corresponding to the first-ranked user downloading point demand difference and the historical supply of a certain gas source loading point is recorded as the real-time path of the natural gas pipeline.

[0049] If the demand at the user's downloading point is equal to the historical demand at a certain user's downloading point, and the supply at the gas source loading point is not equal to the historical supply at each gas source loading point, then the historical supply at each gas source loading point corresponding to the historical demand at a certain user's downloading point is subtracted from the supply at the gas source loading point to obtain the gas source loading point supply difference, and the gas source loading point supply difference is arranged in order from small to large, and the pipeline path between the historical supply at the gas source loading point corresponding to the supply difference at the gas source loading point ranked first and the historical demand at a certain user's downloading point is recorded as the real-time path of the natural gas pipeline.

[0050] It should be noted that, in this embodiment, the relationship between the gas source, the upload point, the download point and the user is as follows: Figure 3 As shown in the figure, it is a path matching relationship diagram. A gas source upload point to a user download point is called a path. The relationship between the gas source and the upload point, and the user and the download point is fixed. The path matching plan does not involve the matching from the gas source to the upload point and the matching from the user to the download point, but only involves the path matching from the gas source upload point to the user download point.

[0051] Depend on Figure 3 It can be seen that there is a many-to-many relationship between gas sources and upload points. The same upload point can be supplied by multiple gas sources, and the same gas source can also supply multiple upload points. There is also a many-to-many relationship between users and download points. The same download point can have multiple user demands, and the same user can also have demands at different download points.

[0052] In this embodiment, a gas source and an upload point are a supply point, a user and a download point are demand points, and the supply point to the demand point is a path. For example, gas source 1 and upload point 1 are a supply point, and gas source 1 and upload point 2 are another supply point. However, the relationship between the gas source and the upload point is fixed, and the supply of natural gas will be specific to the gas source and the upload point, so the relationship between the gas source and the upload point does not need to be matched, and the gas source and the upload point are a many-to-many relationship. The relationship between the user and the download point is similar.

[0053] In the process of real-time path matching of natural gas pipeline transportation, the upper and lower limits of the number of supply paths configured between the user download point and the gas source upload point must be met, that is, the number of paths connected to the user download point must meet the upper and lower limits of the number of paths for the user download point. The specific expression can be expressed as:

[0054]

[0055] Comply with the description: It is expressed as the upper and lower limits of the number of paths that can be configured for the demand point d; x sd Indicates whether the supply point s and the demand point d are connected, 1 if so, 0 otherwise.

[0056] By meeting the above constraints, it can be ensured that the user download point has at least several transportation routes to choose from, avoiding natural gas supply interruptions due to failure of a single route. With the joint effect of multiple routes, even if a certain route has problems, other routes can be supplemented in time to ensure the stability of natural gas supply. The upper limit setting of the number of routes allows the user download point to add new transportation routes when necessary to adapt to fluctuations in natural gas supply. This flexibility helps the natural gas route matching system better respond to emergencies, such as increased emergency demand or supply chain disruptions.

[0057] S2. Compare the real-time path of natural gas pipeline transportation with the predefined pipeline transportation inevitable path set to obtain a path comparison result.

[0058] Specifically, the real-time path of natural gas pipeline transportation is compared with the predefined pipeline transportation inevitable path set to obtain the path comparison result. The specific comparison process is:

[0059] The above pipeline transmission necessary path set is predefined in the natural gas pipeline transmission platform. In the result of this path matching plan, it is a path that must exist from the gas source upload point to the user download point and is manually preset.

[0060] The path comparison result is that the real-time path of natural gas pipeline transportation belongs to the inevitable path set of pipeline transportation or the real-time path of natural gas pipeline transportation does not belong to the inevitable path set of pipeline transportation.

[0061] If the real-time path of natural gas pipeline transportation belongs to the inevitable path set of pipeline transportation, the real-time path of natural gas pipeline transportation is tested for safe transportation.

[0062] If the real-time path of the natural gas pipeline does not belong to the pipeline inevitable path set, then determine whether the real-time path of the natural gas pipeline belongs to the pipeline inevitable mismatch path set. If the real-time path of the natural gas pipeline does not belong to the pipeline inevitable mismatch path set, then select a specific path from the pipeline inevitable path set in a predefined manner, that is, follow the proximity principle, specifically, select a specific path from the pipeline inevitable path set that is closest to the upload point and download point corresponding to the real-time path of the natural gas pipeline from the pipeline inevitable path set, replace it with the real-time path of the natural gas pipeline, and perform safety transportation detection on the real-time path of the natural gas pipeline.

[0063] The above pipeline transmission necessarily unmatched path set is predefined in the natural gas pipeline transmission platform. In the result of this path matching plan, it is a path that is manually preset and must not be used from the gas source upload point to the user download point.

[0064] The pipeline transportation must not match the path set to meet the fixed path mismatch relationship constraint, that is, if there is a path mismatch relationship requirement, the corresponding path is not allowed to be used. The specific expression can be:

[0065] x sd = 0 if sd∈NLK;

[0066] Compliance Description: x sd It indicates whether the supply point s and the demand point d are connected, if yes, it is 1, otherwise it is 0; sd indicates the path between the supply point s and the demand point d; NLK indicates the fixed path mismatch relationship set.

[0067] Specifically, if the path between supply point s and demand point d belongs to the fixed path mismatch relationship set, then supply point s and demand point d must not be connected, and its value is 0. The pipeline transportation must be pre-set with mismatched paths, and its path may have a high safety risk due to design defects, geological instability or other factors. By excluding mismatched paths in the automated calculation process, the natural gas transportation system will be more streamlined and efficient, reducing unnecessary losses and delays.

[0068] In this embodiment, if the real-time path of natural gas pipeline transportation belongs to the set of paths that pipeline transportation must not match, it is necessary to increase the time span of the historical basic data of natural gas supply and demand, that is, to expand the coverage years or time periods of the historical data used to analyze and study the supply and demand status of natural gas, where the covered years or time periods are determined by specific needs. For example, in this embodiment, the time span of the historical basic data of natural gas supply and demand is determined, and it is necessary to comprehensively consider multiple factors such as the timeliness and representativeness of the data, the historical trends of supply and demand changes, technological development, and changes in policies and regulations. Therefore, the coverage years or time periods of the historical data of the supply and demand status of natural gas generally cover the data of the past 5 to 10 years, and this time period can usually include multiple economic cycles and policy changes. cycle, which helps to identify the trend and law of supply and demand changes. At the same time, it also needs to be flexibly adjusted according to specific circumstances to ensure the comprehensiveness and representativeness of the data, so as to re-acquire the historical basic data of natural gas supply and demand, and compare the basic data of natural gas supply and demand with the historical basic data of natural gas supply and demand again to obtain the path comparison result between the inevitable path set of pipeline transportation, so as to repeat the execution of this embodiment to obtain the real-time path of natural gas pipeline transportation, and perform safe transportation detection on the real-time path of natural gas pipeline transportation. In the matching process of this embodiment, the comparison process of all paths adopts the traversal and discarding method, that is, in the process of path comparison, if a path belongs to the inevitable unmatched path set of pipeline transportation, the path is discarded and compared again.

[0069] The proximity principle mentioned above means that the unloading point closest to the loading point is selected for natural gas transportation along the inevitable pipeline transportation path. By reducing unnecessary transportation distances, the proximity principle helps to reduce energy loss during transportation, thereby improving energy utilization efficiency. At the same time, the proximity principle enables the natural gas path matching system to respond more flexibly to market changes and fluctuations in user demand.

[0070] In a specific embodiment, the proximity principle is to minimize the weighted distance cost of gas transmission, specifically, to minimize the weighted cost of gas transmission for transporting all natural gas according to the distance between the upload point and the download point, wherein the minimum distance traversal expression can be expressed as:

[0071]

[0072] Explanation of symbols: pd represents the cost coefficient per unit gas volume and per unit gas transmission distance; f sd Indicates the gas volume from the gas source upload point to the user download point. It represents the pipeline distance from the upload point p to the download point w.

[0073] The minimum distance from the gas source upload point to the user download point is traversed through the above expression, so that the path between the gas source upload point and the user download point corresponding to the minimum distance is recorded as the real-time path of natural gas pipeline transportation, and the real-time path of natural gas pipeline transportation is tested for safe transportation.

[0074] S3. Based on the path comparison result, determine the safety assessment index of the real-time path of natural gas pipeline transportation, and compare it with the predefined safety assessment preset index.

[0075] If the safety assessment index of the real-time path of the natural gas pipeline is less than or equal to the preset safety assessment index, it means that although the obtained real-time path of the natural gas pipeline belongs to the inevitable path set of pipeline transportation, the safety risk of the path under the current operating state is relatively high and does not meet the requirements for safe natural gas transportation. In this case, the real-time path of the natural gas pipeline will be matched again in accordance with the principle of proximity; if the safety assessment index of the real-time path of the natural gas pipeline is greater than the preset safety assessment index, the pipeline flow detection equipment will perform flow detection on the real-time path of the natural gas pipeline.

[0076] It should be explained that if the safety assessment index of the real-time path of natural gas pipeline transportation is less than or equal to the preset safety assessment index, it means that although the real-time path of natural gas pipeline transportation is classified as a member of the inevitable path set of pipeline transportation, that is, the path has met the basic conditions for entering the flow detection process, ensuring that it belongs to the preset inevitable path category. However, it is worth noting that this path set is set manually, and factors such as safety and practical feasibility may not be fully considered during the setting process. Therefore, even if a path is identified as an inevitable path, if its safety cannot meet the established standards, the path still needs to be replaced. This process reflects the mutual verification and complementation between manual settings and automated calculation results, ensuring the scientificity and safety of natural gas pipeline path selection.

[0077] Furthermore, the specific determination process of the safety assessment index for determining the real-time path of natural gas pipeline transportation is as follows:

[0078] The safe transportation detection of the real-time path of natural gas pipeline transportation is specifically performed by the safety detection device receiving and executing the safe transportation detection signal, that is, the safe transportation detection of the real-time path of natural gas pipeline transportation is performed.

[0079] The above-mentioned safety detection equipment is used to perform safety transportation detection on the real-time path of natural gas pipeline transportation. Specifically, the safety detection equipment can detect potential safety hazards in a timely manner by detecting the operating status of the natural gas pipeline and the environment of the area to which it belongs, thereby ensuring the safe transportation of natural gas.

[0080] The above-mentioned safety detection equipment includes but is not limited to methane detectors, temperature sensors, pressure sensors and vibration sensors.

[0081] By conducting safe transportation detection on the real-time path of natural gas pipeline transportation, the safe transportation detection information of the safety detection equipment is obtained, including the environmental detection information within the safety detection area to which the real-time path of natural gas pipeline transportation belongs and the status detection information of the natural gas pipeline at each safety detection point.

[0082] The safe transportation detection information of the above-mentioned safety detection equipment can be extracted from the operation report of the safety detection equipment.

[0083] The above-mentioned safety detection points are safety detection points divided by safety detection areas, wherein the determination of the safety detection areas is obtained by comprehensive analysis by detection personnel based on factors such as the environment of the path, the status of the pipeline, and actual needs.

[0084] The environmental detection information within the safety detection area to which the real-time natural gas pipeline transmission path belongs specifically includes the maximum methane concentration within the safety detection area to which the real-time natural gas pipeline transmission path belongs, the maximum environmental temperature within the safety detection area to which the real-time natural gas pipeline transmission path belongs, and the minimum environmental temperature within the safety detection area to which the real-time natural gas pipeline transmission path belongs.

[0085] The status detection information of the natural gas pipeline at each safety detection point specifically includes the tolerable pressure value of the natural gas pipeline at each safety detection point, the status detection information of the natural gas pipeline at each safety detection point, and the vibration intensity value of the natural gas pipeline at each safety detection point.

[0086] The tolerable pressure value of the natural gas pipeline at each safety detection point is compared with the pressure reference value. If the tolerable pressure value at a certain safety detection point of the natural gas pipeline is less than the pressure reference value, the safety detection point of the natural gas pipeline is recorded as a safety detection abnormal point, and the number of safety detection abnormal points of the natural gas pipeline is obtained by statistics.

[0087] Extract the ambient temperature reference value and pressure reference value from the natural gas pipeline platform;

[0088] Based on the environmental detection information in the safety detection area to which the real-time natural gas pipeline transmission path belongs and the status detection information of the natural gas pipeline at each safety detection point, the safety assessment index of the real-time natural gas pipeline transmission path is comprehensively determined. The specific method is as follows:

[0089]

[0090] in

[0091] In the formula, AQ is the safety assessment index of the real-time path of natural gas pipeline transportation. In this embodiment, it is a series of quantitative or qualitative standards and parameters used to evaluate the safety status of the natural gas pipeline on its real-time path during transportation. These safety assessment indicators cover multiple dimensions such as pipeline pressure, temperature, leakage, and surrounding environment, and are intended to comprehensively measure the safety and reliability of the natural gas pipeline in real-time operation, thereby ensuring the safe operation of the natural gas pipeline system and timely discovering and handling potential safety hazards.

[0092] In this embodiment, by determining the safety assessment index of the real-time path of natural gas pipeline transportation, it is revealed which paths may face higher risks in actual operation and which paths are more stable and reliable, so as to verify the rationality and applicability of the manually set fixed path matching relationship, achieve the effect of mutual verification between automated calculation and manual setting, and help to discover the unreasonable aspects in the manually set path planning, thereby improving the accuracy and feasibility of path matching.

[0093] HJ is the environmental detection impact coefficient of the real-time natural gas pipeline transmission path, which means that the environmental detection impact coefficient of the real-time natural gas pipeline transmission path is obtained through comprehensive analysis of the maximum methane concentration of the real-time natural gas pipeline transmission path in the safety detection area, the maximum ambient temperature of the real-time natural gas pipeline transmission path in the safety detection area, and the minimum ambient temperature of the real-time natural gas pipeline transmission path in the safety detection area.

[0094] ZT is the status detection impact index of the natural gas pipeline, which means that the status detection impact index of the natural gas pipeline is obtained through comprehensive analysis of the number of abnormal points in the safety detection of the natural gas pipeline and the vibration intensity value of the natural gas pipeline at each safety detection point.

[0095] β 1 It is the weight factor corresponding to the predefined environmental detection impact coefficient in the natural gas pipeline platform.

[0096] In a specific embodiment, the weight factor corresponding to the environmental detection impact coefficient can be directly obtained from the natural gas pipeline platform during use. The factor represents the numerical value of the degree of influence on the safety assessment index of the real-time natural gas pipeline path during the safety determination of the real-time natural gas pipeline path. The corresponding relationship can be a pre-set mapping relationship. For example, the environmental detection impact coefficient and the weight factor corresponding to the environmental detection impact coefficient preset in the natural gas pipeline platform form a mapping set, and the real-time environmental detection impact coefficient is brought into the mapping set to obtain the weight factor corresponding to the environmental detection impact coefficient. The mapping relationship can be a one-to-one correspondence or a many-to-one relationship. In this embodiment, its value range is (0, 1).

[0097] β 2 It is the weight factor corresponding to the predefined status detection influencing index in the natural gas pipeline platform.

[0098] In a specific embodiment, the weight factor corresponding to the state detection influencing index can be directly obtained from the natural gas pipeline platform during use. The factor represents the numerical value of the degree of influence on the safety assessment index of the real-time natural gas pipeline path during the safety determination of the real-time natural gas pipeline path. The corresponding relationship can be a pre-set mapping relationship. For example, the state detection influencing index and the weight factor corresponding to the state detection influencing index preset in the natural gas pipeline platform form a mapping set, and the real-time state detection influencing index is brought into the mapping set to obtain the weight factor corresponding to the state detection influencing index. The mapping relationship can be a one-to-one correspondence or a many-to-one relationship. In this embodiment, its value range is (0, 1).

[0099] CH is the maximum methane concentration in the safety detection area of ​​the real-time natural gas pipeline transmission path, which refers to the highest concentration value that methane gas may reach in this area.

[0100] W max It is the maximum ambient temperature within the safety detection area of ​​the real-time path of natural gas pipeline transmission, which refers to the maximum value that the ambient temperature may reach in this area.

[0101] In the above expression Part of it is expressed as the water dew point in the natural gas pipeline, where the water dew point refers to the temperature when the water vapor in the natural gas reaches a saturated state under the condition of the highest tolerable pressure value. The water dew point in the natural gas pipeline should be 5°C lower than the lowest ambient temperature.

[0102] The above YL max Expressed under the condition of the highest tolerable pressure value.

[0103] It needs to be explained that according to the relevant standards of our country, "under the conditions of maximum operating pressure, the water dew point of natural gas should be 5°C lower than the minimum ambient temperature."

[0104] YC is the number of abnormal safety detection points of the natural gas pipeline, which refers to the number of safety detection points where the tolerable pressure value of the natural gas pipeline is greater than the pressure reference value.

[0105] ZD i is the vibration intensity value of the natural gas pipeline at the i-th safety detection point, which refers to the specific value of the vibration amplitude obtained when the vibration monitoring is performed on each preset safety detection point on the natural gas pipeline. These values ​​reflect the vibration state of the pipeline at these specific locations.

[0106] i is the number of each safety detection point, i = 1, 2, 3..., m, and m is the total number of safety detection points.

[0107] yz 1 It is the impact factor corresponding to the predefined maximum methane concentration unit value in the natural gas pipeline platform.

[0108] In a specific embodiment, the influence factor corresponding to the unit value of the maximum methane concentration can be directly obtained from the natural gas pipeline platform during use. The factor represents the numerical value of the influence degree on the environmental detection influence coefficient of the real-time natural gas pipeline path during the environmental safety detection of the real-time natural gas pipeline path. The corresponding relationship can be a pre-set mapping relationship. For example, the maximum methane concentration and the influence factor corresponding to the unit value of the maximum methane concentration preset in the natural gas pipeline platform form a mapping set, and the real-time maximum methane concentration is brought into the mapping set to obtain the influence factor corresponding to the unit value of the maximum methane concentration. The mapping relationship can be a one-to-one correspondence or a many-to-one relationship. In this embodiment, its value range is (0, 1).

[0109] yz 2 It is the impact factor corresponding to the predefined water dew point unit value in the natural gas pipeline platform.

[0110] In a specific embodiment, the influence factor corresponding to the water dew point unit value can be directly obtained from the natural gas pipeline platform during use. The factor represents the numerical value of the influence degree on the environmental detection influence coefficient of the real-time natural gas pipeline path during the environmental safety detection of the real-time natural gas pipeline path. The corresponding relationship can be a pre-set mapping relationship. For example, the water dew point and the influence factor corresponding to the preset water dew point unit value in the natural gas pipeline platform form a mapping set, and the real-time water dew point is brought into the mapping set to obtain the influence factor corresponding to the water dew point unit value. The mapping relationship can be a one-to-one correspondence or a many-to-one relationship. In this embodiment, its value range is (0, 1).

[0111] yz 3 It is the impact factor corresponding to a single safety detection abnormal point predefined in the natural gas pipeline platform.

[0112] In a specific embodiment, the impact factor corresponding to a single safety detection abnormal point can be directly obtained from the natural gas pipeline platform during use. The factor represents the numerical value of the degree of influence on the state detection influencing index of the natural gas pipeline during the pipeline state safety detection of the real-time path of the natural gas pipeline. The corresponding relationship can be a pre-set mapping relationship. For example, the number of safety detection abnormal points and the impact factor corresponding to a single safety detection abnormal point preset in the natural gas pipeline platform form a mapping set, and the real-time number of safety detection abnormal points is brought into the mapping set to obtain the impact factor corresponding to the single safety detection abnormal point. The mapping relationship can be a one-to-one correspondence or a many-to-one relationship. In this embodiment, its value range is (0, 1).

[0113] yz 4 It is the impact factor corresponding to the unit value of the predefined vibration intensity value in the natural gas pipeline platform.

[0114] In a specific embodiment, the influence factor corresponding to the unit value of the vibration intensity value can be directly obtained from the natural gas pipeline platform during use. The factor represents the numerical value of the influence degree on the natural gas pipeline status detection influencing index during the pipeline status safety detection of the real-time natural gas pipeline path. The corresponding relationship can be a pre-set mapping relationship. For example, the vibration intensity value and the influence factor corresponding to the unit value of the vibration intensity value preset in the natural gas pipeline platform form a mapping set, and the real-time vibration intensity value is brought into the mapping set to obtain the influence factor corresponding to the unit value of the vibration intensity value. The mapping relationship can be a one-to-one correspondence or a many-to-one relationship. In this embodiment, its value range is (0, 1).

[0115] During the natural gas pipeline transportation process, if the pipeline leaks, methane will quickly diffuse into the surrounding environment, causing the methane concentration to increase, and the maximum methane concentration in the safety detection area of ​​the natural gas pipeline transportation path will increase. At the same time, if the ambient temperature of the natural gas pipeline transportation path in the safety detection area is high, the methane concentration will also increase. This is because as the ambient temperature rises, the molecular movement in the air is more intense, causing the diffusion rate of methane to accelerate, and also increase the methane concentration; not only that, if the ambient temperature of the natural gas pipeline transportation path in the safety detection area is high, it will also cause the temperature of the natural gas pipeline and equipment to rise, which may cause the pressure in the pipeline to decrease. In extreme cases, if the temperature is too high, it may even cause safety accidents such as pipeline bursts and leaks. The safety risk of the natural gas pipeline transportation path in the natural gas transportation process is greatly increased.

[0116] In a natural gas pipeline, if the pressure increases or decreases abnormally, it may affect the formation of the water dew point. For example, when the pipeline pressure decreases, the water vapor that was originally in a saturated state may condense into liquid water, resulting in the appearance of a water dew point. Conversely, if the pipeline pressure increases, the condensed liquid water may evaporate again, changing the state of the water dew point. Abnormal pressure in a natural gas pipeline is often accompanied by changes in vibration intensity. When the pipeline pressure increases, the stress inside the pipeline increases, which may cause the pipeline vibration intensity to increase. Conversely, when the pipeline pressure decreases, the stress inside the pipeline decreases, and the vibration intensity may decrease accordingly. Excessive vibration intensity may cause pipeline fatigue, cracks, or even rupture, seriously threatening the safe operation of the pipeline. The water dew point in a natural gas pipeline may cause liquid water to appear inside the pipeline, and these liquid waters may generate additional vibration sources when flowing or accumulating inside the pipeline. In addition, the water dew point may also cause ice blockage inside the pipeline, further exacerbating the vibration intensity of the pipeline. Therefore, the vibration intensity in this embodiment should ensure that its value is small to reduce the negative impact of pipeline vibration. In summary, the water dew point, abnormal tolerable pressure value, and vibration intensity in a natural gas pipeline are interrelated. The interaction between them may lead to a series of safety problems in the pipeline, such as corrosion, fatigue, cracks and even ruptures, etc. These negative effects will also greatly increase the safety risks of the real-time path of natural gas pipeline transportation during the natural gas transportation process, and even affect the safety assessment indicators of the real-time path of natural gas pipeline transportation.

[0117] S4. When the safety assessment index of the real-time natural gas pipeline transmission path is greater than the preset safety assessment index, the pipeline flow detection equipment performs flow detection on the real-time natural gas pipeline transmission path to determine the flow detection result of the natural gas pipeline transmission path. Based on the flow detection result, the path matching feedback component feeds back the transmission flow of the natural gas pipeline transmission path, and finally completes the data processing of the natural gas pipeline transmission path matching.

[0118] The above pipeline flow detection equipment is a high-precision measuring instrument, such as a turbine flowmeter, which uses the rotational kinetic energy generated by the rotation of the rotor of the natural gas fluid, and after conversion and processing, measures the volume flow of the fluid, and can detect the flow of natural gas in the pipeline. The equipment is usually installed at a specific location of the natural gas pipeline, such as the inlet, outlet or key node, to ensure comprehensive detection of the flow.

[0119] Specifically, the flow detection result of the natural gas pipeline transmission path is determined by comparing the following process:

[0120] The flow detection related data of the pipeline flow detection equipment is obtained, specifically including the maximum transmission flow, minimum transmission flow and real-time transmission flow of the natural gas pipeline path within the flow detection period.

[0121] The flow detection associated data of the above-mentioned pipeline flow detection equipment can be extracted from the operation report of the pipeline flow detection equipment.

[0122] The real-time delivery flow of the natural gas pipeline transmission path during the flow detection period belongs to the interval where the maximum delivery flow of the natural gas pipeline transmission path during the flow detection period and the minimum delivery flow of the natural gas pipeline transmission path during the flow detection period are located.

[0123] The maximum flow rate and the minimum flow rate of the natural gas pipeline are extracted from the natural gas pipeline platform.

[0124] The flow detection result of the natural gas pipeline transmission path is comprehensively determined according to the maximum transmission flow of the natural gas pipeline transmission path within the flow detection period, the minimum transmission flow of the natural gas pipeline transmission path within the flow detection period, the maximum flow of the natural gas pipeline and the minimum flow of the natural gas pipeline. The specific method is as follows:

[0125] If [(GD max -SS max )>0]∪[(SS min -GD min )>0], the flow detection result of the natural gas pipeline transmission path is that the flow meets the requirements.

[0126] Otherwise, the flow detection result of the natural gas pipeline transmission path is that the flow does not meet the requirements.

[0127] In the formula, SS max is the maximum flow rate of the natural gas pipeline during the flow detection period, SS min GD is the minimum flow rate of the natural gas pipeline during the flow detection period. max is the maximum flow rate of natural gas pipeline, GD min is the minimum flow rate of natural gas pipeline.

[0128] In this embodiment, the flow rate of the natural gas pipeline transmission path needs to meet the pipeline transmission path flow rate limit, that is, if the path is selected, the flow rate of the path must be limited between the minimum flow rate and the maximum flow rate limit of the pipeline.

[0129] It should be explained that if the gas volume at the supply point and the demand point satisfies the connection relationship between the two points, the gas volume must be greater than or equal to the minimum flow rate of pipeline transportation and less than or equal to the maximum flow rate limit of pipeline transportation; if the path is not connected, the gas volume is 0, and its expression can be expressed as:

[0130] α min ·x sd ≤f sd ≤α max ·x sd s∈S,d∈D;

[0131] Explanation of symbols: αmin ,α max It is expressed as the minimum requirement and maximum limit of the path flow once the path is enabled, x sd Indicates whether the supply point s and the demand point d are connected, if yes, it is 1, otherwise it is 0; f sd It represents the gas volume transported from supply point s to demand point d.

[0132] On a certain path in this embodiment, if there is a difference between the natural gas flow rate planned to be supplied to a user's download point and the minimum flow rate ratio required by the user's download point, a difference measure between the actual planned flow rate and the minimum flow rate ratio expected by the user can be expressed by the following expression:

[0133]

[0134] Symbol description: pr represents the penalty coefficient for the proportion of the path plan flow that does not reach the minimum flow rate of the user download point, lr sd It indicates that the path planned flow from the gas source upload point s to the user download point d does not reach the difference in the proportion of the minimum flow at the user download point.

[0135] The above expression aims to minimize the difference caused by insufficient flow supply (relative to its minimum demand ratio) at each user download point by adjusting the flow plan on the path, and at the same time use the penalty coefficient to enhance the importance of this minimization goal, which is conducive to ensuring the stable operation of the natural gas supply system and the satisfaction of user needs.

[0136] Furthermore, the path matching feedback component provides feedback on the transmission flow of the natural gas pipeline transmission path, and the specific comparison process is as follows:

[0137] If the flow rate compliance comparison result shows that the flow rate is compliant, the natural gas pipeline transmission path is used to transmit natural gas according to the real-time transmission flow rate of the natural gas pipeline transmission path within the flow rate detection period.

[0138] If the flow rate compliance comparison result shows that the flow rate does not comply, the path matching feedback component will feedback the transmission flow rate of the natural gas pipeline transmission path.

[0139] The path matching feedback component is an intelligent device that integrates wireless communication technology and data processing capabilities. It is used to connect to the pipeline flow detection equipment through wireless communication technology, receive the flow detection results of the pipeline flow detection equipment, and provide feedback on the transmission flow of the natural gas pipeline path. This component can ensure the accuracy and rationality of the data and provide strong protection for the safe operation of the natural gas pipeline.

[0140] The delivery flow is fed back, specifically, the real-time delivery flow of the natural gas pipeline transmission path within the flow detection period is set as the delivery flow preset value, specifically, the real-time delivery flow of the natural gas pipeline transmission path within the flow detection period is made to meet the pipeline transmission path flow restriction, that is, the path is selected, then the flow of the path must be limited between the minimum flow and the maximum flow limit of the pipeline, and at the same time, if there is a path flow restriction in the natural gas pipeline transmission path, then the flow of the path needs to be equal to the manually set value, that is, the set delivery flow preset value, so as to transmit natural gas.

[0141] In this embodiment, the flow detection of the natural gas pipeline transmission path meets the fixed path matching relationship constraint. If there is a path matching relationship requirement, the corresponding path must be used; if in addition to the path must be used and the path set flow is configured, the planned flow of the path must be equal to the set flow.

[0142] x sd =1if sd∈LK;

[0143] f sd =lk sd if sd∈LK and lk sd >0;

[0144] Compliance Description: x sd Indicates whether the supply point s and the demand point d are connected, which is 1 if yes and 0 otherwise; sd∈LK represents the fixed path matching relationship set; f sd represents the gas volume transported from supply point s to demand point d; lk sd Represents the manually set pipeline flow from supply point s to demand point d.

[0145] The above expression is specifically: if the supply point s and the demand point d are connected, that is, there is a path, and the path between the supply point s and the demand point d belongs to a fixed path matching relationship, then the corresponding path between the supply point s and the demand point d must be used; if the corresponding path between the supply point s and the demand point d must be used, then the gas volume transported from the supply point s to the demand point d must be equal to the manually set pipeline flow rate.

[0146] In addition, the natural gas pipeline transmission path needs to meet the minimum flow ratio requirement of the path, that is, once the path is enabled, the planned flow of the path should try to reach the minimum flow ratio requirement of the corresponding user download point. The specific expression is:

[0147]

[0148] Comply with the following instructions: f sd represents the gas volume transported from supply point s to demand point d; lr sd It means that the path flow between supply point s and demand point d does not reach the value required by the minimum flow of the demand point; It is expressed as the minimum flow ratio requirement of the path corresponding to the demand point d, that is, once the path is used, the path flow / demand point demand should preferably reach the minimum flow ratio requirement corresponding to the user download point; dm d It is expressed as the total amount of transportation from the supply point to the demand point d; x sd Whether the supply point s and the demand point d are connected, it is 1 if yes, otherwise it is 0.

[0149] By satisfying the above expressions and ensuring that the planned flow of each enabled path meets the minimum requirements, the pipeline network resources can be used more effectively and resource waste caused by uneven flow distribution can be avoided. At the same time, reasonable flow distribution can help reduce the loss of natural gas during the transportation process and improve the overall transportation efficiency.

[0150] It should be explained that, in a specific embodiment, the pipeline path matching problem can be defined as a multi-objective optimization problem and implemented through an objective function. The specific objective function is as follows:

[0151]

[0152] Compliance explanation: pd is the objective function parameter, the penalty coefficient of gas transmission distance; f sd It is expressed as the gas volume transported from supply point s to demand point d; It is represented as the pipeline distance from the upload point p to the download point w; pr is represented as the objective function parameter, which is the penalty coefficient when the path flow does not reach the minimum flow ratio requirement of the demand point; lr sd It means that the path flow between supply point s and demand point d does not reach the value of the minimum flow requirement of the demand point.

[0153] The above expression can be solved by the solver software to obtain the corresponding pipeline path matching plan, including whether the path from the gas source upload point to the user download point is connected and the planned gas transmission volume of the path.

[0154] Reference Figure 2 As shown, the second aspect of the present invention provides a system for a data processing method for natural gas pipeline path matching, characterized in that it includes: a real-time path comparison module, a pipeline inevitable path set comparison module, a safety assessment index determination module and a transmission flow feedback module.

[0155] The second aspect of the present invention provides a system for a data processing method for natural gas pipeline path matching, further comprising: a natural gas pipeline platform for storing ambient temperature reference values, pressure reference values, and preset values ​​of various factors.

[0156] The real-time path comparison module is connected to the pipeline inevitable path set comparison module, the pipeline inevitable path set comparison module is connected to the safety assessment index determination module, the safety assessment index determination module is connected to the transportation flow feedback module, and the safety assessment index determination module is connected to the natural gas pipeline platform.

[0157] The real-time path comparison module is used to obtain basic data belonging to natural gas supply and demand and various historical basic data belonging to natural gas supply and demand through the natural gas pipeline transportation platform, and compare the basic data belonging to natural gas supply and demand and various historical basic data belonging to natural gas supply and demand, so as to obtain the real-time path of natural gas pipeline transportation.

[0158] The pipeline transportation inevitable path set comparison module is used to compare the real-time path of natural gas pipeline transportation with the predefined pipeline transportation inevitable path set to obtain a path comparison result.

[0159] The safety assessment index determination module is used to determine the safety assessment index of the real-time path of natural gas pipeline transportation based on the path comparison result, and compare it with the predefined safety assessment preset index.

[0160] The transmission flow feedback module is used to, when the safety assessment index of the real-time natural gas pipeline transmission path is greater than the preset safety assessment index, the pipeline flow detection device performs flow detection on the real-time natural gas pipeline transmission path, determines the flow detection result of the natural gas pipeline transmission path, and based on the flow detection result, the path matching feedback component feeds back the transmission flow of the natural gas pipeline transmission path, and finally completes the data processing of the natural gas pipeline transmission path matching.

[0161] A third aspect of the present invention provides a computer-readable storage medium for storing a program, wherein when the program is executed by a processor, the data processing method for matching a natural gas pipeline transmission path is implemented.

[0162] A fourth aspect of the present invention provides an electronic device, characterized in that the electronic device comprises a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the described method.

[0163] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the present invention, they should all fall within the protection scope of the present invention.

Claims

1. A data processing method for natural gas pipeline transmission path matching, characterized in that: include: S1. Obtain basic data on natural gas supply and demand and various historical basic data on natural gas supply and demand through the natural gas pipeline transportation platform, and compare the basic data on natural gas supply and demand and various historical basic data on natural gas supply and demand to obtain a real-time path for natural gas pipeline transportation; S2. Compare the real-time path of natural gas pipeline transportation with the predefined pipeline transportation inevitable path set to obtain a path comparison result; S3. Based on the path comparison results, determine the safety assessment index of the real-time path of natural gas pipeline transportation, and compare it with the predefined safety assessment preset index; S4. When the safety assessment index of the real-time natural gas pipeline transmission path is greater than the preset safety assessment index, the pipeline flow detection equipment performs flow detection on the real-time natural gas pipeline transmission path to determine the flow detection result of the natural gas pipeline transmission path. Based on the flow detection result, the path matching feedback component feeds back the transmission flow of the natural gas pipeline transmission path, and finally completes the data processing of the natural gas pipeline transmission path matching.

2. According to claim 1, a data processing method for natural gas pipeline transmission path matching is characterized in that: The basic data of natural gas supply and demand and the historical basic data of natural gas supply and demand are compared. The specific comparison process is: The basic data of natural gas supply and demand specifically include the demand at the user download point and the supply at the gas source upload point; The historical basic data of natural gas supply and demand specifically include the historical demand of each user download point and the historical supply of each gas source upload point; Compare the demand of the user downloading point with the historical demand of each user downloading point, and compare the supply of the gas source upload point with the historical supply of each gas source upload point, to obtain the basic data comparison result, that is, the basic data first comparison result or the basic data second comparison result; The first comparison result of the basic data is that the demand at the user downloading point is equal to the historical demand at a certain user downloading point and the supply at the gas source upload point is equal to the historical supply at a certain gas source upload point; The second comparison result of the basic data is that the demand of the user downloading point is not equal to the historical demand of each user downloading point and the supply of the gas source loading point is not equal to the historical supply of each gas source loading point.

3. According to claim 2, a data processing method for natural gas pipeline transmission path matching is characterized in that: The real-time path of natural gas pipeline transportation is obtained, and the specific analysis process is as follows: If the basic data comparison result shows that the demand at the user downloading point is equal to the historical demand at a certain user downloading point and the supply at the gas source upload point is equal to the historical supply at a certain gas source upload point, then the pipeline transportation path corresponding to the historical demand at the user downloading point and the historical supply at the gas source upload point is recorded as the real-time path of natural gas pipeline transportation; If the basic data comparison result shows that the user download point demand is not equal to the historical demand of each user download point and the gas source loading point supply is not equal to the historical supply of each gas source loading point, then the user download point demand and the historical demand of each user download point are processed by difference, and the gas source loading point supply and the historical supply of each gas source loading point are processed by difference, so as to obtain the demand difference of each user download point and the supply difference of each gas source loading point, and arrange the demand difference of each user download point and the supply difference of each gas source loading point in order from small to large, and the pipeline path between the historical demand of the user download point corresponding to the demand difference of the first-ranked user download point and the historical supply of the gas source loading point corresponding to the supply difference of the first-ranked gas source loading point is recorded as the real-time path of natural gas pipeline transportation.

4. According to claim 1, a data processing method for natural gas pipeline transmission path matching is characterized in that: The real-time path of natural gas pipeline transportation is compared with the predefined pipeline transportation inevitable path set to obtain the path comparison result. The specific comparison process is as follows: The path comparison result, i.e., the real-time path of natural gas pipeline transportation belongs to the inevitable path set of pipeline transportation or the real-time path of natural gas pipeline transportation does not belong to the inevitable path set of pipeline transportation; If the real-time path of natural gas pipeline transportation belongs to the inevitable path set of pipeline transportation, the real-time path of natural gas pipeline transportation is tested for safe transportation; If the real-time path of natural gas pipeline transportation does not belong to the inevitable pipeline path set, then determine whether the real-time path of natural gas pipeline transportation belongs to the inevitable pipeline mismatch path set. If the real-time path of natural gas pipeline transportation does not belong to the inevitable pipeline mismatch path set, then select a specific path from the inevitable pipeline path set according to a predefined method, replace it with the real-time path of natural gas pipeline transportation, and perform safety transportation detection on the real-time path of natural gas pipeline transportation.

5. According to claim 1, a data processing method for natural gas pipeline transmission path matching is characterized by: The safety assessment index of the real-time natural gas pipeline transportation path is determined based on the path comparison result. The specific determination process is as follows: The safe transportation detection of the real-time path of natural gas pipeline transportation is specifically that the safety detection device receives and executes the safe transportation detection signal, that is, the safe transportation detection of the real-time path of natural gas pipeline transportation is performed; By performing safety transportation detection on the real-time route of natural gas pipeline transportation, safety transportation detection information of the safety detection equipment is obtained, including environmental detection information within the safety detection area to which the real-time route of natural gas pipeline transportation belongs and status detection information of the natural gas pipeline at each safety detection point; The environmental detection information within the safety detection area to which the natural gas pipeline real-time path belongs specifically includes the maximum methane concentration within the safety detection area to which the natural gas pipeline real-time path belongs, the maximum environmental temperature within the safety detection area to which the natural gas pipeline real-time path belongs, and the minimum environmental temperature within the safety detection area to which the natural gas pipeline real-time path belongs; The state detection information of the natural gas pipeline at each safety detection point specifically includes the tolerable pressure value of the natural gas pipeline at each safety detection point and the vibration intensity value of the natural gas pipeline at each safety detection point; The tolerable pressure value of the natural gas pipeline at each safety detection point is compared with the pressure reference value. If the tolerable pressure value at a certain safety detection point of the natural gas pipeline is less than the pressure reference value, the safety detection point of the natural gas pipeline is recorded as a safety detection abnormal point, and the number of safety detection abnormal points of the natural gas pipeline is obtained by statistics; Extract the ambient temperature reference value and pressure reference value from the natural gas pipeline platform; Based on the environmental detection information of the real-time natural gas pipeline transportation path in the safety detection area and the status detection information of the natural gas pipeline at each safety detection point, the safety assessment index of the real-time natural gas pipeline transportation path is comprehensively determined.

6. According to claim 1, a data processing method for natural gas pipeline transmission path matching is characterized by: The specific comparison process of determining the flow detection result of the natural gas pipeline transmission path is as follows: Obtaining flow detection related data of the pipeline flow detection equipment, specifically including the maximum transmission flow, minimum transmission flow and real-time transmission flow of the natural gas pipeline path within the flow detection period; Extract the maximum flow rate and the minimum flow rate of the natural gas pipeline from the natural gas pipeline platform; The flow detection result of the natural gas pipeline transmission path is comprehensively determined according to the maximum transmission flow of the natural gas pipeline transmission path within the flow detection period, the minimum transmission flow of the natural gas pipeline transmission path within the flow detection period, the maximum flow of the natural gas pipeline and the minimum flow of the natural gas pipeline. The specific method is as follows: If [(GD max -SS max )>0]∪[(SS min -GD min )>0], the flow detection result of the natural gas pipeline transmission path is that the flow meets the requirements; Otherwise, the flow detection result of the natural gas pipeline transmission path is that the flow does not meet the requirements; In the formula, SS max is the maximum flow rate of the natural gas pipeline during the flow detection period, SS min GD is the minimum flow rate of the natural gas pipeline during the flow detection period. max is the maximum flow rate of natural gas pipeline, GD min is the minimum flow rate of natural gas pipeline.

7. A data processing method for natural gas pipeline transmission path matching according to claim 6, characterized in that: Based on the flow detection result, the path matching feedback component feeds back the transmission flow of the natural gas pipeline transmission path. The specific comparison process is as follows: If the flow rate compliance comparison result shows that the flow rate is compliant, the natural gas pipeline transmission path is used to transmit natural gas according to the real-time transmission flow rate of the natural gas pipeline transmission path within the flow rate detection period; If the flow rate compliance comparison result shows that the flow rate does not comply, the path matching feedback component will provide feedback on the transmission flow of the natural gas pipeline transmission path; The delivery flow is fed back, specifically, the real-time delivery flow of the natural gas pipeline transmission path within the flow detection period is set as the delivery flow preset value, so as to transmit natural gas.

8. A system using a data processing method for natural gas pipeline transmission path matching as claimed in any one of claims 1 to 7, characterized in that: include: The real-time path comparison module is used to obtain the basic data of natural gas supply and demand and various historical basic data of natural gas supply and demand through the natural gas pipeline transportation platform, and compare the basic data of natural gas supply and demand and various historical basic data of natural gas supply and demand to obtain the real-time path of natural gas pipeline transportation; The pipeline transmission inevitable path set comparison module is used to compare the real-time path of natural gas pipeline transmission with the predefined pipeline transmission inevitable path set to obtain a path comparison result; A safety assessment index determination module is used to determine the safety assessment index of the real-time path of natural gas pipeline transportation based on the path comparison result, and compare it with the predefined safety assessment preset index; The transmission flow feedback module is used to detect the flow of the real-time natural gas pipeline transmission path when the safety assessment index of the real-time natural gas pipeline transmission path is greater than the preset safety assessment index. The pipeline flow detection equipment determines the flow detection result of the natural gas pipeline transmission path. Based on the flow detection result, the path matching feedback component feeds back the transmission flow of the natural gas pipeline transmission path, and finally completes the data processing of the natural gas pipeline transmission path matching.

9. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by a processor, a data processing method for natural gas pipeline transmission path matching as described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: The electronic device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • A natural gas pipeline network transmission path matching method

    CN113298293B

  • A global dispatching method based on natural gas pipeline network system

    CN113326984B