Method, Medium and Electronic Device for Locating Abnormal Flow Data in Pipe Network Transient Simulation

By acquiring and analyzing the accumulated traffic timing difference, available traffic storage and custody storage of the pipeline network, the problem of inability to efficiently locate abnormal traffic data in transient simulation is solved, and the problem of rapid positioning of traffic distortion and its attributes is realized, and the implementation efficiency of simulation projects is improved.

CN119760620BActive Publication Date: 2025-06-24SHANGHAI THREE ZERO FOUR ZERO TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510266078.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-06-24
Estimated Expiration
2045-03-07

AI Technical Summary

Technical Problem

In the prior art, transient simulation cannot efficiently and accurately locate abnormal traffic data, resulting in difficulty in implementing simulation projects.

Method used

By obtaining the accumulated difference in traffic timing of the source node, available custody and custody, it is determined whether there is a traffic data abnormality in the source node, and determine whether the abnormality is the incoming end or the outgoing end based on the total incoming flow, total outgoing flow and the supply stop state.

Benefits of technology

It realizes the rapid positioning of the flow distortion problem and its attributes when the flow accuracy of the transient simulation is deviated, and improves the implementation efficiency of the simulation project.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119760620B_ABST
    Figure CN119760620B_ABST
Patent Text Reader

Abstract

The present application provides a method, medium, and electronic device for locating abnormal flow data in pipe network transient simulation. The method includes: in response to the transient simulation flow accuracy being lower than a threshold, respectively obtaining the cumulative difference of the flow time series of the source node, the available pipe storage, and the storable pipe storage, and determining whether there is abnormal flow data based on the relationship between the cumulative difference of the flow time series and the storable pipe storage and the available pipe storage respectively; in response to there being abnormal flow data, determining whether the total inlet end or the total outlet end of the source node with abnormal flow data exists based on the total inlet flow, the total outlet flow, the cumulative difference of the flow time series of the source node, and the shut-off state of the source node; according to the determination conditions for determining that the total inlet end or the total outlet end of the source node has abnormal flow data, correspondingly locating the problem type mapped by the flow meter that causes the abnormal flow data. When the transient simulation flow accuracy deviates in the present application, it is possible to quickly locate whether there is a problem of flow distortion, as well as the attribution of the flow problem at the inlet and outlet ends.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of smart city management and operation, and particularly relates to the information technology field of urban integrated energy public service management. Background Art

[0002] According to whether discretization processing is performed in space and time, pipe network simulation technology is divided into transient simulation and steady-state simulation. Among them, transient simulation can more realistically restore the operating conditions of the pipe network, while steady-state simulation requires stable operating conditions to obtain convergent and accurate simulation results. Therefore, transient simulation technology can still calculate convergent and accurate results when there is a large difference between the inlet and outlet flows of the pipe network.

[0003] In pipe network simulation, generally, flow rate data is assigned to the nodes of all users. Currently, when positioning flow process data problems when the transient simulation accuracy does not meet the standard, there is a lack of effective positioning methods. Most of them are to manually check the calculation accuracy of the nodes, and compare several indicators of the simulation results of the boundary points with lower accuracy and their upstream / downstream nodes, such as flow velocity, specific friction loss, etc., with the conventional experience range to achieve the investigation from the root node or leaf node to the entire pipe network. After investigating to the specified point, then check whether the flow rate acquisition data is interrupted or abnormal. Moreover, the method of manually investigating data problems may be effective when the topological scale is small. When the topological scale is large, this method is not practical because this investigation of the acquisition point data without a hierarchical strategy has no direction, requires a large number of points to be investigated and the process is repeated, which may cause the implementation of the simulation project to stagnate. Summary of the Invention

[0004] This application provides a method, medium and electronic device for locating abnormal flow rate data in pipe network transient simulation, which is used to solve the technical problem that existing transient simulation cannot efficiently and accurately locate abnormal flow rate data.

[0005] In a first aspect, an embodiment of this application provides a method for locating abnormal flow rate data in pipe network transient simulation, including: in response to the transient simulation flow rate accuracy being lower than a threshold, respectively obtaining the cumulative difference of the flow rate time series of the source node, the available pipe storage, and the storable pipe storage, and determining whether there is abnormal flow rate data at the source node based on the relationship between the cumulative difference of the flow rate time series and the storable pipe storage and the available pipe storage; in response to there being abnormal flow rate data at the source node, determining whether the total inlet end or the total outlet end of the source node has abnormal flow rate data based on the total inlet flow rate, the total outlet flow rate, the cumulative difference of the flow rate time series of the source node, and the shut-off state of the source node; according to the determination condition for determining that the total inlet end or the total outlet end of the source node has abnormal flow rate data, correspondingly locating the problem type mapped by the flow meter that causes the abnormal flow rate data.

[0006] In one implementation of the first aspect, before obtaining the cumulative difference in flow time series, the available storage capacity, and the available storage volume of the source node, it further includes: mapping each flowmeter in the pipe network to each source node in the simulation; where the output of one flowmeter corresponds to one source node, and when at least two flowmeters merge and flow out to form a branch, the branch is mapped to one source node.

[0007] In one implementation of the first aspect, the available storage capacity is the difference between the pipe storage volume corresponding to the upper pressure limit in the pipe network and the actual pipe storage volume in the pipe network at a certain moment; the available storage volume is the difference between the actual pipe storage volume in the pipe network at a certain moment and the pipe storage volume corresponding to the lower pressure limit in the pipe network;

[0008] The method for obtaining the available storage capacity is: ;

[0009] The method for obtaining the available storage volume is: ;

[0010] Among them, is the available storage capacity, is the available storage volume, is the upper limit of pipe storage, is the lower limit of pipe storage, is the number of pipes in the pipe network, is the cross-sectional area of the i th pipe in the pipe network, is the length of the i th pipe in the pipe network, is the pressure of the i th pipe in the pipe network, is 1 standard atmosphere, is the standard temperature, is the simulated calculation temperature of the i th pipe in the pipe network at time t0, is the standard condition compression factor of the simulated calculation of the i th pipe in the pipe network at time t0, is the working condition compression factor of the simulated calculation of the i th pipe in the pipe network at time t0.

[0011] In an implementation manner of the first aspect, determining whether there is abnormal flow data at the source node based on the relationship between the cumulative difference of flow time series and the storable inventory and the available inventory respectively includes: obtaining the total inflow and the total outflow of the source node at a certain moment respectively; comparing the magnitudes of the total inflow and the total outflow: if the total inflow is greater than the total outflow, obtaining the cumulative difference of flow time series between the total inflow and the total outflow, and determining whether the cumulative difference of flow time series is less than or equal to the storable inventory. If so, it is confirmed that there is no abnormal flow data at the source node; if not, it is confirmed that there is abnormal flow data at the source node; if the total outflow is greater than the total inflow, obtaining the cumulative difference of flow time series between the total outflow and the total inflow, and determining whether the cumulative difference of flow time series is less than or equal to the available inventory. If so, it is confirmed that there is no abnormal flow data at the source node; if not, it is confirmed that there is abnormal flow data at the source node.

[0012] In an implementation manner of the first aspect, determining whether the total inlet end or the total outlet end of the source node where there is abnormal flow data based on the total inflow, the total outflow, the cumulative difference of flow time series of the source node, and the shut-off state of the source node includes: detecting whether the total inflow is continuously less than the total outflow or continuously greater than the total outflow within a preset time period: if so, determining that the total inlet end of the source node where there is abnormal flow data; if not, determining whether the total inlet end or the total outlet end of the source node where there is abnormal flow data based on the cumulative difference of flow time series, the storable inventory, the available inventory, and the shut-off state of the source node.

[0013] In an implementation manner of the first aspect, corresponding to the determination condition of determining whether the total inlet end or the total outlet end of the source node where there is abnormal flow data, locating the problem type mapped by the flowmeter that causes the abnormal flow data includes: when it is confirmed that the total inlet end of the source node where there is abnormal flow data when the total inflow is continuously less than the total outflow within a preset time period, locating the problem type mapped by the flowmeter that causes the abnormal flow data as a missing configured flowmeter mapping; when it is confirmed that the total inlet end of the source node where there is abnormal flow data when the total inflow is continuously greater than the total outflow within a preset time period, locating the problem type mapped by the flowmeter that causes the abnormal flow data as a duplicate configured flowmeter mapping.

[0014] In an implementation of the first aspect, determining whether the total inlet end or the total outlet end of the source node has abnormal flow data based on the cumulative difference in flow time series, the available storage, the available storage in the pipe, and the shutdown state of the source node includes: If there is a period during which the total inlet flow and the total outlet flow are balanced within a preset period, and in the remaining period of the preset period, the total inlet flow is continuously greater than the total outlet flow and the cumulative difference in flow time series is greater than the available storage in the pipe, detect whether the source node is in a shutdown state during the period of balance. If so, it is determined that the total inlet end of the source node has abnormal flow data; if not, it is determined that the total outlet end of the source node has abnormal flow data. If there is a period during which the total inlet flow and the total outlet flow are balanced within a preset period, and in the remaining period of the preset period, the total outlet flow is continuously greater than the total inlet flow and the cumulative difference in flow time series is greater than the available storage, detect whether the source node is in a shutdown state during the period of balance. If so, it is determined that the total inlet end of the source node has abnormal flow data; if not, it is determined that the total outlet end of the source node has abnormal flow data.

[0015] In an implementation of the first aspect, according to the determination conditions for determining that the total inlet end or the total outlet end of the source node has abnormal flow data, the problem types mapped by the flow meters that cause abnormal flow data are located as follows: When there is a period during which the total inlet flow and the total outlet flow are balanced within a preset period, and in the remaining period of the preset period, the total inlet flow is continuously greater than the total outlet flow and the cumulative difference in flow time series is greater than the available storage in the pipe: When it is confirmed that the total inlet end of the source node has abnormal flow data, the problem type mapped by the flow meter that causes abnormal flow data is determined to be duplicate configuration of flow meter mapping; when it is confirmed that the total outlet end of the source node has abnormal flow data, the problem type mapped by the flow meter that causes abnormal flow data is determined to be missing configuration of flow meter mapping. When there is a period during which the total inlet flow and the total outlet flow are balanced within a preset period, and in the remaining period of the preset period, the total outlet flow is continuously greater than the total inlet flow and the cumulative difference in flow time series is greater than the available storage: When it is confirmed that the total inlet end of the source node has abnormal flow data, the problem type mapped by the flow meter that causes abnormal flow data is determined to be missing configuration of flow meter mapping; when it is confirmed that the total outlet end of the source node has abnormal flow data, the problem type mapped by the flow meter that causes abnormal flow data is determined to be duplicate configuration of flow meter mapping.

[0016] In a second aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for locating abnormal flow data in the pipe network transient simulation described in any item of the first aspect of the present application is implemented.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, which includes: a memory storing a computer program; and a processor communicatively connected to the memory, and when the computer program is called, the processor executes the abnormal flow data positioning method in any one of the first aspects of the present application in the pipe network transient simulation.

[0018] The abnormal flow data positioning method in the pipe network transient simulation provided by the embodiment of the present application has the following beneficial effects:

[0019] When the transient simulation flow accuracy in the present application deviates, it can quickly locate whether there is a problem of flow distortion, and the attribution of the flow problem at the inlet and outlet ends, effectively solving the technical problem that the transient simulation in the prior art cannot efficiently and accurately locate abnormal flow data. Description of the Drawings

[0020] Figure 1 It shows a flowchart of the abnormal flow data positioning method in the pipe network transient simulation according to an embodiment of the present application.

[0021] Figure 2 It shows a principle flowchart of the overall implementation process of the abnormal flow data positioning method in the pipe network transient simulation according to an embodiment of the present application.

[0022] Figure 3 It shows a schematic diagram of the internal pipeline process of a station in the abnormal flow data positioning method in the pipe network transient simulation according to an embodiment of the present application.

[0023] Figure 4 It shows a flowchart of confirming whether there is abnormal flow data in the abnormal flow data positioning method in the pipe network transient simulation according to an embodiment of the present application.

[0024] Figure 5 It shows a flow curve diagram when monitoring that the total outgoing flow is small in the abnormal flow data positioning method in the pipe network transient simulation according to an embodiment of the present application.

[0025] Figure 6 It shows a flowchart of positioning the total incoming and outgoing flow problems in the abnormal flow data positioning method in the pipe network transient simulation according to an embodiment of the present application.

[0026] Figure 7 It shows a flowchart of an implementation manner of determining whether the total incoming end or the total outgoing end of the source node has abnormal flow data in the abnormal flow data positioning method in the pipe network transient simulation according to an embodiment of the present application.

[0027] Figure 8 It shows a flow curve diagram when monitoring that the total incoming flow is small in the abnormal flow data positioning method in the pipe network transient simulation according to an embodiment of the present application.

[0028] Figure 9 The flowchart shows how to determine whether the problem source is at the total inlet or the total outlet in the abnormal flow data location method for pipe network transient simulation according to an embodiment of the present application.

[0029] Figure 10 The structural schematic diagram of an electronic device according to an embodiment of the present application is shown. Specific embodiments

[0030] The following uses specific specific examples to illustrate the implementation manners of the present application. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0031] The embodiment of the present application provides a method for locating abnormal flow data in pipe network transient simulation, which is used to solve the technical problem that transient simulation in the prior art cannot efficiently and accurately locate abnormal flow data.

[0032] The following will combine the attached Figure 1 to the attached Figure 10 to describe in detail the technical solutions in the embodiments of the present application. It enables those skilled in the art to understand and implement the method for locating abnormal flow data in pipe network transient simulation of this embodiment without creative labor.

[0033] During the actual operation of online transient simulation, each node needs to push the collected data to the transient solver according to the expected time step. However, these data are not the data directly collected by the IoT devices. From the original collected data to the boundary conditions finally pushed to the solver, it is necessary to complete the flow aggregation under the one-to-many mapping between the IoT devices and the nodes. Otherwise, the boundary collected data used by the simulation solver will not be real and reasonable collected data, and the simulation results obtained using such data may not converge, or even if they converge, the accuracy may not meet the requirements.

[0034] In pipe network simulation, generally, the source nodes of all users are assigned flow rates, and only a small number of source nodes are assigned pressures. Therefore, this embodiment is for locating the problem of collected flow data in transient simulation. Among them, the method for locating abnormal flow data in pipe network transient simulation in this embodiment is applicable to application scenarios such as gas, heat, and water in the pipe network. Correspondingly, the collected flow data is flow data such as gas flow rate, heat flow rate, or water flow rate. For the convenience of explaining the principle and specific implementation process of this embodiment, this embodiment only takes the gas flow rate as an example for illustration in some specific examples.

[0035] Figure 1 It shows a flowchart of the method for locating abnormal flow data in the pipeline network transient simulation in the embodiment of the present application. As Figure 1 shown, the method for locating abnormal flow data in the pipeline network transient simulation provided by the embodiment of the present application includes the following steps S100 to S150.

[0036] Step S100, in response to the transient simulation flow accuracy being lower than the threshold, respectively obtain the cumulative difference of the flow time series of the source node, the available pipe storage, and the storable pipe storage, and determine whether there is abnormal flow data at the source node based on the relationship between the cumulative difference of the flow time series and the storable pipe storage and the available pipe storage;

[0037] Step S200, in response to there being abnormal flow data at the source node, determine whether it is the total inlet end or the total outlet end of the source node where there is abnormal flow data based on the total inlet flow, the total outlet flow, the cumulative difference of the flow time series of the source node, and the shut-off state of the source node;

[0038] Step S300, according to the determination condition that it is the total inlet end or the total outlet end of the source node where the flow data is abnormal, correspondingly locate the problem type mapped by the flowmeter that causes the abnormal flow data.

[0039] The method for locating abnormal flow data in the pipeline network transient simulation of this embodiment can quickly determine whether there is a flow problem at the source node when the transient simulation flow accuracy deviates, and determine whether it is the total inlet end or the total outlet end of the source node where there is abnormal flow data, and determine the problem type mapped by the flowmeter that causes the abnormal flow data correspondingly. Therefore, this embodiment can effectively solve the technical problem that the transient simulation in the prior art cannot efficiently and accurately locate the abnormal flow data.

[0040] Figure 2 It shows the overall implementation process principle flowchart of the method for locating abnormal flow data in the pipeline network transient simulation in an embodiment of the present application. As Figure 2As shown, in this embodiment, first, it is determined whether the accuracy of the simulated flow rate of the source node with the assigned pressure in the pipe network meets the standard. If it does not meet the standard, it is necessary to confirm whether there is a problem with the distorted collected flow rate. If the accuracy of the simulated flow rate does not meet the standard, by judging the relationship between the time-sequential cumulative difference between the collected total inflow and the collected total outflow and the available pipe storage and the storable pipe, it is determined whether there is a flow problem. Among them, this application gives the definitions of the available pipe storage and the storable pipe storage, and provides a method for calculating the upper and lower limits of the pipe storage to ensure that the calculation of the available pipe storage and the storable pipe storage is more accurate and reasonable. Then, this application analyzes the curve shapes of the total inflow and the total outflow, and combines whether there is a phenomenon of supply interruption at the source node to confirm the attribution of the flow problem to the total inlet end or the total outlet end. Finally, after confirming the attribution of the flow problem to the total inlet end or the total outlet end, by the method of cumulative flow sorting, each flowmeter mapped to each source node is detected one by one to see if it is consistent with the actual process. If there is an inconsistency, the flowmeter is determined to be a problematic one.

[0041] The following specifically describes the method for locating abnormal flow data in the transient simulation of the pipe network in this embodiment.

[0042] In this embodiment, when the accuracy of the transient simulation flow rate is lower than the threshold, the time-sequential cumulative difference of the flow rate, the available pipe storage, and the storable pipe storage of the source node are respectively obtained, and based on the relationship between the time-sequential cumulative difference of the flow rate and the storable pipe storage and the available pipe storage, it is determined whether there is abnormal flow data at the source node.

[0043] When the accuracy of the transient simulation flow rate does not meet the standard, in this embodiment, by judging the relationship between the time-sequential cumulative difference between the collected total inflow and the collected total outflow and the available pipe storage and the storable pipe, it is determined whether there is a flow problem.

[0044] The flow rate of a node can be divided into the flow rate flowing into the pipeline and the flow rate flowing out of the pipe network according to its corresponding node type. The total amount of all the flow rates entering the pipe network is the total inflow of the pipe network area, and the total amount of all the flow rates flowing out of the pipe network is the total outflow of the pipe network area. In this embodiment, the analysis is carried out from the total inflow and the total outflow to judge whether the problem lies in the total inlet end or the total outlet end.

[0045] In an implementation manner of this embodiment, before obtaining the time-sequential cumulative difference of the flow rate, the storable pipe storage, and the available pipe storage of the source node, it further includes: mapping each flowmeter in the pipe network to each source node in the simulation; where the output of one flowmeter corresponds to one source node, and when at least two flowmeters merge and flow out to form a branch, the branch is mapped to one source node.

[0046] In the data governance stage of the pipe network simulation, the pipeline process inside the station will be processed, and the merged outflow branch will be virtualized into a separate source node, and it is ensured that the source node is only connected to one pipe, such as Figure 3as shown

[0047] Figure 3 It is a simple process schematic diagram of a station yard, where A and B are respectively the downloading points of the upstream long-distance pipeline, and flowmeters 1 and 2 are used to measure the flow rates of the two upstream incoming flows. In the station yard, the flow from the A downloading point is split. One part is directly supplied from point C to the sub-high-pressure pipe network, and the other part is mixed with the flow from the B downloading point and then supplied from point D to the high-pressure pipe network through a parallel structure. The reason why the A / B mixed flow needs to pass through two branches of parallel flowmeters 4 and 5 before being supplied to D is mainly that the flowmeter calibration requirements of the two branches 4 and 5 may be relatively frequent, or the high-pressure pipe network supplied at point D cannot have a supply interruption. Therefore, the two branches 4 and 5 are in a one-use-one-backup mode. When the flowmeter of branch 4 needs to be calibrated, the valve of this branch is closed, and no flow passes through branch 4. The supply is provided by branch 5. At this time, the flow supplied to D is completely measured by the flowmeter of branch 5, and vice versa, measured by the flowmeter of branch 4. Whether 4 and 5 are out of supply or not, the instantaneous flow rate at point D needs to sum the collected flows of 4 and 5 to obtain (if one branch is out of supply and the collection is empty, it is processed as 0).

[0048] From the perspective of simulation, in Figure 3 the example of, the station yard will be virtualized into two source nodes, namely C and D. When mapping the IoT devices to the nodes participating in the simulation, in the example, flowmeter 3 needs to be mapped to node C, and flowmeters 4 and 5 need to be mapped to node D, and the flowmeters 4 and 5 need to perform an addition operation to obtain the accurate outbound flow rate of node D.

[0049] The actual station yard process will be more complex, but the principle is the same. When checking the flow data problems, essentially it has to return to the check of the station yard process. If there is an error, it may lead to an incorrect outbound flow rate of the corresponding source node, and then cause the inconsistency between the total incoming flow rate and the total outgoing flow rate of the pipe network.

[0050] Figure 4 It shows a flowchart for confirming whether there is abnormal flow data in the abnormal flow data location method for the pipe network transient simulation in an embodiment of the present application. As Figure 4 shown, in one implementation manner of this embodiment, determining whether there is abnormal flow data at the source node based on the relationship between the cumulative difference of the flow time series and the storable pipe inventory and the available pipe inventory respectively includes the following steps S110 to step S180.

[0051] Step S110, respectively obtain the total incoming flow rate and the total outgoing flow rate of the source node at a certain moment;

[0052] Step S120, compare the magnitudes of the total incoming flow rate and the total outgoing flow rate:

[0053] Step S130, if the total inflow is greater than the total outflow, obtain the cumulative difference in flow time series between the total inflow and the total outflow, and continue to execute Step S140: Determine whether the cumulative difference in flow time series is less than or equal to the available storage capacity of the pipe. If so, execute Step S170: Confirm that there is no abnormal flow data at the source node. If not, execute Step S180: Confirm that there is abnormal flow data at the source node.

[0054] Step S150, if the total outflow is greater than the total inflow, obtain the cumulative difference in flow time series between the total outflow and the total inflow, and continue to execute Step S160: Determine whether the cumulative difference in flow time series is less than or equal to the available storage capacity of the pipe. If so, execute Step S170: Confirm that there is no abnormal flow data at the source node. If not, execute Step S180: Confirm that there is abnormal flow data at the source node.

[0055] The following details the process of obtaining the cumulative difference in flow time series, available storage capacity of the pipe, available storage capacity for storage in the pipe, and confirming whether there is abnormal flow data at the source node in this embodiment.

[0056] Figure 5 They are the total inflow in the simulation calculation, the collected total inflow, and the collected total outflow of a certain high-pressure / secondary high-pressure pipe network area in City S, which are represented by a solid black line, a long gray dashed line, and a dotted gray line respectively. The abscissa is the duration of the transient simulation, from 0:00 on September 12, 2024 to 0:00 on September 13, 2024; the ordinate is the flow rate under one standard atmosphere, with the unit of cubic meters per second.

[0057] In actual working conditions, especially in high / secondary high-pressure pipe networks, the total inflow and the total outflow are not equal at each moment. For example, if the supply at the source node increases at a certain moment but the user consumption does not increase, then after a period of time, the flow in the pipe storage will become more and more and cause the pipe pressure to increase. At this time, for safety reasons, the supply at the source node will be reduced, and the users will gradually use the pipe storage to reduce the pipe pressure; in addition, if the consumption of a large number of users increases at a certain moment but the supply at the source node does not increase correspondingly, then after a period of time, the pipe storage will become less and less and cause the pipe pressure to decrease. If the pressure is too low, it will affect industrial production or residential consumption. At this time, the supply company will increase the supply at the source node to gradually increase the pipe storage to increase the pipe pressure. In such a dynamic balance, although the total inflow / outflow is not equal at any one moment, within a certain period of time, the cumulative difference between the total inflow / outflow will not exceed the available storage capacity of the pipe and the available storage capacity for storage in the pipe at the starting moment of this period. That is:

[0058]

[0059] Among them: , .

[0060] The above formula indicates that within the time period from t0 to ti, if the total cumulative inflow at each moment is greater than the total outflow, then the total cumulative inflow - total outflow is less than the storage capacity that can be stored in this pipe network area at t0; if the total cumulative outflow at each moment is greater than the total inflow, then the total cumulative outflow - total inflow is less than the available storage capacity of this pipe network area at t0.

[0061] In one implementation of this embodiment, the storage capacity that can be stored is the difference between the pipe stock corresponding to the upper pressure limit in the pipe network and the actual pipe stock in the pipe network at a certain moment; the available storage capacity is the difference between the actual pipe stock in the pipe network at a certain moment and the pipe stock corresponding to the lower pressure limit in the pipe network. Among them:

[0062]

[0063] Except , all can be obtained from the simulation results, and are more similar to the historical maximum and minimum pressures of different pipes. Of course, for the simplified method, it can be considered that the upper pressure limits of all pipes in the pipe network are the same, being a constant, and the lower pressure limits of all pipes are the same, being a constant. However, this processing method may lead to the available storage capacity having a large deviation from the actual situation, which is not conducive to locating the flow problem. Therefore, a more appropriate approach is to sort the storage capacities calculated from each simulation result based on the historical simulation results, and use the maximum value as the upper storage limit s max , and the minimum value as the lower storage limit s min .

[0064] So in this embodiment, the acquisition method of the storage capacity that can be stored is: ;

[0065] The acquisition method of the available storage capacity is: ;

[0066] Among them, is the storage capacity that can be stored, is the available storage capacity, is the upper storage limit, is the lower storage limit, is the number of pipes in the pipe network, is the i th root of the cross-sectional area of the pipe in the pipe network, is the i th root of the length of the pipe in the pipe network, is the i th root of the pressure of the pipe in the pipe network, is 1 standard atmosphere, is the standard temperature, is thei The simulated temperature of the th pipe at time t0, i The standard condition compression factor of the th pipe in the pipe network at time t0 obtained by simulation calculation, i The working condition compression factor of the

[0067] Therefore, this embodiment gives the mathematical definitions of available pipe storage and storable pipe storage, and provides a method for calculating the upper and lower limits of pipe storage, ensuring that the calculation of available pipe storage and storable pipe storage is more accurate and reasonable.

[0068] For Figure 5 the results in, a step-by-step cumulative verification method can be adopted. That is, taking t0 as 2024-9-1 200:00:00, ti first takes the first time point after that, that is, 2024-9-1 200:05:00. If the verification passes, then take 2024-9-1 200:10:00 for verification, and so on, until the last time point of the transient calculation, 2024-9-13 00:00:00. The specific process is as follows:

[0069] Using , the storable pipe storage at time t0 is obtained ;

[0070] Using , the available pipe storage at time t0 is obtained .

[0071] Then, traverse the time when the simulation calculation is performed, as Figure 6 shown:

[0072] Add up all the flows flowing into the pipe network at the i-th moment to obtain the at the i-th moment. If , substitute it into to judge whether it holds. If so, enter the traversal of the next moment. If not, it means that there is a problem with the total inflow or total outflow from t0 to ti; if , substitute it into to judge whether it holds. If so, enter the traversal of the next moment. If not, it means that there is a problem with the total inflow or total outflow from t0 to ti.

[0073] Based on the above process, return the analysis Figure 5The long grey dashed line and the grey dotted dashed line in it, namely the total collected inflow and the total collected outflow. Starting from 2024-9-12 00:00:00 (i.e., time t0), until around 9 o'clock, although the total collected inflow and the total outflow have ups and downs with each other, the total collected inflow and the total outflow accumulated during this period are roughly equal. That is, starting from 9 o'clock, the total collected inflow is significantly higher than the total outflow, and this state continues until around 12 noon. During this period, the total collected inflow is about 234,000 cubic meters higher than the total outflow, and about 200,000 cubic meters, so it is judged that there is a problem with the total inflow or the total outflow. From Figure 5 It can also be seen that based on the user's traffic usage behavior, the simulated traffic curve is close to the total collected outflow curve, and is smaller than the total collected inflow. Therefore, either the user's traffic collection is on the small side, or the collection traffic of the source node is on the large side.

[0074] To determine whether the problem lies in the total inlet end or the total outlet end, it is necessary to analyze in combination with the supply behavior of the source node during the time period. Still taking Figure 5 as an example, after previous analysis, from 2024-9-12 00:00:00 to 2024-12 09:00:00, the total collected inflow and outflow seem normal, while there is an obvious situation where the total collected inflow is greater than the total outflow from 09:00:00 to 12:00:00. If within the time range from 2024-9-12 00:00:00 to 2024-12 09:00:00, all supply source nodes have no supply interruption and the total collected inflow and outflow are similar, it indicates that based on Figure 3 the station process treatment and flow aggregation operations carried out are problem-free, and since there is no supply interruption at the source node, there is no problem of hidden empty flow collection caused by supply interruption. At this time, the problem of total collected inflow being greater than the total outflow that appears from 9 o'clock to 12 o'clock should be that during this period, users who originally had no configured flowmeter changed from not using traffic to using traffic, resulting in the traffic at the user end being smaller than the actual value when using traffic. On the contrary, if there was a supply interruption at the source node from 0 o'clock to 9 o'clock, the traffic problem is likely to come from the source node. Because of the previous supply interruption, the internal traffic collection of the source node becomes 0. Even if there is an incorrect aggregation, the traffic at the relevant traffic outflow points is still 0. But after the supply is restored, it will lead to an overestimated aggregated traffic. Taking Figure 5 as an example to illustrate this situation, the traffic outflow point C should only be associated with the No. 3 flowmeter. If during the traffic mapping, the collected values of both the No. 3 and No. 4 flowmeters are mapped to the traffic outflow point C, then the No. 4 flowmeter is double-counted. If there is no traffic at the No. 4 flowmeter from 0 to 9 o'clock, then this problem of double-counting will not be exposed. If there is traffic generated in the branch where the No. 4 flowmeter is located from 9 to 12 o'clock, then this part of the traffic will be counted into both the D traffic outflow point and the C traffic outflow point, resulting in an overestimated total collected inflow. Therefore, to determine whether the traffic problem lies in the total collected inflow or the total collected outflow, it is necessary to analyze in combination with the stop / supply behavior of the source node during normal time periods.

[0075] Figure 7 It is a flowchart of an implementation manner for determining whether the total inlet end or the total outlet end of the source node has abnormal flow data in the abnormal flow data location method in the pipeline network transient simulation of an embodiment of the present application. As Figure 7 shown, in an implementation manner of this embodiment, determining whether the total inlet end or the total outlet end of the source node has abnormal flow data based on the total inlet flow, total outlet flow, the cumulative difference of the flow time series, and the source node shutdown state includes the following steps S310 to S330.

[0076] Step S310, detect whether the total inlet flow is continuously less than the total outlet flow or continuously greater than the total outlet flow within a preset time period: if so, continue to execute step S320: determine that the total inlet end of the source node has abnormal flow data; if not, continue to execute step S330: determine whether the total inlet end or the total outlet end of the source node has abnormal flow data based on the cumulative difference of the flow time series, the storable pipeline inventory, the available pipeline inventory, and the source node shutdown state.

[0077] Specifically, in an implementation manner of this embodiment, determining whether the total inlet end or the total outlet end of the source node has abnormal flow data based on the cumulative difference of the flow time series, the storable pipeline inventory, the available pipeline inventory, and the source node shutdown state includes:

[0078] If there is a time period during which the total inlet flow and the total outlet flow are balanced within a preset time period, and in the remaining time period of the preset time period, the total inlet flow is continuously greater than the total outlet flow and the cumulative difference of the flow time series is greater than the storable pipeline inventory, detect whether the source node is in a shutdown state during the balanced time period. If so, determine that the total inlet end of the source node has abnormal flow data; if not, determine that the total outlet end of the source node has abnormal flow data;

[0079] If there is a time period during which the total inlet flow and the total outlet flow are balanced within a preset time period, and in the remaining time period of the preset time period, the total outlet flow is continuously greater than the total inlet flow and the cumulative difference of the flow time series is greater than the available pipeline inventory, detect whether the source node is in a shutdown state during the balanced time period. If so, determine that the total inlet end of the source node has abnormal flow data; if not, determine that the total outlet end of the source node has abnormal flow data.

[0080] Figure 8 It is the total inlet flow of the simulation on another day in City S and the collected total inlet and total outlet flow curves. From Figure 8As can be seen, the "total monitored inflow" (i.e., the collected total inflow) has always been below the "total monitored outflow" (i.e., the collected total outflow). The cumulative difference between the two over 24 hours has exceeded 5 million cubic meters, which is much larger than the available pipe storage or the storable pipe storage at time t0. Therefore, it can be determined that there is a problem with either the total inflow or the total outflow. At the same time, because the total inflow has been continuously lower than the total outflow, it can be determined that the flow problem comes from the source node. Because if the user flow is too large, it will not be the behavior of a single user. A large number of users need to have duplicate flow mappings to cause the total outflow to be too large to achieve such an effect. Therefore, Figure 8 it can be determined that the problem comes from the source node in this case.

[0081] From Figure 5 and Figure 8 the example diagrams, it can be learned how to determine the attribution of the flow problem at the total inflow and total outflow ends. As Figure 9 shown, when it is determined that there is a problem with the total inflow or the total outflow:

[0082] If the total inflow is continuously less than the total outflow, or the total inflow is continuously greater than the total outflow, then it is confirmed that the flow problem comes from the total inflow;

[0083] If the total inflow and the total outflow are balanced within a certain period of time, but the total inflow is greater than the total outflow in other periods, and the cumulative difference exceeds the storable pipe storage, then check whether there is a supply interruption behavior of the source node during the balanced period. If there is no supply interruption behavior of the source node, then the problem is probably at the total outflow end. If the source node has a supply interruption behavior during the balanced period, then the problem is probably at the total inflow end;

[0084] If the total inflow and the total outflow are balanced within a certain period of time, but the total outflow is greater than the total inflow in other periods, and the cumulative difference exceeds the available pipe storage, then check whether there is a supply interruption behavior of the source node during the balanced period. If there is no supply interruption behavior, then the problem is probably at the total outflow end. If the source node has a supply interruption behavior during the balanced period, then the problem is probably at the total inflow end.

[0085] Therefore, in the abnormal flow data location method in the pipe network transient simulation of this embodiment, by analyzing the curve shapes of the total inflow and the total outflow, and combining whether there is a supply interruption phenomenon at the source node, it can be confirmed which end (total inflow end or total outflow end) the flow problem belongs to. In addition, the abnormal flow data location method in the pipe network transient simulation of this embodiment can not only locate which end (total inflow end and total outflow end) the problem belongs to, but also determine whether the flow is too large or too small, which is more conducive to the subsequent development of the flowmeter mapping detection work.

[0086] In one implementation manner of this embodiment, according to the determination conditions for determining that the abnormal flow data is at the total inflow end or the total outflow end of the source node, the corresponding problem types of the flowmeter mapping that cause the abnormal flow data include:

[0087] When it is confirmed that there is an abnormal flow data at the total inlet end of the source node when the total inlet flow rate is continuously less than the total outlet flow rate within a preset time period, the problem type of the flowmeter mapping that causes the abnormal flow data is located as the unmapped flowmeter configuration.

[0088] That is, if it is determined that there is a problem with the total inlet or total outlet flow rate, and if the total inlet flow rate is continuously less than the total outlet flow rate, it is confirmed that the problem lies in the total inlet flow rate, and there is an unmapped flowmeter configuration for one or more source nodes.

[0089] When it is confirmed that there is an abnormal flow data at the total inlet end of the source node when the total inlet flow rate is continuously greater than the total outlet flow rate within a preset time period, the problem type of the flowmeter mapping that causes the abnormal flow data is located as the duplicate flowmeter mapping.

[0090] That is, if the total inlet flow rate is continuously greater than the total outlet flow rate, it is confirmed that the problem lies in the total inlet flow rate, and there is a duplicate flowmeter mapping for one or more source nodes.

[0091] When there is a time period within the preset time period during which the total inlet flow rate and the total outlet flow rate are balanced, and the remaining time period of the preset time period is such that the total inlet flow rate is continuously greater than the total outlet flow rate and the cumulative difference in the flow time series is greater than the storable pipe storage: when it is confirmed that there is an abnormal flow data at the total inlet end of the source node, the problem type of the flowmeter mapping that causes the abnormal flow data is located as the duplicate flowmeter mapping, and when it is confirmed that there is an abnormal flow data at the total outlet end of the source node, the problem type of the flowmeter mapping that causes the abnormal flow data is located as the unmapped flowmeter configuration.

[0092] That is, if the total inlet flow rate and the total outlet flow rate are balanced within a certain time, but the total inlet is greater than the total outlet in other periods, and the cumulative difference exceeds the storable pipe storage, check whether there is a cut-off supply behavior of the source node during the balanced period. If there is no cut-off supply behavior of the source node, the problem is probably in the total outlet end, and there may be a large user with an unmapped flowmeter configuration. If the source node has a cut-off supply behavior during the balanced period, the problem is probably in the total inlet end, and there may be a duplicate flowmeter mapping for the source node.

[0093] When there is a time period within the preset time period during which the total inlet flow rate and the total outlet flow rate are balanced, and the remaining time period of the preset time period is such that the total outlet flow rate is continuously greater than the total inlet flow rate and the cumulative difference in the flow time series is greater than the available pipe storage: when it is confirmed that there is an abnormal flow data at the total inlet end of the source node, the problem type of the flowmeter mapping that causes the abnormal flow data is located as the unmapped flowmeter configuration, and when it is confirmed that there is an abnormal flow data at the total outlet end of the source node, the problem type of the flowmeter mapping that causes the abnormal flow data is located as the duplicate flowmeter mapping.

[0094] If the total inflow and the total outflow maintain equilibrium within a certain period of time, but the total outflow is greater than the total inflow in other periods, and the cumulative difference exceeds the available pipeline inventory, check whether there is a supply interruption behavior of the source node during the equilibrium period. If there is no supply interruption behavior, the problem is most likely to exist at the total outflow end, and there may be large users who have configured the flowmeter mapping repeatedly. If the source node has a supply interruption behavior during the equilibrium period, the problem is most likely to exist at the total inflow end, and there may be a source node that has missed configuring the flowmeter mapping.

[0095] If it is determined that the flow measurement problem is at the total inflow end, according to Figure 9 the conclusion of whether the flowmeter of the source node is repeatedly mapped or missed mapped, each source node's process treatment can be detected one by one to check whether there are problems such as repeated mapping or missed mapping of the flowmeter mapping. If there are problems, correct the flowmeter mapping according to the process diagram. Among them, during the detection process, this embodiment uses the cumulative flow sorting method to detect one by one, that is, the source nodes with large flow rates are detected first.

[0096] If it is determined that the flow measurement problem is at the total outflow end, according to Figure 9 the conclusion of whether the flowmeter of the user is repeatedly mapped or missed mapped, the flowmeter mapping of the user is detected. It should be noted that the following methods are used to detect the flow problems of users:

[0097] 1) The detection of the user-end flow should only be carried out for high-pressure / secondary high-pressure users, such as large power plants, pressure regulating stations, etc. Medium-pressure users do not need to be detected. The main reason is that: the far transmission coverage rate of the flow of medium-pressure users is generally less than 50%. Most users only have collection without far transmission, and rely on the difference between the two manually collected data during settlement as the period flow. And this kind of data cannot support online simulation in terms of frequency. To solve the problem of no far transmission flow for medium-pressure users, this embodiment uses the total pipeline inflow, subtracts the flow of medium-pressure users with far transmission, to obtain the difference of the "quantity to be matched", and then uses the monthly manually recorded flow as the allocation weight for the remaining users, multiplying by the quantity to be matched to obtain the transient flow allocated to users without far transmission. Therefore, in this case, the total inflow is equal to the total outflow, so the data problems of those users without far transmission flow cannot be detected.

[0098] 2) For industrial users, pressure regulating stations, and pressure regulating equipment with far transmission at high pressure / secondary high pressure, sort them according to the cumulative flow size at the daily level, and detect the flowmeter mapping problem and the null value problem one by one in descending order. Since the flowmeter mapping error and the far transmission null value of the flow are occasional problems, generally, only the users in the top several (for example, the top ten) in terms of cumulative flow need to be detected, and most of the flow problems can be basically solved. Even if there are problems with the remaining users, it will not have a significant impact on the simulation accuracy.

[0099] In this embodiment, the positioning of abnormal flow data mainly focuses on the flowmeter mapping part of the source node. Since the mapping process of flowmeters in the pipe network is manually arranged, it may be incorrect and cumbersome to troubleshoot. Through the flow algorithms at the total inlet and total outlet in this embodiment, it is possible to quickly locate whether there is a problem of flow distortion and the attribution of the problem at the inlet and outlet ends.

[0100] After the method for positioning abnormal flow data in the transient simulation of the pipe network according to the embodiment of the present application confirms the attribution of the flow problem at the total inlet or total outlet end, by means of the method of cumulative flow sorting, each flowmeter mapped by each source node is verified one by one to see if it is consistent with the actual process. If there is an inconsistency, it is determined as a problematic source node.

[0101] The protection scope of the method for positioning abnormal flow data in the transient simulation of the pipe network according to the embodiment of the present application is not limited to the execution order of the steps listed in this embodiment. Any solution achieved by adding or subtracting steps of the prior art and replacing steps according to the principle of the present application is included in the protection scope of the present application.

[0102] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the method for positioning abnormal flow data in the transient simulation of the pipe network provided by any embodiment of the present application.

[0103] In the embodiment of the present application, any combination of one or more storage media can be used. The storage medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM, ROM, erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0104] The embodiment of the present application also provides an electronic device. Figure 10The structure diagram of the electronic device 100 provided by an embodiment of the present application is shown. In some embodiments, the electronic device may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), or other terminal devices. In addition, the method for locating abnormal flow data in the pipe network transient simulation provided by the present application can also be applied to databases, servers, and service response systems based on terminal artificial intelligence. The embodiment of the present application does not impose any restrictions on the specific application scenarios of the method for locating abnormal flow data in the pipe network transient simulation.

[0105] As Figure 10 shown, the electronic device 100 provided by an embodiment of the present application includes a memory 101 and a processor 102.

[0106] The memory 101 is used to store computer programs; preferably, the memory 101 includes: various media such as ROM, RAM, magnetic disks, USB flash drives, memory cards, or optical discs that can store program codes.

[0107] Specifically, the memory 101 may include a computer system readable medium in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The electronic device 100 may further include other removable / non-removable, volatile / non-volatile computer system storage media. The memory 101 may include at least one program product, and this program product has a set (for example, at least one) of program modules, and these program modules are configured to execute the functions of various embodiments of the present application.

[0108] The processor 102 is connected to the memory 101 and is used to execute the computer program stored in the memory 101, so that the electronic device 100 executes the method for locating abnormal flow data in the pipe network transient simulation provided in any embodiment of the present application.

[0109] Optionally, the processor 102 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0110] Optionally, in this embodiment, the electronic device 100 may further include a display 103. The display 103 is communicatively connected to the memory 101 and the processor 102, and is configured to display a relevant GUI interaction interface for the abnormal flow data positioning method in the pipe network transient simulation. In summary, when there is a deviation in the transient simulation flow accuracy in this application, it can quickly locate whether there is a problem of flow distortion, as well as the attribution of the flow problem at the inlet and outlet ends, effectively solving the technical problem that transient simulation in the prior art cannot efficiently and accurately locate abnormal flow data. Therefore, this application effectively overcomes various disadvantages in the prior art and has high industrial utilization value.

[0111] The above embodiments are only illustrative of the principles and effects of this application, and are not intended to limit this application. Any person familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed in this application should still be covered by the claims of this application.

Claims

1. A method for locating abnormal flow data in transient simulation of a pipe network, characterized in that: include: In response to the transient simulation flow accuracy being lower than a threshold, respectively obtaining a flow time series cumulative difference, available pipe storage, and storable pipe storage of the source node, and determining whether the source node has flow data anomalies based on the relationship between the flow time series cumulative difference and the storable pipe storage and the available pipe storage; In response to the flow data anomaly existing at the source node, determining whether the source node with the flow data anomaly is the total inlet end or the total outlet end of the source node based on the total inlet flow, the total outlet flow, the accumulated difference of the flow time series and the outage state of the source node; According to the determination condition that the abnormal flow data is determined to be the total input end or the total output end of the source node, the problem type of the flow meter mapping that causes the abnormal flow data is located accordingly; The method of determining whether the source node has abnormal flow data, i.e., the total inflow and outflow of the source node, the accumulated difference of the flow time series, and the outage state of the source node, is the total inflow end or the total outflow end of the source node, comprises: Detect whether the total inflow is continuously less than the total outflow, or continuously greater than the total outflow, within a preset time period: If so, it is determined that the source node has abnormal traffic data at the total input end; If not, then based on the accumulated difference in flow time series, the storable management storage, the available management storage and the outage status of the source node, determine whether the source node's total input end or the source node's total output end has the abnormal flow data.

2. The method for locating abnormal flow data in transient simulation of a pipe network according to claim 1, characterized in that: Before obtaining the flow time series cumulative difference of the source node, the storable pipe storage and the available pipe storage, it also includes: mapping each flow meter in the pipeline network to each simulated source node; wherein, the output of a flow meter corresponds to a source node, and if at least two flow meters merge to form a branch, the branch is mapped to a source node.

3. The method for locating abnormal flow data in transient simulation of a pipe network according to claim 1, characterized in that: The storable pipe stock is the difference between the pipe stock corresponding to the upper limit of the pressure in the pipe network and the actual pipe stock in the pipe network at a certain moment; the available pipe stock is the difference between the actual pipe stock in the pipe network at a certain moment and the pipe stock corresponding to the lower limit of the pressure in the pipe network; The method for obtaining the storable management storage is as follows: ; The method for obtaining the available storage is as follows: ; in, For storage and management, For available storage, The upper limit of the storage. For the lower limit of storage, is the number of pipes in the network, For the pipe network i The cross-sectional area of ​​the root canal, For the pipe network i The length of the root pipe, For the pipe network i The pressure of the root pipe, is 1 standard atmosphere, is the standard temperature, For the pipe network i The simulated temperature of the root pipe at time t0, For the pipe network i The standard compression factor of the simulation calculation of the root pipe at time t0, For the pipe network i The operating compression factor of the simulated calculation of the root pipe at time t0.

4. The method for locating abnormal flow data in transient simulation of a pipe network according to claim 1 or 3, characterized in that: The determining whether there is a flow data anomaly at the source node based on the relationship between the flow time series cumulative difference and the storable management storage and the available management storage includes: Get the total inflow and outflow of the source node at a certain moment respectively; Compare the total inflow and the total outflow: If the total inflow is greater than the total outflow, obtain the flow time series cumulative difference between the total inflow and the total outflow, and determine whether the flow time series cumulative difference is less than or equal to the storable management storage. If so, confirm that there is no flow data anomaly at the source node; if not, confirm that there is flow data anomaly at the source node; If the total outflow is greater than the total inflow, obtain the cumulative difference in flow time series between the total outflow and the total inflow, and determine whether the cumulative difference in flow time series is less than or equal to the available pipe storage. If so, confirm that there is no flow data anomaly at the source node. If not, confirm that there is a flow data anomaly at the source node.

5. The method for locating abnormal flow data in transient simulation of a pipe network according to claim 1, characterized in that: According to the determination condition that the source node where the flow data is abnormal is the total input end or the total output end, the problem types of the flow meter mapping corresponding to the location causing the flow data abnormality include: When the total inflow is continuously less than the total outflow within a preset time period, when it is confirmed that the source node has a total inflow end with abnormal flow data, the type of problem of the flow meter mapping causing the abnormal flow data is located as a missing configuration flow meter mapping; When the total inflow is continuously greater than the total outflow within a preset time period and it is confirmed that the total inflow end of the source node has flow data anomaly, the problem type of the flow meter mapping causing the flow data anomaly is repeated configuration of the flow meter mapping.

6. The method for locating abnormal flow data in transient simulation of a pipe network according to claim 1, characterized in that: The method of determining whether the source node or the source node has abnormal flow data based on the accumulated difference of the flow time series, the storable management storage, the available management storage, and the outage status of the source node includes: If there is a time period during which the total inflow and the total outflow are balanced within the preset time period, and the remaining time period of the preset time period is when the total inflow is continuously greater than the total outflow and the accumulated difference of the flow time series is greater than the storable management memory, it is detected whether the source node is in a supply outage state during the time period during which the balance is maintained. If so, it is determined that the source node has abnormal flow data at the total inlet end, and if not, it is determined that the source node has abnormal flow data at the total outlet end; If there is a time period in the preset time period when the total incoming flow and the total outgoing flow are balanced, and the remaining time period of the preset time period is that the total outgoing flow continues to be greater than the total incoming flow and the cumulative difference of the flow time series is greater than the available pipe storage, it is detected whether the source node is in a supply outage state during the time period maintaining the balance. If so, it is determined that the total incoming end of the source node has the flow data anomaly. If not, it is determined that the total outgoing end of the source node has the flow data anomaly.

7. The method for locating abnormal flow data in transient simulation of a pipe network according to claim 6, characterized in that: According to the determination condition that the source node where the flow data is abnormal is the total input end or the total output end, the problem types of the flow meter mapping corresponding to the location causing the flow data abnormality include: There is a time period in which the total inflow and the total outflow are balanced within the preset time period, and the remaining time period of the preset time period is when the total inflow is continuously greater than the total outflow and the accumulated difference of the flow time series is greater than the storable storage time period: when it is confirmed that the source node has an abnormal flow data, the type of problem of the flow meter mapping causing the abnormal flow data is repeated configuration of the flow meter mapping; when it is confirmed that the source node has an abnormal flow data, the type of problem of the flow meter mapping causing the abnormal flow data is missing configuration of the flow meter mapping; There is a time period in the preset time period when the total inflow and the total outflow are balanced, and the remaining time period of the preset time period is when the total outflow is continuously greater than the total inflow and the accumulated difference of the flow series is greater than the available pipe storage: when it is confirmed that the total inlet end of the source node has an abnormal flow data, the problem type of the flow meter mapping that causes the abnormal flow data is a missed configuration of the flow meter mapping; when it is confirmed that the total outlet end of the source node has an abnormal flow data, the problem type of the flow meter mapping that causes the abnormal flow data is a repeated configuration of the flow meter mapping.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for locating abnormal flow data in a pipe network transient simulation according to any one of claims 1 to 7 is implemented.

9. An electronic device, characterized in that: The electronic device comprises: A memory storing a computer program; A processor is communicatively connected to the memory, and executes the method for locating abnormal flow data in transient simulation of a pipe network according to any one of claims 1 to 7 when calling the computer program.

Citation Information

Patent Citations

  • Fluid pipe network transmission difference monitoring method and system and computer program product

    CN118228641A