CN114912291A - Newly-added monitoring point arrangement method and device serving water supply network hydraulic model checking - Google Patents
Newly-added monitoring point arrangement method and device serving water supply network hydraulic model checking Download PDFInfo
- Publication number
- CN114912291A CN114912291A CN202210622119.7A CN202210622119A CN114912291A CN 114912291 A CN114912291 A CN 114912291A CN 202210622119 A CN202210622119 A CN 202210622119A CN 114912291 A CN114912291 A CN 114912291A
- Authority
- CN
- China
- Prior art keywords
- node
- water supply
- monitoring
- supply network
- monitoring points
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 141
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 74
- 238000000034 method Methods 0.000 title claims abstract description 46
- 239000011159 matrix material Substances 0.000 claims abstract description 45
- 230000035945 sensitivity Effects 0.000 claims abstract description 25
- 230000000694 effects Effects 0.000 claims abstract description 16
- 238000005259 measurement Methods 0.000 claims abstract description 15
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000004422 calculation algorithm Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 claims description 4
- 238000012795 verification Methods 0.000 claims description 2
- 230000007547 defect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/18—Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/08—Fluids
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/14—Pipes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A20/00—Water conservation; Efficient water supply; Efficient water use
- Y02A20/152—Water filtration
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Geometry (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)
- Measuring Fluid Pressure (AREA)
Abstract
Description
技术领域technical field
本发明属于城市供水管网布置的技术领域,尤其涉及一种服务于供水管网水力模型校核的新增监测点布置方法及装置。The invention belongs to the technical field of urban water supply pipe network layout, and in particular relates to a new monitoring point layout method and device for checking the hydraulic model of the water supply pipe network.
背景技术Background technique
近年来,对城市供水管网进行智能化管理已经成为了大趋势。为了能更好地了解管网当前的运行状况,供水管网实时水力模型被越来越广泛地利用到实际中。建立高精度高效的管网实时水力模型,并对其进行有效利用,能有效地保障城市供水安全。而为了提高供水管网水力模型的精度,就需要以依托管网中布置的监测点的监测数据,以一定的频率对模型中的节点需水量等数据进行校核。因而最终水力模型的精度,很大程度上与监测点布置方案的好坏相关。In recent years, intelligent management of urban water supply network has become a major trend. In order to better understand the current operating status of the pipeline network, the real-time hydraulic model of the water supply pipeline network is more and more widely used in practice. Establishing a high-precision and high-efficiency real-time hydraulic model of the pipe network and using it effectively can effectively ensure the safety of urban water supply. In order to improve the accuracy of the hydraulic model of the water supply pipe network, it is necessary to check the data such as the node water demand in the model at a certain frequency based on the monitoring data of the monitoring points arranged in the pipe network. Therefore, the accuracy of the final hydraulic model is largely related to the quality of the monitoring point layout scheme.
在供水管网的实际运营当中,一般不会因为布设新传感器便将原有的传感器全部拆除或替换。因而如何在布置新的监测点的同时,考虑原有监测点,使新布置监测点能与旧监测点的监测数据互补,是一个值得研究的问题。鉴于此,本发明提出一种服务于供水管网水力模型校核的新增监测点布置方法,能有效将新的监测点布置在原有监测点的监测盲区,提高水力模型校核精度。In the actual operation of the water supply network, it is generally not necessary to dismantle or replace all the original sensors just because of the new sensors. Therefore, how to consider the original monitoring points while arranging the new monitoring points, so that the newly arranged monitoring points can complement the monitoring data of the old monitoring points, is a problem worthy of study. In view of this, the present invention proposes a method for arranging new monitoring points for hydraulic model checking of water supply network, which can effectively arrange new monitoring points in the monitoring blind area of original monitoring points and improve the checking accuracy of hydraulic model.
专利文献CN106870955B公开了一种服务于供水管网节点需水量反演的监测点优化布置方法,包括:1、选择一个基准工况进行管网平差,得到节点压力与管道流量,获得压力灵敏度矩阵,创建压力影响系数矩阵;2、以既有监测点的监测值,反演节点需水量,平差获得节点压力与管道流量,创建误差矩阵;3、将压力影响系数矩阵与压力误差矩阵相乘,将乘积最大元素对应的节点设置为新的压力监测点,将流量误差矩阵最大元素对应的管道设置为新的流量监测点;4、当监测点数目达到上限时终止迭代,否则继续计算,增加监测点。该方法通过改进传统的压力灵敏度矩阵,从而降低反演算法的误差。但是该方法在监测点布置过程中,还是需要进行迭代计算,在布置方案的生成效率并未改变。Patent document CN106870955B discloses a monitoring point optimization method for inversion of water demand in water supply pipe network nodes, including: 1. Selecting a reference condition for pipe network adjustment, obtaining node pressure and pipe flow, and obtaining a pressure sensitivity matrix , create a pressure influence coefficient matrix; 2. Invert the node water demand based on the monitoring values of the existing monitoring points, and adjust the node pressure and pipeline flow to create an error matrix; 3. Multiply the pressure influence coefficient matrix with the pressure error matrix , set the node corresponding to the largest element of the product as the new pressure monitoring point, and set the pipeline corresponding to the largest element of the flow error matrix as the new flow monitoring point; 4. Terminate the iteration when the number of monitoring points reaches the upper limit, otherwise continue to calculate and increase Monitoring points. This method reduces the error of the inversion algorithm by improving the traditional pressure sensitivity matrix. However, this method still needs to perform iterative calculation during the monitoring point layout process, and the generation efficiency of the layout plan has not changed.
专利文献CN114429034A公开一种面向供水管网水力模型水量校核的压力监测点移动布置方法,包括:根据管网节点总数和压力监测传感器数量,划分校核周期;基于初始化管网水力模型,得到节点压力关于节点水量的雅克比矩阵;根据雅克比矩阵和改良隐枚举优化法,求解监测点移动布置方案;根据每个校核周期中的监测点位置部署方案获取的监测数据,校核计算供水管网水力模型的节点水量参数,提升了计算精度。该方法在压力灵敏度矩阵中引入了扰动参数,来简化计算过程,但是会降低最终结果的准确度。Patent document CN114429034A discloses a method for moving and arranging pressure monitoring points for checking the water quantity of a hydraulic model of a water supply pipe network, including: dividing the checking period according to the total number of nodes in the pipe network and the number of pressure monitoring sensors; Jacobian matrix of pressure related to node water volume; according to Jacobian matrix and improved implicit enumeration optimization method, the moving arrangement scheme of monitoring points is solved; according to the monitoring data obtained from the deployment scheme of monitoring point position in each check cycle, the water supply is checked and calculated The nodal water parameters of the hydraulic model of the pipe network have improved the calculation accuracy. This method introduces a perturbation parameter into the pressure sensitivity matrix to simplify the calculation process, but it will reduce the accuracy of the final result.
发明内容SUMMARY OF THE INVENTION
为了解决上述问题,本发明提供了一种服务于供水管网水力模型校核的新增监测点布置方法,该方法在传统压力灵敏度矩阵的基础上,引入了衡量节点集合的概念,通过结合两者构建用于计算待布置节点与已有监测点之间监测效果距离的目标函数,以该目标函数每一次的最小解作为新增监测点,使得最终布置方案的监测点,不仅顾及原有监测点的监测能力,让新增监测点与原有监测点协同作用,同时弥补原有监测点的不足,提高整体供水管网与特定区域的校核精度。In order to solve the above problems, the present invention provides a new monitoring point arrangement method for checking the hydraulic model of the water supply network. Based on the traditional pressure sensitivity matrix, the method introduces the concept of measuring node sets. The author constructs an objective function for calculating the monitoring effect distance between the nodes to be arranged and the existing monitoring points, and uses the minimum solution of the objective function each time as the new monitoring point, so that the monitoring points of the final layout plan not only take into account the original monitoring points The monitoring capabilities of the new monitoring points allow the new monitoring points to synergize with the original monitoring points, and at the same time make up for the deficiencies of the original monitoring points, and improve the calibration accuracy of the overall water supply network and specific areas.
一种服务于供水管网水力模型校核的新增监测点布置方法,所述供水管网水力模型包括供水管网的拓扑关系,各管道的管道信息以及各节点的需水量,所述新增监测点布置方法包括:A method for arranging new monitoring points for checking the hydraulic model of a water supply pipe network, wherein the hydraulic model of the water supply pipe network includes the topology relationship of the water supply pipe network, the pipe information of each pipe, and the water demand of each node. Monitoring point layout methods include:
步骤1、根据所述供水管网水力模型的一个标准工况下,计算获得供水管网各节点的压力灵敏度矩阵与衡量节点集合,所述衡量节点集合包括靠近节点最近的K个相邻节点集合,所述K值由人为设定;
步骤2、根据步骤1获得的压力灵敏度矩阵与衡量节点集合,构建用于计算待布置节点与已有监测点之间监测效果距离的目标函数,并以所述目标函数最小解对应的节点作为新增监测点;
步骤3、将所述新增监测点加入已有监测点后,重复步骤2的过程,直至新增监测点的布置状态满足终止条件。Step 3: After adding the newly added monitoring point to the existing monitoring point, repeat the process of
由于传统供水管网的改造,是通过替换或增加新传感器完成,而简单的拆除或替换会改变原有的监测范围,因此会存在监测范围的重叠或存在监测盲点的问题。本发明在传统压力灵敏度矩阵的基础上,引入了衡量节点集合的概念,构建关于待布置节点与已有监测点之间监测效果距离的目标函数,通过求解目标函数的最小解,获得新增监测点,从而使得每一个新增监测点与原监测点之间的监测范围盲区最小。Since the transformation of the traditional water supply pipe network is completed by replacing or adding new sensors, and simple removal or replacement will change the original monitoring range, there will be problems of overlapping monitoring ranges or monitoring blind spots. On the basis of the traditional pressure sensitivity matrix, the invention introduces the concept of measuring node sets, constructs an objective function about the monitoring effect distance between the nodes to be arranged and the existing monitoring points, and obtains the newly added monitoring by solving the minimum solution of the objective function. Therefore, the blind area of the monitoring range between each new monitoring point and the original monitoring point is minimized.
具体的,所述各管道的管道信息,包括各管道的管道长度、管道直径以及摩阻系数。Specifically, the pipeline information of each pipeline includes the pipeline length, pipeline diameter and friction coefficient of each pipeline.
优选的,所述步骤1中的压力灵敏度矩阵,是基于供水管网水力模型的拓扑关系与各节点的需水量,通过解析法计算获得,该方法获得的矩阵数据精度高,从而提高最终布置区域新旧监测点的校核精度。Preferably, the pressure sensitivity matrix in the
具体的,所述压力灵敏度矩阵,具体构建过程如下:Specifically, the specific construction process of the pressure sensitivity matrix is as follows:
根据供水管网中任意节点都满足其流入水量与流出水量相等的条件,构建节点的连续性方程:According to the condition that any node in the water supply network satisfies the condition that its inflow and outflow are equal, the continuity equation of the node is constructed:
qi+∑Qi,j=0(i,j∈N)q i +∑Q i,j =0(i,j∈N)
式中,qi为节点i的节点需水量,Qi,j为以节点i为起端节点,节点j为末端节点的管道的流量,即管道流量流出时为负值,管道流量流入时为正值;N为供水管网模型中的节点集合;In the formula, qi is the node water demand of node i , Qi ,j is the flow of the pipeline with node i as the starting node and node j as the end node, that is, the pipeline flow is negative when it flows out, and the pipeline flow is inflow. Positive value; N is the node set in the water supply network model;
将所有节点对应的连续性方程合并,并用节点矩阵的形式输出:Combine the continuity equations corresponding to all nodes and output as a node matrix:
AQ-q=0AQ-q=0
式中,表示管网拓扑关系的关联矩阵,n表示水力模型中的节点数量,p表示水力模型中的管道数量,为管道的流量向量,为节点的需水量向量;In the formula, is an association matrix representing the topological relationship of the pipe network, n represents the number of nodes in the hydraulic model, p represents the number of pipes in the hydraulic model, is the flow vector of the pipeline, is the water demand vector of the node;
同时,供水管网中任意管道两端节点的水头差异,与该管道的水头损失相等,因此构建管道的能量方程:At the same time, the water head difference of the nodes at both ends of any pipe in the water supply network is equal to the head loss of the pipe, so the energy equation of the pipe is constructed:
Hi,j=hi-hj H i,j = hi -h j
式中,Hi,j为以节点i为起端节点,节点j为末端节点的管道的水头损失,hi与hj分别为节点i与节点j的节点水头;In the formula, H i,j is the head loss of the pipeline with node i as the starting node and node j as the end node, hi and h j are the node water heads of node i and node j respectively;
将所有管道的能量方程合并,并用管道矩阵的形式输出:Combine the energy equations for all pipes and output as a pipe matrix:
ATh+H=0A T h+H=0
式中,AT为关联矩阵的转置,为节点的水头向量,为管道的水头损失向量;In the formula, A T is the transpose of the correlation matrix, is the head vector of the node, is the head loss vector of the pipeline;
根据供水管网中节点需水量的变化规律,对节点矩阵与管道矩阵进行修改:According to the change rule of the node water demand in the water supply network, the node matrix and the pipeline matrix are modified:
节点变化矩阵:A(Q+ΔQ)-(q+Δq)=0Node change matrix: A(Q+ΔQ)-(q+Δq)=0
管道变化矩阵:AT(h+Δh)+(H+ΔH)=0Pipeline variation matrix: A T (h+Δh)+(H+ΔH)=0
式中,为管道流量的变化向量,为节点需水量的变化向量,为节点水头的变化向量,为管道水头损失的变化向量;In the formula, is the change vector of pipeline flow, is the change vector of node water demand, is the change vector of the node head, is the change vector of pipe head loss;
根据上述获得的矩阵与变化矩阵,通过海曾威廉公式计算管网中管道的水头损失,对单根管道的水头损失Hf求其管道流量Qs的微分:According to the matrix and variation matrix obtained above, the head loss of the pipelines in the pipe network is calculated by the Hezen-William formula, and the differential of the pipe flow Q s is obtained for the head loss H f of a single pipe:
式中,Hf为某根管道的水头损失,Qs为该管道的流量,L为该管道的长度,C为该管道的摩阻系数,D为该管道的管径;where H f is the head loss of a pipe, Q s is the flow rate of the pipe, L is the length of the pipe, C is the friction coefficient of the pipe, and D is the diameter of the pipe;
则包含所有管道水头损失的方程如下:Then the equation that includes all pipe head losses is as follows:
ΔH=B-1ΔQΔH=B -1 ΔQ
式中,Qd为管道d的管道流量,Hd为管道d的水头损失,p为水力模型中的管道总数;In the formula, Q d is the pipeline flow of pipeline d, H d is the head loss of pipeline d, and p is the total number of pipelines in the hydraulic model;
将上述公式进行联立并整合,获得压力灵敏度矩阵:Combine and integrate the above formulas to obtain the pressure sensitivity matrix:
具体的,所述步骤2中的衡量节点集合,具体表示式如下:Specifically, the set of measurement nodes in the
式中,Ji为节点i的衡量节点集合,N为供水管网所有节点的集合,Disti,a与Disti,b分别表示节点i到节点a与节点b的水力距离,Juncj表示供水管网中的节点j,即满足Junc1,Junc2…JuncK是距离节点i最近的K个节点,i与j表示节点的编号。In the formula, J i is the set of measuring nodes of node i, N is the set of all nodes of the water supply network, Dist i,a and Dist i,b represent the hydraulic distance from node i to node a and node b respectively, Junc j represents the water supply Node j in the pipe network, that is, satisfying Junc 1 , Junc 2 ... Junc K are the K nodes closest to node i, and i and j represent the numbers of the nodes.
具体的,所述衡量节点集合,具体构建过程如下:Specifically, the specific construction process of the measurement node set is as follows:
初始化节点的距离矩阵dist如下式:The distance matrix dist of the initialized node is as follows:
遍历所有中继节点对所有节点间的最短距离进行更新,即如果通过途径中继节点可以降低两个节点之间的距离,那么就将两个节点之间的距离更新为新值,当遍历的节点为k时,其表达式可以改写为:Traverse all relay nodes to update the shortest distance between all nodes, that is, if the distance between two nodes can be reduced through relay nodes, then the distance between the two nodes is updated to a new value. When the node is k, its expression can be rewritten as:
disti,j=min(disti,j,disti,k+distk,j)dist i,j = min(dist i,j ,dist i,k +dist k,j )
最后,查找每个节点距离最近的K个节点,这些节点构成该节点的衡量节点集合。Finally, find the K nodes that are closest to each node, and these nodes constitute the node's measurement node set.
具体的,所述水力距离为两节点之间沿管段的最短距离,是基于供水管网的拓扑关系与管段数据,通过Floyd算法计算获得。Specifically, the hydraulic distance is the shortest distance between two nodes along the pipe section, which is calculated and obtained by the Floyd algorithm based on the topological relationship of the water supply pipe network and the pipe section data.
具体的,所述步骤2中的目标函数,具体表达式如下:Specifically, the objective function in the
式中,g表示待布置监测点的节点,Gi表示已有监测点集合,MEDg,i为监测点i关于节点g的监测效果距离。In the formula, g represents the node where the monitoring point is to be arranged, G i represents the existing monitoring point set, and MED g,i is the monitoring effect distance of the monitoring point i relative to the node g.
具体的,所述监测效果距离的表达式如下:Specifically, the expression of the monitoring effect distance is as follows:
式中,Ji∪Jj为节点i与节点j衡量节点集合的并集,Si,Junc表示节点i节点对目标节点Junc的灵敏度。Sj,Junc表示节点j对目标节点Junc的灵敏度。In the formula, J i ∪ J j is the union of node i and node j to measure the node set, and S i, Junc represents the sensitivity of node i to the target node Junc. S j, Junc represents the sensitivity of node j to the target node Junc.
优选的,所述终止条件包括:Preferably, the termination conditions include:
1、当布置监测点数量达到预设值;1. When the number of monitoring points to be arranged reaches the preset value;
2、当待布置监测点的监测效果距离达到阈值;2. When the monitoring effect distance of the monitoring points to be arranged reaches the threshold;
满足上述的任一条件,即终止运算。If any of the above conditions are met, the operation is terminated.
本发明还提供了一种新增监测点布置装置,包括计算机存储器、计算机处理器以及存储在所述计算机存储器中并可在所述计算机处理器上执行的计算机程序,所述计算机存储器中采用上述的服务于供水管网水力模型校核的新增监测点布置方法;所述计算器处理器执行所述计算机程序时实现以下步骤:选定供水管网水力模型的一个标准工况,输入新增监测点总数,经过分析与计算,输出新增监测点的布置方案。The present invention also provides a device for arranging new monitoring points, comprising a computer memory, a computer processor, and a computer program stored in the computer memory and executable on the computer processor, wherein the computer memory adopts the above-mentioned method. A method for arranging newly added monitoring points for checking the hydraulic model of the water supply pipe network; the calculator processor implements the following steps when executing the computer program: selecting a standard operating condition of the hydraulic model of the water supply pipe network, inputting a new The total number of monitoring points, after analysis and calculation, output the layout plan of new monitoring points.
与现有技术相比,本发明的有益效果:Compared with the prior art, the beneficial effects of the present invention:
通过在对比节点监测能力时对灵敏度向量进行降维,着重关注于最能体现监测效果的节点,去除了距离远、灵敏度低的大量节点的干扰,能更加精准地体现节点间不同的监测效果与范围,使得最终布置的监测点能顾及原有监测点的监测能力,让新布置的监测点与原传感器系统协同作用,弥补原有系统的不足,提高整体管网以及特定区域的校核精度。By reducing the dimensionality of the sensitivity vector when comparing the monitoring capabilities of nodes, focusing on the nodes that can best reflect the monitoring effect, the interference of a large number of nodes with long distances and low sensitivity is removed, and the different monitoring effects and differences between nodes can be more accurately reflected. The scope of the monitoring points can be taken into account in the final arrangement of monitoring points, so that the newly arranged monitoring points can cooperate with the original sensor system to make up for the shortcomings of the original system and improve the calibration accuracy of the overall pipeline network and specific areas.
附图说明Description of drawings
图1为本发明提供的一种服务于供水管网水力模型校核的新增监测点布置方法的流程示意图;1 is a schematic flowchart of a method for arranging a new monitoring point provided by the present invention for checking the hydraulic model of a water supply pipe network;
图2为本实施例提供的供水管网拓扑关系与压力监测点位置示意图;FIG. 2 is a schematic diagram of the topological relationship of the water supply pipe network and the position of the pressure monitoring point provided by the present embodiment;
图3为本实施例提供的新增监测点布置装置输出的布置方案图;FIG. 3 is a schematic diagram of the layout of the output of the newly added monitoring point layout device provided in this embodiment;
图4为本实施例提供的节点压力平均绝对误差对比图;FIG. 4 is a comparison diagram of the mean absolute error of nodal pressure provided in this embodiment;
图5为本实施例提供的压力绝对误差累计概率密度分布图。FIG. 5 is a graph of the cumulative probability density distribution of the pressure absolute error provided in this embodiment.
具体实施方式Detailed ways
如图1所示,一种服务于供水管网水力模型校核的新增监测点布置方法,包括:As shown in Figure 1, a method for arranging new monitoring points for checking the hydraulic model of a water supply network includes:
步骤1、根据供水管网水力模型的一个标准工况下,计算获得供水管网各节点的压力灵敏度矩阵与衡量节点集合;
如图2所示,根据供水管网的拓扑关系与压力监测点位置,构建压力灵敏度矩阵:As shown in Figure 2, according to the topological relationship of the water supply network and the location of pressure monitoring points, a pressure sensitivity matrix is constructed:
在该供水管网模型中,总共有3个水厂,4242个节点(即n=4242),4841根管道(即p=4841),管段总长共有1576.98千米,其中有48个压力监测点,其中,管网拓扑关系的关联矩阵B如下:In this water supply pipe network model, there are a total of 3 water plants, 4242 nodes (ie n=4242), 4841 pipes (ie p=4841), the total length of the pipe section is 1576.98 kilometers, and there are 48 pressure monitoring points, Among them, the correlation matrix B of the topological relationship of the pipe network is as follows:
对关联矩阵B进行矩阵求逆算法进行求解,得到节点的压力灵敏度矩阵S:The matrix inversion algorithm is used to solve the correlation matrix B, and the pressure sensitivity matrix S of the node is obtained:
运用Floyd算法计算管网中节点两两之间的水力距离,构建衡量节点集合:Use the Floyd algorithm to calculate the hydraulic distance between the nodes in the pipe network, and construct a set of measurement nodes:
根据模型中管道的起端节点、末端节点与长度数据,对dist矩阵进行初始化,然后开始枚举中继节点对dist矩阵继续更新。运用Floyd算法计算后所得到的水力距离dist矩阵部分数值的示例如下:According to the start node, end node and length data of the pipeline in the model, the dist matrix is initialized, and then the relay nodes are enumerated to continue to update the dist matrix. An example of the partial values of the hydraulic distance dist matrix calculated using the Floyd algorithm is as follows:
由于供水管网模型中节点的索引序号与其位置的关联性不大,因此即便索引序号相近的节点,其水力距离仍可能很大。对水力距离矩阵dist的每一列从小到大进行排序,然后截取前K行(本实施例取K=20),则可以得到每个节点的衡量节点集合,这里给出部分节点的衡量节点集合:Since the index number of the node in the water supply network model has little correlation with its location, even nodes with similar index numbers may still have a large hydraulic distance. Sort each column of the hydraulic distance matrix dist from small to large, and then intercept the first K rows (K=20 in this embodiment), then the set of measuring nodes of each node can be obtained, and the set of measuring nodes of some nodes is given here:
该表中的每一列即为每个节点的衡量节点集合,由于一个节点对自身的水力距离是最小值0,因此一个节点的衡量节点集合中永远会包括该节点本身。Each column in the table is the set of measuring nodes of each node. Since the hydraulic distance of a node to itself is the minimum value of 0, the set of measuring nodes of a node will always include the node itself.
步骤2、根据步骤1获得的压力灵敏度矩阵与衡量节点集合,构建用于计算待布置节点与已有监测点之间监测效果距离的目标函数,并以目标函数最小解对应的节点作为新增监测点:
根据灵敏度矩阵S以及上述计算得到的节点的衡量节点集合,计算管网中节点两两之间的监测能力差异值MED,部分数值的示例如下:According to the sensitivity matrix S and the measurement node set of the nodes obtained by the above calculation, the monitoring capability difference value MED between the nodes in the pipeline network is calculated. Some examples of the values are as follows:
步骤3、将所述新增监测点加入已有监测点后,重复步骤2的过程,直至新增监测点布置状态满足终止条件,其中终止条件包括:Step 3: After adding the newly added monitoring point to the existing monitoring point, repeat the process of
1、当布置监测点数量达到预设值;1. When the number of monitoring points to be arranged reaches the preset value;
2、当待布置监测点的监测效果距离达到阈值;2. When the monitoring effect distance of the monitoring points to be arranged reaches the threshold;
满足上述的任一条件,即终止运算。If any of the above conditions are met, the operation is terminated.
本实例还提供了一种新增监测点布置装置,包括计算机存储器、计算机处理器以及存储在该计算机存储器中并可在所述计算机处理器上执行的计算机程序,该计算机存储器中采用上述的服务于供水管网水力模型校核的新增监测点布置方法;This example also provides a device for arranging newly added monitoring points, including a computer memory, a computer processor, and a computer program stored in the computer memory and executable on the computer processor, where the above-mentioned services are used in the computer memory Layout method of new monitoring points for checking hydraulic model of water supply network;
计算器处理器执行所述计算机程序时实现以下步骤:选定供水管网水力模型的一个标准工况,输入新增监测点总数,经过分析与计算,输出新增监测点的布置方案。The calculator processor implements the following steps when executing the computer program: selecting a standard operating condition of the hydraulic model of the water supply pipe network, inputting the total number of newly added monitoring points, and outputting the layout plan of the newly added monitoring points after analysis and calculation.
如图3所示,为最终的布置方案,本次终止条件为新增监测点数量为10个。As shown in Figure 3, it is the final layout plan, and the termination condition this time is that the number of new monitoring points is 10.
根据管网的总用水量进行合理分配,生成了某时刻的模拟节点需水量。通过平差计算得到管网中传感器所在节点的压力值,并增加一个服从于均值为0,标准差为1m的噪声作为监测误差,产生所有监测点的模拟监测值。然后使用模拟监测值对水力模型进行校核。经过水力模型校核后,得到管网中各个节点的校核压力值,将其与模拟数据的真实压力值进行对比,得到校核后压力的绝对误差,并进行统计,以此衡量新布置方案对校核精度提升的程度。According to the reasonable distribution of the total water consumption of the pipe network, the simulated node water demand at a certain time is generated. Through the adjustment calculation, the pressure value of the node where the sensor is located in the pipeline network is obtained, and a noise subject to the mean value of 0 and the standard deviation of 1m is added as the monitoring error, and the simulated monitoring value of all monitoring points is generated. The hydraulic model is then checked using the simulated monitoring values. After checking the hydraulic model, get the check pressure value of each node in the pipe network, compare it with the real pressure value of the simulated data, get the absolute error of the checked pressure, and make statistics to measure the new layout plan The degree to which the calibration accuracy is improved.
如图4所示,节点压力平均绝对误差对比图,包括原监测点,系统随机布置方案以及本方法生成布置方案:As shown in Figure 4, the comparison chart of the mean absolute error of the nodal pressure, including the original monitoring point, the random layout scheme of the system and the layout scheme generated by this method:
本发明提出的新增监测点布置方法,对原模型校核精度的提升是比较明显的,使得节点平均绝对误差从1.09m降低至0.91m;而如果随机布置新监测点,在管网中已存在较多监测点的情况下,即使增加了10个监测点,对校核精度的提升也是很有限的。The method for arranging new monitoring points proposed by the present invention significantly improves the calibration accuracy of the original model, so that the average absolute error of nodes is reduced from 1.09m to 0.91m. When there are many monitoring points, even if 10 monitoring points are added, the improvement of calibration accuracy is very limited.
如图5所示,为绘制压力绝对误差累计概率密度分布图,可以更好地观察节点压力绝对误差的分布情况:As shown in Figure 5, in order to draw the cumulative probability density distribution of the pressure absolute error, the distribution of the node pressure absolute error can be better observed:
本发明提出的新增监测点布置方法,对管网水力模型校核精度的提升是十分明显的,80%节点的压力绝对误差小于1.50m,90%节点的压力绝对误差小于1.83m,95%节点的压力绝对误差小于2.00m。优化布置方案的表现也明显较随机布置方案良好,不仅压力绝对误差的最大值由2.68m降低为2.43m,各个分位点的压力绝对误差都有一定程度的降低。The method for arranging the newly added monitoring points proposed by the present invention significantly improves the checking accuracy of the hydraulic model of the pipe network. The absolute pressure error of 80% nodes is less than 1.50m, the absolute pressure error of 90% nodes is less than 1.83m, and 95% The absolute pressure error of the node is less than 2.00m. The performance of the optimized layout scheme is obviously better than that of the random layout scheme, not only the maximum pressure absolute error is reduced from 2.68m to 2.43m, but also the pressure absolute error at each quantile point is reduced to a certain extent.
这是由于本发明提出的方法能衡量已有监测点的监测能力,将新的传感器布置在那些之前监测点没有关注到的区域,从而对那些原本校核误差非常大的节点优化效果明显。This is because the method proposed in the present invention can measure the monitoring capability of the existing monitoring points, and arranges new sensors in the areas that the monitoring points did not pay attention to before, so that the optimization effect is obvious for those nodes whose original calibration error is very large.
综上所述,本发明提供的新增监测点布置方法,能考虑既有传感器的监测能力,减少监测的盲区,提高校核的精度,具有实用价值。To sum up, the method for arranging new monitoring points provided by the present invention can take into account the monitoring capabilities of existing sensors, reduce the blind area of monitoring, and improve the accuracy of verification, and has practical value.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210622119.7A CN114912291A (en) | 2022-06-01 | 2022-06-01 | Newly-added monitoring point arrangement method and device serving water supply network hydraulic model checking |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210622119.7A CN114912291A (en) | 2022-06-01 | 2022-06-01 | Newly-added monitoring point arrangement method and device serving water supply network hydraulic model checking |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114912291A true CN114912291A (en) | 2022-08-16 |
Family
ID=82770014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210622119.7A Pending CN114912291A (en) | 2022-06-01 | 2022-06-01 | Newly-added monitoring point arrangement method and device serving water supply network hydraulic model checking |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114912291A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116150930A (en) * | 2023-04-20 | 2023-05-23 | 天津智云水务科技有限公司 | Initialization method of node flow in hydraulic model of water supply network based on 3D map information |
-
2022
- 2022-06-01 CN CN202210622119.7A patent/CN114912291A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116150930A (en) * | 2023-04-20 | 2023-05-23 | 天津智云水务科技有限公司 | Initialization method of node flow in hydraulic model of water supply network based on 3D map information |
CN116150930B (en) * | 2023-04-20 | 2023-07-18 | 天津智云水务科技有限公司 | Water supply network hydraulic model node flow initialization method based on 3D map information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhou et al. | Dynamic simulation of natural gas pipeline network based on interpretable machine learning model | |
CN110782366B (en) | Water supply pipe network multi-objective optimization regulation and control method based on scene uncertainty | |
CN109376925B (en) | Dynamic self-adaptive optimization method for node flow in water supply network | |
CN106870955B (en) | Serve the pipe network monitoring point optimization placement method of water supply network node water requirement inverting | |
CN102968529B (en) | Method for quantifying computed result non-determinacy interval of water supply pipe network model | |
CN103742901B (en) | A kind of defining method of Properties of CFB power consumption analysis optimization target values system | |
CN112016175B (en) | A method for optimal arrangement of pressure measuring points in water supply network based on tree-like hierarchical clustering | |
CN112464584B (en) | Method for estimating water level and flow of free surface flow | |
CN112503400B (en) | A multi-objective optimal arrangement method for pressure measuring points in water supply network | |
WO2024098950A1 (en) | Hydrodynamic model parameter optimization method and apparatus, and water level and flow change process simulation method and apparatus | |
CN112113146B (en) | Synchronous self-adaptive check method for roughness coefficient and node water demand of water supply pipe network pipeline | |
CN114912291A (en) | Newly-added monitoring point arrangement method and device serving water supply network hydraulic model checking | |
CN115270637A (en) | Underground drainage pipeline maximum stress prediction method based on GBRT | |
CN108734340A (en) | A kind of river flood forecasting procedure generally changed based on big vast type | |
CN114792051A (en) | Cold-rolling and pickling parameter optimization method for strip steel | |
CN114548680A (en) | Method and system for automatically calibrating parameters of urban storm flood management model | |
CN116484301A (en) | A method and system for abnormal detection of turbine flowmeter based on CART algorithm | |
CN114935688B (en) | Harmonic evaluation method and system for electric arc furnace power supply system based on power segmentation | |
CN111412959A (en) | Flow online monitoring calculation method, monitor and monitoring system | |
CN115907536A (en) | A Reservoir Characteristic Curve Correction Method Based on Interval Error Rate | |
CN110059938A (en) | A kind of distribution network planning method based on correlation rule driving | |
CN102567606B (en) | Method for drawing equal-water-pressure surface of water supply pipeline network in real time | |
CN118609709A (en) | Parameter inversion and optimization method for reservoir numerical simulation based on intelligent agent | |
CN109376957B (en) | A method for predicting the load of a thermal power plant | |
WO2024221808A1 (en) | Method and apparatus for correcting topological data of urban drainage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |