A data processing method for pressure wave-based pipe network balance debugging
By adjusting valve opening and pressure wave detection during pipeline balancing and commissioning, and combining data preprocessing and edge computing, the stability problem caused by data synchronization was solved, and the stability and accuracy of data processing were achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-23
- Publication Date
- 2026-03-31
AI Technical Summary
In existing technologies, when a large amount of data is synchronously aggregated to the edge node, data loss or processing delay may occur due to instantaneous overload, resulting in a decrease in the processing stability of pipeline network balancing and debugging data.
By adjusting valve opening, pressure wave detection, data preprocessing, and feature extraction, a hydraulic simulation model is established, edge computing is performed, and the buffer depth, node flow coefficient, and number of computing node connections are adjusted according to packet loss frequency, pressure difference, and processing delay to ensure data processing stability.
It improves the processing stability of pipeline network balancing and commissioning data, avoids data loss and delay, and ensures the reliability and accuracy of data transmission.
Smart Images

Figure CN120850821B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a data processing method for pipeline network balancing and commissioning based on pressure waves. Background Technology
[0002] A heating system can be divided into a primary network and a secondary network, both of which are suitable for commissioning using the pressure wave network hydraulic balancing method. The primary network's main function is to transfer heat energy from the power plant or boiler room to the heating station, while the secondary network is responsible for transferring heat energy from the heating station to end users. Both primary and secondary networks exhibit branching or locally looped structures. During heat energy transfer, hydraulic imbalances may occur in the network system due to improper design or construction. This imbalance leads to uneven flow distribution between near and far ends, thus affecting the heating quality of the system. To ensure the stability and efficiency of the heating system, it is crucial to use the pressure wave network hydraulic balancing method for commissioning the heating system network. This method achieves hydraulic balance by accurately measuring and adjusting the pressure at various points in the network, ensuring that heat energy is evenly distributed to all end users.
[0003] The phenomenon of "near-heating and far-cooling" is a common problem in heating networks, with complex and diverse causes. Firstly, inadequate network design is a major contributing factor. If the characteristics and needs of each area, such as terrain, building density, and number of users, are not fully considered during network design, uneven heat transfer can occur. Especially in long networks or complex terrains, improper design can significantly increase heat loss at the end users, leading to the "near-heating and far-cooling" phenomenon. Hydraulic imbalance during network operation is another important cause. During operation, various factors (such as pipe aging, valve damage, and pump failure) can cause uneven pressure distribution at different points in the network, affecting the uniform transfer of heat. Particularly at the end of the network, insufficient pressure significantly reduces heat transfer efficiency, resulting in the "near-heating and far-cooling" phenomenon.
[0004] Chinese Patent Publication No. CN119761247A discloses a hydraulic balance regulation system and method for heating pipe networks based on data acquisition. The method includes the following steps: S1, installing Internet of Things (IoT) devices in the power plant heating area that needs to be monitored, and establishing an aggregated local area network (LAN) based on the installed IoT devices via wireless communication; S2, configuring the operating mode of the IoT devices, and collecting and monitoring data within the power plant heating area in real time through the operating IoT devices; S3, analyzing the data collected in real time within the power plant heating area; S4, regulating the power plant heating area based on the analysis results using a genetic algorithm, and uploading the regulated results in real time through the established aggregated LAN. The regulated results include the route of hot water to the target point, the heating temperature, and the pressure changes at each monitoring point and in each section; S5, when fault data is found in the data uploaded in real time within the power plant heating area, locating the specific location of the fault within the power plant heating area and arranging maintenance personnel for repair. It is evident that when a large amount of data is synchronously aggregated to the edge node, data loss or processing delays may occur due to instantaneous overload, leading to a decrease in the processing stability of the pipe network balance debugging data. Summary of the Invention
[0005] To address this issue, the present invention provides a data processing method for pipeline network balancing commissioning based on pressure waves, which overcomes the problem in the prior art where data loss or processing delays may occur due to instantaneous overload when a large amount of data is synchronously converged to the edge node, thus leading to a decrease in the processing stability of pipeline network balancing commissioning data.
[0006] To achieve the above objectives, the present invention provides a data processing method for pipeline network balancing and commissioning based on pressure waves, comprising:
[0007] During the pipeline balancing and commissioning process, the valve opening is adjusted from near to far according to the pipeline route. The pressure change of the pipeline is detected by the pressure wave detection method, and the pipeline balancing and commissioning data is obtained during the pipeline balancing and commissioning process.
[0008] The pipeline network balancing and commissioning data are preprocessed and feature extracted to output pipeline network features. The initial model is trained based on the pipeline network features to output a hydraulic condition simulation model. The hydraulic condition simulation model is then used to perform edge computing on the pipeline network balancing and commissioning data to predict the water flow in the pipeline network.
[0009] The packet loss frequency of pipeline network balancing and commissioning data per unit time;
[0010] The stability of the pipeline network balance commissioning data processing is determined based on the packet loss frequency of the pipeline network balance commissioning data per unit time.
[0011] If the processing stability does not meet the requirements, determine whether it is necessary to increase the buffer depth of the pipeline network balancing and debugging data. If it is not necessary to increase the buffer depth of the pipeline network balancing and debugging data, obtain the maximum pressure difference of a single pipeline to determine whether the adaptability of the hydraulic condition simulation model meets the requirements.
[0012] If the adaptability of the hydraulic condition simulation model does not meet the requirements, then determine whether it is necessary to increase the nodal flow coefficient of the pipeline.
[0013] If it is not necessary to increase the node flow coefficient of the pipeline, the maximum number of connections for a single computing node is determined based on the processing delay of the pipeline network balancing commissioning data.
[0014] Furthermore, determining whether the processing stability of the pipeline network balancing and commissioning data meets the requirements based on the packet loss frequency of the pipeline network balancing and commissioning data per unit time includes:
[0015] Compare the packet loss frequency of pipeline network balance commissioning data per unit time with the preset first frequency;
[0016] If the packet loss frequency of the pipeline network balancing commissioning data per unit time is less than or equal to the preset first frequency, then the processing stability of the pipeline network balancing commissioning data is determined to meet the requirements.
[0017] If the packet loss frequency of the pipeline network balancing commissioning data per unit time is greater than the preset first frequency, then it is determined that the processing stability of the pipeline network balancing commissioning data does not meet the requirements.
[0018] Further, determine whether it is necessary to increase the cache depth of pipeline network balancing and commissioning data, including:
[0019] The packet loss frequency of the pipeline network balance debugging data per unit time is compared with the preset first frequency and the preset second frequency, respectively;
[0020] If the packet loss frequency of the pipeline network balancing and debugging data per unit time is greater than the preset second frequency, it is determined that the cache depth of the pipeline network balancing and debugging data needs to be increased.
[0021] If the packet loss frequency of the pipeline network balancing debugging data per unit time is greater than the preset first frequency and less than or equal to the preset second frequency, then it is determined that there is no need to increase the cache depth of the pipeline network balancing debugging data.
[0022] Furthermore, the increase in the cache depth of the pipeline network balancing and debugging data is determined by the difference between the packet loss frequency of the pipeline network balancing and debugging data per unit time and the preset second frequency.
[0023] Furthermore, the suitability of the hydraulic simulation model is determined based on the maximum pressure difference of a single pipe, including:
[0024] Compare the maximum pressure difference of a single pipe with the preset first difference;
[0025] If the maximum pressure difference of a single pipe is less than or equal to the preset first difference, then it is determined that the adaptability of the hydraulic condition simulation model meets the requirements, and it is determined whether the buffer depth of the pipeline network balance debugging data meets the requirements.
[0026] If the maximum pressure difference of a single pipe is greater than the preset first difference, then the adaptability of the hydraulic condition simulation model is determined to be unacceptable.
[0027] Further, determine whether it is necessary to increase the nodal flow coefficient of the pipeline, including:
[0028] The maximum pressure difference of the single pipe is compared with the preset first difference and the preset second difference, respectively;
[0029] If the maximum pressure difference of a single pipe is greater than a preset first difference and less than or equal to a preset second difference, then it is determined that the node flow coefficient of the pipe needs to be increased, and the node flow coefficient of the pipe is increased accordingly.
[0030] If the maximum pressure difference of a single pipe is greater than a preset second difference, then it is determined that it is not necessary to increase the node flow coefficient of the pipe.
[0031] Furthermore, the increase in the node flow coefficient of the pipeline is determined by the difference between the maximum pressure difference of a single pipeline and a preset first difference.
[0032] Furthermore, the maximum number of connections for a single computing node is determined based on the processing delay of pipeline network balancing and commissioning data, including:
[0033] The processing delay time of the pipeline network balancing commissioning data is compared with the preset delay time;
[0034] If the processing delay of the pipeline network balance debugging data is less than or equal to the preset delay, then the computing power carrying capacity of the edge computing is determined to meet the requirements, and it is not necessary to reduce the maximum number of connections of a single computing node, and it is determined whether the node flow coefficient of the pipeline meets the requirements.
[0035] Furthermore, if the processing delay of the pipeline network balancing debugging data is greater than the preset delay, it is determined that the maximum number of connections of a single computing node needs to be reduced, and the maximum number of connections of a single computing node is reduced.
[0036] Furthermore, the reduction in the maximum number of connections for a single computing node is determined by the difference between the processing delay of the pipeline network balancing debugging data and the preset delay.
[0037] Compared with the prior art, the beneficial effects of the present invention are as follows: The method of the present invention adjusts the buffer depth of pipeline network balancing and debugging data according to the packet loss frequency of pipeline network balancing and debugging data per unit time. Because the internal resistance distribution of the sensor battery may age after long-term use, it leads to an uneven distribution of current within the battery during power supply, causing local voltage fluctuations and resulting in packet loss during wireless transmission. By increasing the buffer depth of pipeline network balancing and debugging data, the data can be temporarily stored in the buffer and sent in batches after the voltage recovers to a stable range, avoiding transmission during the most severe voltage fluctuations and reducing the continuous impact of high current on the battery, indirectly stabilizing the voltage. Furthermore, the method adjusts the node flow coefficient of the pipeline based on the maximum pressure difference of a single pipeline, which is beneficial because the pipeline is under constant water supply conditions. The reduced wall thickness and localized leakage, while still using the initial parameters in the model, led to deviations in the pressure distribution simulation. By increasing the node flow coefficient of the pipeline, the corrected node flow can be made closer to the actual flow, thus correcting the problem of overestimating pressure due to underestimation of flow. The maximum number of connections for a single computing node is adjusted according to the processing delay of the pipeline network balancing and commissioning data. During pipeline network commissioning, pressure wave data from multiple monitoring points may converge synchronously to the same edge node, causing a concentrated burst of tasks in time, and the instantaneous load of the node exceeds the design limit. By reducing the maximum number of connections for a single computing node, some new connections can be forcibly rejected, resources can be reserved to process high-priority data, the queue length can be shortened, processing delay can be reduced, the probability of packet loss or crash can be reduced, and the processing stability of pipeline network balancing and commissioning data can be improved.
[0038] Furthermore, the method of the present invention adjusts the buffer depth of pipeline network balancing debugging data by setting a preset first frequency and a preset second frequency. Due to the aging of the sensor battery after long-term use, the internal resistance distribution of the battery may be uneven. When powering on, the current distribution inside the battery is unbalanced, which will cause local voltage fluctuations, resulting in packet loss during wireless transmission. By increasing the buffer depth of pipeline network balancing debugging data, the data can be temporarily stored in the buffer and sent in batches after the voltage recovers to a stable range. This avoids transmission when the voltage fluctuation is most severe and reduces the continuous impact of large current on the battery, indirectly stabilizing the voltage and further improving the processing stability of pipeline network balancing debugging data.
[0039] Furthermore, the method of the present invention adjusts the node flow coefficient of the pipeline by setting a preset first difference amount and a preset second difference amount. Since the pipeline wall thickness is reduced and local leakage occurs under the condition of constant water supply, but the model still uses the initial parameters, the pressure distribution simulation will be deviated. By increasing the node flow coefficient of the pipeline, the corrected node flow can be closer to the actual flow, so as to match the actual flow and correct the problem of high pressure simulation caused by underestimation of flow, and further improve the processing stability of pipeline network balance commissioning data.
[0040] Furthermore, the method described in this invention adjusts the maximum number of connections for a single computing node by setting a preset delay duration. During pipeline network debugging, pressure wave data from multiple monitoring points may converge synchronously to the same edge node, causing tasks to burst in a concentrated manner over time, and the instantaneous load of the node to exceed the design limit. By reducing the maximum number of connections for a single computing node, some new connections can be forcibly rejected, resources can be reserved to process high-priority data, the queue length can be shortened, processing delay can be reduced, and the probability of packet loss or crash can be lowered, thereby further improving the processing stability of pipeline network balancing debugging data. Attached Figure Description
[0041] Figure 1 This is an overall flowchart of the data processing method for pipeline network balancing and commissioning based on pressure waves, according to an embodiment of the present invention.
[0042] Figure 2 This is a flowchart illustrating the process of determining whether to increase the buffer depth of pipeline balancing commissioning data in the data processing method for pipeline balancing commissioning based on pressure waves, as described in an embodiment of the present invention.
[0043] Figure 3 This is a flowchart illustrating the process of determining whether it is necessary to increase the node flow coefficient of the pipeline in the data processing method for pipeline network balancing and commissioning based on pressure waves, as described in an embodiment of the present invention.
[0044] Figure 4 This is a flowchart illustrating the process of determining the maximum number of connections for a single computing node based on the processing delay time of pipeline network balancing commissioning data, as described in this embodiment of the invention. Detailed Implementation
[0045] To make the objectives and advantages of the present invention clearer, the present invention will be further described below with reference to embodiments; it should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.
[0046] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0047] It should be noted that in the description of this invention, the terms "upper", "lower", "left", "right", "inner", "outer", etc., which indicate directions or positional relationships, are based on the directions or positional relationships shown in the accompanying drawings. This is only for the convenience of description and is not intended to indicate or imply that the device or element must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation of this invention.
[0048] Furthermore, it should be noted that, in the description of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0049] Please see Figure 1 , Figure 2 , Figure 3 as well as Figure 4 The diagrams shown are, respectively, an overall flowchart of the data processing method for pipeline network balancing and commissioning based on pressure waves according to an embodiment of the present invention, a detailed flowchart of the process for determining whether the buffer depth of the pipeline network balancing and commissioning data needs to be increased, a detailed flowchart of the process for determining whether the node flow coefficient of the pipeline needs to be increased, and a detailed flowchart of the process for determining the maximum number of connections for a single computing node based on the processing delay time of the pipeline network balancing and commissioning data. The present invention provides a data processing method for pipeline network balancing and commissioning based on pressure waves, comprising:
[0050] Step S1: During the pipeline balancing and commissioning process, the valve opening is adjusted from near to far according to the pipeline route. The pressure change of the pipeline is detected by the pressure wave detection method, and the pipeline balancing and commissioning data during the pipeline balancing and commissioning process is obtained.
[0051] Step S2: Preprocess and extract features from the pipeline network balancing and debugging data to output pipeline network features; train the initial model based on the pipeline network features to output a hydraulic condition simulation model; and perform edge computing on the pipeline network balancing and debugging data using the hydraulic condition simulation model to predict the water flow in the pipeline network.
[0052] Step S3: Obtain the packet loss frequency of pipeline network balancing and debugging data per unit time.
[0053] Step S4: Determine whether the processing stability of the pipeline network balancing commissioning data meets the requirements based on the packet loss frequency of the pipeline network balancing commissioning data within the unit time.
[0054] Step S5: If the processing stability does not meet the requirements, determine whether it is necessary to increase the buffer depth of the pipeline network balance debugging data. If it is not necessary to increase the buffer depth of the pipeline network balance debugging data, obtain the maximum pressure difference of a single pipeline to determine whether the adaptability of the hydraulic condition simulation model meets the requirements.
[0055] Step S6: If the adaptability of the hydraulic condition simulation model does not meet the requirements, determine whether it is necessary to increase the nodal flow coefficient of the pipeline.
[0056] Step S7: If it is not necessary to increase the node flow coefficient of the pipeline, the maximum number of connections for a single computing node is determined based on the processing delay time of the pipeline network balancing commissioning data.
[0057] Specifically, the pressure wave detection method is as follows: pressure sensing IoT boxes are deployed along the pipeline network. The deployed pressure sensing sensors form a pressure wave sensing network. When a pipeline leak occurs at a certain location, the sensing sensors will capture the changes in leakage pressure fluctuations. The fluctuation information will be transmitted to the thermal platform via a 4G cat1 link, enabling maintenance personnel to respond in a timely manner and avoid secondary disasters.
[0058] Specifically, pipeline network balancing and commissioning data includes the pipeline network's direction, pressure values at different measuring points on the pipeline, and the actual flow rate of each pipeline segment.
[0059] Specifically, pipeline characteristics include the connection method of the pipelines, the peak value of the pressure wave, and the deviation rate between the actual flow rate and the design flow rate of each pipeline segment.
[0060] Specifically, the hydraulic operating condition simulation model can be the characteristic line method model, the node-loop transient extension model, or the distributed parameter model.
[0061] Specifically, the packet loss frequency of pipeline network balancing and commissioning data per unit time is the number of times the pipeline network balancing and commissioning data is lost after being disturbed within a unit time.
[0062] Specifically, the cache depth of pipeline network balancing and commissioning data is the maximum amount of data that the buffer used to temporarily store pipeline network balancing and commissioning data can hold during data transmission and processing.
[0063] Specifically, the node flow coefficient of a pipeline is a key parameter for the flow characteristics at the connection between the pipeline and the node.
[0064] In implementation, the method of this invention adjusts the buffer depth of pipeline network balancing and debugging data based on the packet loss frequency of the data per unit time. Due to the potential aging of the sensor's battery after long-term use, uneven resistance distribution within the battery can occur. This imbalance in current distribution during power supply can cause local voltage fluctuations, leading to packet loss during wireless transmission. Increasing the buffer depth of the pipeline network balancing and debugging data allows for temporary storage of the data in the buffer, waiting for the voltage to return to a stable range before batch transmission. This avoids transmission during periods of extreme voltage fluctuation and reduces the continuous impact of high current on the battery, indirectly stabilizing the voltage. The flow coefficient at the nodes of the pipeline is adjusted based on the maximum pressure difference of a single pipeline. This is because the pipeline wall thickness thins under continuous water supply conditions, leading to local... While some leaks occurred, the model still used the initial parameters, leading to deviations in the pressure distribution simulation. By increasing the node flow coefficient of the pipeline, the corrected node flow can be made closer to the actual flow, thus correcting the problem of overestimating pressure due to underestimation of flow. The maximum number of connections for a single computing node is adjusted based on the processing delay of the pipeline network balancing and commissioning data. During pipeline network commissioning, pressure wave data from multiple monitoring points may converge synchronously to the same edge node, causing tasks to burst in time, and the instantaneous load of the node exceeds the design limit. By reducing the maximum number of connections for a single computing node, some new connections can be forcibly rejected, resources can be reserved to process high-priority data, the queue length can be shortened, processing delay can be reduced, the probability of packet loss or crash can be lowered, and the processing stability of pipeline network balancing and commissioning data can be improved.
[0065] Specifically, determining whether the processing stability of the pipeline network balancing and commissioning data meets the requirements based on the packet loss frequency of the pipeline network balancing and commissioning data per unit time includes:
[0066] Compare the packet loss frequency of pipeline network balance commissioning data per unit time with the preset first frequency;
[0067] If the packet loss frequency of the pipeline network balancing commissioning data per unit time is less than or equal to the preset first frequency, then the processing stability of the pipeline network balancing commissioning data is determined to meet the requirements.
[0068] If the packet loss frequency of the pipeline network balancing commissioning data per unit time is greater than the preset first frequency, then it is determined that the processing stability of the pipeline network balancing commissioning data does not meet the requirements.
[0069] One reason why the processing stability of the pipeline network balancing commissioning data does not meet requirements may be that the hydraulic condition simulation model is not suitable, or that the buffer depth of the pipeline network balancing commissioning data is not sufficient. The next step is to determine which specific cause it is, which is also the process of determining whether to increase the buffer depth of the pipeline network balancing commissioning data.
[0070] Specifically, determining whether the cache depth of pipeline network balancing and commissioning data needs to be increased includes:
[0071] The packet loss frequency of the pipeline network balance debugging data per unit time is compared with the preset first frequency and the preset second frequency, respectively;
[0072] If the packet loss frequency of the pipeline network balancing and debugging data per unit time is greater than the preset second frequency, it is determined that the cache depth of the pipeline network balancing and debugging data needs to be increased.
[0073] If the packet loss frequency of the pipeline network balancing debugging data per unit time is greater than the preset first frequency and less than or equal to the preset second frequency, then it is determined that there is no need to increase the cache depth of the pipeline network balancing debugging data.
[0074] Specifically, if the packet loss frequency of the pipeline network balancing and debugging data per unit time exceeds the preset second frequency, it indicates that the reason for the unsatisfactory processing stability of the pipeline network balancing and debugging data is that the buffer depth of the pipeline network balancing and debugging data is insufficient, thus requiring an increase in the buffer depth. If the packet loss frequency of the pipeline network balancing and debugging data per unit time is greater than the preset first frequency but less than or equal to the preset second frequency, it can be preliminarily determined that the adaptability of the hydraulic condition simulation model is insufficient. The next step is to determine, based on the maximum pressure difference of a single pipeline, whether the unsatisfactory processing stability of the pipeline network balancing and debugging data is due to the inadequate adaptability of the hydraulic condition simulation model.
[0075] It is understandable that the preset first frequency is less than the preset second frequency, and the three intervals divided by the preset first frequency and the preset second frequency correspond to three different situations:
[0076] The first interval is when the packet loss frequency of the pipeline network balancing commissioning data per unit time is less than or equal to the preset first frequency. The corresponding situation is: the processing stability of the pipeline network balancing commissioning data does not meet the requirements, and no adjustment is needed.
[0077] The second interval is when the frequency of packet loss of pipeline network balance debugging data per unit time is greater than the preset first frequency and less than or equal to the preset second frequency. The corresponding situation is: due to the thinning of the pipe wall and local leakage caused by the pipeline under the condition of water supply all year round, but the model still uses the initial parameters, resulting in deviation in the pressure distribution simulation. At this time, it is necessary to further judge whether the adaptability of the hydraulic condition simulation model meets the requirements.
[0078] The third interval is when the packet loss frequency of the pipeline network balancing debugging data per unit time is greater than the preset second frequency. The corresponding situation is: after long-term use, the internal battery of the sensor may age, resulting in uneven distribution of internal resistance. When powering on, the current distribution inside the battery is unbalanced, which will cause local voltage fluctuations, thus causing packet loss during wireless transmission. At this time, it is necessary to adjust the buffer depth of the pipeline network balancing debugging data.
[0079] Understandably, in processing pipeline network balancing and commissioning data, using a dual threshold of first and second frequencies to characterize processing stability is fundamentally about achieving precise characterization of the system state through hierarchical quantification. This not only determines whether stability meets standards but also clarifies when intervention is needed to maintain stability, ultimately adapting to the specific needs of pressure wave data processing. The first frequency, as the basic stability threshold, defines the upper limit of the acceptable maximum packet loss frequency. When the packet loss frequency is less than or equal to the first frequency, it indicates that the system load is within a reasonable range, data loss is minimal, and the continuity and integrity of the pressure wave data are sufficient to support pipeline network balancing and commissioning. The second frequency, as the "intervention trigger threshold," defines the critical value at which stability must be improved through adjustment. The preset first and second frequencies can be set according to actual operating conditions. The setting of the preset first and second frequencies aims to ensure the stability and practicality of pipeline network balancing and commissioning data processing. Optionally, the preset first frequency and preset second frequency are determined through a limited number of tests by evaluating the processing effect of different packet loss frequencies on the pipeline network balancing and commissioning data. The determined preset first frequency and preset second frequency should be neither too low nor cause excessive interference to the processing of pipeline network balancing and commissioning data. For example, the preset first frequency is generally selected in the range of [5 packets / minute, 7 packets / minute], and the preset second frequency is generally selected in the range of [9 packets / minute, 11 packets / minute].
[0080] Preferably, the first preset frequency is 6 samples / minute, and the second preset frequency is 10 samples / minute.
[0081] In practice, the method of the present invention determines the processing stability of pipeline network balancing and debugging data by setting a preset first frequency and a preset second frequency, thereby reducing the impact of the decrease in the processing accuracy of pipeline network balancing and debugging data due to inaccurate determination of the processing stability of pipeline network balancing and debugging data, and further improving the processing stability of pipeline network balancing and debugging data.
[0082] Specifically, the increase in the cache depth of the pipeline network balancing and debugging data is determined by the difference between the packet loss frequency of the pipeline network balancing and debugging data per unit time and a preset second frequency.
[0083] Specifically, when the difference between the packet loss frequency of the pipeline network balancing and debugging data per unit time and the preset second frequency is within 3 packets / minute, the cache depth of the pipeline network balancing and debugging data is increased to 1.1 times the original value. When the difference between the packet loss frequency of the pipeline network balancing and debugging data per unit time and the preset second frequency exceeds 3 packets / minute, in addition to increasing to 1.1 times the original value, for every 1 packet / minute exceeding the original value, the cache depth of the pipeline network balancing and debugging data increases by 20 data packets. For example, if the difference between the packet loss frequency of the pipeline network balancing and debugging data per unit time and the preset second frequency is 5 packets / minute, and the current cache depth of the pipeline network balancing and debugging data is 200 data packets, the increased cache depth of the pipeline network balancing and debugging data will be 200 × 1.1 + 20 × 2 = 260 data packets.
[0084] In practice, the method of the present invention adjusts the buffer depth of pipeline network balancing and debugging data by setting a preset first frequency and a preset second frequency. Due to the aging of the sensor battery after long-term use, the internal resistance distribution of the battery may be uneven. When powering on, the current distribution inside the battery is unbalanced, which will cause local voltage fluctuations. This will lead to packet loss during wireless transmission. By increasing the buffer depth of pipeline network balancing and debugging data, the data can be temporarily stored in the buffer and sent in batches after the voltage recovers to the stable range. This avoids transmission when the voltage fluctuation is most severe, reduces the continuous impact of large current on the battery, indirectly stabilizes the voltage, and further improves the processing stability of pipeline network balancing and debugging data.
[0085] Specifically, the suitability of the hydraulic simulation model for the operating conditions is determined based on the maximum pressure difference in a single pipe, including:
[0086] Compare the maximum pressure difference of a single pipe with the preset first difference;
[0087] If the maximum pressure difference of a single pipe is less than or equal to the preset first difference, then it is determined that the adaptability of the hydraulic condition simulation model meets the requirements, and it is determined whether the buffer depth of the pipeline network balance debugging data meets the requirements.
[0088] If the maximum pressure difference of a single pipe is greater than the preset first difference, then the adaptability of the hydraulic condition simulation model is determined to be unacceptable.
[0089] Specifically, when the maximum pressure difference of a single pipeline is less than or equal to the preset first difference, it is determined that the adaptability of the hydraulic condition simulation model meets the requirements. However, if the processing stability of the pipeline network balancing and debugging data has not met the requirements, it is necessary to further determine whether the buffer depth of the pipeline network balancing and debugging data meets the requirements.
[0090] In practice, the cache depth of the actual pipeline network balancing and debugging data is compared with the predetermined cache depth threshold to determine whether the cache depth of the pipeline network balancing and debugging data meets the requirements. If the cache depth of the actual pipeline network balancing and debugging data is less than the predetermined cache depth threshold, the cache depth of the pipeline network balancing and debugging data is determined to be unacceptable. The predetermined cache depth threshold is the average cache depth of the pipeline network balancing and debugging data monitored in the previous three months.
[0091] If the cache depth of the pipeline network balancing commissioning data does not meet the requirements, the cache depth of the pipeline network balancing commissioning data will be increased; if the cache depth of the pipeline network balancing commissioning data meets the requirements, the packet loss frequency of the pipeline network balancing commissioning data per unit time will be re-collected, and the processing stability of the pipeline network balancing commissioning data will be re-evaluated.
[0092] When the maximum pressure difference in a single pipeline exceeds a preset first difference, it can be determined that the reason for the unsatisfactory stability of the pipeline network balancing and commissioning data is that the adaptability of the hydraulic condition simulation model is inadequate. The reasons for this inadequacy could be that the nodal flow coefficients of the pipelines are not up to standard, or that the computational capacity of the edge computing is insufficient. The next step is to determine which specific cause it is, which is essentially the process of deciding whether to increase the nodal flow coefficients of the pipelines.
[0093] Specifically, determining whether it is necessary to increase the node flow coefficient of the pipeline includes:
[0094] The maximum pressure difference of the single pipe is compared with the preset first difference and the preset second difference, respectively;
[0095] If the maximum pressure difference of a single pipe is greater than a preset first difference and less than or equal to a preset second difference, then it is determined that the node flow coefficient of the pipe needs to be increased, and the node flow coefficient of the pipe is increased accordingly.
[0096] If the maximum pressure difference of a single pipe is greater than a preset second difference, then it is determined that it is not necessary to increase the node flow coefficient of the pipe.
[0097] Specifically, when the maximum pressure difference of a single pipe is greater than a preset first difference but less than or equal to a preset second difference, it is determined that the reason for the unsuitability of the hydraulic simulation model is that the nodal flow coefficient of the pipe does not meet the requirements, thus requiring an increase in the nodal flow coefficient. When the maximum pressure difference of a single pipe is greater than the preset second difference, it can be preliminarily determined that the computational capacity of the edge computing does not meet the requirements. The next step is to determine, based on the processing delay of the pipeline network balancing and debugging data, whether the computational capacity of the edge computing meets the requirements, i.e., to determine whether the unsuitability of the hydraulic simulation model is due to the unsuitability of the edge computing's computational capacity.
[0098] It is understandable that the preset first difference is less than the preset second difference, and the three intervals divided by the preset first difference and the preset second difference correspond to three different situations:
[0099] The first interval is when the maximum pressure difference of a single pipe is less than or equal to the preset first difference. The corresponding situation is: the adaptability of the hydraulic condition simulation model is confirmed to meet the requirements. At this time, it is necessary to further determine whether the buffer depth of the pipeline network balance debugging data meets the requirements.
[0100] The second interval is when the maximum pressure difference of a single pipe is greater than the preset first difference and less than or equal to the preset second difference. The corresponding situation is: due to the pipe wall thickness reduction and local leakage caused by the constant water supply, but the model still uses the initial parameters, the pressure distribution simulation will be deviated. At this time, it is necessary to adjust the nodal flow coefficient of the pipe.
[0101] The third interval is when the maximum pressure difference of a single pipeline is greater than the preset second difference. The corresponding situation is: during pipeline commissioning, the pressure wave data of multiple monitoring points may converge to the same edge node, causing the tasks to burst in time. The instantaneous load of the node exceeds the design limit. At this time, it is necessary to further determine whether the computing power bearing capacity of the edge computing meets the requirements.
[0102] Understandably, in pressure wave-based pipeline balancing and commissioning, the first and second difference values serve as preset thresholds to characterize the adaptability of the hydraulic simulation model. Essentially, by classifying the degree of difference between actual pressure fluctuations and model predictions, it achieves graded judgment and precise control of model adaptability. The first difference value is the basic acceptable threshold for model adaptability, used to determine whether the model meets the minimum accuracy requirements for pipeline balancing and commissioning. The second difference value is the upper limit threshold for model adaptability that can be repaired through local adjustments, used to subdivide the degree of unacceptable adaptability, corresponding to different optimization strategies. The preset first and second difference values can be set according to actual operating conditions. The setting of the preset first and second difference values aims to ensure the stability and practicality of pipeline balancing and commissioning data processing. Optionally, the preset first and second difference values are determined through a limited number of experiments by evaluating the processing effect of different pressures on pipeline balancing and commissioning data. The determined preset first and second difference values should be neither too small nor cause excessive interference to the pipeline balancing and commissioning data processing process. For example, the preset first difference amount is generally selected in the range of [0.02MPa, 0.03MPa], and the preset second difference amount is generally selected in the range of [0.035MPa, 0.045MPa].
[0103] Preferably, the first differential amount is 0.025 MPa in a preferred embodiment, and the second differential amount is 0.04 MPa in a preferred embodiment.
[0104] Specifically, the maximum pressure difference in a single pipe is the difference between the maximum and minimum pressure within that single pipe.
[0105] In practice, the method of the present invention determines the adaptability of the hydraulic condition simulation model by setting a preset first difference amount and a preset second difference amount, thereby reducing the impact of the decrease in the processing stability of pipeline network balancing and debugging data due to the inaccurate determination of the adaptability of the hydraulic condition simulation model, and further improving the processing stability of pipeline network balancing and debugging data.
[0106] Specifically, the increase in the node flow coefficient of the pipeline is determined by the difference between the maximum pressure difference of a single pipeline and a preset first difference.
[0107] Specifically, when the difference between the maximum pressure difference of a single pipeline and the preset first difference is within 0.02 MPa, the nodal flow coefficient of the pipeline increases to 1.2 times its original value; when the difference exceeds 0.02 MPa, in addition to increasing to 1.2 times its original value, the nodal flow coefficient increases by 2 m for every 0.005 MPa exceeding the preset first difference. 3 / h, for example, the difference between the maximum pressure difference of a single pipe and the preset first difference is 0.03MPa, and the current node flow coefficient of the pipe is 25m³ / h. 3 / h, the increased node flow coefficient of the pipeline is 25×1.2+2×2=34m 3 / h.
[0108] In practice, the method of the present invention adjusts the node flow coefficient of the pipeline by setting a preset first difference amount and a preset second difference amount. Because the pipeline wall thickness is reduced and local leakage occurs under the condition of water supply all year round, but the model still uses the initial parameters, the pressure distribution simulation will be deviated. By increasing the node flow coefficient of the pipeline, the corrected node flow can be closer to the actual flow, so as to match the actual flow and correct the problem of high pressure simulation caused by underestimation of flow, and further improve the processing stability of pipeline network balance commissioning data.
[0109] Specifically, the maximum number of connections for a single computing node is determined based on the processing delay of pipeline network balancing and commissioning data, including:
[0110] The processing delay time of the pipeline network balancing commissioning data is compared with the preset delay time;
[0111] If the processing delay of the pipeline network balance debugging data is less than or equal to the preset delay, then the computing power carrying capacity of the edge computing is determined to meet the requirements, and it is not necessary to reduce the maximum number of connections of a single computing node, and it is determined whether the node flow coefficient of the pipeline meets the requirements.
[0112] Specifically, if the processing delay of the pipeline network balancing debugging data is greater than the preset delay, it is determined that the maximum number of connections of a single computing node needs to be reduced, and the maximum number of connections of a single computing node needs to be reduced.
[0113] When the processing delay of the pipeline network balance commissioning data is less than or equal to the preset delay, it is determined that the computing power bearing capacity of the edge computing meets the requirements. However, if the adaptability of the hydraulic condition simulation model has been determined to be unacceptable, it is necessary to further determine whether the node flow coefficient of the pipeline meets the requirements.
[0114] In practice, the node flow coefficient of the actual pipeline is compared with the predetermined flow coefficient threshold to determine whether the node flow coefficient of the pipeline meets the requirements. If the node flow coefficient of the actual pipeline is less than the predetermined flow coefficient threshold, the node flow coefficient of the pipeline is determined to be non-compliant. The predetermined flow coefficient threshold is the average value of the node flow coefficient of the pipeline monitored in the previous three months of the historical period.
[0115] If the node flow coefficient of the pipeline does not meet the requirements, the node flow coefficient of the pipeline is increased; if the node flow coefficient of the pipeline meets the requirements, the maximum pressure difference of a single pipeline is re-collected, and the adaptability of the hydraulic condition simulation model is re-evaluated.
[0116] When the processing delay of pipeline network balancing and commissioning data exceeds the preset delay time, it can be determined that the reason for the compatibility requirement of the hydraulic condition simulation model is that the computing power bearing capacity of the edge computing does not meet the requirements. Therefore, it is necessary to reduce the maximum number of connections of a single computing node.
[0117] It is understandable that the two intervals divided by the preset delay duration correspond to two different scenarios:
[0118] The first interval is when the processing delay of the pipeline network balance commissioning data is less than or equal to the preset delay time. The corresponding situation is: the computing power capacity of the edge computing meets the requirements. At this time, it is necessary to further determine whether the node flow coefficient of the pipeline meets the requirements.
[0119] The second interval is when the processing delay of pipeline network balancing commissioning data is longer than the preset delay time. The corresponding situation is: during pipeline network commissioning, pressure wave data from multiple monitoring points may converge to the same edge node, causing the tasks to burst in time and the instantaneous load of the node to exceed the design limit. At this time, it is necessary to adjust the maximum number of connections of a single computing node.
[0120] It is understandable that in pressure wave-based pipeline balancing and commissioning, the latency is used to characterize the computing power capacity of edge computing. The core reason is that the technical characteristics of edge computing are highly compatible with the real-time requirements of pipeline balancing and commissioning, and the latency directly and quantitatively reflects the fit between computing power capacity and actual needs. The latency directly reflects whether edge computing can meet the real-time requirements of pipeline balancing and commissioning, and is an intuitive indicator of computing power capacity. The preset latency can be set according to actual working conditions. The purpose of setting the preset latency is to determine the stability and practicality of pipeline balancing and commissioning data processing. Optionally, the preset latency is determined through a limited number of experiments by evaluating the processing effect of pipeline balancing and commissioning data under different processing times. The determined preset latency should be neither too small nor cause excessive interference to the pipeline balancing and commissioning data processing process. For example, the preset latency is generally selected within the range of [450ms, 550ms].
[0121] Preferably, the preset delay duration is 500ms.
[0122] In practice, the method of the present invention determines the computing power capacity of edge computing by setting a preset delay time, thereby reducing the impact of the decrease in the processing stability of pipeline network balance debugging data due to the inaccurate determination of the computing power capacity of edge computing, and further improving the processing stability of pipeline network balance debugging data.
[0123] Specifically, the reduction in the maximum number of connections for a single computing node is determined by the difference between the processing delay of the pipeline balancing debugging data and the preset delay.
[0124] Specifically, when the difference between the processing delay of the pipeline network balancing commissioning data and the preset delay is within 200ms, the maximum number of connections for a single computing node is reduced to 0.9 times the original value. When the difference exceeds 200ms, in addition to reducing it to 0.9 times the original value, for every 50ms exceeding 200ms, the maximum number of connections for a single computing node is reduced by 2. For example, if the difference between the processing delay of the pipeline network balancing commissioning data and the preset delay is 300ms, and the current maximum number of connections for a single computing node is 100, the reduced maximum number of connections for a single computing node is 100 × 0.9 - 2 × 2 = 86.
[0125] In practice, the method described in this invention adjusts the maximum number of connections for a single computing node by setting a preset delay duration. During pipeline network debugging, pressure wave data from multiple monitoring points may converge synchronously to the same edge node, causing tasks to burst in a concentrated manner and the instantaneous load of the node to exceed the design limit. By reducing the maximum number of connections for a single computing node, some new connections can be forcibly rejected, resources can be reserved to process high-priority data, the queue length can be shortened, processing delay can be reduced, and the probability of packet loss or crash can be lowered, further improving the processing stability of pipeline network balancing debugging data.
[0126] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.
Claims
1. A data processing method for pressure wave based balancing commissioning of a pipe network, characterized in that, The method comprises the following steps: In the pipe network balance debugging process, the valve opening degree is adjusted from near to far according to the layout of the pipe network, the pressure change of the pipe network is detected by the pressure wave detection method, and the pipe network balance debugging data in the pipe network balance debugging process is obtained; The pipe network balance debugging data is preprocessed and feature extraction is performed to output pipe network features, an initial model is trained according to the pipe network features to output a hydraulic working condition simulation model, and edge computing is performed on the pipe network balance debugging data by using the hydraulic working condition simulation model to predict the water flow in the pipe network; The packet loss frequency of the pipe network balance debugging data in a unit time is obtained; It is determined whether the processing stability of the pipe network balance debugging data meets the requirements based on the packet loss frequency of the pipe network balance debugging data in a unit time; If the processing stability does not meet the requirements, it is determined whether the cache depth of the pipe network balance debugging data needs to be increased, and if the cache depth of the pipe network balance debugging data does not need to be increased, the maximum pressure difference of a single pipe is obtained to determine whether the adaptability of the hydraulic working condition simulation model meets the requirements; If the adaptability of the hydraulic working condition simulation model does not meet the requirements, it is determined whether the node flow coefficient of the pipe needs to be increased; If the node flow coefficient of the pipe does not need to be increased, the maximum connection quantity of a single computing node is determined based on the processing delay time length of the pipe network balance debugging data; It is determined whether the processing stability of the pipe network balance debugging data meets the requirements based on the packet loss frequency of the pipe network balance debugging data in a unit time, which comprises: Comparing the packet loss frequency of the pipe network balance debugging data in a unit time with a preset first frequency; If the packet loss frequency of the pipe network balance debugging data in a unit time is less than or equal to the preset first frequency, it is determined that the processing stability of the pipe network balance debugging data meets the requirements; If the packet loss frequency of the pipe network balance debugging data in a unit time is greater than the preset first frequency, it is determined that the processing stability of the pipe network balance debugging data does not meet the requirements; It is determined whether the cache depth of the pipe network balance debugging data needs to be increased, which comprises: Comparing the packet loss frequency of the pipe network balance debugging data in a unit time with the preset first frequency and a preset second frequency respectively; If the packet loss frequency of the pipe network balance debugging data in a unit time is greater than the preset second frequency, it is determined that the cache depth of the pipe network balance debugging data needs to be increased; If the packet loss frequency of the pipe network balance debugging data in a unit time is greater than the preset first frequency and less than or equal to the preset second frequency, it is determined that the cache depth of the pipe network balance debugging data does not need to be increased.
2. A data processing method for pressure wave based balancing commissioning of pipe networks according to claim 1, characterized in that, The increase range of the cache depth of the pipe network balance debugging data is determined by the difference between the packet loss frequency of the pipe network balance debugging data in a unit time and the preset second frequency.
3. A data processing method for pressure wave based balancing commissioning of pipe networks according to claim 2, characterized in that, It is determined whether the adaptability of the hydraulic working condition simulation model meets the requirements based on the maximum pressure difference of a single pipe, which comprises: Comparing the maximum pressure difference of a single pipe with a preset first difference; If the maximum pressure difference of a single pipe is less than or equal to the preset first difference, it is determined that the adaptability of the hydraulic working condition simulation model meets the requirements, and it is determined whether the cache depth of the pipe network balance debugging data meets the requirements; If the maximum pressure difference of the single pipeline is greater than the preset first difference, it is determined that the adaptability of the hydraulic working condition simulation model does not meet the requirements.
4. A data processing method for pressure wave based balancing commissioning of pipe networks according to claim 3, characterized in that, It is determined whether the node flow coefficient of the pipeline needs to be increased, including: The maximum pressure difference of the single pipeline is compared with the preset first difference and the preset second difference respectively. If the maximum pressure difference of the single pipeline is greater than the preset first difference and less than or equal to the preset second difference, it is determined that the node flow coefficient of the pipeline needs to be increased, and the node flow coefficient of the pipeline is increased. If the maximum pressure difference of the single pipeline is greater than the preset second difference, it is determined that the node flow coefficient of the pipeline does not need to be increased.
5. A data processing method for pressure wave based balancing commissioning of pipe networks according to claim 4, characterized in that, The increase range of the node flow coefficient of the pipeline is determined by the difference between the maximum pressure difference of the single pipeline and the preset first difference.
6. A data processing method for pressure wave based balancing commissioning of pipe networks according to claim 5, characterized in that, The maximum connection quantity of a single computing node is determined based on the processing delay time length of the pipe network balance debugging data, including: The processing delay time length of the pipe network balance debugging data is compared with the preset delay time length. If the processing delay time length of the pipe network balance debugging data is less than or equal to the preset delay time length, it is determined that the computing power bearing capacity of the edge calculation meets the requirements, the maximum connection quantity of the single computing node does not need to be reduced, and it is determined whether the node flow coefficient of the pipeline meets the requirements.
7. A data processing method for pressure wave based balancing commissioning of pipe networks according to claim 6, characterized in that, If the processing delay time length of the pipe network balance debugging data is greater than the preset delay time length, it is determined that the maximum connection quantity of the single computing node needs to be reduced, and the maximum connection quantity of the single computing node is reduced.
8. A data processing method for pressure wave based balancing commissioning of pipe networks according to claim 7, characterized in that, The reduction range of the maximum connection quantity of the single computing node is determined by the difference between the processing delay time length of the pipe network balance debugging data and the preset delay time length.
Citation Information
Patent Citations
Heat supply pipe network hydraulic balance adjusting system and method based on data acquisition
CN119761247A
Pipe network diagnosis balance adjustment method based on pressure waves
CN115342422A
Heat supply system hydraulic unbalance real-time correction method and system based on federal learning
CN120576413A