Water supply network repair method, device, electronic equipment and computer storage medium

By constructing a topological structure model of the water supply pipeline network and a multi-objective function optimization method, combined with genetic algorithms and non-dominated sorting, the problem of comprehensive consideration of operating status and cost in water supply pipeline network maintenance is solved, a cost-effective repair plan is achieved, and the efficiency is improved. User experience and repair effects.

CN118332745BActive Publication Date: 2024-09-03POWERCHINA HUADONG ENG CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410756276.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-03
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

During the maintenance and repair process of the water supply pipeline network, it is difficult for the existing technology to fully consider the operating status and maintenance costs of the water supply pipeline network, resulting in poor user experience. Moreover, the traditional genetic algorithm cannot effectively solve the multi-objective optimization problem, and there is a fitness value conflict. and uncertainty.

Method used

By obtaining the basic parameters of the water supply pipe network, constructing a topological structure model, updating operating data, determining adjustment plans, and using multi-objective function optimization methods, combined with genetic algorithms and non-dominated sorting, to optimize pipe network adjustment and fitness calculations, and obtain the best results. Excellent repair solution.

Benefits of technology

It reduces repair costs, improves pipe network reliability, and improves user experience within the range of economic flow rates and reasonable pressures. It solves the problems of multi-objective conflicts and uncertainties in traditional methods, and improves the scientificity and rationality of the repair plan. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118332745B
    Figure CN118332745B
Patent Text Reader

Abstract

The present invention provides a method, device, electronic device and computer storage medium for repairing a water supply network, and relates to the technical field of municipal water supply pipelines. The method includes: constructing a topological structure model of a water supply network; verifying and updating the model based on operation data; determining an adjustment plan for the water supply network; jointly solving the first objective function and the second objective function to determine the initial population in the adjustment plan; encoding the initial population and performing network adjustment and fitness calculation to obtain fitness; wherein the fitness calculation function is jointly constrained based on the third objective function and the fourth objective function; continuing to perform non-dominated sorting and congestion calculation to obtain a new parent population; iteratively updating the new parent population; until a water supply network repair plan is obtained; optimizing the adjustment plan based on a multi-objective function to determine a repair plan, and through the multi-objective function constraint, comprehensively considering the operating status and maintenance cost of the water supply network, thereby improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of municipal water supply pipelines, and in particular to a water supply pipeline network repair method, device, electronic equipment and computer storage medium. Background Art

[0002] As an important underground infrastructure in the city, the urban water supply network is the material basis for the survival and development of society. It is called the "lifeline" of the city and plays an irreplaceable role in the entire economic, cultural, and life fields.

[0003] For the water supply network system, its complete optimization process includes three stages: planning, design, and operation and maintenance management. During the operation and maintenance stage, there are pain points such as pipe damage, insufficient pipe pressure, and pipe burst. The most important and difficult part of the maintenance and repair of the water supply system is the repair of the water supply network. At present, the repair of the water supply network has always been the main research difficulty in the field of water supply. In view of the characteristics and operation characteristics of the water supply system, maintenance and repair are necessary and long-term tasks for the water supply system. At the same time, the repair of the water supply network is a complex problem, and multiple aspects need to be paid attention to in the solution process. This is a discrete variable, nonlinear, multi-objective optimization problem.

[0004] At present, during the maintenance phase of the water supply network, the repair plan is mostly optimized for a single goal, which fails to fully consider the operating status and maintenance costs of the water supply network, resulting in poor user experience. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a water supply network repair method, device, electronic device and computer storage medium. By obtaining an adjustment plan for the water supply network and optimizing the adjustment plan based on a multi-objective function, a water supply network repair plan is finally determined. Through multi-objective function constraints, the operating status and maintenance cost of the water supply network are fully considered, thereby improving the user experience.

[0006] In a first aspect, the present invention provides a method for repairing a water supply network, comprising: obtaining basic parameters of the water supply network, and constructing a water supply network topology model based on the basic parameters; verifying and updating the water supply network topology model based on operating data of the water supply network; determining an adjustment plan for the water supply network based on daily maintenance information and simulated operating condition data of the water supply network; respectively bringing the adjustment plan into a first objective function with the corresponding pipeline flow rate as the economic flow rate as a constraint target and a second objective function with satisfying a reasonable range of node pressure of the water supply network as a constraint target to obtain a plurality of first objective function values ​​and a plurality of second objective function values; sorting the first objective function values ​​and the second objective function values ​​from small to large, selecting a preset proportion of the front first objective function values, and using the adjustment plan corresponding to the selected first objective function value as the first objective function value. The method comprises the following steps: selecting a target adjustment plan, selecting a preset proportion of the front second objective function value, taking the adjustment plan corresponding to the selected second objective function value as the second objective adjustment plan, merging the first objective adjustment plan and the second objective adjustment plan as the initial population; encoding the initial population based on the preset pipe diameter code; performing pipe network adjustment and fitness calculation on the chromosomes in the encoded initial population in turn to obtain the fitness; wherein the fitness calculation function is based on the third objective function with the minimization of the annual repair cost during the investment period as the constraint target and the fourth objective function with the pipe network reliability performance evaluation as the constraint target, and constraining the chromosomes together; performing non-dominated sorting and congestion calculation on the chromosomes whose fitness meets the preset fitness threshold to obtain a new parent population; iteratively updating the new parent population; and taking the new parent population that meets the preset number of iterations as the water supply pipe network repair plan.

[0007] In some preferred embodiments of the present invention, the step of iteratively updating the new parent population includes: performing genetic processing on the new parent population to obtain a child population; wherein the genetic processing includes at least one of the following: selection, crossover and mutation; determining a new population based on the new parent population and the child population processed by the elite retention strategy; performing non-dominated sorting and crowding calculation on the new population; and updating the new parent population based on the number of layers of the non-dominated sorting and the results of the crowding calculation.

[0008] In some preferred embodiments of the present invention, the step of pipe network adjustment includes: calculating the closure error of the pipe network nodes of the water supply network based on the pipe network data of the water supply network and a preset calculation accuracy; wherein the pipe network data includes the node water pressure; if the closure error meets the preset accuracy, the node water pressure is determined as the node target water pressure; if the closure error does not meet the preset accuracy, adjusting the node water pressure based on the Jacobian matrix of the node water pressure until the closure error meets the preset accuracy.

[0009] In some preferred embodiments of the present invention, the fitness is calculated by the following formula: ; Where F(k) is the fitness function, is the first weighted, is the second weight, W x is the third objective function, W xmin is the minimum value of the third objective function, W xmax is the maximum value of the third objective function, W y is the fourth objective function, W ymin is the minimum value of the fourth objective function, W ymax is the maximum value of the fourth objective function.

[0010] In some preferred embodiments of the present invention, the non-dominated sorting step includes: defining the domination count of each solution and the solution set dominated by the solution; determining the first non-inferior layer through all solutions; updating the levels based on the domination count and the solution set dominated by the solution until a level is empty.

[0011] In some preferred embodiments of the present invention, the congestion degree is calculated based on the following formula: ; where i distance is the crowding distance of individuals in non-dominated sorting, r is the number of objective functions, is the fitness function of the i+1th individual on the jth target, is the fitness function of the i-1th individual on the jth target.

[0012] In a second aspect, the present invention provides a water supply network repair device, including: a model building module, used to obtain basic parameters of the water supply network, and build a water supply network topology model based on the basic parameters; a model updating module, used to verify and update the water supply network topology model based on the operation data of the water supply network; an adjustment scheme processing module, used to determine the adjustment scheme of the water supply network based on the daily maintenance information of the water supply network and the simulated operation condition data; an initial population processing module, used to bring the adjustment scheme into a first objective function with the corresponding pipeline flow rate as the economic flow rate as the constraint target and a second objective function with the reasonable range of node pressure of the water supply network as the constraint target, respectively, to solve, to obtain multiple first objective function values ​​and multiple second objective function values, to sort the first objective function values ​​and the second objective function values ​​from small to large, to select a preset proportion of the front first objective function values, to use the adjustment scheme corresponding to the selected first objective function value as the first target adjustment scheme, and to select A preset proportion of the front second objective function value, the selected second objective function value corresponding adjustment plan is used as the second objective adjustment plan, and the first objective adjustment plan and the second objective adjustment plan are combined as the initial population; a population encoding module is used to encode the initial population based on the preset pipe diameter code; a fitness calculation module is used to perform pipe network adjustment and fitness calculation on the chromosomes in the encoded initial population in turn to obtain fitness; wherein the fitness calculation function is based on the third objective function with the minimization of the annual repair cost during the investment period as the constraint target and the fourth objective function with the pipe network reliability performance evaluation as the constraint target; a new parent population processing module is used to perform non-dominated sorting and congestion calculation on the chromosomes whose fitness meets the preset fitness threshold to obtain a new parent population; a new parent population updating module is used to iteratively update the new parent population; a water supply network repair plan determination module is used to use the new parent population that meets the preset number of iterations as the water supply network repair plan.

[0013] In some preferred embodiments of the present invention, the new parent population update module is used to perform genetic processing on the new parent population to obtain a child population; wherein the genetic processing includes at least one of the following: selection, crossover and mutation; determining a new population based on the new parent population and the child population processed by the elite retention strategy; performing non-dominated sorting and crowding calculation on the new population; updating the new parent population based on the number of layers of the non-dominated sorting and the results of the crowding calculation.

[0014] In a third aspect, the present invention provides an electronic device comprising a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement any of the above-mentioned water supply network repair methods.

[0015] In a fourth aspect, the present invention provides a computer storage medium storing computer executable instructions. When the computer executable instructions are called and executed by a processor, the computer executable instructions prompt the processor to implement any of the above-mentioned water supply network repair methods.

[0016] The present invention brings the following beneficial effects:

[0017] The present invention provides a method, device, electronic device and computer storage medium for repairing a water supply network. The method comprises: obtaining basic parameters of the water supply network, and constructing a topological structure model of the water supply network based on the basic parameters; verifying and updating the topological structure model of the water supply network based on the operation data of the water supply network; determining an adjustment plan for the water supply network based on the daily maintenance information and simulated operation condition data of the water supply network; respectively bringing the adjustment plan into a first objective function with the corresponding pipeline flow rate as the economic flow rate as the constraint target and a second objective function with satisfying the reasonable range of node pressure of the water supply network as the constraint target to solve, and obtaining a plurality of first objective function values ​​and a plurality of second objective function values; sorting the first objective function values ​​and the second objective function values ​​from small to large, selecting a preset proportion of the first objective function values ​​at the front, using the adjustment plan corresponding to the selected first objective function value as the first target adjustment plan, selecting a preset proportion of the second objective function values ​​at the front, and using the selected second objective function values ​​as the first target adjustment plan. The adjustment scheme corresponding to the value is used as the second target adjustment scheme, and the first target adjustment scheme and the second target adjustment scheme are merged as the initial population; the initial population is encoded based on the preset pipe diameter code; the chromosomes in the encoded initial population are subjected to pipe network adjustment and fitness calculation in turn to obtain fitness; wherein, the fitness calculation function is based on the third objective function with the minimization of the annual repair cost during the investment period as the constraint target and the fourth objective function with the pipe network reliability performance evaluation as the constraint target, which are jointly constrained; the chromosomes whose fitness meets the preset fitness threshold are subjected to non-dominated sorting and congestion calculation to obtain a new parent population; the new parent population is iteratively updated; the new parent population that meets the preset number of iterations is used as the water supply network repair scheme; by obtaining the adjustment scheme of the water supply network and optimizing the adjustment scheme based on the multi-objective function, the water supply network repair scheme is finally determined, and the operating status and maintenance cost of the water supply network are comprehensively considered through the multi-objective function constraint, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 A flow chart of a water supply network repair method provided by an embodiment of the present invention;

[0020] Figure 2 A flow chart of adjustment calculation provided by an embodiment of the present invention;

[0021] Figure 3 A schematic diagram of a non-dominated sorting calculation provided by an embodiment of the present invention;

[0022] Figure 4 A schematic diagram of congestion calculation provided by an embodiment of the present invention;

[0023] Figure 5 A flow chart of a population iteration method provided by an embodiment of the present invention;

[0024] Figure 6 A schematic diagram of a crossover operation provided by an embodiment of the present invention;

[0025] Figure 7 A schematic diagram of a variation operation provided by an embodiment of the present invention;

[0026] Figure 8 A schematic diagram of a model of the current status of a water supply network provided by an embodiment of the present invention;

[0027] Fig. 9 A schematic diagram of a pipe network adjustment analysis provided by an embodiment of the present invention;

[0028] Fig.10 A schematic diagram of flow distribution of each pipe section in area B provided in an embodiment of the present invention;

[0029] Fig.11 A schematic diagram of the distribution of head loss in each pipe section of region B provided in an embodiment of the present invention;

[0030] Fig.12 A schematic diagram of flow velocity distribution of each pipe section in region B provided in an embodiment of the present invention;

[0031] Fig.13 A schematic diagram of a water supply network repair device provided by an embodiment of the present invention;

[0032] Fig.14 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0033] Icons: 310-model building module; 320-model updating module; 330-adjustment scheme processing module; 340-initial population processing module; 350-population encoding module; 360-fitness calculation module; 370-new parent population processing module; 380-new parent population updating module; 390-water supply network repair scheme determination module; 400-memory; 401-processor; 402-bus; 403-communication interface. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0035] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.

[0036] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0037] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0038] In addition, the terms "horizontal", "vertical", "overhanging" and the like do not mean that the components are required to be absolutely horizontal or overhanging, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0039] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0040] As an important underground infrastructure in the city, the urban water supply network is the material basis for the survival and development of the society. It is called the "lifeline" of the city and plays an irreplaceable role in the entire economy, culture, life and other fields. For the water supply network system, its complete optimization process includes three stages: planning, design, operation and maintenance management. Among them, the optimization design of the water supply network is the main content of the optimization process, and the effect of the optimization design will directly affect the operation and management of the water supply network. The optimization design of the water supply network should be based on the optimization of the topological structure of the water supply network. At present, various optimization design schemes have been carried out around the optimization operation and optimization scheduling of the water supply network, including the configuration and scheduling of water supply pumps, the reconstruction and expansion of water supply pipelines, etc. The main solution is to combine the optimization method of the network topological structure optimization and the optimization of the pipe diameter combination scheme, and use the genetic algorithm (GA for short) to optimize the pipe diameter, so as to achieve the purpose of optimization design.

[0041] However, the operation and maintenance phase of the water supply network has not been taken seriously. There are pain points such as pipe damage, insufficient pipe pressure, and pipe burst during the operation and maintenance phase. The most important and difficult part of the maintenance and repair of the water supply system is the repair of the water supply network. At present, the repair of the water supply network has always been the main research difficulty in the field of water supply. In view of the characteristics and operation characteristics of the water supply system, maintenance and repair are necessary and long-term tasks for the water supply system. At the same time, the repair of the water supply network is a complex problem, and multiple aspects need to be paid attention to in the solution process. This is a discrete variable, nonlinear, multi-objective optimization problem. At present, the optimization and repair of the water supply network often takes economic costs as a single objective function, and rarely considers the reliability of the pipe network system, the pressure and flow rate of the pipe network system, and other factors. When multiple objectives are involved, such as the lowest repair cost and the highest reliability of the pipe network, how to seek a balance and obtain the optimal solution to the repair plan on the premise of meeting the service water pressure and flow of each node has always been an urgent problem to be solved in this field.

[0042] Furthermore, the traditional genetic algorithm currently used cannot solve multiple objectives. There is a conflict between the fitness value of the genetic algorithm (GA) and the multi-objective function of the repair problem, and there is uncertainty caused by the use of weight coefficients or penalty functions. The existing solutions generally set the flow, flow rate, and pressure of each node between the minimum and maximum values, and use them as network constraints, but this only controls the parameters of each node within a reasonable range. The flow rate of each node is still not controlled at the economic flow rate, and the pressure of the node is not controlled to be close to the minimum service water pressure; that is, energy saving and consumption reduction are not truly achieved.

[0043] Based on this, the present invention provides a water supply network repair method, device, electronic device and computer storage medium. Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. The following embodiments and features in the embodiments can be combined with each other without conflict.

[0044] Embodiment 1

[0045] The present invention provides a method for repairing a water supply network. Figure 1 The embodiment of the present invention shown in the figure provides a flow chart of a water supply network repair method, the method comprising:

[0046] Step S102, obtaining basic parameters of the water supply network, and constructing a topological structure model of the water supply network based on the basic parameters.

[0047] Specifically, we need to collect various basic parameters of the water supply network, such as pipe length, pipe diameter, material, node location, etc. These parameters can be obtained through on-site measurements, design drawings or historical data. Based on these basic parameters, we can build a topological structure model of the water supply network, which can clearly show the physical layout of the water supply network and the relationship between its various parts.

[0048] In some preferred embodiments of the present invention, basic parameters of the water supply network system within the target area are collected and organized, wherein the number of water pumps in the water supply pump station and the parameters of a single water pump include: water pump flow, head and pump energy consumption curve; historical monitoring data of flow monitoring points, flow velocity monitoring points and pressure monitoring points installed in the current water supply network topology structure; data such as the length of pipe sections, pipe diameter, node flow, node flow velocity and the like at each node in the current water supply network topology structure; the nodes include water inlets into residential areas, water inlets of public buildings (such as libraries, music halls, gymnasiums, public toilets, airports, high-speed rail stations, subway stations, shopping malls, etc.), and intersections of municipal trunk pipes and municipal branch pipes; the current water supply network topology system is imported into the water supply network modeling software, and the water supply network system imported into the water supply network modeling software carries vector data, such as pipe length, pipe diameter, pipe material, pipe roughness coefficient, elevation, etc.

[0049] After importing the water supply network topology system into the water supply network modeling software, it is necessary to calibrate and verify the data information in the network topology structure in the model with the data information in the existing water supply network topology structure one by one to ensure the accuracy of the imported water supply network data.

[0050] Step S104: verifying and updating the water supply network topology model based on the operation data of the water supply network.

[0051] Specifically, we need to use the actual operation data of the water supply network, such as flow, pressure, water quality, etc., to verify and update the topological structure model built in the previous step. This is because the actual operation of the water supply network may deviate from the original design due to various reasons (such as aging, damage, renovation, etc.), so it needs to be adjusted according to the actual situation.

[0052] In some preferred embodiments of the present invention, after the model has been imported into the water supply network modeling software, the operation data of each node including the water pressure of the node, the flow rate of the node, the pump head, the pump energy consumption curve, the pump flow rate, etc. can be obtained by clicking "Run" in the software; the result of the software operation is compared with the historical data of actual monitoring, and the relative error value is calculated. When the relative error value is controlled within 5%, the modeling is considered to be successful; otherwise, the water supply network topology in the model is debugged, the node flow and the pipeline roughness coefficient of the pipeline are modified, and the above steps are repeated until the relative error between the result of the modeling software operation and the actual result does not exceed 5%.

[0053] Step S106, determining an adjustment plan for the water supply network based on the daily maintenance information of the water supply network and the simulated operating condition data.

[0054] Specifically, we need to combine the daily maintenance information of the water supply network (such as maintenance records, replacement records, etc.) and simulated operating condition data (such as flow changes, pressure changes, etc.) to determine the adjustment plan for the water supply network. This plan should be able to solve existing problems, improve water supply efficiency, reduce operating costs, and extend the service life of the network as much as possible.

[0055] In some preferred embodiments of the present invention, the existing water supply network is analyzed to find the problematic pipe sections, and the analysis method includes the following:

[0056] a) According to the water supply network maintenance unit, during the daily inspection of the water supply network, abnormal pressure points, abnormal flow points, leakage points, etc. are found in the network, and the pipe sections at the above locations are marked.

[0057] b) Simulate the operation of the water supply network topology by changing the hydraulic operating conditions of the water supply network, including the highest daily maximum operating conditions, the most unfavorable pipe section accident conditions, and firefighting conditions, and then use software simulation to obtain the pipe sections with abnormal flow, pressure, etc.

[0058] The abnormal pipe sections obtained by the above two methods (a) and (b) are marked and sorted to form a group of all water supply pipes to be repaired. The repair plans include replacing the pipes (without changing the pipe material and pipe diameter), changing the pipe diameter, connecting different pipe nodes, replacing pipe materials (different pipe materials have different friction coefficients, different friction coefficients lead to different head losses, and different head losses ultimately lead to different node pressures), etc.

[0059] There are N repair schemes for abnormal pipe sections. For each scheme, we can first determine whether to replace the pipeline and whether to connect the pipeline nodes. However, the size of the replacement pipe diameter and the pipe material need to be further calculated and clarified through algorithms.

[0060] Step S108, respectively bring the adjustment plan into the first objective function with the corresponding pipeline flow rate as the economic flow rate as the constraint target and the second objective function with the reasonable range of node pressure of the water supply network as the constraint target to solve, and obtain multiple first objective function values ​​and multiple second objective function values; sort the first objective function values ​​and the second objective function values ​​from small to large, select the first objective function values ​​with a preset proportion at the front, and use the adjustment plan corresponding to the selected first objective function value as the first objective adjustment plan, select the second objective function value with a preset proportion at the front, and use the adjustment plan corresponding to the selected second objective function value as the second objective adjustment plan, and merge the first objective adjustment plan and the second objective adjustment plan as the initial population.

[0061] Specifically, we need to establish two objective functions, one is to optimize the pipeline flow rate to achieve the economic flow rate, and the other is to optimize the node pressure to achieve the minimum value. These two objective functions need to be solved together under the premise of satisfying certain constraints to determine the optimal initial population. In some preferred embodiments of the present invention, the operation of initializing the population is to list all the pipe diameters that can be used in the pipe section to be repaired.

[0062] In some preferred embodiments of the present invention, a first objective function W is established with the corresponding pipeline flow rate as the economic flow rate as the constraint target. i , represents the flow rate performance of the water supply network, with the objective function being that the pipeline meets the economic flow rate, as shown in calculation formula (1):

[0063] (1)

[0064] in, is the first weight coefficient, is the second weight coefficient, and 0≤ ≤1,0≤ ≤1, + =1, The pipeline flow rate is lower than the economic flow rate (m / s). is the set of pipe groups whose velocity is lower than the lower boundary of the economic flow rate, The pipeline flow rate is higher than the economic flow rate (m / s). is the set of pipeline groups whose speed is higher than the upper limit of economic speed, Indicates the flow rate of the pipeline below the economic flow rate (L / s), Indicates the flow rate of the pipeline corresponding to the economic flow rate (L / s), Flow rate of each section of pipeline (L / s), is the velocity of each section of the pipeline (m / s), is the collection of all pipelines within the region. It is the economic speed, that is, the economic flow rate of pipes with different diameters.

[0065] The second objective function W is established to meet the reasonable range of node pressure in the water supply network as the constraint target. j , as calculated in formula (2):

[0066] (2)

[0067] in, is the third weight coefficient, is the fourth weight coefficient, and 0≤ ≤1,0≤ ≤1, + =1; Indicates that the node pressure in the water supply network is lower than the minimum service water pressure (Pa); Represents the set of nodes with pressure lower than the minimum service water pressure; Indicates the node flow rate where the pressure is lower than the minimum service water pressure (L / s); Indicates that the node pressure in the water supply network is higher than the maximum service water pressure (Pa); Represents the set of node groups with pressure higher than the maximum service water pressure; Indicates the node flow rate where the pressure is higher than the maximum service water pressure (L / s); Indicates the node flow rate in the water supply network (L / s); Indicates the pressure of any node in the water supply network (Pa); Indicates the pressure corresponding to the nodes in different blocks.

[0068] For the objective function W i and W jSolve for W i The solution cluster is set as M={m1, m2, m3…m n}, for W j The solution cluster is set as K={k1, k2, k3…k n}, n represents the number of solution sets. Each solution set in the solution cluster includes replacing at least one pipe section, usually including multiple pipe sections.

[0069] Substitute them into the objective function for calculation, and W i , W j The function values ​​obtained in the above formula are sorted from small to large, and the top 50% of the solution clusters are taken as the optimal solution cluster 1 and the most solution cluster 2. The optimal solution cluster 1 and the most solution cluster 2 are merged and analyzed to see if there are any duplications. The duplicate parts are deleted and the two optimal solution clusters are merged as the initial population J.

[0070] Step S110, encoding the initial population based on a preset pipe diameter code.

[0071] Specifically, we need to encode the initial population according to the preset pipe diameter code to facilitate subsequent calculations and operations.

[0072] In some preferred embodiments of the present invention, the initialized population J is genetically encoded according to certain coding principles, each tube segment represents a small segment of gene, and a series of gene coding combinations form a chromosome set (the tube segment group formed by all the tube segments to be repaired is the chromosome set).

[0073] In some preferred embodiments of the present invention, coding is performed according to the pipe diameter, and the coding principle is shown in Table 1:

[0074] Table 1 Pipe diameter corresponding code

[0075]

[0076] Exemplarily, serial numbers 1 to 5 represent 5 schemes for the pipe sections to be repaired, each scheme includes 5 pipe sections. Table 2 shows a coding scheme for replacing 5 pipe sections, where the pipe diameters numbered 1 are DN800, DN1000, DN1400, DN800, and DN100, and the genetic codes are 13 17 25 13 0, respectively.

[0077] Table 2 A repair coding scheme

[0078]

[0079] Step S112, performing pipe network adjustment and fitness calculation on the chromosomes in the encoded initial population in turn to obtain fitness; wherein the fitness calculation function is based on the joint constraints of a third objective function with minimization of annual repair costs during the investment period as a constraint target and a fourth objective function with pipe network reliability performance evaluation as a constraint target.

[0080] Specifically, we need to perform pipe network adjustment and fitness calculation on the encoded initial population to obtain the fitness of each chromosome. The fitness calculation is based on two objective functions, one is to optimize the annual repair cost, and the other is to optimize the reliability performance of the pipe network.

[0081] Step S114, performing non-dominated sorting and crowding calculation on chromosomes whose fitness meets a preset fitness threshold, to obtain a new parent population.

[0082] Specifically, we need to perform non-dominated sorting and crowding calculation on chromosomes whose fitness meets the preset threshold to obtain a new parent population. Non-dominated sorting is to find the optimal solution, while crowding calculation is to maintain the diversity of the population.

[0083] Step S116, iteratively updating the new parent population.

[0084] Specifically, we need to continuously iterate and update the new parent population until a preset number of iterations or other stopping conditions are met. The preset iteration condition can be reaching a preset number of iterations or the constraint function can meet a preset condition.

[0085] Step S118, using the new parent population that meets the preset number of iterations as a water supply network repair solution.

[0086] Specifically, we use the new parent population that meets the preset number of iterations as the repair plan for the water supply network. This plan should be the optimal solution based on all considerations (such as cost, efficiency, reliability, etc.).

[0087] The present invention provides a water supply network repair method, comprising: obtaining basic parameters of the water supply network, constructing a water supply network topology structure model based on the basic parameters; verifying and updating the water supply network topology structure model based on the operation data of the water supply network; determining an adjustment plan for the water supply network based on daily maintenance information and simulated operation condition data of the water supply network; jointly solving a first objective function with an economic flow rate as a constraint target for a corresponding pipeline flow rate and a second objective function with a minimum pressure value at a node of the water supply network as a constraint target, determining an initial population in the adjustment plan; encoding the initial population based on a preset pipe diameter code; and performing pipe network adjustment and fitness calculation on chromosomes in the encoded initial population in turn. Calculate and obtain the fitness; wherein, the fitness calculation function is based on the third objective function with the minimization of the annual repair cost during the investment period as the constraint target and the fourth objective function with the reliability performance evaluation of the pipeline network as the constraint target; perform non-dominated sorting and congestion calculation on the chromosomes whose fitness meets the preset fitness threshold to obtain a new parent population; iteratively update the new parent population; use the new parent population that meets the preset number of iterations as the water supply network repair plan; obtain the adjustment plan of the water supply network, and optimize the adjustment plan based on the multi-objective function, and finally determine the water supply network repair plan. Through the multi-objective function constraint, the operating status and maintenance cost of the water supply network are fully considered, thereby improving the user experience.

[0088] At present, the repair and operation of water supply pipe networks are often optimized for a single objective, such as only considering economic costs or water pump energy consumption. The embodiment of the present invention provides an optimization method based on a multi-objective function, which comprehensively considers economic costs and the reliability of the pipe network, and also constrains the service water pressure of each node and the flow rate of each pipe section as an objective function. Compared with the traditional method that only gives the flow rate or flow in the entire pipe network system a specific constraint interval, the function model constructed by the embodiment of the present invention is more scientific and reasonable. First, each node and each pipe section in the water supply pipe network are constructed as the first and second objective functions for solution to ensure that the free water pressure of each node meets the minimum service water pressure and the flow rate of each pipe section meets the economic flow rate. The purpose is to ensure that the entire pipe network system meets energy-saving and efficient operation, and then the third and fourth objective functions are constructed with the lowest economic cost and the maximum pipe network reliability. The purpose is to minimize the cost of repairing the pipeline, maximize the reliability of the repaired water supply pipe network system, and comprehensively optimize the pipeline repair plan.

[0089] Embodiment 2

[0090] Based on the above embodiment, the embodiment of the present invention provides another method for repairing a water supply network. In the process of analyzing and optimizing a water supply network, network adjustment is a key step, which involves adjusting and calculating node water pressures to meet the requirements of continuity and energy conservation. The purpose of network adjustment is to ensure that all node water pressures can reach a balanced state under given water flow requirements and system constraints.

[0091] In some preferred embodiments of the present invention, calculating the pipe network adjustment includes the following steps A1 to A3:

[0092] Step A1, calculating the closure errors of the network nodes of the water supply network based on the network data of the water supply network and a preset calculation accuracy; wherein the network data includes the node water pressure.

[0093] Specifically, we need to collect complete pipe network data, which usually includes the layout, size, material, roughness coefficient of the pipes, as well as the water pressure and flow requirements of the nodes. This data can be obtained from field measurements, historical records, or sensor monitoring systems. Then, we use this data to initialize a hydraulic model that can simulate the distribution and pressure loss of water flow in the pipe network.

[0094] After initializing the model, we start with preliminary hydraulic calculations to estimate the water pressure at each node. These preliminary calculations are usually based on simplifying assumptions, such as assuming that the flow rate in all pipes is uniform, and ignoring some factors that may affect the water pressure, such as changes in water viscosity, temperature changes, etc.

[0095] Next, we calculate the misclosure at each node, which is the difference between the actual water pressure and the target water pressure. The misclosure is a key indicator of the accuracy of the current hydraulic model. If the misclosure is small, it means that the model's prediction is very close to the actual situation; if the misclosure is large, it means that the model needs to be adjusted.

[0096] Step A2: if the closure error meets the preset accuracy, the node water pressure is determined as the node target water pressure.

[0097] Specifically, if the calculated closure error is within the preset accuracy range (for example, less than a certain percentage or absolute value), we can consider the current node water pressure to be acceptable and determine it as the target water pressure of the node. This means that at these nodes, the water pressure meets the design requirements and no further adjustment is required.

[0098] Step A3: if the closure error does not meet the preset accuracy, the node water pressure is adjusted based on the Jacobian matrix of the node water pressure until the closure error meets the preset accuracy.

[0099] Specifically, if the closure error exceeds the preset accuracy range, we need to adjust the node water pressure. This process usually involves the use of iterative methods, such as the Newton-Raphson method. In this process, we use the Jacobian matrix to describe the relationship between the node water pressure and the closure error. The Jacobian matrix is ​​a partial derivative matrix, and each of its elements represents the impact of a change in the water pressure at a certain node on the closure error.

[0100] Using the Jacobian matrix, we can calculate the amount by which the water pressure at each node needs to be adjusted in order to reduce the closure error. Then, we update the node water pressure based on these calculation results and re-calculate the hydraulics. This process is repeated until the closure error of all nodes meets the preset accuracy.

[0101] In practice, pipe network adjustment may require multiple iterations to achieve satisfactory results. After each iteration, it is necessary to check whether the closure error is small enough. If not, it is necessary to continue adjusting the water pressure based on the information provided by the Jacobian matrix. This process can be complex because it involves a lot of data processing and calculations, but modern computers and specialized software can handle these tasks efficiently.

[0102] When the closure error meets the preset accuracy, we can get an accurate hydraulic model. This model will provide us with the target water pressure at each node, which will be used for subsequent network optimization and repair decisions. In this way, we ensure that the water supply network can maintain efficient and reliable operation while meeting user needs.

[0103] In some preferred embodiments of the present invention, the chromosome group formed by the gene coding combination of pipe diameters is used for pipe network adjustment and fitness function value calculation, see Figure 2 The flowchart of an adjustment calculation provided by an embodiment of the present invention is shown, and the adjustment calculation includes the following steps B1 to B3:

[0104] Step B1: Input the pipe network data, including initial water head, pipe friction coefficient and water demand, and calculate the accuracy , calculate the closure error of the pipeline network nodes as shown in formulas (3) to (9):

[0105] Continuity equation of pipe network node:

[0106] (3)

[0107] in, is the flow rate of the pipe section, It is the sum of all flows connected to pipeline node i, and the flow unit is L / s.

[0108] Pipeline network head loss equation:

[0109] (4)

[0110] in, is the pressure value of node i at both ends of the pipeline, is the pressure value of the node j at both ends of the pipeline, in m, S ij is the friction coefficient of the pipe section ij, n represents the Scheeren coefficient, and in some preferred embodiments of the present invention, it is taken as 2.

[0111] Pipe head index equation:

[0112] (5)

[0113] Among them, Sign ( ) is a sign function, when >0,sign( ) = 1, when =0,sign( ) = 0, when <0,sign( ) = -1.

[0114] Construct the nonlinear nodal water pressure equations:

[0115] (6)

[0116] In formula (6), the pressure equations of nodes 1, 2, 3…N are f1, f2, f3…f N .

[0117] The first-order calculus derivative of the nonlinear node water pressure equations can be obtained as follows:

[0118] (7)

[0119] Constructing the node water pressure matrix J , we get the following:

[0120] (8)

[0121] Assume that the initial value of the pressure at the pipe network node i is , the initial value of the pressure at node j is , the corrected pressure of the corresponding node is , , the following formula can be used:

[0122] (9)

[0123] in, Represents the step size factor, between [0,1].

[0124] (b) Determine the calculated closure error of all pipe sections , i=1,2,3,4,5,… ,N( Representation accuracy = 0.0000001m 3 / s) to check whether the calculation accuracy meets the requirements. If not, the water pressure is corrected according to the calculation, the closure error of the updated pipe network node is updated, and the node water pressure matrix is ​​updated. J , recalculate and update the closure error of the pipe network nodes, and repeat the above operation until the accuracy meets the requirements;

[0125] (c) Finally, output the water pressure of the pipeline network nodes.

[0126] At present, in the prior art, before calculating the solution of the multi-objective function, pipe network adjustment is generally seldom performed, ignoring the necessity and importance of reasonable flow distribution in the water supply pipe network system; at the same time, the operation status and maintenance cost of the pipe network are not fully considered in the fitness calculation. The present invention proposes detailed steps for pipe network adjustment and fitness calculation, calculates the closure error of the pipe network nodes based on the pipe network data and the preset calculation accuracy, and comprehensively evaluates the annual repair cost and the reliability performance of the pipe network through the fitness function.

[0127] In some preferred embodiments of the present invention, the fitness calculation includes the following steps C1 to C5:

[0128] Step C1, the initial chromosome 1 is set to Ri=1, the gene code in the chromosome group constructed by the pipe section to be repaired is decoded to generate the corresponding pipe diameter group Z1, the pipe diameter group Z2 of the remaining normally operating pipe sections in the water supply network is overlapped and combined, and the pipe diameter group Z1 and the pipe diameter group Z2 are formed into a pipe diameter combination Z3 through the above operation.

[0129] Step C2, performing pipe network adjustment on the pipe diameter combination Z3 to determine the flow distribution of each pipe section and the pressure of the node;

[0130] Step C3, calculating the pipe network cost and reliability function;

[0131] Step C4, calculating the fitness function F(k) value of chromosome Ri;

[0132] Step C5, determine whether the initial chromosome No. 1 is set to Ri=1 is greater than or equal to R (the R value is determined by the number of schemes to be repaired according to the actual operation status of the pipe network, R represents the number of chromosomes, and generally the number of schemes to be repaired is equal to the number of chromosomes); if it is greater than or equal to the R value, perform non-dominated sorting congestion calculation; if it is less than the R value, return to step BC and combine the pipe diameters again until the fitness value meets the requirements. This step ensures that the fitness of each scheme is reviewed and set.

[0133] In some preferred embodiments of the present invention, the diameter of each pipe section is genetically encoded, and the initial population composed of different pipe diameter combinations is subjected to pipe network adjustment operations to optimize and calculate hydraulic characteristics such as pipe section flow distribution, head loss, and water pressure at each node, and then the fitness value of the pipe network is calculated.

[0134] First, the third objective function W is established with the minimization of the annual restoration cost during the investment period as the constraint target. x , calculate W x The function formula (10) is as follows:

[0135] (10)

[0136] Among them, a is the first coefficient in the pipeline construction cost formula, b is the second coefficient in the pipeline construction cost formula, c is the third coefficient in the pipeline construction cost formula, and D k is the diameter of the pipe k (mm), L k is the length of pipeline k (m), and N is the total number of pipeline groups that need to be repaired in the area.

[0137] Establish the fourth objective function W with the pipeline network reliability performance evaluation as the constraint target y As shown in formula (11).

[0138] (11)

[0139] Among them, Q o is the sum of the flow rates of all pipe sections in the water supply network (m 3 ).

[0140] Among them, the flow entropy S of any node j in the water supply network is j , the calculation formula (12) is as follows:

[0141] (12)

[0142] Among them, U j is the set of upstream nodes of node j; q ij is the flow rate of pipe ij (m 3), the flow direction is from node i to node j, n represents the number of pipe sections, Q j is the sum of all pipe flows into node j (m 3 ).

[0143] Solve W using formula (13) as the constraint condition x and W y .

[0144] (13)

[0145] The fitness function converts the multi-objective function F into a single objective function value K through the weighted average method, as shown in the following formula (14):

[0146] (14)

[0147] in, , The value is between [0,1].

[0148] Furthermore, in some preferred embodiments of the present invention, the fitness is calculated by the following formula (15):

[0149] (15)

[0150] Among them, F(k) is the fitness function, is the first weighted, is the second weight, W x is the third objective function, W xmin is the minimum value of the third objective function, W xmax is the maximum value of the third objective function, W y is the fourth objective function, (1 / W y ) min is the minimum value of the inverse of the fourth objective function, (1 / W y ) max is the maximum value of the inverse of the fourth objective function.

[0151] Furthermore, non-dominated sorting is a method for distinguishing and classifying solutions in a solution set in a multi-objective optimization problem. It divides solutions into different levels according to the dominance relationship between solutions. In a multi-objective optimization problem, a solution may be better than another solution in one objective and worse than it in another objective, so a special sorting method is needed to handle these solutions. Non-dominated sorting is designed to solve this problem. In some preferred embodiments of the present invention, non-dominated sorting includes the following steps D1 to D3:

[0152] Step D1, define the dominance count of each solution and the solution set dominated by the solution.

[0153] Specifically, we first initialize two properties of each solution: Dominance Count and Dominated Set. Dominance Count refers to the number of other solutions that dominate the solution, that is, how many solutions are better or equal to it. Dominated Set refers to the set of all solutions dominated by the solution, that is, which solutions the solution is better or equal to. These two properties will be used to determine the hierarchy and non-inferiority of the solution in subsequent steps.

[0154] Step D2, go through all solutions and determine the first non-inferior layer.

[0155] Specifically, we traverse all solutions, and for each solution, we check whether its domination count is zero. If the domination count is zero, it means that no other solution dominates this solution, so this solution is non-inferior, and it is added to the first non-inferior layer (Front). This process continues until all solutions have been checked. Solutions in the first non-inferior layer are the most superior because they are not dominated by any other liberation quantity.

[0156] Step D3, updating the levels based on the domination count and the solution set dominated by the solution until a level is empty.

[0157] Specifically, we use the determined non-inferior layers to update the domination counts of the remaining solutions and the solution sets dominated by the solutions. Specifically, for each solution in the first non-inferior layer, we remove it from the solution sets dominated by other solutions and reduce the domination counts of these solutions by one. The reason for this is that since the solutions in the first non-inferior layer have been considered, they no longer affect the non-inferiority of other solutions.

[0158] Then, we traverse all solutions again and look for new solutions with dominance counts of zero, which will form the second non-inferior layer. This process is repeated, and a new non-inferior layer is determined at each iteration until all solutions are assigned to a non-inferior layer. In this process, solutions in higher layers are always superior to solutions in lower layers.

[0159] Finally, when all solutions are assigned to a non-inferior layer, the algorithm ends. At this point, we have a set of solutions sorted by non-inferiority, where the solutions of the first non-inferior layer are the best, followed by the solutions of the second non-inferior layer, and so on. This sorting method provides us with an intuitive way to compare and select solutions, especially in multi-objective optimization problems, where we often need to make trade-offs between different objectives.

[0160] In some preferred embodiments of the present invention, see Figure 3The schematic diagram of a non-dominated sorting calculation provided by an embodiment of the present invention is shown, wherein the horizontal axis and the vertical axis represent two objective functions, and the non-dominated sorting includes the following steps E1 to E4:

[0161] In step E1, each layer shares the specified virtual fitness value and performs a fast non-inferior sorting operation.

[0162] Step E2, first set the dominance number n for individual i i and the set S of individuals dominated by i i , when n i = 0, the individual is stored in the non-inferior layer F i middle.

[0163] Step E3, for F i At this time, each individual j in the individual set S j All individuals k in n k The value is reduced by 1, if n k =0, individual k is stored in the next non-inferior layer.

[0164] Step E4, if the next layer F i +1 is not an empty set, then i=i+1, continue iterating, and repeat the second step, otherwise stop iterating.

[0165] According to the constructed F(k) function, we can first assume according to the actual situation. is the first weighted, Substituting the second weighted value, as well as the maximum and minimum values ​​of the third and fourth objective functions obtained by solving them into the formula, we can get the virtual fitness value. Figure 3 As shown, under different virtual fitness values, different groups of non-inferior layers can be used, and the non-inferior layers represent several groups of optimal solution sets. For example, on the non-inferior layer 1 corresponding to the virtual fitness value 1, solution set 1 and solution set 2 are both optimal solutions, on the non-inferior layer 2 corresponding to the virtual fitness value 2, solution set 3 and solution set 4 are both optimal solutions, and on the non-inferior layer 3 corresponding to the virtual fitness value 3, solution set 5 and solution set 6 are both optimal solutions.

[0166] Further, in some preferred embodiments of the present invention, see Figure 4 The schematic diagram of a congestion calculation provided by an embodiment of the present invention is shown, wherein the horizontal axis and the vertical axis represent two objective functions. When performing non-inferiority sorting, all individuals in the population have two parameters. The first is the number of non-inferiority layers i where the individual is located. rank , number of non-inferior layers i rank See Figure 3 ; The second is the crowding distance i of the individual distance , the congestion degree is calculated based on the following formula (16):

[0167] (16)

[0168] Among them, i distance is the crowding distance of individuals in non-dominated sorting, r is the number of objective functions, is the fitness function of the i+1th individual on the jth target, is the fitness function of the i-1th individual on the jth target.

[0169] For further information, see Figure 5 The flow chart of a population iteration method provided by an embodiment of the present invention is shown. For a population that has met the fitness requirement, non-dominated sorting and crowding calculation are performed to generate a first-generation new parent population J0, and genetic selection, crossover, and mutation operations are performed on the first-generation new parent population to generate a child population. The parent population is subjected to an elite retention strategy and merged with the newly generated child population as a new population J1. Non-dominated sorting and crowding calculation are performed on the new population J1, and the original population J0 is replaced according to the number of layers and crowding. It is determined whether the number of iterations meets the set value requirement (if N iterations are required to converge); if not, the selection, crossover, mutation and other operations are repeated.

[0170] For further information, see Figure 5 In some preferred embodiments of the present invention, iteratively updating the new parent population includes steps F1 to F4:

[0171] Step F1, performing genetic processing on the new parent population to obtain a progeny population; wherein the genetic processing includes at least one of the following: selection, crossover and mutation.

[0172] Step F2, determining a new population based on the new parent population and the child population processed by the elite retention strategy.

[0173] Step F3, perform non-dominated sorting and crowding calculation on the new population.

[0174] Step F4, updating the new parent population based on the number of layers of the non-dominated sort and the result of the crowding calculation.

[0175] Specifically, the selection operation includes: the elite retention strategy is to sort the initial parents according to the fitness value, retain the top 10% to 30% of the fitness ranking of the parent population size, and merge them with the next offspring to form a new population.

[0176] Further, see Figure 6 The crossover operation schematic diagram provided by the embodiment of the present invention is shown, and the crossover operation includes steps G1 to G3:

[0177] Step G1, randomly select two parent individuals from the parent population.

[0178] Step G2, randomly select an intersection point.

[0179] Step G3, the gene sequences after the crossover point (including the crossover point) of the gene sequences of the two parent individuals are exchanged to form two new individuals as crossover offspring individuals, the corresponding fitness of the newly generated crossover offspring individuals is calculated and the individuals are stored in the crossover offspring population.

[0180] Further, see Figure 7 The embodiment of the present invention shown in the figure provides a variation operation schematic diagram, the variation operation includes steps H1 to H3:

[0181] Step H1, randomly select individuals from the crossover offspring population and put them back into the random collection population as the operation objects of the mutation operator.

[0182] Step H2, for each selected individual, a gene locus is selected for mutation according to the adaptive gene mutation probability. If the same gene locus is selected multiple times, its value will be changed multiple times and the final result will be retained.

[0183] Step H3, calculate the fitness of the newly generated individuals and store them in the mutant offspring population.

[0184] The embodiment of the present invention provides a water supply network repair method, establishes a multi-objective function, comprehensively considers the construction cost of repairing the water supply network system and the energy consumption of the pump station group, the flow rate of the pipe section to be repaired, the service water pressure of each node and the entropy reliability factor of the entire water supply network system, and provides a scientific basis for the repair plan of the pipe to be repaired; creatively establishes the flow rate of the pipe to be repaired and the working pressure (minimum service water pressure) of each node of the pipe section as the objective function, and repairs the pipe to be repaired so that the flow rate of the pipe tends to the economic flow rate when the speed is insufficient or exceeds the speed boundary; the pressure when the node pressure is insufficient or exceeds the minimum working pressure tends to the minimum working pressure, and the entire water supply network is repaired into an economical and energy-saving system; An improved non-dominated genetic algorithm is used to solve multi-objective functions, which effectively copes with discrete variables, nonlinear, and multi-objective optimization problems. Compared with traditional genetic algorithms, this algorithm adopts an elite retention strategy, screens excellent individuals, performs genetic operations such as selection, crossover, and mutation, generates offspring populations, merges the original population and the offspring population, performs non-dominated sorting crowding calculation, replaces the original population according to the number of layers and crowding, continuously iterates to form an excellent elite population, and obtains a group of equally good (non-dominated) optimal solutions (Pareto sets); through operations such as selection, crossover, and mutation, the convergence speed of the population is accelerated. The present invention not only improves the convergence speed, but also improves the rationality and feasibility of the solution.

[0185] At present, the traditional genetic algorithm has fitness value conflicts and uncertainties when dealing with multi-objective problems. When solving discrete variables, nonlinear, and multi-objective optimization problems, it is generally necessary to convert the multi-objective function into a single objective function, and the function cannot converge quickly and has the problem of long calculation time. The present invention adopts an improved non-dominated genetic algorithm. First, the values ​​solved for the first and second objective functions are used as the initial population, which is equivalent to obtaining relatively excellent individuals in the initial stage. The initial population is adjusted to ensure the reasonable distribution of pressure and flow, and then the non-dominated genetic algorithm is operated. The elite retention strategy is used to select excellent individuals, and genetic operations such as selection, crossover, and mutation are performed. Excellent individuals are retained and the diversity of the population is enriched to avoid falling into the local optimum. The multi-objective optimization problem is effectively dealt with, the rationality and feasibility of the solution are improved, and the algorithm convergence is quickly achieved, the operation time is reduced, and the calculation efficiency is improved.

[0186] Embodiment 3

[0187] Based on the above embodiment, the present invention further illustrates the above embodiment by taking a city-level water supply network in East China as an example. Figure 8 The model schematic diagram of the current status of a water supply network provided by an embodiment of the present invention is shown. The water supply network consists of 21 effective pressure monitoring points and 4 effective flow monitoring points. 12 pressure monitoring points and 4 flow monitoring points are selected for calibration, and the remaining 9 pressure monitoring points are used for verification. The flow error does not exceed 5%.

[0188] The water volume data for the last three months provided by the water supply region are shown in Table 3 below.

[0189] Table 3 Water volume actual operation data

[0190]

[0191] The water supply network model is calibrated when the water consumption is high on the day. The calibration results are shown in Tables 4 and 5. The average pressure calibration error is 3.88%, and the flow calibration error is within 3%.

[0192] Table 4 Maximum pressure calibration results

[0193]

[0194] Table 5 Maximum flow rate calibration results

[0195]

[0196] Through the above analysis, it is considered that the established water supply network model is within the error range, and the model is considered to have been calibrated successfully.

[0197] First, the existing water supply network was analyzed. After model analysis, it was found that some areas of the water supply network had low pressure. For specific distribution, see Fig. 9 A schematic diagram of a pipe network adjustment analysis provided by an embodiment of the present invention is shown.

[0198] from Fig. 9 It can be seen that the water pressure in the pipe network in the four areas of A, B, C, D and E is relatively low, and the water pressure in the two areas of A and B is significantly lower than that in other areas. Among them, the pressure of some nodes in area A is lower than 28m, and the lowest pressure is 15.75m; the free water head in the west of area B is between 10 and 20m, and the free water head in some areas in the northeast corner is about 5m, and the lowest is only 1m.

[0199] For further information, see Fig.10 A schematic diagram of flow distribution of each pipe section in area B provided by an embodiment of the present invention is shown, Fig.11 The schematic diagram of the head loss distribution of each pipe section in area B provided by the embodiment of the present invention is shown in FIG. Fig.12 The flow rate distribution diagram of each pipe section in area B provided by an embodiment of the present invention is shown, and the flow rate in some areas of area B is only 70% of the actual demand value, and the flow rate in some areas of area B is only 65% ​​of the actual demand value.

[0200] This embodiment takes area B as an example. Based on the simulation operation results of area B and the daily inspection data of the actual pipeline maintenance and management unit, it can be found that there are major problems with the pipeline head loss and pipeline flow in area B.

[0201] There are a total of 128 pipe sections in the water supply network of area B. The basic parameters of each pipe section include length, diameter, flow rate, roughness coefficient, flow velocity, friction factor, head loss, etc. Table 6 shows the basic operating parameters of pipe sections 1 to 16.

[0202] Table 6 shows the basic operating parameters of some nodes in the pipe network system

[0203]

[0204] Through statistical analysis of the pipes in the water supply network, it is found that pipe 15, pipe 36, pipe 37, pipe 38, pipe 45, pipe 62, pipe 63, etc. have negative flow rates as shown in Table 7, indicating that there are problems with these pipes.

[0205] Table 7 Pipe sections with flow problems

[0206]

[0207] Generally, the pressure of the free head inside urban pipelines is not less than 28 meters. In this implementation case, according to the actual situation, if the pressure is higher than 38 meters, it is considered to be high pressure, as shown in Table 8. Among them, the pressures of nodes 15, 36, 37, 38, 45, 62, 63, and 77 are high, and there is no low pressure situation.

[0208] Table 8 Nodes with unreasonable pressure

[0209]

[0210] Furthermore, flow rates of pipe sections 15, 36, 37, 38, 45, 62, 63 and 77 were monitored, as shown in Table 9.

[0211] Table 9 Pipe sections with unreasonable velocity range

[0212]

[0213] Therefore, a repair optimization plan is proposed for the water supply pipelines in local areas of Zone B.

[0214] Based on the first objective function W with the corresponding pipeline flow rate as the economic flow rate as the constraint target i and the second objective function W as the constraint target of satisfying the reasonable range of node pressure in the water supply network j To solve.

[0215] For the first objective function W i In some preferred embodiments of this aspect, the first weight coefficient is , the second weight coefficient , the pipe velocity is lower than 0.6m / s for pipe diameters between 100 and 400mm; the pipe velocity is 0.9m / s for pipe diameters greater than 400mm. The above pipe groups are assembled to form a pipe group cluster. It means that the pipe diameter is between 100 and 400 mm, and its flow velocity is higher than 0.9 m / s; the pipe diameter is greater than 400 mm, and its flow velocity is higher than 1.4 m / s. The above pipe groups are grouped together to form a pipe group cluster, and P is used to represent the flow velocity of the pipe group. x It means that P s For a total of 128 pipe sections and 256 nodes, The economic flow rates corresponding to pipes of different diameters are shown in Table 10.

[0216] Table 10 Economic flow rate range

[0217]

[0218] For the second objective function W j In some preferred embodiments of this aspect, the third weight coefficient is , take the fourth weight coefficient , Represents a set of node groups with pressure higher than the maximum service water pressure. The minimum service water pressure of urban water supply pipelines is not less than 28m, and the maximum water pressure does not exceed 38m; the minimum service water pressure in rural areas is not less than 18m, and the maximum water pressure does not exceed 25m.

[0219] To W i The solution cluster is set to M i ={m1, m2, m3, …, m n}, see Table 11 for details; for W j The solution cluster is set to K j ={k1, k2, k3, …, k n}, see Table 12 for details.

[0220] Table 11 M i Solution cluster

[0221]

[0222] Table 12 K i Solution cluster

[0223]

[0224] M i ={m1, m2, m3, …, m n} and K j ={k1, k2, k3, …, k n} respectively substitute them into the objective function for calculation, sort the function values ​​obtained in Wi and Wj from small to large, and take the top 50% of the solution clusters as the optimal solution cluster ZUi and the most solution cluster ZUj; merge the optimal solution cluster ZUi and the most solution cluster ZUj for analysis to see if there are any duplications, delete the duplicate parts, and merge the two optimal solution clusters as the initial population CSj.

[0225] The optimal solution cluster ZUi is shown in Table 13.

[0226] Table 13

[0227]

[0228] The optimal solution cluster ZUj is shown in Table 14.

[0229] Table 14

[0230]

[0231] There are three options for pipe ID 15: {400mm, 600mm, 500mm}; similarly, pipe ID 36 = {500mm, 700mm, 750mm}; pipe ID 37 = {600mm, 650mm, 750mm}; pipe ID 38 = {500mm, 300mm, 550mm}; pipe ID 45 = {650mm, 550mm, 800mm}; pipe ID 62 = {500mm, 300mm, 550mm}; pipe ID 63 = {1000mm, 850mm, 700mm}; pipe ID 77 = {900mm, 850mm, 950mm}; The above are the pipe diameter combinations that can be selected for the pipe section to be repaired. According to the principle of permutation and combination calculation, there are 8 pipe sections in total, and each pipe has 3 selection methods, so the total is: A solution.

[0232] The initial population CSj needs to take the pipes of the entire water supply system as the population for calculation.

[0233] The initial population CSj is genetically encoded. For example, in scheme 1, the diameters of the pipes to be repaired are pipe ID 15 = 400 mm, pipe ID 36 = 500 mm, pipe ID 37 = 600 mm, pipe ID 38 = 500 mm, pipe ID 45 = 650 mm, pipe ID 62 = 500 mm, pipe ID 63 = 1000 mm, and pipe ID 77 = 900 mm.

[0234] The diameters of the remaining normal pipelines are still encoded according to the original diameters, such as pipeline ID 1 = 1400mm, pipeline ID 2 = 1000mm, pipeline ID 3 = 1000mm, pipeline ID 4 = 1200mm, pipeline ID 5 = 600mm, etc. Based on Table 1, the diameters of the pipelines to be repaired and the diameters of the normal pipelines are genetically encoded to form a series of chromosome groups formed by genetic coding combinations. For example, the genetic codes of the chromosome groups of the first 15 pipeline IDs in the first group of schemes are: {25, 17, 21, 21, 9, 9, 9, 9, 9, 5, 5, 9, 1, 0}.

[0235] The chromosome group formed by the genetic coding combination of pipe diameters is used for pipe network adjustment and fitness calculation, and the calculation includes the following:

[0236] (a) The initial chromosome 1 is set to Ri=1, and the gene string is decoded to generate the corresponding tube diameter combination;

[0237] (b) Perform pipe network adjustment on pipe diameter combinations to determine the flow distribution of each pipe section and the pressure at the node;

[0238] (c) Calculate the network cost and reliability function;

[0239] (d) Calculate the fitness function F(k) value of chromosome Ri=1;

[0240] (e) Determine whether the initial chromosome number 1 is set to Ri=1 and is greater than or equal to 6561? This is equivalent to performing the calculation from (a) to (d) for all 6561 solutions. If it is greater than or equal to 6561, then perform the non-dominated sorting congestion calculation; if it is less than 6561, then return to step (a) and combine the tube diameters again until the fitness value meets the requirements.

[0241] For those that have met the above fitness requirements, non-dominated sorting and crowding calculation are performed on the initial population of 6561 schemes to generate the first-generation new parent population J0, and genetic selection, crossover, and mutation operations are performed on the first-generation new parent population to generate a child population. The parent population is subjected to the elite retention strategy and merged with the newly generated child population as a new population J1. Non-dominated sorting and crowding calculation are performed on the new population J1, and the original population J0 is replaced according to the number of layers and crowding. It is determined whether the number of iterations is greater than 100,000 times; if not, the selection, crossover, mutation and other operations are repeated until convergence, and the final result is output.

[0242] The final result is a solution set of two groups of pipe diameter combinations that meet the requirements of the pipelines to be repaired, as shown in Table 15:

[0243] Table 15

[0244]

[0245] The current optimization design of water supply pipe networks involved in the existing technology may focus more on the planning and design stages, but not enough on the operation and maintenance stages; the present invention particularly emphasizes the optimization of the pipe network in the operation and maintenance stage, and proposes a systematic repair method, including the steps of pipe network status analysis, model verification, and optimization solution solution, which helps to improve the long-term operation efficiency and reliability of the water supply pipe network.

[0246] Embodiment 4

[0247] Based on the above embodiments, the present invention provides a water supply network repair device. Fig.13 The schematic diagram of a water supply network repair device provided by an embodiment of the present invention is shown, which includes:

[0248] The model building module 310 is used to obtain basic parameters of the water supply network and build a topological structure model of the water supply network based on the basic parameters.

[0249] The model updating module 320 is used to verify and update the water supply network topology model based on the operation data of the water supply network.

[0250] The adjustment plan processing module 330 is used to determine the adjustment plan of the water supply network based on the daily maintenance information of the water supply network and the simulated operation condition data.

[0251] The initial population processing module 340 is used to bring the adjustment plan into the first objective function with the corresponding pipeline flow rate as the economic flow rate as the constraint target and the second objective function with the reasonable range of node pressure of the water supply network as the constraint target to solve, and obtain multiple first objective function values ​​and multiple second objective function values. The first objective function values ​​and the second objective function values ​​are sorted from small to large, and the first objective function values ​​with a preset proportion of the front are selected, and the adjustment plan corresponding to the selected first objective function value is used as the first target adjustment plan, and the second objective function value with a preset proportion of the front is selected, and the adjustment plan corresponding to the selected second objective function value is used as the second target adjustment plan, and the first target adjustment plan and the second target adjustment plan are merged as the initial population.

[0252] The population encoding module 350 is used to encode the initial population based on the preset pipe diameter code.

[0253] The fitness calculation module 360 ​​is used to perform pipe network adjustment and fitness calculation on the chromosomes in the encoded initial population in turn to obtain fitness; wherein the fitness calculation function is based on the third objective function with the minimization of the annual repair cost during the investment period as the constraint target and the fourth objective function with the pipe network reliability performance evaluation as the constraint target.

[0254] The new parent population processing module 370 is used to perform non-dominated sorting and crowding calculation on chromosomes whose fitness meets a preset fitness threshold to obtain a new parent population.

[0255] The new parent population updating module 380 is used to iteratively update the new parent population.

[0256] The water supply network repair plan determination module 390 is used to use the new parent population that meets the preset number of iterations as the water supply network repair plan.

[0257] Furthermore, in some preferred embodiments of the present invention, the new parent population update module 380 is used to perform genetic processing on the new parent population to obtain a child population; wherein the genetic processing includes at least one of the following: selection, crossover and mutation; determining a new population based on the new parent population and the child population processed by the elite retention strategy; performing non-dominated sorting and crowding calculation on the new population; and updating the new parent population based on the number of layers of the non-dominated sorting and the results of the crowding calculation.

[0258] Furthermore, in some preferred embodiments of the present invention, the fitness calculation module 360 ​​is used to calculate the closure difference of the network nodes of the water supply network based on the network data of the water supply network and a preset calculation accuracy; wherein the network data includes the node water pressure; if the closure difference meets the preset accuracy, the node water pressure is determined as the node target water pressure; if the closure difference does not meet the preset accuracy, the node water pressure is adjusted based on the Jacobian matrix of the node water pressure until the closure difference meets the preset accuracy.

[0259] Furthermore, in some preferred embodiments of the present invention, the fitness calculation module 360 ​​is used to calculate the fitness using the following formula: ; Where F(k) is the fitness function, is the first weighted, is the second weight, W x is the third objective function, W xmin is the minimum value of the third objective function, W xmax is the maximum value of the third objective function, W y is the fourth objective function, W ymin is the minimum value of the fourth objective function, W ymax is the maximum value of the fourth objective function.

[0260] Furthermore, based on the constructed F(k) function, we can first assume that is the first weighted, Substituting the second weighted value, as well as the maximum and minimum values ​​of the third and fourth objective functions obtained by solving them into the formula, we can get the virtual fitness value. Figure 3 As shown, under different virtual fitness values, different groups of non-inferior layers can be used, and the non-inferior layers represent several groups of optimal solution sets. For example, on non-inferior layer 1, solution set 1 and solution set 2 are both optimal solutions.

[0261] Furthermore, in some preferred embodiments of the present invention, the new parent population processing module 370 is used to define the dominance count of each solution and the solution set dominated by the solution; to determine the first non-inferior layer through all solutions; and to update the hierarchy based on the dominance count and the solution set dominated by the solution until a hierarchy is empty.

[0262] Furthermore, in some preferred embodiments of the present invention, the new parent population processing module 370 is used to calculate the congestion degree based on the following formula: ; where idistance is the crowding distance of individuals in non-dominated sorting, r is the number of objective functions, is the fitness function of the i+1th individual on the jth target, is the fitness function of the i-1th individual on the jth target.

[0263] Technicians in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working process of the water supply network repair device described above can refer to the corresponding process in the aforementioned embodiment of the water supply network repair method, and will not be repeated here.

[0264] Embodiment 5

[0265] The embodiment of the present invention also provides an electronic device for running a water supply network repair method; see Fig.14 The structural schematic diagram of an electronic device provided by an embodiment of the present invention is shown, and the electronic device includes a memory 400 and a processor 401, wherein the memory 400 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 401 to implement the above-mentioned water supply network repair method.

[0266] Further, Fig.14 The electronic device shown further includes a bus 402 and a communication interface 403 , and the processor 401 , the communication interface 403 and the memory 400 are connected via the bus 402 .

[0267] The memory 400 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 403 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 402 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14Only one bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus. The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 401. The above processor 401 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 400, and the processor 401 reads the information in the memory 400 and completes the steps of the method of the above embodiment in combination with its hardware.

[0268] An embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned business recommendation method. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0269] The computer program products of the water supply network repair method, device and electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.

[0270] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and / or device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0271] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0272] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0273] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for repairing a water supply network, It is characterized in that include: Acquire basic parameters of the water supply network, and construct a topological structure model of the water supply network based on the basic parameters; Verifying and updating the water supply network topology model based on the operation data of the water supply network; Determining an adjustment plan for the water supply network based on daily maintenance information of the water supply network and simulated operating condition data; The adjustment scheme is respectively brought into a first objective function with the corresponding pipeline flow rate as the economic flow rate as the constraint target and a second objective function with satisfying the reasonable range of the node pressure of the water supply network as the constraint target to solve, and a plurality of first objective function values ​​and a plurality of second objective function values ​​are obtained, and the first objective function values ​​and the second objective function values ​​are sorted from small to large, and a preset proportion of the first objective function values ​​at the front are selected, and the adjustment scheme corresponding to the selected first objective function value is used as the first objective adjustment scheme, and the preset proportion of the second objective function values ​​at the front are selected, and the adjustment scheme corresponding to the selected second objective function value is used as the second objective adjustment scheme, and the first objective adjustment scheme and the second objective adjustment scheme are merged as the initial population; Encoding the initial population based on a preset pipe diameter code; Performing pipe network adjustment and fitness calculation on the chromosomes in the encoded initial population in turn to obtain fitness; wherein the fitness calculation function is jointly constrained by a third objective function with minimization of annual repair cost as a constraint target and a fourth objective function with maximization of pipe network reliability performance as a constraint target; Performing non-dominated sorting and crowding calculation on the chromosomes whose fitness meets a preset fitness threshold to obtain a new parent population; Iteratively updating the new parent population; Using the new parent population that meets the preset number of iterations as the water supply network repair plan; The first objective function is calculated by the following formula: ; in, is the first objective function, is the first weight coefficient, is the second weight coefficient, and 0≤ ≤1,0≤ ≤1, + =1, The pipeline flow rate is lower than the economic flow rate. is the set of pipe groups whose velocity is lower than the lower boundary of the economic flow rate, The pipeline flow rate is higher than the economic flow rate. is the set of pipeline groups whose speed is higher than the upper limit of economic speed, Indicates the flow rate of the pipeline below the economic flow rate. Indicates the flow rate of the pipeline that is higher than the economic flow rate. The flow rate of each pipe section, is the velocity of each section of the pipeline, is the collection of all pipelines within the region. is the economic speed, i.e. the economic flow rate of pipes with different diameters; The second objective function is calculated by the following formula: ; in, is the second objective function, η is the third weight coefficient, µ is the fourth weight coefficient, and 0≤η≤1, 0≤µ≤1, η+µ=1; Indicates that the node pressure in the water supply network is lower than the minimum service water pressure; Represents the set of nodes with pressure lower than the minimum service water pressure; Indicates the node flow at which the pressure is lower than the minimum service water pressure; Indicates that the node pressure in the water supply network is higher than the maximum service water pressure; Represents the set of node groups with pressure higher than the maximum service water pressure; Indicates the node flow at pressures above the maximum service water pressure; Indicates the node flow in the water supply network; Indicates the pressure at any node in the water supply network; Indicates the pressure corresponding to the nodes in different blocks; The third objective function is calculated by the following formula: ; in, is the third objective function, a is the first coefficient, b is the second coefficient, c is the third coefficient, D k is the diameter of the pipe k, L k is the length of pipeline k, N is the total number of pipeline groups that need to be repaired in the area; The fourth objective function is calculated by the following formula: ; in, is the fourth objective function, Q o is the sum of the flow rates of all pipe sections in the water supply network. is the flow entropy of node j in the water supply network, n represents the number of pipe sections, Q j is the sum of all pipeline flows into node j; The flow entropy of node j in the water supply network is calculated by the following formula: ; Among them, U j is the set of upstream nodes of node j; q ij is the flow rate of pipeline ij, the flow direction is from node i to node j, n represents the number of pipe sections, Q j is the sum of all pipeline flows into node j; The fitness is calculated by the following formula: ; Among them, F(k) is the fitness function, is the first weighted, is the second weight, W x is the third objective function, W xmin is the minimum value of the third objective function, W xmax is the maximum value of the third objective function, W y is the fourth objective function, (1 / W y ) min is the minimum value of the inverse of the fourth objective function, (1 / W y ) max is the maximum value of the inverse of the fourth objective function.

2. The water supply network repair method according to claim 1, It is characterized in that The step of iteratively updating the new parent population comprises: Performing genetic processing on the new parent population to obtain a progeny population; wherein the genetic processing includes at least one of the following: selection, crossover and mutation; Determine a new population based on the new parent population and the offspring population processed by the elite retention strategy; Performing the non-dominated sorting and the crowding degree calculation on the new population; The new parent population is updated based on the number of levels of the non-dominated sort and the result of the congestion calculation.

3. The water supply network repair method according to claim 1, It is characterized in that The steps of pipe network adjustment include: Calculating the closure error of the pipe network nodes of the water supply pipe network based on the pipe network data of the water supply pipe network and a preset calculation accuracy; wherein the pipe network data includes the node water pressure; If the closure error satisfies a preset accuracy, the node water pressure is determined as the node target water pressure; If the closure error does not meet the preset accuracy, the node water pressure is adjusted based on the Jacobian matrix of the node water pressure until the closure error meets the preset accuracy.

4. The water supply network repair method according to claim 1, It is characterized in that The non-dominated sorting step comprises: defining a domination count for each solution and the set of solutions dominated by the solution; Go through all the solutions and determine the first non-inferior layer; The levels are updated based on the domination counts and the set of solutions dominated by the solutions until one of the levels is empty.

5. The water supply network repair method according to claim 4, It is characterized in that The congestion degree is calculated based on the following formula: ; Among them, i distance is the crowding distance of individuals in the non-dominated sorting, r is the number of objective functions, is the fitness function of the i+1th individual on the jth target, is the fitness function of the i-1th individual on the jth target.

6. A water supply network repair device, It is characterized in that include: A model building module, used to obtain basic parameters of the water supply network and build a topological structure model of the water supply network based on the basic parameters; A model updating module, used for verifying and updating the water supply network topology model based on the operation data of the water supply network; An adjustment scheme processing module, used to determine the adjustment scheme of the water supply network based on the daily maintenance information of the water supply network and the simulated operation condition data; An initial population processing module is used to bring the adjustment scheme into a first objective function with the corresponding pipeline flow rate as the economic flow rate as a constraint target and a second objective function with satisfying the reasonable range of node pressure of the water supply network as a constraint target, respectively, to solve, to obtain multiple first objective function values ​​and multiple second objective function values, to sort the first objective function values ​​and the second objective function values ​​from small to large, to select the first objective function values ​​that are at the front of a preset proportion, to use the adjustment scheme corresponding to the selected first objective function value as the first objective adjustment scheme, to select the second objective function values ​​that are at the front of the preset proportion, to use the adjustment scheme corresponding to the selected second objective function value as the second objective adjustment scheme, and to merge the first objective adjustment scheme and the second objective adjustment scheme as the initial population; A population encoding module, used for encoding the initial population based on a preset pipe diameter code; A fitness calculation module is used to perform pipe network adjustment and fitness calculation on the chromosomes in the encoded initial population in sequence to obtain fitness; wherein the fitness calculation function is based on the third objective function with the minimization of the annual repair cost during the investment period as the constraint target and the fourth objective function with the maximization of the pipe network reliability performance as the constraint target. A new parent population processing module is used to perform non-dominated sorting and crowding calculation on the chromosomes whose fitness meets a preset fitness threshold to obtain a new parent population; A new parent population updating module, used for iteratively updating the new parent population; A water supply network repair solution determination module is used to use a new parent population that meets a preset number of iterations as the water supply network repair solution. The first objective function is calculated by the following formula: ; in, is the first objective function, is the first weight coefficient, is the second weight coefficient, and 0≤ ≤1,0≤ ≤1, + =1, The pipeline flow rate is lower than the economic flow rate. is the set of pipe groups whose velocity is lower than the lower boundary of the economic flow rate, The pipeline flow rate is higher than the economic flow rate. is the set of pipeline groups whose speed is higher than the upper limit of economic speed, Indicates the flow rate of the pipeline below the economic flow rate. Indicates the flow rate of the pipeline that is higher than the economic flow rate. The flow rate of each pipe section, is the velocity of each section of the pipeline, is the collection of all pipelines within the region. is the economic speed, i.e. the economic flow rate of pipes with different diameters; The second objective function is calculated by the following formula: ; in, is the second objective function, η is the third weight coefficient, µ is the fourth weight coefficient, and 0≤η≤1, 0≤µ≤1, η+µ=1; Indicates that the node pressure in the water supply network is lower than the minimum service water pressure; Represents the set of nodes with pressure lower than the minimum service water pressure; Indicates the node flow at which the pressure is lower than the minimum service water pressure; Indicates that the node pressure in the water supply network is higher than the maximum service water pressure; Represents the set of node groups with pressure higher than the maximum service water pressure; Indicates the node flow at pressures above the maximum service water pressure; Indicates the node flow in the water supply network; Indicates the pressure at any node in the water supply network; Indicates the pressure corresponding to the nodes in different blocks; The third objective function is calculated by the following formula: ; in, is the third objective function, a is the first coefficient, b is the second coefficient, c is the third coefficient, D k is the diameter of the pipe k, L k is the length of pipeline k, N is the total number of pipeline groups that need to be repaired in the area; The fourth objective function is calculated by the following formula: ; in, is the fourth objective function, Q o is the sum of the flow rates of all pipe sections in the water supply network. is the flow entropy of node j in the water supply network, n represents the number of pipe sections, Q j is the sum of all pipeline flows into node j; The flow entropy of node j in the water supply network is calculated by the following formula: ; Among them, U j is the set of upstream nodes of node j; q ij is the flow rate of pipeline ij, the flow direction is from node i to node j, n represents the number of pipe sections, Q j is the sum of all pipeline flows into node j; The fitness is calculated by the following formula: ; Among them, F(k) is the fitness function, is the first weighted, is the second weight, W x is the third objective function, W xmin is the minimum value of the third objective function, W xmax is the maximum value of the third objective function, W y is the fourth objective function, (1 / W y ) min is the minimum value of the inverse of the fourth objective function, (1 / W y ) max is the maximum value of the inverse of the fourth objective function.

7. The water supply network repair device according to claim 6, It is characterized in that The new parent population update module is used to perform genetic processing on the new parent population to obtain a child population; wherein the genetic processing includes at least one of the following: selection, crossover and mutation; determining a new population based on the new parent population and the child population processed by the elite retention strategy; performing the non-dominated sorting and the crowding calculation on the new population; updating the new parent population based on the number of layers of the non-dominated sorting and the result of the crowding calculation.

8. An electronic device, It is characterized in that It comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the water supply network repair method described in any one of claims 1 to 5.

9. A computer storage medium, It is characterized in that The computer storage medium stores computer executable instructions. When the computer executable instructions are called and executed by the processor, the computer executable instructions prompt the processor to implement the water supply network repair method according to any one of claims 1 to 5.