Optimization and transformation method, device and equipment for water delivery pipe network and storage medium
By building the cost and reliability target model of the water transmission pipeline network and using the multi-target gray wolf optimization algorithm, the problem of neglecting water supply reliability in the transformation of the water transmission pipeline network in the existing technology is solved, and high safety under external interference is achieved and low accident rate water supply effect.
Patent Information
- Application Number
- CN202410972430.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-11-15
AI Technical Summary
The existing water supply pipeline renovation method focuses on reducing the total cost, neglecting the reliability and safety of water supply, resulting in insufficient water supply capacity and high accident rate under the influence of external interference factors, which cannot meet the increasing requirements of water supply safety and stability. .
By obtaining the key parameter set of water supply pipeline network, an optimized transformation mathematical model with the goal of cost and reliability is built, and using the multi-objective gray wolf optimization algorithm to solve it, the optimization transformation solution is obtained to take into account the cost and reliability of water supply and improve the pipeline network. Water supply capacity and safety in case of external interference.
It realizes the efficiency and efficiency of the multi-target gray wolf optimization algorithm without increasing costs, reduces the potential accident rate, meets the needs of high safety and high reliability, and the efficiency of the multi-target gray wolf optimization algorithm and Simplicity allows the model to converge quickly and can quickly solve the optimization solution.
Smart Images

Figure CN118966410A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water pipe networks, and in particular to a method, device, equipment and storage medium for optimizing and transforming a water pipe network. Background Art
[0002] As a key component of the urban water supply system, the water pipeline network plays an important role in delivering and distributing water from the water source to users. However, in the existing technology, the water pipeline network has problems such as poor pipe material, high pipe pressure, high operating cost, long laying time, and inconsistent laying standards. Not only is it difficult to guarantee the water quality and quantity, but it is also more prone to accidents such as pipe bursts and leaks, affecting the reliability and safety of water supply. With the acceleration of urbanization, water demand is also increasing rapidly. The existing water pipeline network is difficult to provide sufficient and reliable water supply for users in multiple scenarios such as industry, agriculture, and towns. In this context, it is of vital importance to optimize and transform the existing water pipeline network to improve the reliability of water supply.
[0003] Since the cost of water supply pipelines is high, accounting for more than half of the entire water supply system, one of the key points of optimizing the design of water supply pipelines is to minimize the construction, depreciation, operation and maintenance costs of water supply pipelines. Most of the existing pipeline transformation methods focus on reducing the total cost of pipelines. It is worth noting that the pipeline optimization and transformation methods that only take into account the cost ignore the reliability of water supply, fail to guarantee the water supply capacity of the pipeline network when affected by external interference factors, reduce the potential accident rate, and cannot meet the increasing safety and stability of water supply. Summary of the invention
[0004] In view of this, the present invention provides a method, device, equipment and storage medium for optimizing and transforming a water supply pipeline network, in order to solve the problem that most existing pipeline network transformation methods focus on reducing the total cost of the pipeline network, ignore the reliability of water supply, fail to ensure the water supply capacity of the pipeline network when affected by external interference factors, reduce potential accident rates, and cannot meet the increasingly improved water supply safety and stability.
[0005] In a first aspect, the present invention provides a method for optimizing and transforming a water pipe network, the method comprising:
[0006] The key parameter set of the water supply network in the target area is obtained; with the cost and reliability of the water supply network as the target, a mathematical model for optimizing and transforming the water supply network is constructed based on the key parameter set of the water supply network; the mathematical model for optimizing and transforming the water supply network is solved using the multi-objective grey wolf optimization algorithm to obtain the optimized transformation plan for the water supply network in the target area.
[0007] The water supply network optimization and transformation method provided by the present invention takes the water supply network cost and the water supply network reliability as the target, constructs a water supply network optimization and transformation mathematical model according to the acquired water supply network key parameter set, and then solves the water supply network optimization and transformation mathematical model through a multi-objective gray wolf optimization algorithm to obtain the optimized water supply network optimization and transformation plan for the target area. Therefore, by implementing the present invention, both the water supply cost and reliability are taken into consideration, the water supply capacity of the pipeline network can be improved when affected by external interference factors, the potential accident rate can be reduced, and the high safety and high reliability requirements of water supply can be met. Furthermore, by solving the model using a multi-objective gray wolf optimization algorithm, the global optimal solution can be efficiently searched, the hyperparameters are relatively few and the settings are simple, the model converges quickly, and the water supply network optimization and transformation plan for the target area can be quickly and efficiently solved.
[0008] In an optional implementation, obtaining a key parameter set of a water pipe network in a target area includes:
[0009] Obtain the water source layout location, pump station layout location, pipeline layout location and water transmission node distribution in the target area; generate a water transmission network layout topology map of the target area based on the water source layout location, pump station layout location, pipeline layout location and water transmission node distribution; determine the key parameter set of the water transmission network based on the water transmission network layout topology map.
[0010] The water supply network optimization and transformation method provided by the present invention can establish a water supply network layout topology map that can intuitively display the structure and connection relationship of the entire water supply network by acquiring the water source layout location, pump station layout location, pipeline layout location and water supply node distribution in the target area. Furthermore, multiple key parameters of the water supply network can be determined through the water supply network layout topology map, providing data support for the establishment of a subsequent mathematical model for optimizing and transforming the water supply network.
[0011] In an optional implementation, taking the cost and reliability of the water pipeline network as the target, before constructing the mathematical model for optimizing the transformation of the water pipeline network based on the key parameter set of the water pipeline network, the method further includes:
[0012] Based on the optimization and transformation problem of the water pipeline network in the target area, determine the set of constraints.
[0013] The water supply network optimization and transformation method provided by the present invention constructs and determines a corresponding set of constraint conditions by considering the water supply network optimization and transformation problem in the target area, thereby providing support for improving the accuracy of the water supply network optimization and transformation mathematical model.
[0014] In an optional implementation, taking the cost and reliability of the water pipeline network as the target, based on the key parameter set of the water pipeline network, a mathematical model for optimizing and transforming the water pipeline network is constructed, including:
[0015] Based on the key parameter set of the water transmission network, the water transmission network cost objective function and the water transmission network reliability objective function are constructed; under the constraints of the constraint condition set, based on the key parameter set of the water transmission network, after processing the water transmission network cost objective function and the water transmission network reliability objective function, a mathematical model for the optimization and transformation of the water transmission network is constructed.
[0016] The water supply network optimization and transformation method provided by the present invention can construct a corresponding water supply network cost objective function and a water supply network reliability objective function by using the obtained water supply network key parameter set. Further, under the constraints of the constraints, the corresponding water supply network optimization and transformation mathematical model is constructed by combining the water supply network cost objective function and the water supply network reliability objective function, thereby improving the model accuracy. Therefore, by implementing the present invention, both the water supply cost and reliability are taken into consideration, and the water supply capacity of the network can be improved when affected by external interference factors, the potential accident rate can be reduced, and the high safety and high reliability requirements of water supply can be met.
[0017] In an optional implementation, based on the key parameter set of the water transmission network, a water transmission network cost objective function and a water transmission network reliability objective function are constructed, including:
[0018] Based on the key parameter set of the water transmission network, the cost parameter set of the water transmission network is calculated; based on the cost parameter set of the water transmission network, the cost objective function of the water transmission network is constructed; based on the key parameter set of the water transmission network, the reliability objective function of the water transmission network is constructed.
[0019] In an optional implementation, the water pipe network cost objective function is expressed as the following relationship:
[0020]
[0021] In the formula: E represents the cost of the water transmission network; E1 represents the initial construction cost of the water transmission network; P represents the investment payback period of E1; E2 represents the annual operation and maintenance cost of the water transmission network; E3 represents the annual depreciation cost of the water transmission network.
[0022] In a second aspect, the present invention provides a water pipe network optimization and transformation device, the device comprising:
[0023] The acquisition module is used to obtain the key parameter set of the water supply network in the target area; the construction module is used to construct a mathematical model for optimizing and transforming the water supply network based on the key parameter set of the water supply network with the water supply network cost and water supply network reliability as the target; the solution module is used to solve the mathematical model for optimizing and transforming the water supply network using the multi-objective grey wolf optimization algorithm to obtain the water supply network optimization and transformation plan for the target area.
[0024] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the water supply network optimization and transformation method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0025] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the water supply network optimization and transformation method of the first aspect or any corresponding embodiment thereof.
[0026] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method for optimizing and transforming a water supply network according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] 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.
[0028] Figure 1 is a schematic flow chart of a method for optimizing and transforming a water pipe network according to an embodiment of the present invention;
[0029] Figure 2 is a flow chart of another water pipe network optimization and transformation method according to an embodiment of the present invention;
[0030] Figure 3 is a flow chart of another water pipe network optimization and transformation method according to an embodiment of the present invention;
[0031] Figure 4 is a flow chart of a method for optimizing and reconstructing a water pipe network taking into account cost and reliability according to an embodiment of the present invention;
[0032] Figure 5 is a structural block diagram of a water pipe network optimization and transformation device according to an embodiment of the present invention;
[0033] Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0035] The embodiment of the present invention provides a method for optimizing and transforming a water supply pipeline network, which takes into account both the water supply cost and reliability to improve the water supply capacity of the pipeline network when affected by external interference factors, reduce the potential accident rate, and meet the requirements of high safety and high reliability of water supply.
[0036] According to an embodiment of the present invention, an embodiment of a method for optimizing and transforming a water supply network is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0037] In this embodiment, a water pipe network optimization and transformation method is provided, which can be used for electronic devices such as computers, mobile phones, tablet computers, etc. Figure 1 is a flow chart of a method for optimizing and transforming a water pipe network according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0038] Step S101, obtaining a set of key parameters of the water supply network in the target area.
[0039] Among them, the target area represents the area where the water supply network to be optimized and renovated is located; the key parameter set of the water supply network may include: water head of each water source, head and flow of the pump station, length of the pipeline, type of pipe material, water demand of each water supply node, upper and lower limits of water pressure of the water supply node and other key parameters of the network.
[0040] Step S102, taking the cost and reliability of the water transmission network as the target and based on the key parameter set of the water transmission network, a mathematical model for optimizing and transforming the water transmission network is constructed.
[0041] Specifically, with the dual goals of accurately reducing the cost of the water transmission network and significantly improving its reliability, the corresponding mathematical model for optimizing and transforming the water transmission network is constructed in combination with the acquired key parameter set of the water transmission network. By constructing the mathematical model for optimizing and transforming the water transmission network, it can be ensured that the water transmission network achieves the best balance between cost optimization and performance improvement, thereby solving the problem that most of the existing pipeline transformation methods are conducted around reducing the total cost of the pipeline network, ignoring the reliability of water supply, failing to guarantee the water supply capacity of the pipeline network when affected by external interference factors, reducing the potential accident rate, and failing to meet the increasing safety and stability of water supply.
[0042] Step S103, using a multi-objective grey wolf optimization algorithm to solve the mathematical model of water pipe network optimization and transformation, and obtain a water pipe network optimization and transformation plan for the target area.
[0043] Among them, the multi-objective grey wolf optimization algorithm (MOGWO) is a multi-objective optimization method based on the grey wolf optimization algorithm (GWO), which aims to solve optimization problems under multiple criteria. It introduces the concept of Pareto optimal solution set and finds the optimal solution by minimizing or maximizing multiple objective functions.
[0044] Specifically, the multi-objective grey wolf optimization algorithm is used to solve the mathematical model of the water pipeline network optimization and transformation until a solution that balances cost and reliability is obtained, and the solution that balances cost and reliability is used as the optimal pipe diameter plan, that is, the water pipeline network optimization and transformation plan for the target area.
[0045] The water supply network optimization and transformation method provided in this embodiment takes the water supply network cost and water supply network reliability as the target, constructs a water supply network optimization and transformation mathematical model based on the acquired water supply network key parameter set, and then solves the water supply network optimization and transformation mathematical model through a multi-objective gray wolf optimization algorithm to obtain the optimized water supply network optimization and transformation plan for the target area. Therefore, by implementing the present invention, both the water supply cost and reliability are taken into consideration, the water supply capacity of the pipeline network can be improved when it is affected by external interference factors, the potential accident rate can be reduced, and the high safety and high reliability requirements of water supply can be met. Furthermore, by solving the model using a multi-objective gray wolf optimization algorithm, the global optimal solution can be efficiently searched, the hyperparameters are relatively few and the settings are simple, the model converges quickly, and the water supply network optimization and transformation plan for the target area can be quickly and effectively solved.
[0046] In this embodiment, a water pipe network optimization and transformation method is provided, which can be used for electronic devices such as computers, mobile phones, tablet computers, etc. Figure 2 is a flow chart of a method for optimizing and transforming a water pipe network according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0047] Step S201, obtaining a set of key parameters of the water supply network in the target area.
[0048] Specifically, the above step S201 includes:
[0049] Step S2011, obtaining the water source layout location, pump station layout location, pipeline layout location and water delivery node distribution of the target area.
[0050] Specifically, in order to more comprehensively grasp the distribution and allocation of water resources in the target area, the detailed planning data of the urban planning department, the professional guidance of the water management department, the detailed data provided by the geographic information system (GIS), etc. can be used to accurately obtain the layout location of water sources, pump station layout locations, pipeline layout locations and water delivery node distribution in the target area, or they can be obtained through manual statistics. Furthermore, as an auxiliary means, manual statistics can also be used to verify and supplement relevant information to ensure the accuracy and completeness of the data.
[0051] Step S2012, based on the water source layout location, pump station layout location, pipeline layout location and water delivery node distribution, generate a water delivery network layout topology map of the target area.
[0052] First of all, the layout location of the water source is the starting point for determining the design of the water pipe network. The water source can be a natural water body such as a river, lake, or reservoir, or an artificial water source such as groundwater or recycled water. The layout location of the water source directly determines the starting point and water supply capacity of the water pipe network.
[0053] Secondly, as an important node in the water supply network, the pump station layout location is responsible for lifting the water from the water source to a certain height or pressure to meet the water supply needs of different areas. When laying out the pump station, it is necessary to consider the pump station's water supply range, head, flow rate and other parameters, as well as the connection method and distance between the pump station and the water source and pipeline.
[0054] Then, factors such as the direction, length, diameter and material of the pipeline will affect the stability and reliability of the water supply system. When laying out the pipeline, it is necessary to comprehensively consider factors such as topography, urban planning, and road construction to ensure that the pipeline is safe, reliable and economically reasonable.
[0055] Finally, water delivery nodes are key connection points in the water supply system, such as valves, water diversion ports, pumping stations, etc. The distribution of nodes not only affects the stability and reliability of the water supply system, but also the flexibility and adjustability of the water supply system. When arranging nodes, it is necessary to comprehensively consider the water supply demand and pipeline layout to ensure that the location and number of nodes are reasonable.
[0056] Therefore, after considering the above-mentioned water source layout location, pump station configuration location, pipeline laying path and detailed distribution of each water transmission node in the target area, a water transmission network layout topology map of the target area can be generated. This water transmission network layout topology map can not only intuitively display the spatial relationship between water sources, pump stations, pipelines and water transmission nodes, but also clearly outline the path and network structure of water flow transmission, providing strong support for the upgrading and transformation of the water transmission network.
[0057] Step S2013, determining a key parameter set of the water supply network based on the water supply network layout topology map.
[0058] Specifically, in combination with the description of step S2012 above, key parameters of the water supply network, such as the water head of each water source, pump station head and flow, pipeline length, pipe type, water demand of each water supply node, and upper and lower limits of water pressure at the water supply node, can be determined based on the generated water supply network layout topology map.
[0059] Step S202: Taking the cost and reliability of the water pipeline network as the target, and based on the key parameter set of the water pipeline network, a mathematical model for optimizing the transformation of the water pipeline network is constructed. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.
[0060] Step S203, using the multi-objective grey wolf optimization algorithm to solve the mathematical model of water pipe network optimization and transformation, and obtain the water pipe network optimization and transformation plan for the target area. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.
[0061] The water supply network optimization and transformation method provided in this embodiment can establish a water supply network layout topology map that can intuitively display the structure and connection relationship of the entire water supply network by obtaining the water source layout location, pump station layout location, pipeline layout location and water supply node distribution of the target area. Further, multiple key parameters of the water supply network can be determined through the water supply network layout topology map. Further, with the water supply network cost and water supply network reliability as the target, a water supply network optimization and transformation mathematical model is constructed according to the obtained water supply network key parameter set, and then the water supply network optimization and transformation plan of the optimized target area can be obtained by solving the water supply network optimization and transformation mathematical model through the multi-objective gray wolf optimization algorithm. Therefore, by implementing the present invention, both water supply cost and reliability are taken into consideration, the water supply capacity of the network can be improved when it is affected by external interference factors, the potential accident rate can be reduced, and the high safety and high reliability requirements of water supply can be met. Furthermore, the multi-objective grey wolf optimization algorithm is used to solve the model, which can efficiently search for the global optimal solution. It has fewer hyperparameters and simple settings, and the model converges quickly. It can quickly and efficiently solve the optimal transformation plan for the water supply network in the target area.
[0062] In this embodiment, a water pipe network optimization and transformation method is provided, which can be used for electronic devices such as computers, mobile phones, tablet computers, etc. Figure 3 is a flow chart of a method for optimizing and transforming a water pipe network according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0063] Step S301, obtain the key parameter set of the water supply network in the target area. Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.
[0064] Step S302: determining a set of constraint conditions based on the water pipe network optimization and transformation problem in the target area.
[0065] Specifically, the corresponding set of constraints is constructed and determined by considering the optimization and transformation problem of the water pipeline network in the target area.
[0066] Among them, by considering the optimization and transformation problem of the water supply network in the target area, the corresponding constraint condition set D is constructed and determined, which may include hydraulic constraints such as node continuity constraints, pipeline pressure drop constraints, and energy conservation constraints, and design specification constraints such as node water pressure constraints, pipeline flow constraints, and pipeline diameter constraints.
[0067] (1) Node continuity constraint, as shown in the following equation (1):
[0068]
[0069] Where: S u represents the pipeline association set belonging to node u; q i represents the flow of pipe i in the pipe association set. If the flow in pipe i flows to this node, then q i The sign is positive. If the flow in the pipeline i flows out from this node, then q i The sign is negative; N u represents the flow at node u.
[0070] (2) Pipeline pressure drop constraint: For each pipeline, the head difference between its two ends is equal to the head loss of the pipeline, as shown in the following relationship (2):
[0071]
[0072] Where: H s , H e They represent the water heads at the nodes s and e at both ends of the pipe i; l i d i ,q i Respectively represent the length, diameter and flow rate of pipeline i; λ irepresents the loss coefficient of the i-th pipeline, which can be calculated using the Hazen-Williams formula based on the key parameter set of the water supply network. It is shown in the following relationship (3):
[0073]
[0074] Where: g represents the acceleration due to gravity, which is 9.8 m / s 2 ; C λ The Hazen-Williams coefficient of the pipeline can be determined according to the "Design Code for Outdoor Water Supply and Drainage" (GB50013).
[0075] (3) Energy conservation constraint: The base ring head loss in the water supply network is equal to the base ring closure difference, as shown in the following relationship (4):
[0076]
[0077] Where: j represents the pipe belonging to base ring k; ΔH k Indicates the closing difference of the base ring, ΔH for single water source k =0, when there are multiple water sources, ΔH k It is the pressure difference between the distribution water sources.
[0078] (4) Node water pressure constraint: The water pressure of each water delivery node should be within a limited range, as shown in the following equation (5):
[0079]
[0080] Where: h u represents the actual water head at node u; represents the minimum limiting head at node u; represents the maximum limiting head of node u; U represents the number of nodes.
[0081] (5) Pipeline flow constraint, as shown in the following equation (6):
[0082]
[0083] Where: represents the minimum limiting flow rate of pipeline i; represents the maximum flow rate limit of pipeline i; N represents the number of pipelines.
[0084] (6) Pipe diameter constraint, as shown in the following equation (7):
[0085] d i ∈{d 1 ,d 2 ,…,d s},i=1,…,N (7)
[0086] The diameter of the pipe i must be selected from the standard pipe diameter specifications {d 1 ,d 2 ,…,d s}Select in.
[0087] Step S303, taking the cost and reliability of the water transmission network as the target and based on the key parameter set of the water transmission network, a mathematical model for optimizing and transforming the water transmission network is constructed.
[0088] Specifically, the above step S303 includes:
[0089] Step S3031, based on the key parameter set of the water transmission network, construct a water transmission network cost objective function and a water transmission network reliability objective function.
[0090] In some optional implementations, the above step S3031 includes:
[0091] Step a1, based on the key parameter set of the water transmission network, calculate the cost parameter set of the water transmission network.
[0092] Step a2: constructing a water transmission network cost objective function based on the water transmission network cost parameter set.
[0093] Step a3: construct a reliability objective function of the water transmission network based on the key parameter set of the water transmission network.
[0094] Specifically, the water transmission network cost parameter set may include the water transmission network initial construction cost E1, the water transmission network annual operation and maintenance cost E2, and the water transmission network annual depreciation cost E3, which can be calculated through the water transmission network key parameter set.
[0095] The initial construction cost E1 of the water supply network is expressed as follows:
[0096]
[0097] Where: a, b, κ represent the pipe cost constants respectively.
[0098] The annual operation and maintenance cost of the water supply network E2 is shown in the following equation (9):
[0099]
[0100] Where: M represents the number of pumping stations; ρ represents the density of water; γ represents the uneven coefficient of water supply energy; η j represents the efficiency of the jth booster pump station; Q j represents the flow rate of the jth booster pump station; H j Represents the head of the jth booster pump station.
[0101] The annual depreciation cost E3 of the water pipeline network is shown in the following equation (10):
[0102]
[0103] Where: v represents the annual depreciation and maintenance rate of the water supply network, and its value ranges from 2.5 to 3.
[0104] Furthermore, the cost objective function E of the water supply network is expressed as follows:
[0105]
[0106] Where: P represents the investment payback period of E1, which is generally 15 to 20 years.
[0107] Furthermore, in abnormal situations such as sudden failures, the network should have enough residual energy to ensure that the water flows between nodes complement each other, and each water transmission node should have more energy than the required power to ensure that the entire water transmission network has "elasticity" and the inherent ability to overcome sudden failures. Therefore, the network elasticity coefficient R can express the reliability of the water transmission network, as shown in the following relationship (12):
[0108]
[0109] Where: K represents the number of water sources; h u , represent the design flow, actual head and design head of the u-th water delivery node respectively; Q k , H k Respectively represent the flow and water head of the kth water source; P j Represents the power delivered into the pipeline network by the jth pumping station.
[0110] Furthermore, the larger R is, the stronger the ability of the water supply network to overcome sudden failures is, which is used as the reliability objective function in the optimization and transformation of the network.
[0111] Step S3032, under the constraints of the constraint condition set, based on the key parameter set of the water transmission network, after being processed by the water transmission network cost objective function and the water transmission network reliability objective function, a mathematical model for optimizing the transformation of the water transmission network is constructed.
[0112] Specifically, the mathematical model for optimizing the transformation of the water supply network is shown in the following equation (13):
[0113]
[0114] Step S304, using a multi-objective grey wolf optimization algorithm to solve the mathematical model of water pipe network optimization and transformation, and obtain a water pipe network optimization and transformation plan for the target area.
[0115] Combined with the multi-objective Grey Wolf optimization algorithm, the mathematical model of water pipe network optimization transformation is solved to determine the optimal pipe diameter d of each pipe. i ,i=1,2,…,N, so that the annual average construction cost E is as small as possible, and the elastic force coefficient R of the pipeline network is as large as possible, taking into account both the cost and reliability of the optimized transformation.
[0116] Specifically, the two objective functions and constraint sets in the water pipe network optimization and transformation model are brought into the multi-objective gray wolf optimization algorithm, and the gray wolf population number (recommended value is 200), the maximum number of iterations (recommended value is 200), the number of external archive sets (recommended value is 100), the grid expansion coefficient (recommended value is 0.1), the number of dimensional grid divisions (recommended value is 10), the convergence factor, the synergy vector and other parameters are set to initialize the gray wolf population; then the initialized gray wolf population is non-dominated sorted to establish an external archive set; the convergence factor and synergy vector are updated; the alpha wolf is selected from the external archive set according to the roulette algorithm; the position of the gray wolf population is updated; the fitness of each individual in the population to the two objective functions is calculated, non-dominated sorting is performed, and the external archive set is updated; if the number of external archive sets reaches the upper limit, the archive set congestion is calculated, and the overcrowded individuals are eliminated. Repeat the above steps until the maximum number of iterations is reached to generate the Pareto frontier; the solution that balances cost and reliability in the frontier (online or offline closest) is the optimal pipe diameter solution, that is, the water pipe network optimization and transformation solution for the target area.
[0117] The water pipeline network optimization and transformation method provided in this embodiment constructs and determines the corresponding constraint condition set by considering the optimization and transformation problem of the water pipeline network in the target area, and under the constraint of the constraint condition set, takes the water pipeline network cost and the water pipeline network reliability as the target, and constructs the water pipeline network optimization and transformation mathematical model according to the acquired water pipeline network key parameter set, and then solves the water pipeline network optimization and transformation mathematical model through the multi-objective gray wolf optimization algorithm to obtain the optimized water pipeline network optimization and transformation plan for the target area. Therefore, by implementing the present invention, the water supply cost and reliability are taken into consideration, the water supply capacity of the pipeline network can be improved when it is affected by external interference factors, the potential accident rate can be reduced, and the high safety and high reliability requirements of water supply can be met. Further, by solving the model using the multi-objective gray wolf optimization algorithm, the global optimal solution can be efficiently searched, the hyperparameters are relatively few and the setting is simple, the model converges quickly, and the water pipeline network optimization and transformation plan for the target area can be quickly and efficiently solved.
[0118] In one example, a water pipe network optimization and reconstruction method taking into account cost and reliability is provided. The construction cost, depreciation cost, operation cost and reliability of the pipe network are comprehensively considered, and an optimization model is established with cost and reliability as the dual objectives of the optimization problem, pipe diameter as the decision variable, and constraints such as water pressure and standard pipe diameter. The problem is solved by the multi-objective grey wolf optimization algorithm, and the Pareto frontier is obtained. The solution that takes into account cost and reliability in a balanced manner is the optimal pipe network reconstruction plan. Figure 4 As shown, the specific steps are as follows:
[0119] S1: Collect the water sources, pumping stations, pipeline layout locations, and water delivery node distribution in the research area to generate a topological map of the water delivery network layout; determine the key parameters of the network such as the water head of each water source, the head and flow of the pumping station, the length of the pipeline, the type of pipe material, the water demand of each water delivery node, and the upper and lower limits of the water pressure of the water delivery node;
[0120] S2: Construct the cost objective function of the water pipeline network;
[0121] S3: Construct the reliability objective function of the water pipeline network;
[0122] S4: Determine the constraints in the optimization and transformation of the water supply network. Construct hydraulic constraints such as node continuity constraints, pipeline pressure drop constraints, and energy conservation constraints, and design specification constraints such as node water pressure constraints, pipeline flow constraints, and pipeline diameter constraints. Use hydraulic constraints and design specification constraints as constraints in the network optimization;
[0123] Furthermore, based on the above steps, a mathematical model for optimizing and transforming the water pipe network is constructed;
[0124] S5: Combined with the multi-objective Grey Wolf Optimization Algorithm, the optimal pipe diameter solution that takes both cost and reliability into consideration is obtained.
[0125] In this embodiment, a water pipe network optimization and transformation device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0126] This embodiment provides a water pipe network optimization and transformation device, such as Figure 5 As shown, the device comprises:
[0127] The acquisition module 501 is used to acquire a set of key parameters of the water supply network in the target area.
[0128] The construction module 502 is used to construct a mathematical model for optimizing and transforming the water transmission network based on a set of key parameters of the water transmission network, with the water transmission network cost and the water transmission network reliability as the targets.
[0129] The solution module 503 is used to solve the water pipe network optimization transformation mathematical model using the multi-objective grey wolf optimization algorithm to obtain the water pipe network optimization transformation plan for the target area.
[0130] In some optional implementations, the acquisition module 501 includes:
[0131] The acquisition submodule is used to obtain the water source layout location, pump station layout location, pipeline layout location and water delivery node distribution in the target area.
[0132] The generation submodule is used to generate a water supply network layout topology map of the target area based on the water source layout location, pump station layout location, pipeline layout location and water supply node distribution.
[0133] The submodule is used to determine the key parameter set of the water supply network based on the water supply network layout topology diagram.
[0134] In some optional embodiments, the device further comprises:
[0135] The determination module is used to determine the set of constraint conditions based on the optimization and transformation problem of the water pipe network in the target area.
[0136] In some optional implementations, the building block 502 includes:
[0137] The first construction submodule is used to construct a water transmission network cost objective function and a water transmission network reliability objective function based on a water transmission network key parameter set.
[0138] The second construction submodule is used to construct a mathematical model for optimizing and transforming the water supply network based on the key parameter set of the water supply network and after being processed by the water supply network cost objective function and the water supply network reliability objective function under the constraints of the constraint condition set.
[0139] In some optional embodiments, the first building block includes:
[0140] The calculation unit is used to calculate the water transmission network cost parameter set based on the water transmission network key parameter set.
[0141] The first construction unit is used to construct a water transmission network cost objective function based on the water transmission network cost parameter set.
[0142] The second construction unit is used to construct a reliability objective function of the water transmission network based on a key parameter set of the water transmission network.
[0143] In some optional implementations, the water pipe network cost objective function is expressed as the following relationship:
[0144]
[0145] In the formula: E represents the cost of the water transmission network; E1 represents the initial construction cost of the water transmission network; P represents the investment payback period of E1; E2 represents the annual operation and maintenance cost of the water transmission network; E3 represents the annual depreciation cost of the water transmission network.
[0146] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0147] The water supply network optimization and transformation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0148] The embodiment of the present invention also provides a computer device having the above Figure 5 The water supply network optimization and transformation device shown.
[0149] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0150] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0151] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0152] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0153] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0154] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0155] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0156] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0157] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for optimizing and transforming a water pipe network. It is characterized in that The method comprises: Obtain the key parameter set of the water pipeline network in the target area; Taking the cost and reliability of the water pipeline network as the goal, and based on the key parameter set of the water pipeline network, a mathematical model for optimizing and transforming the water pipeline network is constructed; The multi-objective grey wolf optimization algorithm is used to solve the mathematical model of water pipe network optimization and transformation, and the water pipe network optimization and transformation plan for the target area is obtained.
2. The method according to claim 1, It is characterized in that Obtain the key parameter set of the water pipeline network in the target area, including: Obtain the water source layout location, pump station layout location, pipeline layout location and water delivery node distribution in the target area; Based on the water source layout location, the pump station layout location, the pipeline layout location and the water delivery node distribution, a water delivery network layout topology map of the target area is generated; Based on the water supply network layout topology diagram, a set of key parameters of the water supply network is determined.
3. The method according to claim 1, It is characterized in that Taking the cost and reliability of the water pipeline network as the target, before constructing the mathematical model for optimizing and transforming the water pipeline network based on the key parameter set of the water pipeline network, the method further includes: Based on the water pipeline network optimization and transformation problem in the target area, a set of constraint conditions is determined.
4. The method according to claim 3, It is characterized in that Taking the cost and reliability of the water pipeline network as the goal, based on the key parameter set of the water pipeline network, a mathematical model for optimizing and transforming the water pipeline network is constructed, including: Based on the water transmission network key parameter set, constructing a water transmission network cost objective function and a water transmission network reliability objective function; Under the constraints of the constraint condition set, based on the key parameter set of the water transmission network, after being processed by the water transmission network cost objective function and the water transmission network reliability objective function, a mathematical model for optimizing and transforming the water transmission network is constructed.
5. The method according to claim 4, It is characterized in that Based on the water transmission network key parameter set, a water transmission network cost objective function and a water transmission network reliability objective function are constructed, including: Based on the water transmission network key parameter set, calculating the water transmission network cost parameter set; Based on the water transmission network cost parameter set, constructing the water transmission network cost objective function; Based on the key parameter set of the water transmission network, a reliability objective function of the water transmission network is constructed.
6. The method according to claim 4, It is characterized in that The water pipe network cost objective function is expressed as the following relation: Where: E represents the cost of the water supply network; E 1 represents the initial construction cost of the water pipeline network; P represents E 1 The investment payback period; E 2 Represents the annual operation and maintenance cost of the water pipeline network; E 3 Represents the annual depreciation cost of the water transmission network.
7. A water pipe network optimization and transformation device, It is characterized in that The device comprises: An acquisition module is used to obtain a set of key parameters of the water pipe network in a target area; A construction module is used to construct a mathematical model for optimizing and transforming the water pipeline network based on the key parameter set of the water pipeline network, taking the water pipeline network cost and the water pipeline network reliability as the target; The solution module is used to solve the water pipe network optimization and transformation mathematical model using a multi-objective grey wolf optimization algorithm to obtain the water pipe network optimization and transformation plan for the target area.
8. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the water pipe network optimization and transformation method according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the water pipe network optimization and transformation method according to any one of claims 1 to 6.
10. A computer program product, It is characterized in that It comprises computer instructions, and the computer instructions are used to enable a computer to execute the water pipe network optimization and transformation method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Dynamic optimization method for preventive replacement opportunities of water supply pipe network
CN111415272A
Water supply network failure updating strategy method based on multi-target prediction model
CN113255125A
Water supply pipeline anti-seismic reconstruction scheme optimization selection method based on pipe network energy indexes
CN115965155A
Smart city energy management method and system based on digital twinborn technology
CN117314128A
Water resource allocation method based on multi-target spiral grey wolf algorithm
CN117807870A
Cited By
Method and system for determining project scale layout of water network irrigation area of agricultural and pastoral area
CN120430202A
