Comprehensive analysis and scheduling method based on water supply area data in water industry
By acquiring and classifying data from water areas, selecting the optimal water supply path and updating it in real time, the problems of water shortage and cost in water scheduling are solved, and an efficient and low-cost water supply solution is achieved.
Patent Information
- Application Number
- CN202510038396.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-10
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-01-10
AI Technical Summary
Existing technologies fail to comprehensively consider the impact of the distance from the water source and the water diversion route on water shortage rate and cost in water dispatching, resulting in increased water shortage rate and water supply cost in some areas.
By obtaining water source, water supply and water consumption data in the target area, classifying equipment nodes, selecting the water supply path with the shortest distance including key equipment nodes, and updating the data in real time to meet demand.
A more efficient and low-cost water supply solution has been achieved, ensuring timely water supply in areas with high water shortage rates and reducing water supply costs.
Smart Images

Figure CN119962890B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of water affairs scheduling, and in particular relates to a comprehensive analysis and scheduling method based on water supply area data of the water industry. Background Art
[0002] Water resources are a fundamental necessity for human survival, and ensuring their supply is a top priority for water management. Water management scheduling involves controlling various equipment involved in the water supply and distribution process, from the water source to the residents, as well as scheduling water supply pipelines. A well-designed water management scheduling solution can save water companies significant manpower and material resources.
[0003] Patent document CN 113449993 B of the prior art describes a method for urban water supply scheduling. This method constructs a water supply to water supply volume model, and ultimately constructs a global equilibrium scheduling model based on the minimum water shortage rate, thereby providing a guarantee for the urban water supply scheduling plan based on water balance. Since the minimum water shortage rate is given priority in this plan, the proposed equilibrium supply scheduling model ultimately schedules water supply based on the level of water shortage rate. However, in reality, the distance of the water source and the water diversion path will affect the water supply, making areas with low water shortage rates become areas with high water shortage rates, and the cost of the water supplier will also increase. Therefore, it is particularly important to comprehensively consider various factors and propose a scheduling plan that satisfies both supply and demand. Summary of the Invention
[0004] In order to solve the above problems existing in the prior art, the present invention provides a comprehensive analysis and scheduling method based on water supply area data in the water industry. The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0005] In a first aspect, the present invention provides a comprehensive analysis and scheduling method based on water supply area data in the water industry, including:
[0006] S100, obtaining water source data, water supply data, and water consumption data within a target area; the water source data includes the location of the water source and the amount of water supplied; the water supply data includes the water supply path and amount of water supplied from each water source to the demand area; and the water consumption data includes the water consumption path and amount of water consumed by each demand area;
[0007] S200, classifying each device node from each water source to the demand area according to the water supply path and the water use path to obtain a final classification result;
[0008] S300, based on the water shortage rate of the demand area and according to the classification result, water consumption and water supply, determining all device nodes from the water source to the demand area;
[0009] S400: Connect the device nodes in the direction from the water source to the demand area to obtain multiple target paths, and select the target path with the least device nodes, the shortest distance, and the key device nodes as the final water supply path;
[0010] S500, update the water consumption data and the water supply data in real time, and use the updated data to determine in real time whether the final water supply path meets the demand. If it does, control each device node on the final water supply path to supply water. If it does not, repeat S200 to S500 until the demand is met.
[0011] In a second aspect, the present invention provides a comprehensive analysis and scheduling device based on water supply area data in the water industry, comprising:
[0012] An acquisition module is configured to acquire water source data, water supply data, and water consumption data within a target area; the water source data includes the location of the water source and the amount of water supplied; the water supply data includes the water supply path and amount of water supplied from each water source to the demand area; and the water consumption data includes the water consumption path and amount of water consumed by each demand area;
[0013] a classification module configured to classify each device node from each water source to the demand area according to the water supply path and the water use path to obtain a final classification result;
[0014] a determination module configured to determine all device nodes from the water source to the demand area based on the water shortage rate of the demand area and the classification result, the water consumption and the water supply;
[0015] A planning module is configured to connect the device nodes in a direction from the water source to the demand area to obtain multiple target paths, and select the target path with the least device nodes, the shortest distance, and the key device nodes as the final water supply path;
[0016] The update module is configured to update the water usage data and the water supply data in real time, and use the updated data to determine in real time whether the final water supply path meets the demand. If so, each device node on the final water supply path is controlled to supply water. If not, S200 to S500 are repeated until the demand is met.
[0017] Beneficial effects:
[0018] The present invention provides a comprehensive analysis and scheduling method based on water supply area data in the water industry, which obtains water source data, water supply data and water consumption data in a target area; classifies each device node from each water source to the demand area according to the water supply path and water consumption path to obtain a final classification result; takes the water shortage rate of the demand area as a basis, and determines all device nodes from the water source to the demand area according to the classification result, water consumption and water supply volume; connects the device nodes in the direction from the water source to the demand area to obtain multiple target paths, and takes the target path with the least device nodes, key device nodes and the shortest distance as the final water supply path; updates the water consumption data and the water supply data in real time, and uses the updated data to judge in real time whether the final water supply path meets the demand; if so, controls each device node on the final water supply path to supply water; if not, repeats the process from classification to determining the final water supply path until the demand is met. The present invention comprehensively considers the water shortage rate and multiple factors affecting water supply cost and efficiency to plan the final water supply path, and updates the final water supply path according to real-time data. Therefore, compared with the existing technology, the present invention is more efficient and less costly in water supply and can ensure that the demand areas with the highest water shortage rate can receive water in a timely manner.
[0019] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is a flow chart of a comprehensive analysis and scheduling method based on water supply area data in the water industry provided by the present invention;
[0021] Figures 2 to 4 It is a curve chart of water supply variation calculated according to the method of the present invention;
[0022] Figure 5 It is a structural schematic diagram of a comprehensive analysis and scheduling device based on water supply area data in the water industry provided by the present invention. DETAILED DESCRIPTION
[0023] The present invention will be further described in detail below with reference to specific examples, but the embodiments of the present invention are not limited thereto.
[0024] like Figure 1 As shown, the present invention provides a comprehensive analysis and scheduling method based on water supply area data in the water industry, including:
[0025] S100, obtaining water source data, water supply data, and water consumption data within a target area; the water source data includes the location of the water source and the amount of water supplied; the water supply data includes the water supply path and amount of water supplied from each water source to the demand area; and the water consumption data includes the water consumption path and amount of water consumed by each demand area;
[0026] It should be noted that the target area can be selected based on actual circumstances and can be an area within an administrative plan or a residential area. If the target area is a residential area, the water supply route generally involves the water company drawing water from the source, treating it, and then distributing it through pipelines to various reservoirs within the residential area. From the reservoirs, water is then supplied to each household in the residential area. The water use route, from the perspective of the residential area, draws water from the reservoirs, which in turn draw water from the water company. Generally, residential water pipes are pre-configured, with various equipment nodes including electric valves, pipes, and flow meters. These devices work together to form the water supply and water withdrawal routes.
[0027] S200, classifying each device node from each water source to the demand area according to the water supply path and the water use path to obtain a final classification result;
[0028] It can be explained that when the target area is large, there are generally multiple water sources. A target area may be supplied by multiple water sources, while some may be supplied independently. Device nodes are involved in both the water supply and water withdrawal processes. Therefore, by classifying multiple device nodes, we can quickly identify similar device nodes and assign them to clusters corresponding to water sources, which facilitates subsequent processing.
[0029] S300, based on the water shortage rate of the demand area and according to the classification result, water consumption and water supply, determining all device nodes from the water source to the demand area;
[0030] While water shortage rates are one factor in determining whether an area in need of emergency water supply requires them, they also require consideration of route length, cost, and variability in water demand. Therefore, based on the water shortage rate, we need to identify all device nodes from the water source to each demand area for subsequent screening.
[0031] S400: Connect the device nodes in the direction from the water source to the demand area to obtain multiple target paths, and select the target path with the least device nodes, the shortest distance, and the key device nodes as the final water supply path;
[0032] It can be explained that after finding all the device nodes from the water source to each demand area according to the water shortage rate, they need to be connected according to the water supply direction to determine the target path that meets the conditions. The target path needs to contain fewer device nodes, so that the water supply cost is reduced. In addition, key device nodes need to be included to ensure that the water supply and water extraction have little difference in the path. Finally, the target path with the shortest distance is selected as the final water supply path, which can improve the water supply efficiency.
[0033] S500, update the water consumption data and the water supply data in real time, and use the updated data to determine in real time whether the final water supply path meets the demand. If it does, control each device node on the final water supply path to supply water. If it does not, repeat S200 to S500 until the demand is met.
[0034] It can be explained that because data is updated in real time but the probability of sudden changes is low, a pipeline may suddenly rupture, causing widespread water consumption, resulting in a sudden drop in water supply along its connected path. When engineers shut down the pipeline, the damaged pipeline will cause water shortages in other areas, necessitating adjustments to the final water supply path. This process determines whether the final water supply path meets demand and whether it needs to be updated and adjusted.
[0035] As an optional implementation manner of the present invention, S200 includes:
[0036] S210, using the water source location, determining each first device node on the water supply path from each water source to the demand area and each second device node on the water use path;
[0037] S230: If the first device node and the second device node are duplicated, and both duplicated device nodes are master devices, use the duplicated device nodes as key device nodes.
[0038] It can be explained that water supply and water use paths may be identical or different. If the target area is too large and there are multiple water supply paths from the water source, but the water use path is not as long as the water supply path, or does not pass through a device node on the water supply path, then the water supply and water use paths are different. Therefore, it is necessary to identify the duplicate device nodes. Among these device nodes, the master control device is indispensable and is therefore considered a key device node.
[0039] S240, classifying the key device nodes according to their distances to water sources to obtain multiple clusters;
[0040] S250, clustering the remaining first device nodes and the second device nodes according to a clustering algorithm to divide them into corresponding clusters, thereby obtaining an initial classification result;
[0041] The present invention may use existing clustering methods for classification, such as the k-means clustering method, but the present invention is not limited thereto.
[0042] S260: Screen the initial classification results to obtain final classification results.
[0043] As an optional implementation manner of the present invention, S260 includes:
[0044] S261, for any cluster in the initial classification result, connecting each device node in the cluster along a path from the demand area to the water source to obtain a connectivity result for each cluster;
[0045] S262: If the connectivity result of any cluster does not include a direct path from the water source to the demand area, but does include a transfer path from the water source to the demand area, then the cluster is designated as a backup cluster.
[0046] If a cluster's connectivity results show no direct path, it indicates that a relay path exists. This indicates that the device nodes in this cluster pose a high water supply cost to the demand area. Therefore, this cluster is selected as a backup cluster during screening. This cluster can be activated as a backup solution for emergency water supply needs.
[0047] S263: If the connectivity result of any cluster does not include a direct path from the water source to the demand area, and does not include a transfer path from the water source to the demand area, then the cluster is directly removed from the initial classification result.
[0048] S264: The switching device node in the switching path is regarded as an intermediate device node, and a sub-cluster is divided in the cluster where the intermediate device node is located, and all the intermediate device nodes in the cluster are classified into the sub-cluster to obtain a final classification result.
[0049] If a cluster has neither direct nor transfer paths, it indicates that the cluster cannot provide water to the demand area, or requires water to be drawn from other demand areas, which is too costly and inefficient. Therefore, the present invention directly eliminates the cluster and divides the subclusters according to the transfer device nodes in the transfer path, facilitating the subsequent search for the final water supply path.
[0050] As an optional implementation manner of the present invention, S300 includes:
[0051] S310 , based on the water shortage rate of each demand area, prioritize the demand area with the highest water shortage rate first and the demand area with the lowest water shortage rate last;
[0052] S320, monitoring the priority of each demand area in real time, and determining key device nodes and intermediate device nodes from the classification results before and after the priority changes;
[0053] S330 , for the demand area with the highest priority before and after the change, determining the nearest water source to the demand area and all device nodes that can reach the water source;
[0054] It can be explained that the water shortage rate may change in real time, possibly due to pipe damage or a sudden increase in water demand. Therefore, the priorities before and after the change and the clusters of all device nodes in the reachable paths before and after the change can be determined, thereby locating key device nodes in the cluster.
[0055] S340, based on whether the highest priority demand area before and after the change is the same and whether the key device node can be directly reached and whether the intermediate device node can be transferred, select all device nodes on the direct path or transfer path from the water source to the demand area.
[0056] It can be explained that the present invention screens all device nodes in S330 according to different situations before and after the change, thereby selecting all device nodes on the direct path or the transit path.
[0057] As an optional implementation manner of the present invention, S340 includes:
[0058] S341, the demand area with the highest priority before the change is set as the first demand area, and the water source closest to the first demand area is set as the first water source; and the demand area with the highest priority after the change is set as the second demand area, and the water source closest to the second demand area is set as the second water source;
[0059] S342: If the first demand area and the second demand area are the same, determine all device nodes on the path from the water source to the demand area based on whether the water consumption of the first water source meets the water supply of the second demand area;
[0060] S343: If the first demand area and the second demand area are not the same, determine all device nodes on the path from the water source to the second demand area based on whether the first water source and the second water source are the same and whether the water source meets the water demand of the second demand area.
[0061] It can be explained that if the priority of the demand area does not change, that is, the first demand area and the second demand area are the same, it is necessary to determine whether the water source can meet the water supply and determine all device nodes. If the priority of the demand area changes, it is necessary to determine whether the water source is the same, so as to determine whether the water source can meet the water demand of the second demand area and obtain all device nodes on the path.
[0062] As an optional implementation manner of the present invention, S342 includes:
[0063] S3421: The direct path from the first water source to the first demand area is used as the first direct path, and the key equipment node on the first direct path is used as the first key equipment node. The direct path from the second water source to the second demand area is used as the second direct path, and the key equipment node on the second direct path is used as the second key equipment node.
[0064] S3422: If the first demand area and the second demand area are the same, determine whether the first water source can meet the water demand of the first demand area or the second demand area. If so, select the first water source and all device nodes on the first direct path.
[0065] S3423, if the supply of the first water source does not meet the water demand of the second demand area or the second demand area, selecting a backup water source based on the remaining supply of each water source and the distance from the first demand area or the second demand area;
[0066] S3424, determine whether the backup water source has a third direct path directly to the first demand area or the second demand area. If so, select all device nodes on the third direct path; if not, select all device nodes on the transfer path.
[0067] As an optional implementation manner of the present invention, S343 includes:
[0068] S3431: If the first demand area and the second demand area are different, determine whether the first water source and the second water source are the same. If so, determine whether the water supply of the first water source meets the water demand of the second demand area. If so, select all device nodes on the second direct path that meet the first condition; the first condition is the key device nodes on the first direct path.
[0069] S3432: If the first water source and the second water source are different, determine whether the first key device node and the second key device node are controlled by each other or control each other. If either condition is satisfied, determine whether the supply of the first water source meets the water demand of the second demand area. If so, select the first key node and the second key node and establish a control relationship between them. Select all device nodes on the transfer path from the first water source to the second demand area that have a control relationship.
[0070] S3433: If the first key equipment node and the second key equipment node are not controlled by each other and do not control each other, determine whether the second water source meets the water demand of the second demand area. If so, select all equipment nodes on the second direct path. If not, select a backup water source and all equipment nodes on the backup water source.
[0071] As an optional implementation manner of the present invention, S500 includes:
[0072] S510, updating the water consumption data, water supply data and water source data of the demand area in real time;
[0073] S520, for each demand area reached by the final water supply path, if the difference between the water consumption in the updated water consumption data of the demand area and the water consumption before the update is greater than a difference threshold, further determining whether the updated water supply meets the difference, and if so, determining that the final water supply path meets the demand;
[0074] It is worth noting that if the change in water consumption before and after is greater than the difference threshold, it may be necessary to change the water supply route. Whether to change depends on whether the supply of the updated water source can meet the difference. If it does, it can be determined that no change is required. If it does not meet the difference, it needs to be updated.
[0075] S530, if the updated water supply volume does not satisfy the difference, it is determined that the final water supply path does not meet the demand, and S200-S500 are repeated until the demand is met;
[0076] S530: If the difference between the water consumption in the updated water consumption data of the demand area and the water consumption before the update is not greater than the difference threshold, control each node device on the final water supply path to start up to supply water to each demand area.
[0077] As an optional implementation of the present invention, after S500, the comprehensive analysis and scheduling method based on water supply area data of the water industry further includes:
[0078] a. Gridding each demand area in the target area and determining the device nodes in each grid;
[0079] b. Set up a visual interface for each target area and display the water consumption data of each demand area, the water source data of each water source and the water supply data of each demand area in real time on the interface;
[0080] For example, the settings visualization interface can display the following properties:
[0081] Area number, area name, area level, number of water sources, associated flow meters, number of household meters, etc.
[0082] The water supply of each area has a corresponding water supply calculation formula, which can be stored in a calculation formula table.
[0083] c. Setting a selection menu for each device node in the target area and receiving a user's selection to display dynamic data of the selected device node;
[0084] The present invention can also query basic data based on the parameters selected by the user. For example, the associated flow meters in area A are found to be flow meter B and flow meter C, and the water supply calculation formula is: flow meter B positive flow + flow meter C positive flow - (flow meter B negative flow + flow meter C negative flow), and then the positive and negative flow data of all flow meters B and flow meters C within the date selected by the user are queried.
[0085] d. Set the time period menu and receive the user's selection to display the historical data of each device node within the selected time period and the water consumption data, water supply data and water source data in the target area;
[0086] The present invention can also generate a list of dates to be analyzed based on the date selected by the user. For example, if the date is 2024-03-10 and the data trend within 5 days is analyzed, the date list will be [2024-03-06], [2024-03-07], [2024-03-08], [2024-03-09], and [2024-03-10]. The calculation formula and flow data are used to calculate the water supply volume for the corresponding time period. For example, the calculation formula at a certain moment is: flow meter B positive flow + flow meter C positive flow - (flow meter B negative flow + flow meter C negative flow). After replacing the corresponding data, it becomes: 100+80-(10+5), and the calculated water supply volume is: 165.
[0087] All water supply calculation results are obtained, and the data structure at this time is shown in the table:
[0088] time Water supply 2024-03-06 00:00 165 2024-03-06 1:00 160 2024-03-06 2:00 158
[0089] Of course, the present invention can convert the obtained date list data and water supply statistical result data into a specified format, as shown in the following table:
[0090] time 2024-03-06 2024-03-07 2024-03-08 2024-03-09 2024-03-10 0 o'clock 165 166 165 164 166 1 o'clock 160 161 163 160 160 2 o'clock 158 159 158 156 159 …… …… …… …… …… ……
[0091] refer to Figures 2 to 4 , Figure 2 Select a day's data to display. Figure 2 Only one curve can show the change of water supply data. If there are multiple curves, the data of the currently selected date will be displayed in red, the day farthest from the selected date will be displayed in blue, and the data of the middle date will be displayed in gray. Figure 3 shown.
[0092] refer to Figure 4 , Figure 4 This is the result related to the water supply data of a certain factory. The query result shows the statistical date and time as well as the water supply number.
[0093] e. Set up an early warning window and display abnormal water use in the relevant target area in the early warning window.
[0094] like Figure 4 If the average water supply value of a certain water supply number is abnormal, it can be directly marked and displayed.
[0095] like Figure 5 As shown, the present invention provides a comprehensive analysis and scheduling device based on water supply area data of the water industry, including:
[0096] Acquisition module 51 is configured to acquire water source data, water supply data, and water consumption data within the target area; the water source data includes the location of the water source and the amount of water supplied; the water supply data includes the water supply path and amount of water supplied from each water source to the demand area; and the water consumption data includes the water consumption path and amount of water consumed by each demand area;
[0097] The classification module 52 is configured to classify each device node from each water source to the demand area according to the water supply path and the water consumption path to obtain a final classification result;
[0098] The determination module 53 is configured to determine all device nodes from the water source to the demand area based on the water shortage rate of the demand area and the classification result, the water consumption and the water supply;
[0099] The planning module 54 is configured to connect the device nodes in the direction from the water source to the demand area to obtain multiple target paths, and select the target path with the least device nodes, the shortest distance, and the key device nodes as the final water supply path;
[0100] The update module 55 is configured to update the water usage data and the water supply data in real time, and use the updated data to determine in real time whether the final water supply path meets the demand. If it does, each device node on the final water supply path is controlled to supply water. If it does not meet the demand, S200 to S500 are repeated until the demand is met.
[0101] The present invention provides a comprehensive analysis and scheduling method based on water supply area data in the water industry, which obtains water source data, water supply data and water consumption data in a target area; classifies each device node from each water source to the demand area according to the water supply path and water consumption path to obtain a final classification result; takes the water shortage rate of the demand area as a basis, and determines all device nodes from the water source to the demand area according to the classification result, water consumption and water supply volume; connects the device nodes in the direction from the water source to the demand area to obtain multiple target paths, and takes the target path with the least device nodes, key device nodes and the shortest distance as the final water supply path; updates the water consumption data and the water supply data in real time, and uses the updated data to judge in real time whether the final water supply path meets the demand; if so, controls each device node on the final water supply path to supply water; if not, repeats the process from classification to determining the final water supply path until the demand is met. The present invention comprehensively considers the water shortage rate and multiple factors affecting water supply cost and efficiency to plan the final water supply path, and updates the final water supply path according to real-time data. Therefore, compared with the existing technology, the present invention is more efficient and less costly in water supply and can ensure that the demand areas with the highest water shortage rate can receive water in a timely manner.
[0102] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature identified as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.
[0103] Although the present application is described herein with reference to various embodiments, those skilled in the art will be able to understand and implement other variations of the disclosed embodiments in practicing the claimed application by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality.
[0104] The above is a further detailed description of the present invention in conjunction with specific preferred embodiments, and the specific implementation of the present invention should not be considered to be limited to these descriptions. For those skilled in the art of the present invention, without departing from the concept of the present invention, several simple deductions or substitutions can be made, which should be considered to fall within the scope of protection of the present invention.
Claims
1. A comprehensive analysis and scheduling method based on water supply area data in the water industry, characterized in that: include: S100, obtaining water source data, water supply data, and water consumption data within a target area; the water source data includes the location of the water source and the amount of water supplied; the water supply data includes the water supply path and amount of water supplied from each water source to the demand area; and the water consumption data includes the water consumption path and amount of water consumed by each demand area; S200, classifying each device node from each water source to the demand area according to the water supply path and the water use path to obtain a final classification result; The final classification result includes clustering the key device nodes into multiple clusters based on their distances from the water source, with the first device nodes on the water use path and the second device nodes on the water supply path being clustered into the clusters, and the device nodes in each cluster being connected by a direct path and / or a transfer path from the water source to the demand area. S300, based on the water shortage rate of the demand area and according to the final classification result, water consumption and water supply, determining all device nodes from the water source to the demand area; S400: Connecting device nodes in a direction from the water source to the demand area to obtain multiple target paths, and selecting the target path with the fewest device nodes, the shortest distance, and the key device nodes as the final water supply path; the key device nodes are device nodes that are duplicated on the water use path and the water supply path and are master control devices; S500, updating the water consumption data and the water supply data in real time, and using the updated data to determine in real time whether the final water supply path meets the demand; if so, controlling each device node on the final water supply path to supply water; if not, repeating S200 to S500 until the demand is met; S300 includes: S310 , based on the water shortage rate of each demand area, prioritize the demand area with the highest water shortage rate first and the demand area with the lowest water shortage rate last; S320, monitoring the priority of each demand area in real time, and determining key device nodes and intermediate device nodes from the classification results before and after the priority changes; S330 , for the demand area with the highest priority before and after the change, determining the nearest water source to the demand area and all device nodes that can reach the water source; S340 , selecting all device nodes on a direct path or a transfer path from the water source to the demand area based on whether the highest priority demand area before and after the change is the same and whether the key device node can be directly reached or whether the intermediate device node can be transferred; The S340 includes: S341, the demand area with the highest priority before the change is set as the first demand area, and the water source closest to the first demand area is set as the first water source; and the demand area with the highest priority after the change is set as the second demand area, and the water source closest to the second demand area is set as the second water source; S342: If the first demand area and the second demand area are the same, determine all device nodes on the path from the water source to the demand area based on whether the water consumption of the first water source meets the water supply of the second demand area; S343: If the first demand area and the second demand area are not the same, determine all device nodes on the path from the water source to the second demand area based on whether the first water source and the second water source are the same and whether the water source meets the water demand of the second demand area.
2. The comprehensive analysis and scheduling method based on water supply area data of the water industry according to claim 1 is characterized in that: S200 includes: S210, using the water source location, determining each first device node on the water supply path from each water source to the demand area and each second device node on the water use path; S230: If the first device node and the second device node are duplicated, and both duplicated device nodes are master devices, use the duplicated device nodes as key device nodes. S240, classifying the key device nodes according to their distances to water sources to obtain multiple clusters; S250, clustering the remaining first device nodes and the second device nodes according to a clustering algorithm to divide them into corresponding clusters, thereby obtaining an initial classification result; S260: Screen the initial classification results to obtain final classification results.
3. The comprehensive analysis and scheduling method based on water supply area data of the water industry according to claim 2 is characterized in that: S260 includes: S261, for any cluster in the initial classification result, connecting each device node in the cluster along a path from the demand area to the water source to obtain a connectivity result for each cluster; S262: If the connectivity result of any cluster does not include a direct path from the water source to the demand area, but does include a transfer path from the water source to the demand area, then the cluster is designated as a backup cluster. S263: If the connectivity result of any cluster does not include a direct path from the water source to the demand area, and does not include a transfer path from the water source to the demand area, then the cluster is directly removed from the initial classification result. S264: The switching device node in the switching path is regarded as an intermediate device node, and a sub-cluster is divided in the cluster where the intermediate device node is located, and all the intermediate device nodes in the cluster are classified into the sub-cluster to obtain a final classification result.
4. The comprehensive analysis and scheduling method based on water supply area data of the water industry according to claim 1 is characterized in that: S342 includes: S3421: The direct path from the first water source to the first demand area is used as the first direct path, and the key equipment node on the first direct path is used as the first key equipment node. The direct path from the second water source to the second demand area is used as the second direct path, and the key equipment node on the second direct path is used as the second key equipment node. S3422: If the first demand area and the second demand area are the same, determine whether the first water source can meet the water demand of the first demand area or the second demand area. If so, select the first water source and all device nodes on the first direct path. S3423, if the supply of the first water source does not meet the water demand of the second demand area or the second demand area, selecting a backup water source based on the remaining supply of each water source and the distance from the first demand area or the second demand area; S3424, determine whether the backup water source has a third direct path directly to the first demand area or the second demand area. If so, select all device nodes on the third direct path; if not, select all device nodes on the transfer path.
5. The comprehensive analysis and scheduling method based on water supply area data of the water industry according to claim 4 is characterized in that: S343 includes: S3431: If the first demand area and the second demand area are different, determine whether the first water source and the second water source are the same. If so, determine whether the water supply of the first water source meets the water demand of the second demand area. If so, select all device nodes on the second direct path that meet the first condition; the first condition is the key device nodes on the first direct path. S3432: If the first water source and the second water source are different, determine whether the first key device node and the second key device node are controlled by each other or control each other. If either condition is satisfied, determine whether the supply of the first water source meets the water demand of the second demand area. If so, select the first key node and the second key node and establish a control relationship between them. Select all device nodes on the transfer path from the first water source to the second demand area that have a control relationship. S3433: If the first key equipment node and the second key equipment node are not controlled by each other and do not control each other, determine whether the second water source meets the water demand of the second demand area. If so, select all equipment nodes on the second direct path. If not, select a backup water source and all equipment nodes on the backup water source.
6. The comprehensive analysis and scheduling method based on water supply area data of the water industry according to claim 1 is characterized in that: S500 includes: S510, updating the water consumption data, water supply data and water source data of the demand area in real time; S520, for each demand area reached by the final water supply path, if the difference between the water consumption in the updated water consumption data of the demand area and the water consumption before the update is greater than a difference threshold, further determining whether the updated water supply meets the difference, and if so, determining that the final water supply path meets the demand; S530, if the updated water supply volume does not satisfy the difference, it is determined that the final water supply path does not meet the demand, and S200-S500 are repeated until the demand is met; S530: If the difference between the water consumption in the updated water consumption data of the demand area and the water consumption before the update is not greater than the difference threshold, control each node device on the final water supply path to start up to supply water to each demand area.
7. The comprehensive analysis and scheduling method based on water supply area data of the water industry according to claim 1 is characterized in that: After S500, the comprehensive analysis and scheduling method based on water supply area data of the water industry further includes: Gridding each demand area in the target area and determining the device nodes in each grid; Set up a visual interface for each target area, and display the water consumption data of each demand area, the water source data of each water source, and the water supply data of each demand area in real time on the interface; Setting a selection menu for each device node in the target area, and receiving a user's selection to display dynamic data of the selected device node; Set the time period menu and receive user selection to display the historical data of each device node within the selected time period and the water consumption data, water supply data and water source data in the target area; Set up an early warning window and display abnormal water use in the relevant target area in the early warning window.
8. A comprehensive analysis and scheduling device based on water supply area data in the water industry, characterized in that: include: An acquisition module is configured to acquire water source data, water supply data, and water consumption data within a target area; the water source data includes the location of the water source and the amount of water supplied; the water supply data includes the water supply path and amount of water supplied from each water source to the demand area; and the water consumption data includes the water consumption path and amount of water consumed by each demand area; a classification module configured to classify each device node from each water source to the demand area according to the water supply path and the water use path to obtain a final classification result; The final classification result includes clustering the key device nodes into multiple clusters based on their distances from the water source, with the first device nodes on the water use path and the second device nodes on the water supply path being clustered into the clusters, and the device nodes in each cluster being connected by a direct path and / or a transfer path from the water source to the demand area. a determination module configured to determine all device nodes from the water source to the demand area based on the water shortage rate of the demand area and the final classification result, the water consumption and the water supply; A planning module is configured to connect the device nodes in a direction from the water source to the demand area to obtain multiple target paths, and select the target path with the least device nodes, the shortest distance, and the key device nodes as the final water supply path; The key device node is a device node that is repeated on the water use path and the water supply path and is a main control device; an updating module configured to update the water consumption data and the water supply data in real time, and use the updated data to determine in real time whether the final water supply path meets the demand; if so, control each device node on the final water supply path to supply water; if not, repeat the execution process from the classification module to the updating module until the demand is met; Determine the module, which is configured as: S310 , based on the water shortage rate of each demand area, prioritize the demand area with the highest water shortage rate first and the demand area with the lowest water shortage rate last; S320, monitoring the priority of each demand area in real time, and determining key device nodes and intermediate device nodes from the classification results before and after the priority changes; S330 , for the demand area with the highest priority before and after the change, determining the nearest water source to the demand area and all device nodes that can reach the water source; S340 , selecting all device nodes on a direct path or a transfer path from the water source to the demand area based on whether the highest priority demand area before and after the change is the same and whether the key device node can be directly reached or whether the intermediate device node can be transferred; The S340 includes: S341, the demand area with the highest priority before the change is set as the first demand area, and the water source closest to the first demand area is set as the first water source; and the demand area with the highest priority after the change is set as the second demand area, and the water source closest to the second demand area is set as the second water source; S342: If the first demand area and the second demand area are the same, determine all device nodes on the path from the water source to the demand area based on whether the water consumption of the first water source meets the water supply of the second demand area; S343: If the first demand area and the second demand area are not the same, determine all device nodes on the path from the water source to the second demand area based on whether the first water source and the second water source are the same and whether the water source meets the water demand of the second demand area.
Citation Information
Patent Citations
A method for scheduling urban water supply
CN113449993B
Water resource supply and demand situation hierarchical identification method
CN111401732A
Current situation water shortage identification method based on supply and demand rationality analysis
CN114154834A