A method for canal system reconstruction based on farmland irrigation capacity and related equipment
By constructing a weighted directed graph and irrigation capacity index, the plots to be renovated were identified, and the canal system renovation plan was optimized. This solved the problem that the irrigation benefits and investment costs could not be quantitatively balanced in the existing technology, and improved the overall improvement benefits of the irrigation system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG INST OF ECO ENVIRONMENT & SOIL SCI
- Filing Date
- 2026-01-22
- Publication Date
- 2026-05-29
AI Technical Summary
Existing canal system renovation technologies have failed to achieve a quantitative balance between irrigation benefits and investment costs, resulting in low overall improvement benefits for canal systems.
By acquiring data on water sources, canal networks, and cultivated land plots, a weighted directed graph is constructed, the irrigation capacity index is calculated, the plots to be renovated are determined based on the irrigation capacity index, and the planning model is solved with the goal of minimizing the total renovation cost to obtain the canal system renovation scheme.
It has achieved a quantitative balance between irrigation benefits and investment costs, improved the irrigation security level of low-irrigation-capacity farmland, and maximized the overall improvement benefits of the irrigation system.
Smart Images

Figure CN122114455A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of agricultural water conservancy technology, and in particular to a method and related equipment for canal system transformation based on farmland irrigation capacity. Background Technology
[0002] In the field of agricultural water conservancy projects, irrigation canal systems are the core infrastructure for agricultural production. Their transformation and optimization are of great significance for ensuring the irrigation capacity of arable land and improving the comprehensive agricultural production capacity.
[0003] However, existing canal system renovation technologies often focus on minimizing engineering costs, reducing water loss, or improving the water conveyance efficiency of local canals. They typically take canal engineering units as the decision-making object, without considering irrigation capacity, and cannot achieve a quantitative trade-off between irrigation benefits and investment costs, resulting in low overall improvement benefits of the canal system. Summary of the Invention
[0004] The main objective of this application is to propose a canal system renovation method and related equipment based on farmland irrigation capacity, which can achieve a quantitative trade-off between irrigation benefits and investment costs, thereby maximizing the overall improvement benefits of the irrigation system under the constraint of investment cost budget.
[0005] To achieve the above objectives, one aspect of this application proposes a canal system modification method based on farmland irrigation capacity, comprising: Acquire data on various water sources, canal networks, and cultivated land parcels within the target area; Based on the aforementioned water source data, canal network data, and cultivated land plot data, a weighted directed graph is constructed; Based on the weighted directed graph, calculate the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land plots; The comprehensive irrigation capacity index of each cultivated land plot is calculated based on the network accessibility, water supply adequacy, and reciprocal of water demand pressure of each cultivated land plot. Based on the comprehensive irrigation capacity index of each of the aforementioned cultivated land plots, the cultivated land plots to be transformed are determined. Based on the farmland plots to be renovated and their comprehensive irrigation capacity index, a pre-defined planning model is solved with the goal of minimizing the total renovation cost, resulting in a canal system renovation scheme.
[0006] In some embodiments, constructing a weighted directed graph based on the respective water source data, canal network data, and cultivated land parcel data includes: Based on the aforementioned water source data, canal network data, and cultivated land plot data, each water source, canal network, and cultivated land plot is used as a node in a weighted directed graph. Construct directed edges from water source nodes to canal network nodes, from upstream canal network nodes to downstream canal network nodes, and from canal network nodes to cultivated land plot nodes to obtain the directed edges of the weighted directed graph. Based on the canal network data and the cultivated land plot data, calculate the distance-time cost and canal capacity saturation of each directed edge; The weight value of each directed edge is obtained by weighting and summing the distance time cost and channel capacity saturation of each directed edge. A weighted directed graph is constructed based on the nodes, each directed edge, and the weight value of each directed edge.
[0007] In some embodiments, calculating the distance-time cost and canal capacity saturation of each directed edge based on the canal network data and the cultivated land plot data includes: Based on the canal network data, determine the geometric length and water flow velocity of the canal segment corresponding to each directed edge; Calculate the ratio of the geometric length to the water flow velocity to obtain the distance-time cost; Based on the farmland plot data, the irrigation water demand of the downstream farmland plot connected to each of the directed edges is determined, and the equivalent water demand of the downstream farmland plot is determined based on the irrigation water demand. Based on the canal network data, determine the maximum water conveyance capacity of the canal segment corresponding to each directed edge; The canal saturation is obtained by calculating the ratio of the equivalent water demand to the maximum water conveyance capacity.
[0008] In some embodiments, calculating the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land parcels based on the weighted directed graph includes: Calculate the minimum path cost from each of the water source nodes to each of the cultivated land plot nodes on the weighted directed graph; The network reachability of each of the farmland plots is calculated based on the minimum path cost. Using the maximum water conveyance capacity corresponding to each canal segment in the weighted directed graph as a constraint, the available water volume of each water source node is allocated to each farmland plot node along the weighted directed graph to obtain the available water volume of each farmland plot node. Calculate the ratio of available water to irrigation water demand for each of the cultivated land plot nodes to obtain the water supply adequacy of each cultivated land plot. The water pressure index of each of the cultivated land plot nodes is determined, and the reciprocal of the water demand pressure of each of the cultivated land plots is calculated based on the water pressure index.
[0009] In some embodiments, calculating the comprehensive irrigation capacity index of each of the cultivated land plots based on the network accessibility, water supply adequacy, and reciprocal of water demand pressure of each plot includes: The arithmetic mean of the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land plots is calculated to obtain the comprehensive irrigation capacity index for each of the cultivated land plots.
[0010] In some embodiments, the step of solving a preset planning model based on the farmland plot to be renovated and its comprehensive irrigation capacity index, with the objective of minimizing the total renovation cost, to obtain a canal system renovation scheme includes: Based on the farmland plots to be transformed, each candidate canal segment of the canal network is determined, and decision variables are defined for each candidate canal segment to obtain the combination of decision variables for the candidate canal segments. Preset the parameters for each candidate channel segment before and after modification; Update the canal network data based on the aforementioned combination of decision variables, the unmodified parameters, and the modified parameters; Based on the updated canal network data, the combination of decision variables, and the comprehensive irrigation capacity index of the farmland plots to be transformed, a pre-set planning model is solved with the goal of minimizing the total transformation cost, resulting in a canal system transformation scheme.
[0011] In some embodiments, the process of solving a preset planning model based on updated canal network data, the combination of decision variables, and the comprehensive irrigation capacity index of the farmland to be renovated, with the objective of minimizing the total renovation cost, to obtain a canal system renovation scheme includes: The weighted directed graph is updated based on the updated canal network data to obtain the updated weighted directed graph; Based on the updated weighted directed graph, the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land plots are recalculated to obtain the updated network accessibility, updated water supply adequacy, and updated reciprocal of water demand pressure for each of the cultivated land plots. Based on the updated network accessibility, updated water supply adequacy, and updated reciprocal of water demand pressure, the updated comprehensive irrigation capacity index of each cultivated land plot is calculated. Based on the updated comprehensive irrigation capacity index of each cultivated land plot, the updated comprehensive irrigation capacity index of the cultivated land plot to be transformed is determined. The constraint condition is that the comprehensive irrigation capacity index of the farmland plot to be transformed is greater than a preset threshold. Based on the constraints and the combination of decision variables, a pre-set planning model is solved with the objective of minimizing the total renovation cost to obtain a canal system renovation scheme, wherein the canal system renovation scheme includes the final renovated canal section.
[0012] To achieve the above objectives, another aspect of this application proposes a canal system renovation device based on farmland irrigation capacity, the device comprising: The data acquisition module is used to acquire data on various water sources, canal networks, and cultivated land plots in the target area; The graph construction module is used to construct a weighted directed graph based on the aforementioned water source data, canal network data, and cultivated land plot data. The first calculation module is used to calculate the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land plots based on the weighted directed graph. The second calculation module is used to calculate the comprehensive irrigation capacity index of each of the cultivated land plots based on the network accessibility, water supply adequacy and reciprocal of water demand pressure of each of the cultivated land plots. The module for determining plots of land to be renovated is used to determine plots of land to be renovated based on the comprehensive irrigation capacity index of each plot of land. The renovation scheme determination module is used to solve a preset planning model based on the farmland plot to be renovated and the comprehensive irrigation capacity index of the farmland plot to be renovated, with the goal of minimizing the total renovation cost, and obtain the canal system renovation scheme.
[0013] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described above.
[0014] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods described above.
[0015] This application also discloses a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium and execute the computer instructions, causing the computer device to perform the aforementioned method.
[0016] The embodiments of this application include at least the following beneficial effects: This application provides a canal system renovation method based on farmland irrigation capacity. This method first acquires data on various water sources, canal networks, and farmland plots in the target area; based on the data on various water sources, canal networks, and farmland plots, a weighted directed graph is constructed; according to the weighted directed graph, the network accessibility, water supply sufficiency, and reciprocal of water demand pressure for each farmland plot are calculated; based on the network accessibility, water supply sufficiency, and reciprocal of water demand pressure for each farmland plot, a comprehensive irrigation capacity index for each farmland plot is calculated; based on the comprehensive irrigation capacity index of each farmland plot, the irrigation system to be renovated is determined. The process involves transforming farmland plots and their comprehensive irrigation capacity index. A pre-defined planning model is then used to minimize the total transformation cost, resulting in a canal system transformation scheme. This approach considers both farmland irrigation capacity and the total transformation cost, achieving a quantitative balance between irrigation benefits and investment costs. It ensures that the canal system transformation project improves the irrigation guarantee level of low-irrigation-capacity farmland, thereby maximizing the overall improvement benefits of the irrigation system within the constraints of the investment cost budget. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of an implementation environment provided in an embodiment of this application; Figure 2 This is a flowchart of a canal system modification method based on farmland irrigation capacity provided in an embodiment of this application; Figure 3 This is a flowchart of constructing a weighted directed graph provided in an embodiment of this application; Figure 4 This application provides a flowchart for solving a preset planning model to obtain a canal system modification scheme. Figure 5 This is a schematic diagram of a canal system renovation device based on farmland irrigation capacity provided in an embodiment of this application; Figure 6 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0019] It is understood that the terms "first," "second," "third," "fourth," etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0021] In existing canal system renovation technologies, the optimization objectives are mostly focused on minimizing engineering costs, reducing water conveyance losses, or improving the water conveyance efficiency of local canals. They usually take canal engineering units as the decision-making object, without considering irrigation capacity, and cannot achieve a quantitative trade-off between irrigation benefits and investment costs, resulting in low overall improvement benefits of the canal system.
[0022] In view of this, this application provides a method and related equipment for canal system renovation based on farmland irrigation capacity. The method first acquires data on various water sources, canal networks, and farmland plots in the target area; based on this data, a weighted directed graph is constructed; according to the weighted directed graph, the network accessibility, water supply sufficiency, and reciprocal of water demand pressure for each farmland plot are calculated; based on these data, a comprehensive irrigation capacity index for each farmland plot is calculated; and based on the comprehensive irrigation capacity index, the farmland plots to be renovated are determined. Farmland plots; based on the farmland plots to be transformed and their comprehensive irrigation capacity index, a pre-set planning model is solved with the objective of minimizing the total transformation cost to obtain the canal system transformation scheme; by solving the pre-set planning model based on the farmland plots to be transformed and their comprehensive irrigation capacity index with the objective of minimizing the total transformation cost, the canal system transformation scheme is obtained, taking into account the farmland irrigation capacity and the total transformation cost, realizing a quantitative trade-off between irrigation benefits and investment costs, and ensuring that the canal system transformation project improves the irrigation guarantee level of farmland with low irrigation capacity, thereby maximizing the overall improvement benefits of the irrigation system under the investment cost budget constraint.
[0023] The canal system renovation method based on farmland irrigation capacity provided in this application relates to the field of agricultural water conservancy technology. This method can be applied to a terminal, a server, or software running on either a terminal or a server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or vehicle terminal, but is not limited to these. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing the canal system renovation method based on farmland irrigation capacity, but is not limited to the above forms.
[0024] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0025] like Figure 1 The diagram shown is a schematic representation of an implementation environment provided in an embodiment of this application. (Refer to...) Figure 1 The implementation environment includes at least one terminal 102 and a server 101. The terminal 102 and the server 101 can be connected via a network, either wirelessly or via a wired connection, to complete data transmission and exchange.
[0026] Server 101 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0027] Additionally, server 101 can also be a node server in a blockchain network. Blockchain is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms.
[0028] Terminal 102 can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc. It can also be a vehicle-mounted terminal of the various device types described above, but is not limited to these. Terminal 102 and server 101 can be directly or indirectly connected via wired or wireless communication, and this embodiment does not impose any limitations.
[0029] For example, based on Figure 1The implementation environment shown in this application embodiment provides a canal system transformation method based on farmland irrigation capacity. The following description uses the application of this canal system transformation method based on farmland irrigation capacity in server 101 as an example. It can be understood that this method can also be applied to terminal 102.
[0030] Reference Figure 2 , Figure 2 The flowchart illustrates a method for canal system modification based on farmland irrigation capacity applied to a server, as provided in this application embodiment. The execution subject of this method can be any of the aforementioned computer devices (including servers or terminals). (Refer to...) Figure 2 The method may include the following steps: S100: Obtain data on various water sources, canal networks, and cultivated land plots in the target area.
[0031] The data for each water source includes the spatial location and water supply capacity of various water sources (including reservoirs, pumping stations, and water intakes). For each water source, its geographical coordinates and designed or available water flow rate are recorded. .
[0032] The canal network data includes the route data and hydraulic parameters of canal sections such as main canals, branch canals, and distribution canals. The hydraulic parameters include the geometric length of each canal section. Typical operating flow rate or water conveyance flow rate Design flow rate or maximum water delivery capacity The route data includes the upstream and downstream connections between various canal sections.
[0033] This application embodiment can obtain information such as the spatial location, area, crop type, and planting structure of each farmland plot within the irrigation area of the target region, as well as farmland plot data, through high-resolution remote sensing image interpretation, surveyed "one map of farmland," or measured plot boundary maps. The farmland plot data includes the irrigation water requirement of each farmland plot. Irrigation water demand It can be calculated according to established methods based on crop water requirements, effective precipitation, and soil water storage capacity.
[0034] The embodiments of this application also include data unification and cleaning of various water source data, canal network data and cultivated land data. Data unification and cleaning includes: unifying water source data, canal network data and cultivated land data to the same spatial reference system and time scale, and correcting or removing missing values and obvious erroneous values to ensure the reliability of subsequent analysis.
[0035] S200. Based on the aforementioned water source data, canal network data, and cultivated land plot data, construct a weighted directed graph.
[0036] For example, Figure 3This is a flowchart of constructing a weighted directed graph provided in an embodiment of this application, such as... Figure 3 As shown, the steps for constructing a weighted directed graph include S210-S250: S210. Based on the water source data, canal network data, and cultivated land plot data, each water source, canal network, and cultivated land plot is used as a node in a weighted directed graph.
[0037] Specifically, all water sources, canal networks, and each plot of cultivated land within the target irrigation area are considered as vertices (or nodes) of a weighted directed graph. Let S be the set of all water source nodes, N be the set of all canal network nodes, and D be the set of all cultivated land plot nodes. Then, the vertex set (or node set) V of the weighted directed graph G is represented as: .
[0038] S220. Establish directed edges from water source nodes to canal network nodes, directed edges from upstream canal network nodes to downstream canal network nodes, and directed edges from canal network nodes to cultivated land plot nodes to obtain the directed edges of the weighted directed graph.
[0039] For example, a directed edge from a water source node to a canal network node directly connected to it (denoted as S→N) represents the water source supplying water to the canal network; a directed edge from an upstream canal network node to its directly downstream canal network node (denoted as N→N) represents the water flow within the canal network; a directed edge from a canal network node to the cultivated land plot node directly irrigated by it (denoted as N→D) represents the canal system conveying water to the cultivated land. Based on each directed edge, the edge set E of the weighted directed graph is obtained.
[0040] S230. Based on the canal network data and the cultivated land plot data, calculate the distance-time cost and canal capacity saturation of each directed edge.
[0041] For each directed edge e (corresponding to a specific channel) in edge set E, its weight value (edge weight) is... The weight of the directed edge is used to comprehensively describe the resistance or cost of water flowing through it. It consists of two factors: distance-time cost and canal capacity saturation. For example, the steps of calculating the distance-time cost and canal capacity saturation for each directed edge based on the canal network data and the farmland plot data include S231-S235: S231. Based on the canal network data, determine the geometric length and water flow velocity of the canal segment corresponding to each directed edge; S232. Calculate the ratio of the geometric length to the water flow velocity to obtain the distance-time cost; for example, the formula for calculating the distance-time cost is: Distance and time cost = ; in, Let e represent the geometric length of the channel segment corresponding to the directed edge e. Indicates the water flow rate or water volume. and The ratio of the two can be used to approximate the travel time of water from upstream to downstream, i.e., the distance time cost.
[0042] S233. Based on the farmland plot data, determine the irrigation water demand of the downstream farmland plot connected to each of the directed edges, and determine the equivalent water demand of the downstream farmland plot based on the irrigation water demand.
[0043] Specifically, based on the topology of the weighted directed graph, the set of all farmland nodes reachable downstream from the directed edge e is determined, and the irrigation water requirements of these downstream farmland nodes are calculated. The data is aggregated and reasonably allocated based on area weights or network topology to obtain the downstream equivalent water demand belonging to the directed edge e. .
[0044] S234. Based on the canal network data, determine the maximum water conveyance capacity of the canal segment corresponding to each directed edge; S235. Calculate the ratio of the equivalent water demand to the maximum water conveyance capacity to obtain the canal saturation.
[0045] For example, the formula for calculating channel saturation is: Channel saturation = ,in, This represents the maximum water conveyance capacity of this section of the canal. Approaching or exceeding When the canal's capacity saturation is close to or greater than 1, it indicates that there is a capacity bottleneck in the canal section.
[0046] S240. The distance time cost and channel capacity saturation of each directed edge are weighted and summed to obtain the weight value of each directed edge. For example, the embodiments of this application adopt an equal-weighting strategy, through weight parameters. = =0.5 is used to weight and sum the distance time cost and channel capacity saturation to obtain the weight value (edge weight) of the directed edge. The calculation formula is as follows:
[0047] S250. Based on the nodes, each directed edge, and the weight value of each directed edge, a weighted directed graph is constructed.
[0048] In this embodiment, the ternary objects of water source S, canal network N, and cultivated land D are uniformly modeled as a weighted directed graph G=(V,E). This directed graph depicts the water conveyance path, time, and bottleneck capacity within the same topological framework, making the corresponding real-world irrigation process more intuitive and reasonable. Simultaneously, the weighted directed graph G reflects the geometric spatial distance and time cost of water conveyance along each directed edge, as well as the saturation level of the canal system relative to downstream water demand.
[0049] S300. Based on the weighted directed graph, calculate the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land plots.
[0050] For example, the steps of calculating the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each farmland parcel based on the weighted directed graph include S310-S350: S310. Calculate the minimum path cost from each of the water source nodes to each of the cultivated land plot nodes on the weighted directed graph.
[0051] For example, embodiments of this application may employ weighted directed graphs. The shortest path algorithm (such as Dijkstra's algorithm) is used to solve for the minimum path cost from the water source node to the farmland node. The minimum path cost is the sum of the weights of all edges along the path.
[0052] S320. Calculate the network reachability of each of the cultivated land plots based on the minimum path cost.
[0053] For each farmland plot node After obtaining the set of minimum path costs from the farmland plot to all water source nodes, the minimum value among them is selected as the minimum comprehensive cost for the farmland plot to obtain irrigation water from all water source nodes. Its expression is: Finally, the network reachability is calculated based on the minimum overall cost. The calculation formula is as follows:
[0054] Or will After normalization, the mapping is to interval, making The range of values is Within this range, a larger value indicates better accessibility.
[0055] S330. Using the maximum water conveyance capacity corresponding to each channel segment in the weighted directed graph as a constraint, the available water volume of each water source node is allocated to each cultivated land plot node along the weighted directed graph to obtain the available water volume of each cultivated land plot node.
[0056] This step aims to simulate the actual distribution of irrigation water in the network during the planned irrigation period, considering the actual water conveyance capacity of the canal network and the upper limit of the water supply from the source. Specifically, it simulates the maximum water conveyance capacity corresponding to each edge (canal segment) in the weighted directed graph. As constrained by the available water volume of each water source node, a minimum path cost priority or predetermined water allocation strategy is adopted. Under the condition of satisfying the above constraints, the water supply of each water source is allocated to each downstream farmland node through a weighted directed graph (i.e., canal network). Finally, the available water volume that can be actually allocated to each farmland node is statistically obtained. .
[0057] S340. Calculate the ratio of available water to irrigation water demand for each of the cultivated land plot nodes to obtain the water supply sufficiency of each of the cultivated land plots. For example, its water supply adequacy The calculation formula is:
[0058] in, For the plot of land The irrigation water requirement. If ,but A positive result indicates sufficient water supply; conversely, a negative result indicates a linear decrease in water supply as the water supply ratio decreases.
[0059] S350. Determine the water pressure index of each of the cultivated land plot nodes, and calculate the reciprocal of the water demand pressure of each of the cultivated land plots based on the water pressure index.
[0060] The reciprocal of water pressure is used to reflect the natural moisture conditions of arable land plots when they do not rely on irrigation systems. For each arable land plot node, a water pressure index is calculated by integrating information such as climate data (e.g., precipitation, potential evapotranspiration), soil properties (e.g., water retention capacity), and crop type for its region. , The larger the value, the greater the water deficit pressure of the land under natural conditions, and the stronger its dependence on irrigation.
[0061] For example, the reciprocal of the required water pressure The calculation formula is:
[0062] Or Normalization to Then map in the same way, making , The larger the value, the lower the water pressure and the more favorable the natural water conditions.
[0063] S400. Calculate the comprehensive irrigation capacity index of each of the cultivated land plots based on the network accessibility, water supply adequacy, and reciprocal of water demand pressure of each cultivated land plot.
[0064] For example, in this embodiment of the application, the comprehensive irrigation capacity index of each cultivated land plot can be obtained by calculating the arithmetic mean of the network accessibility, water supply adequacy, and the reciprocal of the water demand pressure for each cultivated land plot. The calculation formula is as follows:
[0065] The embodiments of this application can also normalize the comprehensive irrigation capacity index, which can... Limited to the range [0,1], the larger the value, the stronger the comprehensive irrigation capacity.
[0066] S500. Based on the comprehensive irrigation capacity index of each of the cultivated land plots, determine the cultivated land plots to be transformed.
[0067] For example, embodiments of this application can also compare the irrigation capacity of each cultivated land plot with a preset comprehensive irrigation capacity index, classify them into levels, and determine the cultivated land plots to be renovated based on the basic level classification results. The irrigation capacity levels of cultivated land plots include first level, second level, third level, and fourth level; for example, when... At that time, it was classified as Level 1 (high level of protection). At that time, it was classified as the second level (above average). When, it is classified as the third level (average or weak level); when At that time, it was classified as Level 4 (weak level).
[0068] The irrigation capacity level is classified by the comprehensive irrigation capacity index in the embodiments of this application, and the classification results can more comprehensively reflect the differences in actual irrigation capacity.
[0069] S600. Based on the farmland plot to be transformed and its comprehensive irrigation capacity index, solve the preset planning model with the goal of minimizing the total transformation cost to obtain the canal system transformation scheme.
[0070] For example, Figure 4 The flowchart of the canal system modification scheme is obtained by solving the preset planning model provided in the embodiments of this application, such as... Figure 4 As shown, the steps for solving the preset planning model to obtain the canal system modification scheme include S610-S640: S610. Based on the farmland plots to be transformed, determine each candidate canal segment of the canal network to be transformed, and define decision variables for each candidate canal segment to obtain the combination of decision variables for the candidate canal segments to be transformed.
[0071] For example, for each candidate canal section to be modified Define decision variables of 0–1 as follows:
[0072] S620, Preset the parameters for each candidate channel section before and after modification; For example, the parameters before and after modification include the maximum water conveyance capacity and flow velocity of the canal section, and may also include water conveyance loss efficiency; for example, the maximum water conveyance capacity before modification is... The maximum water conveyance capacity after the renovation is The unmodified water conveyance velocity is Ve, and the representative water conveyance velocity after modification is... Optionally, the water conveyance efficiency without modification is: After the renovation, the water conveyance efficiency is .
[0073] S630. Update the canal network data based on the combination of decision variables, the unmodified parameters, and the modified parameters.
[0074] For example, the parameters of the candidate canal section to be modified are updated according to the following rules: If =0, section e uses the parameters without modification; if =1, and the modified state parameters are used for channel segment e. This allows us to obtain channel network data that varies with the combination of decision variables.
[0075] S640. Based on the updated canal network data, the combination of decision variables, and the comprehensive irrigation capacity index of the cultivated land plot to be transformed, the preset planning model is solved with the goal of minimizing the total transformation cost to obtain the canal system transformation scheme.
[0076] Furthermore, based on updated canal network data, combinations of decision variables, and the comprehensive irrigation capacity index of the farmland to be renovated, the pre-set planning model is solved with the objective of minimizing the total renovation cost. The steps to obtain the canal system renovation scheme include S641-S646: S641. The weighted directed graph is updated based on the updated channel network data to obtain the updated weighted directed graph. In this embodiment of the application, after obtaining the updated channel network data, the edge weights of the directed edges in the weighted directed graph are updated synchronously to obtain the updated weighted directed graph.
[0077] S642. Based on the updated weighted directed graph, recalculate the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land plots to obtain the updated network accessibility, updated water supply adequacy, and updated reciprocal of water demand pressure for each of the cultivated land plots.
[0078] For example, to make the relationship between water supply adequacy and canal segment modification decisions calculable and verifiable, this application embodiment calculates the effective water supply that each cultivated land plot can obtain during the planned irrigation period under the constraints of updated canal network data. Specifically, canal segment flow rate variables or equivalent water supply variables can be introduced, with constraints such as "canal segment flow rate does not exceed the updated maximum water conveyance capacity," "water source outflow does not exceed the upper limit of water source supply," "canal network nodes satisfy flow conservation," and "the water supply obtained by cultivated land plots does not exceed their water demand," to obtain the available water volume for each cultivated land plot. Thus, by matching and limiting the ratio of the available water volume to the water demand of the cultivated land plot, the updated water supply adequacy can be obtained; when the available water volume is not lower than the water demand, the water supply adequacy reaches its maximum value; conversely, it decreases as the supply-demand gap increases. This application embodiment can use linear programming, minimum cost flow, or other equivalent network allocation algorithms to calculate the effective water supply that each cultivated land plot can obtain during the planned irrigation period.
[0079] S643. Based on the updated network accessibility, updated water supply adequacy, and updated reciprocal of water demand pressure, calculate the updated comprehensive irrigation capacity index for each cultivated land plot.
[0080] S644. Based on the updated comprehensive irrigation capacity index of each cultivated land plot, determine the updated comprehensive irrigation capacity index of the cultivated land plot to be transformed.
[0081] S645. The comprehensive irrigation capacity index of the farmland plot to be transformed after the renovation is greater than a preset threshold is used as a constraint condition.
[0082] This application's embodiment aims to achieve targeted improvement of arable land with low irrigation capacity levels. It imposes an "irrigation capacity improvement constraint" on all land parcels classified as Level 3 and Level 4. This constraint requires that the updated comprehensive irrigation capacity index of the arable land parcels to be improved, under the combined effects of decision variables, be no lower than the comprehensive irrigation capacity index of Level 3 (e.g., no lower than 0.55), thereby ensuring that they at least reach the lower limit of Level 2. This improvement constraint tightly couples canal system improvement decisions with irrigation capacity improvement goals, avoiding ineffective investments that fail to improve low-level land parcels despite incurring costs.
[0083] S646. Based on the constraints and the combination of decision variables, solve the preset planning model with the goal of minimizing the total renovation cost to obtain the canal system renovation scheme, wherein the canal system renovation scheme includes the final renovated canal section.
[0084] Exemplarily, in the embodiments of this application, it is set that For the canal section The renovation cost, with a total budget ceiling of [amount missing]. Its budget constraint is:
[0085] Under budget constraints, the objective function aimed at minimizing the total cost of the renovation is:
[0086] Finally, taking the combination of decision variables as the optimization object, based on the above budget constraints, constraints and objective function, the planning model is solved by mathematical programming solvers, branch and bound methods, cutting plane methods or heuristic search algorithms. Finally, the optimal combination of decision variables that satisfies all constraints and minimizes the total transformation cost is obtained, thus obtaining the optimal canal system transformation scheme. This canal system transformation scheme ensures that, within a given budget, low-irrigation-capacity farmland is upgraded to the first or second level at the lowest cost, realizing a quantitative trade-off between irrigation benefits and investment costs.
[0087] The planning model in this application embodiment can be understood as a mathematical optimization problem composed of a combination of decision variables, an objective function, constraints, and budget constraints.
[0088] To explain in detail the principles of the technical solution of this application, the overall process of this application will be described below with reference to some specific embodiments. It is easy to understand that the following is an explanation of the technical principles of this application and should not be regarded as a limitation of this application.
[0089] In one specific embodiment, a village irrigation district is selected as the research object. This research area is a typical alluvial plain irrigation district in southern China, with an average annual rainfall of approximately 1600 mm. The main crop is rice, supplemented by vegetables, corn, and other cash crops. Some sections of the existing canal system in the research area suffer from aging and leakage. Based on this village irrigation district as the research object, the canal system renovation process based on farmland irrigation capacity in this application includes the following steps: S1. Obtain water source data, canal network data, and cultivated land data for the village's irrigation area: S1.1, Data collection of cultivated land plots: The spatial distribution, area and crop type information of all cultivated land plots in the irrigation area were obtained; the statistical results of the plots are shown in Table 1.
[0090] Table 1 Statistical results of cultivated land patches
[0091] Furthermore, crop water requirements and climate parameters were obtained, as shown in Table 2: Table 2 Crop Water Requirements and Climate Parameters
[0092] After obtaining crop water requirements and climate parameters, the irrigation water requirements of cultivated land plots can be calculated using established methods based on crop water requirements quotas, effective precipitation, and soil water storage capacity. .
[0093] S1.2 Water Source Data Collection: Three main irrigation water sources within the village's irrigation area were identified. Based on the water source types and spatial locations directly provided by local data, and referring to relevant water conservancy engineering technical specifications and related literature, the water source data are shown in Table 3 below: Table 3 Data for each water source node
[0094] S1.3, Canal Network Data Collection: Based on the local "Irrigation and Drainage One Map" geospatial database (GDB), the route data and attribute information of the irrigation district canal network were extracted. The canal network statistical results are shown in Table 4. Table 4. Statistical Results of the Canal Network
[0095] The hydraulic parameters of its canal network are shown in Table 5: Table 5. Channel Hydraulic Parameters
[0096] S2: Construct a weighted directed graph of water source-canal network-farmland plots: S2.1 Node Definition and Encoding: Water source node set S: Based on field surveys and data supplementation, three water source nodes were set, and the data of the three water source nodes are shown in Table 6: Table 6. Relevant data for the three water source nodes.
[0097] Canal network node set N: Based on spatial analysis of irrigation and drainage map data, canal segment endpoints and intersections are extracted, generating a total of 45 canal network nodes. Information on these 45 canal network nodes is shown in Table 7, and information on some typical canal network nodes is shown in Table 8. Table 7. Information related to canal network nodes
[0098] Table 8 Information on some typical canal network nodes
[0099] Farmland node set D: The geometric centroids of 156 farmland patches are used as farmland nodes, numbered D1 to D2. 156The attribute information carried by each cultivated land node is shown in Table 9: Table 9. Attribute Information of Some Cultivated Land Nodes
[0100] Note: Water demand = Area of map patch × Water demand quota / 10000 S2.2 Edge Set Construction: Based on the reachable directions of water flow, a directed edge set E is constructed. The type statistics of the edge set are shown in Table 10. Table 10. Margin Set Type Statistics
[0101] S2.3 Edge Weight Calculation: For each directed edge e ∈ E, the edge weight is calculated using the following formula:
[0102] First, calculate the distance-time cost using the formula: Distance-time cost = ,in, The CD field (channel length) is taken from the "Irrigation and Drainage Map Data". Set according to channel type (0.80 m / s for branch canals, 0.60 m / s for open channels).
[0103] Secondly, calculate the canal saturation: For each edge e, first calculate the equivalent water demand for the farmland covered downstream. :
[0104] in, This is the area weighting coefficient.
[0105] Table 11 shows an example of calculating the edge weights of typical canal segments based on distance-time cost and canal capacity saturation: Table 11 Examples of boundary weight calculation for typical canal sections
[0106] Finally, to facilitate subsequent exponent calculation, the edge weights are normalized to the [0,1] interval:
[0107] Calculated: ,
[0108] S3. Calculation of Comprehensive Irrigation Capacity Index and Classification of Irrigation Capacity Levels S3.1, Network Reachability Calculation: Using each water source node as the source point, Dijkstra's algorithm is used to calculate the minimum path cost to each farmland node. For example, Table 12 shows the shortest path cost calculation results for some farmland nodes, as shown in Table 12: Table 12 Shortest path cost calculation results for some farmland nodes
[0109] After obtaining the set of minimum path costs from the farmland plot to all water source nodes, the minimum value among them is selected as the minimum comprehensive cost for the farmland plot to obtain irrigation water from all water source nodes. Its expression is:
[0110] Table 13 shows the network accessibility index of some farmland plots: Table 13 Accessibility Index of Node Network for Some Cultivated Land Plots
[0111] Furthermore, the network reachability of the entire region was statistically analyzed, and the results are shown in Table 14: Table 14 Results of network reachability statistics for the entire region
[0112] S3.2, Water supply adequacy Calculation: 1. Water allocation principle: The "minimum path cost priority" allocation strategy is adopted to allocate water supply from each water source under the constraint of canal capacity. Total water supply capacity : m³ / s; Water supply during the irrigation period (120 days): m³; Total water demand for arable land : m³; 2. Based on the water allocation principle, the water supply allocation results for some cultivated land are shown in Table 15: Table 15 Results of Water Supply Allocation for Selected Farmland
[0113] in:
[0114] 3. Water supply adequacy The statistics are shown in Table 16: Table 16 Statistics on Water Supply Adequacy
[0115] S3.3, reciprocal of water pressure required calculate 1. Moisture pressure index Construction: Taking into account precipitation, evapotranspiration, and soil conditions, The expression is:
[0116] in, =1,050mm (annual potential evapotranspiration), =Crop coefficient (rice 1.15, vegetables 0.95). =850 mm (effective precipitation). =120 mm (effective soil water holding capacity). The calculation of water pressure in some cultivated land is shown in Table 17: Table 17 Calculation of Water Pressure in Selected Farmland
[0117] in:
[0118] 2. Index Normalization Adjustment: Considering the actual situation in the study area, the index normalization adjustment is adjusted accordingly. Perform regional normalization adjustments:
[0119] After adjustment The value range is approximately [0.30, 0.90].
[0120] S3.4, Comprehensive Irrigation Capacity Index The formula for calculating the comprehensive index of the calculation and irrigation capacity classification is as follows:
[0121] Furthermore, the comprehensive irrigation capacity index and classification of typical cultivated land were calculated and are shown in Table 18: Table 18 Comprehensive Irrigation Capacity Index and Classification of Typical Cultivated Land
[0122] Furthermore, based on the threshold , , The irrigation capacity levels were classified, and the statistical results are shown in Table 19: Table 19 Statistical Results of Irrigation Capacity Levels
[0123] Specifically, The plots marked as low-grade arable land (including third and fourth grades) total 48 plots, with a total area of 140,261.01 m² (approximately 210.4 mu), accounting for 28.8% of the total arable land area; the spatial distribution characteristics of low-grade arable land are shown in Table 20. Table 20 Spatial Distribution Characteristics of Low-Grade Cultivated Land
[0124] S4. Determine the canal system renovation plan: S4.1 Identification of candidate canal sections for renovation: First, the selection criteria for canal sections to be renovated are as follows: Based on the irrigation and drainage map data and combined with the irrigation capacity classification results, candidate canal sections to be renovated are selected according to the following principles: canal sections serving more than 30% of low-grade cultivated land; canal capacity saturation. Bottleneck sections; aging sections with a leakage loss rate >25%; and sections with irregular cross-sections and insufficient flow capacity.
[0125] Secondly, a list of candidate canal sections for renovation was obtained based on the selection criteria for the canal sections to be renovated. Detailed information on the candidate canal sections for renovation is shown in Table 21. Table 21 Detailed Information on Candidate Canal Sections for Reconstruction
[0126] A total of 12 candidate canal sections have been identified for renovation, with a total length of 3,177.3 m and a total cost of 1.083 million yuan. S4.2, Construction of 0-1 Integer Programming Model 1. Definition of decision variables:
[0127] 2. Objective function:
[0128] 3. Constraints include budget constraints and irrigation capacity improvement constraints. The budget constraint is a cap on the total investment budget. Ten thousand yuan, that is:
[0129] The irrigation capacity improvement constraint is for all initial... 48 low-grade arable land plots:
[0130] in, For the renovation plan The comprehensive index after the effect is calculated through the following steps: First, update the water conveyance capacity of the modified canal section: This is done to obtain updated canal network data; and based on the updated canal network data, the edge weights of the weighted directed graph are recalculated: This process is repeated to obtain an updated weighted directed graph; then, the network reachability is recalculated based on the updated weighted directed graph. Water supply adequacy and the reciprocal of water pressure Finally, the network reachability is recalculated based on the updated weighted directed graph. Water supply adequacy and the reciprocal of water pressure The updated comprehensive irrigation capacity index was calculated. Its expression is:
[0131] 4. Linearization of the planning model: The nonlinear relationship with the decision variables is linearized by introducing auxiliary variables and the Big-M method: set up To renovate the canal section land parcel The incremental improvement in accessibility is then:
[0132] similar processing The linearized representation of .
[0133] S4.3 Solving the Planning Model and Result Analysis: 1. Solution process: Before calling the CPLEX solver, the improvement increment matrix needs to be calculated in advance. For example, the improvement increment calculation method includes: calculating the improvement increment of each low-grade farmland under the baseline state. , For each candidate canal section Simulate the effect of individual modifications and calculate the incremental improvement in reachability: And calculate the incremental improvement in water supply adequacy: Finally, the overall improvement increment was calculated: The comprehensive improvement increment matrix (partial examples) is shown in Table 22: Table 22 Comprehensive Improvement Increment Matrix (Partial Example)
[0134] Note: The numerical values represent the corresponding plots of land after the canal section was modified. The increase is ×3.
[0135] Secondly, mathematical model construction: Its objective function is:
[0136] Budget constraints are:
[0137] Irrigation capacity improvement constraints (for each low-grade plot) ):because Linearization is as follows:
[0138] For example, for ( ):
[0139] Finally, based on the above objective function, irrigation capacity improvement constraints, and budget constraints, the planning model is solved, and the solution output is as follows: Optimal canal system renovation scheme: =1 (modification e) 15 (Cost: 125,000 yuan); =1(modification e) 23 (Cost: 187,000 yuan); =1(modification e) 31 (Cost: 68,000 yuan); =1(modification e) 38 (Cost: 85,000 yuan); =1(modification e) 52 (Cost: 73,000 yuan); =1(modification e) 78 (Cost: 48,000 yuan); =1(modification e) 92 (Cost 56,000 yuan); other sections of the canal =0 (no modification).
[0140] Furthermore, after obtaining the optimal canal system modification scheme, the results are verified: The constraint satisfaction verification results are shown in Table 23. Table 23 Constraint Satisfaction Verification Results
[0141] The verification results of typical plots are shown in Table 24: Table 24 Verification Results of Typical Plots
[0142] Based on the above verification results, the optimal canal system renovation plan is to renovate 7 sections of the canal, with a total investment of 642,000 yuan, so as to improve the IAAI of all 48 low-grade plots to above 0.55, and achieve the goal of upgrading from the third and fourth grades to the second grade.
[0143] 2. The results of determining the optimal canal system modification scheme are shown in Table 25: Table 25 Results of the Optimal Canal System Modification Scheme
[0144] Furthermore, the statistical results of the optimal canal system scheme are as follows: Number of canal sections to be renovated: 7 sections; Total renovation length: 1,679.3 m; Total investment: 642,000 yuan (< budget of 650,000 yuan); Number of plots directly benefiting: 53 (covering all 48 low-grade plots after deduplication). 3. Based on the optimal canal system renovation plan, an evaluation of the renovation effect was conducted. This evaluation included changes in the low-grade arable land index after renovation, as shown in Table 26; a comparison of irrigation capacity levels before and after renovation, as shown in Table 27; and a comprehensive evaluation of the canal system renovation benefits, as shown in Table 28. Table 26 Changes in the index of low-grade arable land after transformation
[0145] Note: The table only lists some typical plots. All 48 low-grade plots will be redeveloped after the transformation. All are ≥0.55.
[0146] Table 27 Comparison of Irrigation Capacity Classification Before and After Renovation
[0147] 4. Analysis of the benefits of the renovation: The comprehensive benefit evaluation of the canal system renovation is shown in Table 28: Table 28 Comprehensive Benefit Evaluation of Canal System Renovation
[0148] As can be seen, under a budget constraint of 650,000 yuan, by selecting seven canal sections for renovation using a 0-1 integer programming model (total length 1,679.3 m, total investment 642,000 yuan), the comprehensive irrigation index of all 48 low-grade plots can be increased to above 0.55, achieving an upgrade from the third and fourth grades to the second grade. In terms of investment efficiency, the renovation investment per unit area is 4.58 yuan / m², and the unit grade upgrade cost is 13,400 yuan / grade, demonstrating significant renovation benefits. Therefore, the feasibility and effectiveness of the method proposed in this application are verified.
[0149] In summary, this application provides a method and related equipment for canal system renovation based on farmland irrigation capacity. The method first acquires data on various water sources, canal networks, and farmland plots in the target area; then, based on this data, a weighted directed graph is constructed; according to the weighted directed graph, the network accessibility, water supply sufficiency, and reciprocal of water demand pressure for each farmland plot are calculated; based on these parameters, a comprehensive irrigation capacity index for each farmland plot is calculated; and based on the comprehensive irrigation capacity index, the farmland plots to be renovated are determined. Farmland plots; based on the farmland plots to be transformed and their comprehensive irrigation capacity index, a pre-set planning model is solved with the objective of minimizing the total transformation cost to obtain the canal system transformation scheme; by solving the pre-set planning model based on the farmland plots to be transformed and their comprehensive irrigation capacity index with the objective of minimizing the total transformation cost, the canal system transformation scheme is obtained, taking into account the farmland irrigation capacity and the total transformation cost, realizing a quantitative trade-off between irrigation benefits and investment costs, and ensuring that the canal system transformation project improves the irrigation guarantee level of farmland with low irrigation capacity, thereby maximizing the overall improvement benefits of the irrigation system under the investment cost budget constraint.
[0150] like Figure 5 As shown in the diagram, this application also provides a structural schematic diagram of a canal system modification device based on farmland irrigation capacity. This device can implement the above-mentioned method and may include: Data acquisition module 21 is used to acquire data on various water sources, canal networks, and cultivated land plots in the target area; Graph construction module 22 is used to construct a weighted directed graph based on the various water source data, canal network data and cultivated land plot data; The first calculation module 23 is used to calculate the network accessibility, water supply adequacy and reciprocal of water demand pressure for each of the cultivated land plots based on the weighted directed graph. The second calculation module 24 is used to calculate the comprehensive irrigation capacity index of each of the cultivated land plots based on the network accessibility, water supply adequacy and reciprocal of water demand pressure of each of the cultivated land plots. The module 25 for determining the plots of farmland to be renovated is used to determine the plots of farmland to be renovated based on the comprehensive irrigation capacity index of each plot of farmland. The renovation scheme determination module 26 is used to solve a preset planning model based on the cultivated land plot to be renovated and the comprehensive irrigation capacity index of the cultivated land plot to be renovated, with the goal of minimizing the total renovation cost, and obtain the canal system renovation scheme.
[0151] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0152] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned canal system improvement method based on farmland irrigation capacity. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.
[0153] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0154] Please see Figure 6 , Figure 6 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 901 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 902 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 902 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 902 and called and executed by the processor 901 to implement the canal system modification method based on farmland irrigation capacity of the embodiments of this application. The input / output interface 903 is used to implement information input and output; The communication interface 904 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 905 transmits information between various components of the device (e.g., processor 901, memory 902, input / output interface 903, and communication interface 904); The processor 901, memory 902, input / output interface 903, and communication interface 904 are connected to each other within the device via bus 905.
[0155] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described canal system modification method based on farmland irrigation capacity.
[0156] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.
[0157] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0158] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0159] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0160] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0161] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0162] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0163] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0164] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0165] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0166] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A method for canal system renovation based on farmland irrigation capacity, characterized in that, include: Acquire data on various water sources, canal networks, and cultivated land parcels within the target area; Based on the aforementioned water source data, canal network data, and cultivated land plot data, a weighted directed graph is constructed; Based on the weighted directed graph, calculate the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land parcels; The comprehensive irrigation capacity index of each cultivated land plot is calculated based on the network accessibility, water supply adequacy, and reciprocal of water demand pressure of each cultivated land plot. Based on the comprehensive irrigation capacity index of each of the aforementioned cultivated land plots, the cultivated land plots to be transformed are determined. Based on the farmland plots to be renovated and their comprehensive irrigation capacity index, a pre-set planning model is solved with the goal of minimizing the total renovation cost, resulting in a canal system renovation scheme.
2. The canal system renovation method based on farmland irrigation capacity according to claim 1, characterized in that, The construction of a weighted directed graph based on the aforementioned water source data, canal network data, and cultivated land parcel data includes: Based on the aforementioned water source data, canal network data, and cultivated land plot data, each water source, canal network, and cultivated land plot is used as a node in a weighted directed graph. Construct directed edges from water source nodes to canal network nodes, from upstream canal network nodes to downstream canal network nodes, and from canal network nodes to cultivated land plot nodes to obtain the directed edges of the weighted directed graph. Based on the canal network data and the cultivated land plot data, calculate the distance-time cost and canal capacity saturation of each directed edge; The weight value of each directed edge is obtained by weighting and summing the distance time cost and channel capacity saturation of each directed edge. A weighted directed graph is constructed based on the nodes, each directed edge, and the weight value of each directed edge.
3. The canal system renovation method based on farmland irrigation capacity according to claim 2, characterized in that, The step of calculating the distance-time cost and canal capacity saturation of each directed edge based on the canal network data and the cultivated land plot data includes: Based on the canal network data, determine the geometric length and water flow velocity of the canal segment corresponding to each directed edge; Calculate the ratio of the geometric length to the water flow velocity to obtain the distance-time cost; Based on the farmland plot data, the irrigation water demand of the downstream farmland plot connected to each of the directed edges is determined, and the equivalent water demand of the downstream farmland plot is determined based on the irrigation water demand. Based on the canal network data, determine the maximum water conveyance capacity of the canal segment corresponding to each directed edge; The canal saturation is obtained by calculating the ratio of the equivalent water demand to the maximum water conveyance capacity.
4. The canal system renovation method based on farmland irrigation capacity according to claim 3, characterized in that, The step of calculating the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land parcels based on the weighted directed graph includes: Calculate the minimum path cost from each of the water source nodes to each of the cultivated land plot nodes on the weighted directed graph; The network reachability of each of the farmland plots is calculated based on the minimum path cost. Using the maximum water conveyance capacity corresponding to each canal segment in the weighted directed graph as a constraint, the available water volume of each water source node is allocated to each farmland plot node along the weighted directed graph to obtain the available water volume of each farmland plot node. Calculate the ratio of available water to irrigation water demand for each of the cultivated land plot nodes to obtain the water supply adequacy of each cultivated land plot. The water pressure index of each of the cultivated land plot nodes is determined, and the reciprocal of the water demand pressure of each of the cultivated land plots is calculated based on the water pressure index.
5. The canal system renovation method based on farmland irrigation capacity according to claim 1, characterized in that, The step of calculating the comprehensive irrigation capacity index of each of the cultivated land plots based on the network accessibility, water supply adequacy, and reciprocal of water demand pressure includes: The arithmetic mean of the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land plots is calculated to obtain the comprehensive irrigation capacity index for each of the cultivated land plots.
6. The canal system renovation method based on farmland irrigation capacity according to claim 1, characterized in that, The process involves solving a pre-defined planning model based on the farmland plots to be renovated and their comprehensive irrigation capacity index, with the objective of minimizing the total renovation cost, to obtain a canal system renovation scheme, including: Based on the farmland plots to be transformed, each candidate canal segment of the canal network is determined, and decision variables are defined for each candidate canal segment to obtain the combination of decision variables for the candidate canal segments. Preset the parameters for each candidate channel segment before and after modification; Update the canal network data based on the combination of decision variables, the unmodified parameters, and the modified parameters; Based on the updated canal network data, the combination of decision variables, and the comprehensive irrigation capacity index of the farmland plots to be transformed, a pre-set planning model is solved with the goal of minimizing the total transformation cost, resulting in a canal system transformation scheme.
7. The canal system renovation method based on farmland irrigation capacity according to claim 6, characterized in that, The process involves solving a pre-defined planning model based on updated canal network data, the combination of decision variables, and the comprehensive irrigation capacity index of the farmland to be renovated, with the objective of minimizing the total renovation cost. The resulting canal system renovation scheme includes: The weighted directed graph is updated based on the updated canal network data to obtain the updated weighted directed graph; Based on the updated weighted directed graph, the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land plots are recalculated to obtain the updated network accessibility, updated water supply adequacy, and updated reciprocal of water demand pressure for each of the cultivated land plots. Based on the updated network accessibility, updated water supply adequacy, and updated reciprocal of water demand pressure, the updated comprehensive irrigation capacity index of each cultivated land plot is calculated. Based on the updated comprehensive irrigation capacity index of each cultivated land plot, the updated comprehensive irrigation capacity index of the cultivated land plot to be transformed is determined. The constraint condition is that the comprehensive irrigation capacity index of the farmland plot to be transformed is greater than a preset threshold. Based on the constraints and the combination of decision variables, a pre-defined planning model is solved with the objective of minimizing the total renovation cost to obtain a canal system renovation scheme, wherein the canal system renovation scheme includes the final renovated canal section.
8. A canal system renovation device based on farmland irrigation capacity, characterized in that, The device includes: The data acquisition module is used to acquire data on various water sources, canal networks, and cultivated land plots in the target area. The graph construction module is used to construct a weighted directed graph based on the aforementioned water source data, canal network data, and cultivated land plot data. The first calculation module is used to calculate the network accessibility, water supply adequacy, and reciprocal of water demand pressure for each of the cultivated land plots based on the weighted directed graph. The second calculation module is used to calculate the comprehensive irrigation capacity index of each of the cultivated land plots based on the network accessibility, water supply adequacy and reciprocal of water demand pressure of each of the cultivated land plots. The module for determining plots of land to be renovated is used to determine plots of land to be renovated based on the comprehensive irrigation capacity index of each plot of land. The renovation scheme determination module is used to solve a preset planning model based on the farmland plot to be renovated and the comprehensive irrigation capacity index of the farmland plot to be renovated, with the goal of minimizing the total renovation cost, and obtain the canal system renovation scheme.
9. An electronic device, characterized in that, Including the processor and memory; The memory is used to store programs; The processor executes the program to implement the canal system renovation method based on farmland irrigation capacity as described in any one of claims 1 to 7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the canal system improvement method based on farmland irrigation capacity as described in any one of claims 1 to 7.