A method for mobile arrangement of pressure monitoring points for water quantity verification of hydraulic model of water supply network

By formulating a calibration plan and optimizing the layout of monitoring points in the hydraulic model of the water supply pipeline network, and using the Jacobian matrix and implicit enumeration method, the problem of low calibration accuracy of the hydraulic model of the water supply pipeline network was solved, and the data volume expansion and calculation efficiency were achieved. Improved, suitable for large-scale and real-time application scenarios.

CN114429034BActive Publication Date: 2024-09-06TONGJI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111610339.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2024-09-06
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

Due to the limited number of monitoring equipment and the low efficiency of traditional calibration methods, the existing hydraulic model of the water supply pipeline network has difficulty in improving the accuracy of model calibration and cannot meet the application scenarios of large-scale pipeline networks and real-time needs.

Method used

By formulating a calibration plan, using the Jacobian matrix and the improved implicit enumeration optimization method, the mobile arrangement of pressure monitoring points is realized, the amount of monitoring data is increased several times, and the accuracy of model calibration is improved. Specific steps include formulating the calibration cycle, initializing the hydraulic model of the pipe network, calculating the monitoring point movement plan, and iteratively adjusting parameters until all calibration cycles are processed.

Benefits of technology

The amount of monitoring data collection under cost control has increased significantly, which improves the acquisition of pipeline network operating status information, reduces model parameter calibration hardware and construction costs, significantly improves computing efficiency, is suitable for real-time calibration scenarios, and gradually improves the accuracy of pipeline network calibration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114429034B
    Figure CN114429034B
Patent Text Reader

Abstract

The present invention discloses a method for mobile arrangement of pressure monitoring points for water quantity calibration of hydraulic model of water supply network, comprising the following steps: dividing the calibration cycle according to the total number of network nodes and the number of pressure monitoring sensors; obtaining the Jacobian matrix of node pressure with respect to node water quantity based on the initialization of the hydraulic model of the network; solving the monitoring point mobile arrangement scheme according to the Jacobian matrix and the improved implicit enumeration optimization method; calibrating and calculating the node water quantity parameters of the hydraulic model of the water supply network according to the monitoring data obtained by the monitoring point position deployment scheme in each calibration cycle, and improving the calculation accuracy. Under the premise of equivalent cost, the present invention can expand the amount of monitoring data collected by several times, increase the spatial density of network pressure monitoring, obtain more network operation status information, and is conducive to improving the model calibration accuracy; under the premise of equivalent model calibration accuracy, the present invention can greatly reduce the hardware cost, construction cost and maintenance cost of model parameter calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of urban water supply system modeling, and in particular to a method for moving and arranging pressure monitoring points for water volume verification of a hydraulic model of a water supply network. Background Art

[0002] The urban water supply network system is the lifeline of the city and an important municipal infrastructure that is indispensable in modern cities. In recent years, with the rapid development of urbanization, the scale of urban water supply network systems has continued to expand and the complexity has gradually increased. In addition, the aging of the network and the high leakage rate of urban water supply networks have led to increasingly higher requirements and technical difficulties in the effective management and operation and maintenance of the network. Using modern digital information means to efficiently manage urban water affairs has become a consensus in the water industry at home and abroad. Establishing a hydraulic model of the water supply network is a core component of information management and one of the core technical means to achieve reasonable planning and transformation of the network, system status diagnosis and real-time operation optimization.

[0003] Under the strategic background of the rapid development of "smart cities" and "smart water affairs" with Internet+, Internet of Things, big data, artificial intelligence, etc., water supply network modeling has received more and more attention. Water supply companies in some domestic cities such as Beijing, Shanghai, Guangzhou, Foshan, etc. have successively established hydraulic models of water supply network. The pipe network model is a simulation model that can accurately represent the actual system under specific modeling purposes. At present, the hydraulic model of the pipe network has played an important role in pipe network planning and design, pipe network renovation and expansion, etc. However, due to the limitation of the accuracy of the pipe network model, the in-depth application of the pipe network model has encountered relevant technical bottlenecks in recent years. For example, the in-depth application of pipe network leakage identification and control, pipe network abnormal state diagnosis, pipe network water quality simulation, and energy-saving optimization based on hydraulic model verification has not achieved ideal application results due to the accuracy of the pipe network model.

[0004] In the process of hydraulic modeling of water supply network, the monitoring data such as network pressure and flow are often used to calibrate the network model to improve the accuracy of the network model. Generally speaking, for a water supply network system, the more monitoring points are arranged, the higher the calibration accuracy of the model will be. However, due to economic investment constraints, the number of monitoring equipment is relatively limited. Some scholars or engineers have proposed various monitoring point optimization layout methods (such as CN105894130B, CN109930658B) to optimize the location of monitoring equipment and monitoring points; however, due to the relatively limited number of monitoring equipment, even if the location of the monitoring points is optimized, the spatial monitoring density of the entire water supply network is still low under the fixed monitoring method, and the lack of real-time operation status monitoring information of the network is still the key bottleneck that makes it difficult to improve the accuracy of the network hydraulic model; for the calibration method, traditionally, random search algorithms such as genetic and BP neural networks, particle swarm algorithms (PSO), and sparrow search algorithms are often used for calibration (CN108898512A, CN112149358A, CN112163301A, CN112733443A, etc.), but this type of random algorithm has low computational efficiency and is difficult to apply to large-scale networks and application scenarios with real-time needs. To sum up, faced with the bottleneck problem of difficulty in improving the calibration accuracy of the hydraulic model of the pipeline network due to relatively few monitoring devices and insufficient monitoring information, the present invention proposes an innovative idea of ​​mobile monitoring, aiming to perform rotation monitoring through mobile devices, increase the amount of monitoring data several times, and construct a corresponding model calibration method, effectively breaking through the technical bottleneck and promoting the development of pipeline network model calibration theory and technology. Summary of the invention

[0005] In response to the above-mentioned problems existing in the prior art, the present application provides a method for mobile arrangement of pressure monitoring points for water quantity calibration of hydraulic model of water supply network. A sufficient amount of network pressure monitoring data can be obtained through a limited number of pressure monitoring sensors, thereby improving the accuracy of model calibration.

[0006] The technical solution of the present invention is as follows:

[0007] A method for moving and arranging pressure monitoring points for water quantity verification of a hydraulic model of a water supply network comprises the following steps:

[0008] S1. Develop a calibration plan, which is divided into round_num calibration cycles. The number of monitoring points in each calibration cycle is sens_num, and the duration of the calibration cycle is t. The monitoring points are the installation locations of the pressure monitoring sensors.

[0009] The total number of monitoring points in the verification plan is:

[0010] length(sens)=sens_num×round_num

[0011] The total duration of the verification plan is:

[0012] T = t × round_num

[0013] S2. Based on the initialization of the pipe network hydraulic model, the Jacobian matrix HQ of the node pressure with respect to the node water volume is obtained;

[0014] S3. Solve the monitoring point movement plan sens_place according to the Jacobian matrix HQ and the improved implicit enumeration optimization method; the monitoring point movement plan sens_place refers to: when changing from the current verification cycle to the next verification cycle, the monitoring point needs to be changed from the current position to which position;

[0015] The mathematical description method of the monitoring point movement plan sens_place is: define the positions of different monitoring points in each verification cycle as a vector, that is, the monitoring point location deployment plan sens_place[k], where k represents the kth verification cycle; the sum of the monitoring point location deployment plans sens_place[k] of all verification cycles is the monitoring point movement plan sens_place;

[0016] S4. According to the time sequence of the verification plan, select the monitoring point location deployment plan sens_place[1] in the first verification cycle, and calculate the node water volume of the hydraulic model of the water supply network by an iterative method;

[0017] S5, calculating the optimal parameter estimation values ​​of the hydraulic model of the water supply network in the verification period, and setting the calculation results as the parameters of the hydraulic model of the water supply network;

[0018] S6. Select the monitoring point location deployment plan sens_place[2] in the second calibration cycle, repeat S4 and S5, and gradually improve the calculation accuracy of the water supply network hydraulic model by adjusting parameters until all calibration cycles are processed.

[0019] Further, step S2 includes the following steps:

[0020] S21. Set the node association matrix A of the water supply network:

[0021]

[0022] S22. Use the Hessing-Williams equation to calculate the partial differential of the head loss with respect to the pipe section:

[0023]

[0024] Where: h is the head loss, K uis the unit conversion factor, d, L, q and c are the pipe diameter (mm), pipe length (m), water volume (L / s) and Hessin-Williams coefficient;

[0025] S23. Write the partial differential of the head loss to the pipe section in the form of a diagonal matrix:

[0026]

[0027] S24. Calculate the Jacobian matrix HQ of node pressure with respect to node water volume according to the following formula:

[0028] HQ=-(ABA T ) -1 .

[0029] Further, step S3 includes the following steps:

[0030] S31. According to the Jacobian matrix HQ, construct the objective function:

[0031]

[0032] Where: n is the total number of nodes in the water supply network, sens is the index of the monitoring point location;

[0033] S32, using the improved implicit enumeration optimization method to solve the objective function f(sens), and obtain a vector, namely, the total arrangement of monitoring point positions sensall_vector; the total arrangement of monitoring point positions sensall_vector describes the node index set of all monitoring points;

[0034] S33, use kmeans++ method to cluster all monitoring points in sensall_vector according to spatial position, and the number of classification groups cluster_num is equal to the number of monitoring points sens_num;

[0035] S34, sorting the monitoring points in each classification group from large to small according to the 1-norm of their sensitivity vectors to obtain a monitoring point position sequence; the sensitivity vector refers to a row in the Jacobian matrix HQ, wherein the sensitivity vector of the monitoring point i is the i-th row of the Jacobian matrix HQ; the monitoring point position sequence represents different positions of the same pressure monitoring sensor in each calibration cycle;

[0036] If the length of the monitoring point position sequence is less than the calibration period round_num, monitoring points are added to the end of the sequence in a cyclic manner until the length of the sequence is equal to the calibration period round_num;

[0037] S35. For the first calibration cycle, select the first data from the monitoring point position sequence of each classification group in turn, and obtain a vector with a dimension equal to the number of monitoring points sens_num. This vector is the monitoring point position deployment plan sens_place[1] for the first calibration cycle. For the second calibration cycle, select the second data from the monitoring point position sequence of each classification group in turn, and also obtain a vector with a dimension equal to the number of monitoring points sens_num. This vector is the monitoring point position deployment plan sens_place[2] for the second calibration cycle. And so on, the monitoring point position deployment plan for all calibration cycles is obtained, which is the monitoring point movement plan sens_place.

[0038] Further, step S4 includes the following steps:

[0039] S41, divide the current verification cycle into M time periods, marked as: time period t1, time period t2, ..., time period t M ;

[0040] S42, setting a vector Q[t] for describing the water volume arrangement of all nodes; the dimension of the vector Q[t] is equal to the total number of nodes in the model, and the value of each dimension represents the water volume of the corresponding node;

[0041] S43. For time period t1, set the initial value Q[t1] of Q[t] to the average value of the total water volume of the model:

[0042] Q[t1]=ones(1,n)*Q avg

[0043] Q avg =Q total / n

[0044] Where: Q total is the total water volume of the model (L / s), Q avg is the average water volume of the model nodes (L / s), ones(1,n) is a row vector whose length is the total number of nodes n and whose elements are all 1;

[0045] S44. Assuming that the current time is the kth calibration cycle, read the monitoring point location deployment plan sens_place[k], and set the pressure error amount that needs to be eliminated in the target iteration:

[0046] dH=H o [sens]-H s [sens]

[0047] Where: H o is the pressure measured by the pressure monitoring sensor (m), H s is the corrected pressure of each iteration (m);

[0048] S45, solving the Jacobian matrix HQ of the pipe network model when the water volume arrangement is Q[t1];

[0049] S46, solving the equation HQ×dQ=dH, and obtaining the correction amount dQ of Q[t1];

[0050] S47, through the formula Q[t1] n+1 =Q[t1] n +dQ calculates the water volume arrangement Q[t1] for the next iteration n+1 ;

[0051] S48, when dH is less than the set allowable error threshold, the iteration stops, and the result obtained at this time is the final result of the water volume arrangement Q[t1] of time period t1;

[0052] S49, taking Q[t1] as the initial value, calculating the water volume arrangement Q[t2] for time period t2; and so on, repeating S45 to S48 until the water volume arrangement Q[t] for all time periods is calculated;

[0053] S410. Arrange all the obtained single-period water consumption in time sequence to obtain a node water consumption pattern; the node water consumption pattern refers to the coefficient of the water consumption of the water-using node in the pipe network model that changes with time.

[0054] Furthermore, the specific steps of the improved implicit enumeration optimization method in step S32 are as follows:

[0055] S51, set a vector sensall_init, which is a node index set of all monitoring points;

[0056] S52. Randomly arrange all nodes to obtain an entry point group N. in (i) and select an entry point in sequence;

[0057] S53, randomly arrange all the initial solution vector elements to obtain an output point group N out (j) Let the entry point replace the exit point in sequence to obtain a new solution sensall_new;

[0058] S54, substituting the original solution sensall_init and the new solution sensall_new into the objective function of step S31, solving the original solution f(sensall_init) and the new solution f(sensall_new), and selecting the better solution to enter the next iteration;

[0059] S55. Repeat S52, S53, and S54 until no better solution can be generated; the final solution obtained is the total arrangement of the monitoring point positions sensall_vector.

[0060] Furthermore, the specific method of step S44 is as follows:

[0061] Let HQ be A, dH be b, and dQ be the unknown number x to be solved. Then the process of solving Ax=b by iterative method is as follows:

[0062]

[0063] b2=bA·dx1

[0064]

[0065] b3=b2-A·dx2

[0066] …

[0067]

[0068] b n+1 =b n -A·dx n

[0069] …

[0070] After the iteration is completed, the number of iterations is N, and the value of x is:

[0071]

[0072] Where: sum(A, axis = 0) means the sum of the columns of matrix A, sum(A, axis = 1) means the sum of the rows of matrix A, abs(A) means the absolute value of matrix A, and all multiplication and division are bitwise multiplication and division.

[0073] The beneficial technical effects of the present invention are:

[0074] (1) Under the premise of comparable cost, the present invention can expand the amount of monitoring data collected by several times, increase the density of monitoring of the pressure space of the pipe network, obtain more information on the operation status of the pipe network, and provide a solid data foundation for improving the accuracy of the hydraulic model calibration of the water supply pipe network;

[0075] (2) Under the premise of the same model calibration accuracy, the present invention can significantly reduce the hardware cost, construction cost and maintenance cost of model parameter calibration; moreover, compared with the traditional random search algorithm, the numerical solution proposed in the present invention can significantly reduce the calculation time, improve the calculation efficiency, and has better adaptability to the application scenario of real-time calibration;

[0076] (3) The present invention has the ability to accumulate and absorb the continuous accumulation of monitoring data, that is, as the monitoring data accumulates in the time dimension and the space dimension, the calibration accuracy of the pipeline network gradually improves in the overall trend, approaching the corresponding calibration accuracy when all nodes are equipped with monitoring equipment.

[0077] The present invention can be applied to water supply network model parameter verification, operation status diagnosis, etc., and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] Attached Figure 1 is a pipe network topology diagram of an embodiment;

[0079] Attached Figure 2 It is a schematic diagram of the monitoring point movement plan;

[0080] Attached Figure 3 Schematic diagram of the process of moving and arranging monitoring points of the pipe network in the embodiment;

[0081] Attached Figure 4 is a curve showing a change in absolute pressure calibration error of all nodes during mobile monitoring of the pipe network in the embodiment;

[0082] Attached Figure 5 It is a curve showing the relative calibration error variation of all-node flow in the mobile monitoring process of the pipe network in the embodiment;

[0083] Attached Figure 6 It is a curve of relative calibration error change of flow rate in the whole pipe section during mobile monitoring of the pipe network in the embodiment. DETAILED DESCRIPTION

[0084] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0085] The embodiment is a water supply network model of an engineering case, as shown in the attached Figure 1 The pipe network system has 4 water supply sources, each with a time mode, a total of 484 water nodes, 17 node water consumption modes, 17 nodes are divided into 17 groups and each is assigned a random water consumption mode, the baseline water consumption is randomly set, the total number of pipes is 567, and the roughness coefficient of the pipe is randomly set, ranging from 90 to 130.

[0086] The steps for parameter verification are as follows:

[0087] S1. Develop a calibration plan, which is divided into round_num calibration cycles. The number of monitoring points in each calibration cycle is sens_num (i.e., the number of movable pressure monitoring sensors), and the duration of the calibration cycle is t; the monitoring point is the installation location of the pressure monitoring sensor.

[0088] For the embodiment, round_num=20, sens_num=10, t=24 hours.

[0089] The total number of monitoring points in the verification plan is:

[0090] length(sens)=sens_num×round_num=10×20=200

[0091] The total duration of the verification plan is:

[0092] T = t × round_num = 24 × 20 = 480 (hours)

[0093] S2. Based on the initialization of the pipe network hydraulic model, obtain the Jacobian matrix HQ of the node pressure with respect to the node water volume. The specific steps are as follows:

[0094] (2-1) Set the node association matrix A of the water supply network:

[0095]

[0096] (2-2) Use the Hessian-Williams equation to calculate the partial differential of the head loss with respect to the pipe section:

[0097]

[0098] Where: h is the head loss, K u is the unit conversion factor, d, L, q and c are the pipe diameter (mm), pipe length (m), water volume (L / s) and Hessin-Williams coefficient;

[0099] (2-3) Write the partial differential of the head loss to the pipe section in the form of a diagonal matrix:

[0100]

[0101] (2-4) The Jacobian matrix HQ of node pressure with respect to node water volume is calculated according to the following formula:

[0102] HQ=-(ABA T ) -1

[0103] S3. According to the Jacobian matrix HQ and the improved implicit enumeration optimization method, the monitoring point movement plan sens_place is solved. The monitoring point movement plan sens_place refers to: when changing from the current calibration cycle to the next calibration cycle, the monitoring point needs to change from the current position to which position, as shown in the attached Figure 2 shown.

[0104] The mathematical description method of the monitoring point movement plan sens_place is: define the positions of different monitoring points in each calibration cycle as a vector, that is, the monitoring point position deployment plan sens_place[k], where k represents the kth calibration cycle; the sum of the monitoring point position deployment plans sens_place[k] of all calibration cycles is the monitoring point movement plan sens_place.

[0105] The specific steps are as follows:

[0106] (3-1) According to the Jacobian matrix HQ, construct the objective function:

[0107]

[0108] Where: n is the total number of nodes in the water supply network, and sens is the index of the monitoring point location.

[0109] (3-2) Use the improved implicit enumeration optimization method to solve the objective function f(sens) and obtain a vector, namely the total arrangement of monitoring point locations sensall_vector. The total arrangement of monitoring point locations sensall_vector describes the node index set of all monitoring points. The specific steps are as follows:

[0110] (3-2-1) Set a vector sensall_init, which is the node index set of all monitoring points;

[0111] (3-2-2) Randomly arrange all nodes to obtain an entry point group N in (i) and select an entry point in sequence;

[0112] (3-2-3) Randomly arrange all the initial solution vector elements to obtain an output point group N out (j) Let the entry point replace the exit point in sequence to obtain a new solution sensall_new;

[0113] (3-2-4) Substitute the original solution sensall_init and the new solution sensall_new into the objective function of step S31, solve the original solution f(sensall_init) and the new solution f(sensall_new), and select the better solution to enter the next iteration;

[0114] (3-2-5) Repeat S52, S53, and S54 until no better solution can be generated; the final solution obtained is the total arrangement of the monitoring point locations, sensall_vector.

[0115] (3-3) Use the kmeans++ method to cluster all monitoring points in sensall_vector according to their spatial positions. The number of classification groups cluster_num is equal to the number of monitoring points sens_num.

[0116] (3-4) The monitoring points in each classification group are sorted from large to small according to the 1-norm of their sensitivity vectors to obtain a monitoring point position sequence; the sensitivity vector here refers to a row in the Jacobian matrix HQ, where the sensitivity vector of monitoring point i is the i-th row of the Jacobian matrix HQ; if the length of the monitoring point position sequence is less than the calibration cycle round_num, monitoring points are added to the end of the sequence in a cyclic manner until the length of the sequence is equal to the calibration cycle round_num; the monitoring point position sequence represents the different positions of the same pressure monitoring sensor in each calibration cycle.

[0117] (3-5) For the first calibration cycle, the first data is selected from the monitoring point position sequence of each classification group in turn, and a vector with a dimension equal to the number of monitoring points sens_num is obtained. This vector is the monitoring point position deployment plan sens_place[1] for the first calibration cycle; for the second calibration cycle, the second data is selected from the monitoring point position sequence of each classification group in turn, and a vector with a dimension equal to the number of monitoring points sens_num is obtained. This vector is the monitoring point position deployment plan sens_place[2] for the second calibration cycle; and so on, the monitoring point position deployment plan for all calibration cycles is obtained, which is the monitoring point movement plan sens_place. The monitoring point movement process of the embodiment is shown in the attached figure. Figure 3 shown.

[0118] S4. According to the time sequence of the verification plan, select the monitoring point location deployment plan sens_place[1] in the first verification cycle, and calculate the node water volume of the water supply network hydraulic model through the iteration method. The specific steps are as follows:

[0119] (4-1) The current verification period is divided into M time periods, marked as: time period t1, time period t2, ..., time period t M ;

[0120] (4-2) Setting a vector Q[t] to describe the water volume arrangement of all nodes; the dimension of the vector Q[t] is equal to the total number of nodes in the model, and the value of each dimension represents the water volume of the corresponding node;

[0121] (4-3) For time period t1, set the initial value Q[t] Q[t1] to the average value of the total water volume of the model:

[0122] Q[t1]=ones(1,n)*Q avg

[0123] Q avg =Q total / n

[0124] Where: Q total is the total water volume of the model (L / s), Q avg is the average water volume of the model nodes (L / s), ones(1,n) is a row vector whose length is the total number of nodes n and whose elements are all 1;

[0125] (4-4) Assuming that the current time is the kth calibration cycle, read the monitoring point location deployment plan sens_place[k], and set the pressure error amount that needs to be eliminated in the target iteration:

[0126] dH=H o [sens]-H s [sens]

[0127] Where: H o is the pressure measured by the pressure monitoring sensor (m), H s is the corrected pressure of each iteration (m);

[0128] (4-5) Solve the Jacobian matrix HQ of the pipe network model when the water volume arrangement is Q[t1];

[0129] (4-6) Solve the equation HQ×dQ=dH to obtain the correction value dQ of Q[t1];

[0130] (4-7) Through the formula Q[t1] n+1 =Q[t1] n +dQ calculates the water volume arrangement Q[t1] for the next iteration n+1 ;

[0131] (4-8) When dH is less than the set allowable error threshold, the iteration stops, and the result obtained at this time is the final result of the water volume arrangement Q[t1] of time period t1;

[0132] (4-9) Taking Q[t1] as the initial value, calculate the water volume arrangement Q[t2] of time period t2; and so on, repeat S45 to S48 until the water volume arrangement Q[t] of all time periods is calculated;

[0133] (4-10) By connecting the water consumption of all time periods, the node water consumption pattern can be obtained.

[0134] S5, calculating the optimal parameter estimation values ​​of the hydraulic model of the water supply network in the verification period, and setting the calculation results as the parameters of the hydraulic model of the water supply network;

[0135] S6. Select the monitoring point location deployment plan sens_place[2] in the second calibration cycle, repeat S4 and S5, and gradually improve the calculation accuracy of the water supply network hydraulic model by adjusting parameters until all calibration cycles are processed.

[0136] The parameter verification results are evaluated and calculated using the following indicators:

[0137] Absolute error of node pressure:

[0138]

[0139] Relative error of node traffic:

[0140]

[0141] Relative error of pipe flow rate:

[0142]

[0143] Among them, H true , Q true ,q true are the actual node pressure, node flow, and pipeline flow values ​​set for the case network, respectively. s , Q s ,q s They are respectively the simulated node pressure, node flow and pipeline flow values ​​after the case pipeline network verification.

[0144] The results of the mobile monitoring process parameter verification and evaluation are as attached. Figures 4 to 6 shown.

[0145] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and implementation modes, and can be fully applicable to various fields suitable for the present invention. For those familiar with the art, for those of ordinary skill in the art, various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principle and spirit of the present invention. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to specific details.

Claims

1. A method for moving and arranging pressure monitoring points for water quantity verification of hydraulic model of water supply network, characterized in that: The following steps are involved: S1. Develop a calibration plan, which is divided into round_num calibration cycles. The number of monitoring points in each calibration cycle is sens_num, and the duration of the calibration cycle is t. The monitoring points are the installation locations of the pressure monitoring sensors. The total number of monitoring points in the verification plan is: length(sens)=sens_num×round_num The total duration of the verification plan is: T = t × round_num S2. Based on the initialization of the pipe network hydraulic model, the Jacobian matrix HQ of the node pressure with respect to the node water volume is obtained; S3. Solve the monitoring point movement plan sens_place according to the Jacobian matrix HQ and the improved implicit enumeration optimization method; the monitoring point movement plan sens_place refers to: when changing from the current verification cycle to the next verification cycle, the monitoring point needs to be changed from the current position to which position; The mathematical description method of the monitoring point movement plan sens_place is: define the positions of different monitoring points in each verification cycle as a vector, that is, the monitoring point location deployment plan sens_place[k], where k represents the kth verification cycle; the sum of the monitoring point location deployment plans sens_place[k] of all verification cycles is the monitoring point movement plan sens_place; S4. According to the time sequence of the verification plan, select the monitoring point location deployment plan sens_place[1] in the first verification cycle, and calculate the node water volume of the hydraulic model of the water supply network by an iterative method; S5, calculating the optimal parameter estimation values ​​of the hydraulic model of the water supply network in the verification period, and setting the calculation results as the parameters of the hydraulic model of the water supply network; S6, select the monitoring point location deployment plan sens_place[2] in the second calibration cycle, repeat S4 and S5, and gradually improve the calculation accuracy of the water supply network hydraulic model by adjusting parameters until all calibration cycles are processed; Step S2 includes the following steps: S21. Set the node association matrix A of the water supply network: S22. Use the Hessing-Williams equation to calculate the partial differential of the head loss with respect to the pipe section: Where: h is the head loss, K u is the unit conversion factor, d, L, q and c are the pipe diameter, pipe length, water volume and Hessin-Williams coefficient of the pipeline; S23. Write the partial differential of the head loss to the pipe section in the form of a diagonal matrix: S24. Calculate the Jacobian matrix HQ of node pressure with respect to node water volume according to the following formula: HQ=-(ABA T ) -1 ; Step S3 includes the following steps: S31. According to the Jacobian matrix HQ, construct the objective function: Where: n is the total number of nodes in the water supply network, sens is the index of the monitoring point location; S32, using the improved implicit enumeration optimization method to solve the objective function f(sens), and obtain a vector, namely, the total arrangement of monitoring point positions sensall_vector; the total arrangement of monitoring point positions sensall_vector describes the node index set of all monitoring points; S33, use kmeans++ method to cluster all monitoring points in sensall_vector according to spatial position, and the number of classification groups cluster_num is equal to the number of monitoring points sens_num; S34, sorting the monitoring points in each classification group from large to small according to the 1-norm of their sensitivity vectors to obtain a monitoring point position sequence; the sensitivity vector refers to a row in the Jacobian matrix HQ, wherein the sensitivity vector of the monitoring point i is the i-th row of the Jacobian matrix HQ; the monitoring point position sequence represents different positions of the same pressure monitoring sensor in each calibration cycle; If the length of the monitoring point position sequence is less than the calibration period round_num, monitoring points are added to the end of the sequence in a cyclic manner until the length of the sequence is equal to the calibration period round_num; S35. For the first calibration cycle, select the first data from the monitoring point position sequence of each classification group in turn, and obtain a vector with a dimension equal to the number of monitoring points sens_num. This vector is the monitoring point position deployment plan sens_place[1] for the first calibration cycle. For the second calibration cycle, select the second data from the monitoring point position sequence of each classification group in turn, and also obtain a vector with a dimension equal to the number of monitoring points sens_num. This vector is the monitoring point position deployment plan sens_place[2] for the second calibration cycle. Similarly, the monitoring point position deployment plans for all calibration cycles are obtained, which is the monitoring point movement plan sens_place. Step S4 includes the following steps: S41, divide the current verification cycle into M time periods, marked as: time period t1, time period t2, ..., time period t M ; S42, setting a vector Q[t] for describing the water volume arrangement of all nodes; the dimension of the vector Q[t] is equal to the total number of nodes in the model, and the value of each dimension represents the water volume of the corresponding node; S43. For time period t1, set the initial value Q[t1] of Q[t] to the average value of the total water volume of the model: Q[t1]=ones(1,n)*Q avg Q avg =Q total / n Where: Q total is the total water volume of the model, Q avg is the average water volume of the model nodes L / s, ones(1, n) is a row vector whose length is the total number of nodes n and whose elements are all 1; S44. Assuming that the current time is the kth calibration cycle, read the monitoring point location deployment plan sens_place[k], and set the pressure error amount that needs to be eliminated in the target iteration: dH=H o [sens]-H s [sens] Where: H o is the pressure measured by the pressure monitoring sensor, H s is the corrected pressure for each iteration; S45, solving the Jacobian matrix HQ of the pipe network model when the water volume arrangement is Q[t1]; S46, solving the equation HQ×dQ=dH, and obtaining the correction amount dQ of Q[t1]; S47, through the formula Q[t1] n+1 =Q[t1] n +dQ calculates the water volume arrangement Q[t1] for the next iteration n+1 ; S48, when dH is less than the set allowable error threshold, the iteration stops, and the result obtained at this time is the final result of the water volume arrangement Q[t1] of time period t1; S49, taking Q[t1] as the initial value, calculating the water volume arrangement Q[t2] for time period t2; and so on, repeating S45 to S48 until the water volume arrangement Q[t] for all time periods is calculated; S410, arranging all the obtained single-period water consumption in time sequence to obtain a node water consumption pattern; the node water consumption pattern refers to the coefficient of water consumption of the water-using node in the pipe network model that changes with time; The specific steps of the improved implicit enumeration optimization method in step S32 are as follows: S51, set a vector sensall_init, which is a node index set of all monitoring points; S52. Randomly arrange all nodes to obtain an entry point group N in (i) and select an entry point in sequence; S53, randomly arrange all the initial solution vector elements to obtain an output point group N out (j) Let the entry point replace the exit point in sequence to obtain a new solution sensall_new; S54, substituting the original solution sensall_init and the new solution sensall_new into the objective function of step S31, solving the original solution f(sensall_init) and the new solution f(sensall_new), and selecting the better solution to enter the next iteration; S55. Repeat S52, S53, and S54 until no better solution can be generated; the final solution obtained is the total arrangement of the monitoring point positions, sensall_vector.

2. The method for moving and arranging pressure monitoring points for water volume verification of a hydraulic model of a water supply network according to claim 1, characterized in that: The specific method of step S44 is as follows: Let HQ be A, dH be b, and dQ be the unknown number x to be solved. Then the process of solving Ax=b by iterative method is as follows: b2=bA·dx1 b3=b2-A·dx2 …… b n+1 =b n -A·dx n …… After the iteration is completed, the number of iterations is N, and the value of x is: Wherein: sum(A, axis=0) represents the sum of the columns of matrix A, sum(A, axis=1) represents the sum of the rows of matrix A, abs(A) represents the absolute value of matrix A, and all multiplication and division are bitwise multiplication and division.