A method and related device for optimizing water distribution of canal system wheel irrigation considering the cost of changing gates

CN122927901APending Publication Date: 2026-10-16SICHUAN SHUIFA SURVEY DESIGN & RES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611142334.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-30
Publication Date
2026-10-16

AI Technical Summary

Technical Problem

若将前一斗口关闸和后一斗口开闸作为一个整体动作处理,开闸时采用的正在引水斗口集合可能与实际状态不一致;并且,即使换闸全过程前后的计划流量相同,关闸后下降、开闸后恢复的中间水力过渡仍可能造成局部渠段流量或水位波动

Benefits of technology

[0026] 1. Schedule the gate closing and opening events separately, and read the data collected at the water intake inlet before each event is executed. This can identify channel sections with small net changes before and after the gate replacement process but hydraulic disturbances occur in the middle stage, thus avoiding missing channel sections affected by gate closing or opening.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122927901A_ABST
    Figure CN122927901A_ABST
Patent Text Reader

Abstract

The application discloses a kind of considering the method for optimizing water distribution of canal system wheel irrigation of gate replacement cost and related equipment, and the application relates to the technical field of irrigation canal system operation scheduling and gate operation plan.The application respectively takes the closing and opening of battle mouth as independent gate event, reads the set of water diversion battle mouth before event execution when scheduling each event, respectively determines the gate influence canal section and the opening influence canal section and its hydraulic stability duration;According to the time when the canal operation group arrives and is available and the time when the related canal section hydraulic stability is completed, the execution time of the event is determined;Reserve the corresponding planned closing task before the opening of the battle mouth, and recheck the arrival condition of the canal operation group of each reserved planned closing task, the canal hydraulic stability condition and the flow and water level limit value corresponding to the non-constant flow response before adding subsequent events, output the wheel irrigation operation timetable that meets the battle mouth water distribution, canal flow and water level limit value and canal operation constraint, and the total time length occupied by the canal operation group represents the gate replacement cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of irrigation canal system operation scheduling and gate operation planning, specifically to an optimized water distribution method for canal system rotation irrigation that takes into account gate replacement costs and related equipment. Background Technology

[0002] In engineering practice, irrigation rotation plans in irrigation districts typically need to simultaneously meet the water demand at the canal outlets, the water conveyance capacity of the canal sections, water level control requirements, and on-site gate operation conditions. Existing canal water distribution methods can optimize rotation grouping, distribution time periods, water conveyance losses, canal section capacity, and gate operation sequence, and can also adjust the canal regulation timing using hydrodynamic models. However, they still have the following shortcomings:

[0003] (1) Treating the gate switching action as a whole can easily lead to missed judgments of intermediate hydraulic transitions. When multiple outlets are irrigated in parallel, a single gate switching action usually includes gate closing and gate opening actions that are separated in time. Gate events of other water distribution sequences may also be inserted between the two actions. If the gate closing of the previous outlet and the gate opening of the next outlet are treated as a whole action, the set of outlets that are currently drawing water when opening the gate may not be consistent with the actual situation. Furthermore, even if the planned flow rate is the same before and after the entire gate switching process, the intermediate hydraulic transition of the flow rate drop after gate closing and the recovery after gate opening may still cause fluctuations in the flow rate or water level in local canal sections.

[0004] (2) There is a lack of unified closure between on-site canal patrol operation constraints and the hydraulic stability conditions of the canal section. For canal systems where gates are opened and closed on-site by manual labor or maintenance vehicles, the patrol team can only undertake one gate operation at any given time. Its current location, available time, and travel time between the canal outlets directly affect whether the gate event can be executed as planned. Generating gate times solely based on the water distribution sequence at the canal outlets can easily overlook the coupling relationship between the arrival conditions of the patrol team and the completion time of hydraulic stability in the relevant canal section.

[0005] (3) The planned gate closure task that has already begun at the water intake outlet is easily disrupted by subsequent events. After the outlet is opened, the gate must be closed on time at the start of the planned closure. If subsequent gate events change the canal system status before the planned closure task was executed, or occupy the canal patrol team responsible for the closure task, the original plan may not be able to be executed on site.

[0006] Therefore, a rotational irrigation water distribution scheduling method is needed that reads the current canal system status when each gate event is actually scheduled, and verifies the hydraulic and canal patrol operation feasibility of the planned gate closure task before adding subsequent events. Summary of the Invention

[0007] Based on the problems mentioned above, the purpose of this invention is to provide a canal system rotation irrigation optimization water allocation method and related equipment that takes into account the cost of gate replacement, and to solve the problems of missed judgment of hydraulic transition during gate replacement, difficulty in synchronizing canal patrol operation conditions and hydraulic stability conditions, and the possibility that the planned gate closure task of the water diversion outlet that has already started may be disrupted by subsequent events in the current rotation irrigation water allocation scheduling.

[0008] This invention is achieved through the following technical solution:

[0009] The first aspect of this invention provides a method for optimizing water distribution in canal irrigation considering the cost of gate replacement, comprising the following steps:

[0010] Obtain the water distribution plan at the canal outlet, the canal system topology, the flow rate and water level limits of the canal section, as well as the location, available time, gate operation duration and inter-canal outlet movement time of the canal patrol team;

[0011] The gate closing and opening operations at the sluice gate are defined as independent gate events, forming a set of gate events to be scheduled, and a gate event queue for recording accepted gate events is initialized.

[0012] When scheduling each gate event, the collection of water intake outlets before the gate event is executed is read. Based on the planned flow rate and planned water level changes of the channel section before and after the gate event is executed, and combined with the unsteady flow response of the channel system, the channel section affected by gate closure or gate opening is determined, as well as the hydraulic stability time required for each affected channel section to reach hydraulic stability conditions under the gate event.

[0013] Based on the current location, available time, and travel time to the corresponding outlet of the canal patrol team, determine the earliest time when they can arrive and begin operations. Combined with the time when the hydraulic stability of the relevant canal section was completed due to the previous gate event, determine the earliest time when the gate event can be executed.

[0014] Before the opening of the sluice gate at the bend is accepted, the planned sluice gate closure start time is determined based on the planned completion time of the opening event and the planned water diversion duration of the bend. Corresponding planned sluice gate closure tasks are reserved and assigned to patrol teams. The opening event is accepted only when the patrol team undertaking the planned sluice gate closure task arrives no later than the planned sluice gate closure start time, the hydraulic stability completion time of each affected channel section before the planned sluice gate closure task, formed by previous gate events, is no later than the planned sluice gate closure start time, and the non-steady flow response corresponding to the planned sluice gate closure task meets the flow rate and water level limits. Before formally adding a subsequent gate event to the gate event queue, the subsequent gate event is tentatively added to the gate event queue. Based on the gate event queue after the tentative addition, the current assembly at the water intake inlet, the affected channel section, the arrival time of the patrol team, and the hydraulic stability completion time of the relevant channel section are re-predicted before the execution of each reserved planned gate closure task. The conditions for each reserved planned gate closure task are then verified to still be met. If any reserved planned gate closure task does not meet the aforementioned conditions, the tentative addition of the subsequent gate event is cancelled and rescheduled, and the start time of the planned gate closure at the water intake inlet remains unchanged.

[0015] For an accepted gate event, after the gate event is completed, update the current water intake assembly, planned flow rate of the canal section, planned water level of the canal section, and status of the canal patrol team, and update the hydraulic stability completion time of each affected canal section according to the completion time of the gate event and the hydraulic stability duration.

[0016] Output a rotation irrigation schedule that meets the limits of water distribution at the canal outlet, flow rate and water level in the canal section, as well as the constraints of canal patrol operations.

[0017] In the above technical solution, firstly, the gate closing and opening operations are separated into independent gate events, forming a set of gate events to be scheduled. These events are then written into a gate event queue after being accepted, allowing for the separate identification of the affected channel sections. Next, the arrival conditions of the patrol team, the available time, and the completion time of hydraulic stability in the relevant channel sections are used together to determine the gate event execution time, ensuring that on-site mobile operations and unsteady flow responses in the canal system are closed within the same event queue. Finally, planned gate closing tasks are reserved before the opening event at the canal outlet is accepted, and trial additions and dynamic verifications are conducted before subsequent events are formally added. This prevents the already started water intake canal outlets from failing to execute the gate closing operation at the planned start time due to interference from subsequent events.

[0018] In one optional embodiment, determining the planned flow rate of the canal segment, the planned water level of the canal segment, the canal segment affected by sluice gate closure, and the canal segment affected by sluice gate opening includes: for a sluice gate closure event, removing the inlet to be closed from the set of inlet diversion points before the sluice gate closure event is executed, to obtain the set of inlet diversion points after sluice gate closure; for a sluice gate opening event, rereading the set of inlet diversion points during the scheduling of the sluice gate opening event, and adding the inlet to be opened to the reread set of inlet diversion points, to obtain the set of inlet diversion points after sluice gate opening; and determining the canal segments affected by sluice gate closure and the canal segments affected by sluice gate opening based on the planned flow rate of the canal segment, the planned water level of the canal segment, and the unsteady flow response of the canal system corresponding to the sets of inlet diversion points before and after the event.

[0019] In one optional embodiment, the hydraulic stability duration of each affected channel section is determined, including: using a one-dimensional unsteady flow model of the canal system, calculating the gate event location, the channel flow and water level before the event, the flow change caused by the event, the upstream and downstream boundary conditions, and the gate opening change process, to obtain the hydraulic stability duration, flow and water level extreme values, and safety limit verification results of each channel section, and establishing a hydraulic response database accordingly.

[0020] In one optional embodiment, determining the patrol operation group executing the gate event and the gate event execution time includes: determining the patrol operation group executing the gate event from among the patrol operation groups that can reach the corresponding hopper and meet the operation time requirements; determining the earliest arrival and start time of the patrol operation group based on its current location, available time, and travel time to the corresponding hopper; determining the earliest executable time of the gate event based on the latest time between the earliest arrival and start time and the hydraulic stability completion time of the relevant channel section; for gate events executed by different patrol operation groups and whose single event affects non-intersecting channel sections, a hydraulic check is further performed on the combined operating conditions before simultaneous execution; when the combined operating conditions meet the flow and water level limits, simultaneous execution is allowed, and the combined affected channel sections and the hydraulic stability duration of each combined affected channel section are determined based on the non-steady flow response of the combined operating conditions, thereby updating the hydraulic stability completion time of each combined affected channel section.

[0021] In an optional embodiment, the reservation and verification of the planned gate closure task includes: before the opening event of the canal outlet is accepted, determining the planned gate closure start time based on the planned completion time of the opening event and the planned water diversion duration of the canal outlet, and generating a planned gate closure task record; inserting the planned gate closure task record into the assigned task sequence of each canal patrol team to determine the canal patrol team that can execute the planned gate closure task without time conflict, and writing the determined canal patrol team into the planned gate closure task record; and closing the gate only when the canal patrol team undertaking the planned gate closure task arrives no later than the planned gate closure start time. If the hydraulic stability of the affected channel section caused by the previous gate event is completed no later than the planned gate closure start time, and the unsteady flow response corresponding to the planned gate closure task meets the flow rate and water level limits, the corresponding gate opening event is accepted. Before formally adding any subsequent gate event to the gate event queue, the subsequent gate event is tentatively added to the gate event queue. Based on the gate event queue after the tentative addition, the current water intake assembly and affected channel section before the execution of each reserved planned gate closure task are re-predicted, and each reserved planned gate closure task is verified to still meet the aforementioned conditions. If the verification fails, the tentative addition of the subsequent gate event is cancelled and rescheduled.

[0022] The second aspect of the present invention provides a canal system rotation irrigation optimization water distribution scheduling device that takes into account the cost of gate replacement, including a parameter acquisition module, a gate event and hydraulic state determination module, a canal patrol operation group scheduling module, a planned gate closure task reservation and verification module, and an operation timetable output module.

[0023] A third aspect of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the optimized water distribution method for canal irrigation considering gate replacement costs.

[0024] The fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the optimized water distribution method for canal irrigation considering gate replacement costs.

[0025] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0026] 1. Schedule the gate closing and opening events separately, and read the data collected at the water intake inlet before each event is executed. This can identify channel sections with small net changes before and after the gate replacement process but hydraulic disturbances occur in the middle stage, thus avoiding missing channel sections affected by gate closing or opening.

[0027] 2. By incorporating the arrival conditions, available time, and hydraulic stability completion time of the relevant canal sections into the gate event scheduling, the on-site mobile operations and the canal system's unsteady flow response can be closed in the same scheduling chain.

[0028] 3. Reserve the planned gate closure task before the opening event of the canal outlet is accepted, and conduct trial addition and double verification of hydraulic and canal patrol operations before the subsequent gate event is officially added. This can avoid the canal outlet that has started water intake from being unable to close on time at the planned gate closure start time due to interference from subsequent events.

[0029] 4. Output the irrigation schedule and retain the results of the canal sections affected by gate closure, canal sections affected by gate opening, hydraulic stability duration and safety limit verification, which can be directly used for on-site gate operation planning and scheduling verification. Attached Figure Description

[0030] To more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be considered as a limitation on the scope of protection; for those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0031] Figure 1 A flowchart illustrating an optimized water distribution method for canal irrigation considering gate replacement costs, provided in Embodiment 1 of the present invention;

[0032] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.

[0034] Embodiment 1 of the present invention provides an optimized water allocation method for canal irrigation considering gate replacement costs, the process of which is as follows: Figure 1 As shown, a method for optimizing water allocation in canal irrigation considering gate replacement costs includes the following steps:

[0035] First, acquire the water distribution plan for each canal outlet, the canal system topology, the canal patrol network data, and the gate management data. Specifically, the direct inputs for scheduling include the required water volume and planned diversion flow for each canal outlet, the opening and closing operation time of the canal gates, the initial position and available time of the patrol team, the movement time between canals, and the flow limit and water level limit for each canal segment. The basic parameters of the hydraulic model include the canal segment cross-section, slope, roughness, upstream and downstream boundary conditions, the status of control structures, and the relationship between gate opening and flow. These parameters can be obtained based on engineering measured data, design data, or calibrated model data.

[0036] The patrol team refers to one or more patrol personnel responsible for the on-site opening and closing of the gates at the canal outlets. Patrol personnel can move between canals on foot or by maintenance vehicles. The dynamic status of each patrol team includes its current location and available time, while the dynamic status of each canal section includes the current planned flow rate, the current planned water level, and the time when hydraulic stability is achieved.

[0037] Furthermore, calculate the water diversion duration at the outlet and the planned flow rate of the canal section. Let the outlet be... The required water diversion volume is The planned water diversion flow rate is When the transition water volume during the opening and closing of the bucket is negligible compared to the target water intake volume, the bucket... The planned water diversion period is as follows:

[0038] ;

[0039] When the transition water volume during the opening and closing of the inlet cannot be ignored, it can be determined that... The amount of water passing through the hopper during the opening and closing transition process is deducted or compensated.

[0040] Furthermore, based on the canal system topology and the pre-set water conveyance loss model, the inlet / outlet is determined. Canal section Planned traffic contribution The water conveyance loss model can employ segmented water conveyance efficiency, flow-related loss models, or calibrated empirical relationships. For any assembly of water intake outlets... Canal section The planned traffic is:

[0041] ;

[0042] The planned water level of a channel section is determined based on the planned flow rate of the channel section, the upstream and downstream boundary conditions, and the status of control structures, through steady-state water surface line calculations, calibrated flow-water level relationships, or steady-state initialization results of a one-dimensional unsteady flow model.

[0043] Furthermore, a hydraulic response database for each canal segment is established. Specifically, the canal system is divided into several control segments based on bifurcation points, confluence points, control gates, diversion gates, outlets, cross-sectional changes, slope changes, or roughness changes. A one-dimensional unsteady flow model of the canal system is used to calculate the hydraulic stability duration, flow and water level before the event, flow changes caused by the event, upstream and downstream boundary conditions, and gate opening changes for different gate event locations. This yields the results of safety limit verification for each control segment, including hydraulic stability duration, extreme flow and water level values.

[0044] The data collection at the water intake outlet is used to calculate the overall flow and water level status of the canal system before the event occurs. The hydraulic response database uses the gate event location, representative flow and water level of each control section before the event, the flow changes caused by the event, upstream and downstream boundary conditions, and the gate opening change process as query conditions. For gate events... Hequ Section The hydraulic response can be expressed as:

[0045] ;

[0046] in, For the canal section Hydraulic response mapping, For the canal section In the gate incident Hydraulic stabilization time after completion , , , For the extreme values ​​of flow rate and water level during the response process, For the safety limit verification results, Location of the gate event. and The data represents the flow rate and water level before the event. For the traffic changes caused by the event, and This represents the upstream and downstream boundary state. This describes the process of gate opening change.

[0047] Furthermore, the hydraulic stability condition can be set as follows: after the gate operation is completed, the flow rate and water level of the affected channel section enter the allowable deviation range of the corresponding planned value and remain there for no less than the predetermined holding time. This condition is expressed as:

[0048] ;

[0049] in, and respectively canal sections At any moment The flow rate and water level, and These are the planned flow rate and planned water level of the canal section after the incident. and These are the allowable flow rate deviation and the allowable water level deviation, respectively. For the scheduled holding time, To ensure that the above-mentioned flow rate and water level deviation conditions are maintained continuously after the gate event is completed. The earliest start time; duration of hydraulic stability For the gate incident Completion time to The time interval.

[0050] When the queried operating condition falls within the range of existing samples, interpolation is used to obtain the hydraulic response result. When the queried operating condition exceeds the range of existing samples, a one-dimensional unsteady flow model of the canal system is invoked for calculation, and the calculation result is added to the hydraulic response database. Candidate schemes that have not been calculated and confirmed to meet the flow rate and water level limits are not included as the final output scheme.

[0051] Furthermore, gate events are generated and their states are initialized. Based on the water distribution plan, the water outlets are divided into several distribution sequences, and the order of the water outlets within each sequence is determined. For each distribution sequence, the first water outlet gate opening event, the preceding water outlet gate closing event and the following water outlet gate opening event between adjacent water outlets, and the last water outlet gate closing event are generated, forming a set of gate events to be scheduled.

[0052] Before the scheduling begins, the gate event queue used to record accepted gate events is initialized to an empty queue, the set of water intake outlets is initialized to an empty set, the current position and available time of each canal patrol operation group are set to the initial state, the planned flow and planned water level of each canal section are set to the initial state, and the hydraulic stabilization completion time of each canal section is set to the initial available time.

[0053] Furthermore, the status is scheduled and updated according to the gate event queue. Specifically, for any gate closing event, the bucket to be closed is removed from the set of buckets currently drawing water before the event is executed, resulting in the set of buckets currently drawing water after the gate is closed; for any gate opening event, the set of buckets currently drawing water is reread when the gate opening event is scheduled, and the bucket to be opened is added to the reread set of buckets currently drawing water, resulting in the set of buckets currently drawing water after the gate is opened.

[0054] For gate closing or gate opening events The planned flow rate and planned water level changes for the canal section are determined based on the data collected at the water intake points before and after the event. The affected canal section set is as follows:

[0055] ;

[0056] in, This serves as an identifier for the gate event type. This indicates a gate closure event. This represents a gate opening event; for a given gate event... Set the affected channel segments corresponding to its event type Abbreviated as . and These are the flow rate threshold and water level threshold, used to exclude minute variations in numerical values. and These are the planned flow rate and planned water level before the event. and These are the planned flow rate and planned water level after the event, respectively. The transient flow rate impact threshold and transient water level impact threshold are preset based on the allowable deviation of the canal section, monitoring accuracy, and scheduling control requirements, and are used to determine whether non-steady flow disturbances need to be included in subsequent scheduling constraints. This yields the canal sections affected by sluice gate closure and sluice gate opening, respectively.

[0057] It should be noted that comparing only the net change before and after a single overall gate replacement may miss the intermediate hydraulic transition process. Taking a shared canal section as an example, if... This indicates the design water conveyance capacity or controlled flow rate of the shared canal section, and the planned flow rates before the closure of the preceding canal gate, after the closure of the preceding canal gate and before the opening of the following canal gate, and after the opening of the following canal gate are respectively... , and If only the planned flow before and after the entire gate replacement process is compared, the shared channel section will be determined to be unaffected; when the gate closing event and the gate opening event are handled separately, it is possible to identify that there are two intermediate hydraulic transition processes of decline and recovery in the channel section.

[0058] Furthermore, determine the event execution time and update the status. For each gate event... Based on the current location of the patrol team, available time, inter-slot travel time, and gate operation duration, determine the time when the patrol team responsible for the event can arrive and begin operations. Based on the completion time of hydraulic stability achieved by the previous gate event in the relevant affected canal section, the earliest executable time for the gate event is:

[0059] ;

[0060] in, For the gate incident The set of affected canal sections For the canal section The moment when hydraulic stability was achieved due to the previous gate event; when When the set is empty, the corresponding maximum value item is not included in the calculation. For a reserved planned gate closure task, the actual execution time of the corresponding gate closure event is taken as the planned gate closure start time; the earliest executable time determined by formula (6) is used to check whether the planned gate closure start time has the execution conditions, and is not used to execute the gate closure event in advance.

[0061] After the gate incident is completed, update the following: water is being assembled at the intake outlet, planned flow rate for the canal section, planned water level for the canal section, and the location and available time of the canal patrol team. This will affect the affected canal section. According to the time of event completion and hydraulic stability duration Update hydraulic stability completion time:

[0062] ;

[0063] The completion time of a gate event is determined by the actual execution time of the gate event and the corresponding gate operation duration, and the available time of the canal patrol team is updated accordingly. For a gate closure event, after the event is completed, the outlets to be closed are removed, and the planned flow rate of the canal section, the planned water level of the canal section, the completion time of the impact of gate closure on the hydraulic stability of the canal section, and the location and available time of the canal patrol team are updated. For a gate opening event, the collection of water intake outlets is reread during event scheduling and outlets to be opened are added. After the event is completed, the planned flow rate of the canal section, the planned water level of the canal section, the completion time of the impact of gate opening on the hydraulic stability of the canal section, and the location and available time of the canal patrol team are updated.

[0064] When two or more gate events are to be implemented at the same execution time, if they are executed by different canal patrol teams and the canal sections affected by a single event do not intersect, then the combined operating conditions shall be further hydraulically verified; if the combined operating conditions meet the flow and water level limits, simultaneous execution is allowed.

[0065] For combined operating conditions that are allowed to be executed simultaneously, the combined affected channel sections and their hydraulic stability duration are determined based on the non-steady flow response of the combined operating conditions, and the hydraulic stability completion time of each combined affected channel section is updated according to Equation (7).

[0066] Furthermore, planned gate closure tasks are reserved and dynamically reviewed. For gate opening events, the intended execution time and intended completion time are first determined as described above, and then the corresponding planned gate closure tasks are reserved and reviewed. Only after the reservation and review of the planned gate closure task are approved is the gate opening event accepted, written into the gate event queue, and the aforementioned status update performed. The gate closure events in the set of gate events to be scheduled correspond one-to-one with the planned gate closure task records. Reserved planned gate closure tasks only determine the planned gate closure start time and patrol operation group for the corresponding gate closure event, without generating new gate closure events repeatedly.

[0067] Doukou The opening time of the gate is taken as the start time of water intake at the sluice gate. Based on the start time of water intake and the planned water intake duration, the planned gate closure start time is determined:

[0068] ;

[0069] in, For the mouth The moment when the gate opening is completed. For the mouth The planned water diversion duration. The planned gate closure start time refers to the start time of the gate closure operation; the gate closure completion time should also include the gate closure operation duration.

[0070] Before the opening event of a canal outlet is accepted, a planned closure task record for that canal outlet is generated. This record includes the canal outlet number, the planned closure start time, the closure operation duration, and the reserved work period determined by the planned closure start time and closure operation duration. The system attempts to insert this planned closure task record into the scheduled task sequence of each canal patrol team. Only when the travel time and operation time between successive tasks meet the requirements is the corresponding canal patrol team deemed feasible, and the determined canal patrol team is written into the planned closure task record. If no feasible canal patrol team exists, or the relevant canal section cannot meet the hydraulic stability conditions before the planned closure start time, or the non-steady flow response corresponding to the planned closure task does not meet the flow and water level limits, the corresponding opening event is not accepted and rescheduled.

[0071] Before formally adding any subsequent gate event to the gate event queue, the subsequent gate event is tentatively added to the gate event queue. Based on the event queue after the tentative addition, the following predictions are made: the assembly of the water intake outlets before the execution of each reserved planned gate closure task, the affected channel section, the arrival time of the patrol team, and the hydraulic stability completion time of the relevant channel section. Simultaneously, it is verified whether the unsteady flow response corresponding to each reserved planned gate closure task meets the flow and water level limits. If the tentatively added subsequent gate event prevents any reserved planned gate closure task from executing at the planned gate closure start time, or causes the unsteady flow response corresponding to any reserved planned gate closure task to fail to meet the flow and water level limits, then the tentative addition of the subsequent gate event is cancelled and rescheduled; the planned gate closure start time at the water intake outlet remains unchanged.

[0072] Taking a planned gate closure task after the opening of a sluice gate as an example, the planned gate closure start time has already been determined. If another gate event to be added acts on a channel section shared with this gate closure task, and causes the hydraulic stabilization completion time of that channel section to be later than the planned gate closure start time, or causes the unsteady flow response of the planned gate closure task itself to exceed the flow rate or water level limit, then even if the channel patrol team responsible for the gate closure can arrive on time, the subsequent gate event will still be judged as infeasible, and the trial addition will be cancelled. Conversely, if the channel section can stabilize on time, but the channel patrol team cannot arrive on time due to the added task, the trial addition of the subsequent gate event will also be cancelled.

[0073] Furthermore, constraint repair and optimization iterations are performed. After scheduling candidate scheduling schemes item by item according to gate events and verifying their feasibility, if a scheme does not meet the requirements of canal outlet water distribution, canal flow and water level limits, canal patrol operation constraints, canal hydraulic stability conditions, reserved conditions for planned gate closure tasks, or the irrigation cycle requirements specified in the canal outlet water distribution plan, it is re-scheduled and verified after adjusting the canal outlet sequence, event timing, canal patrol operation group allocation, or water distribution sequence. Candidate scheduling schemes that are still infeasible after adjustment are eliminated. The planned gate closure start time of canals that have already started water intake is not considered a repair variable.

[0074] It should be noted that the focus of this invention is on the processing method of scheduling candidate scheduling schemes item by item according to gate events and verifying their on-site feasibility, without limiting the specific optimization algorithm for generating the order of candidate gate openings. During the optimization process, the completion time of irrigation rotation and the total time occupied by the canal patrol team are used as the target evaluation indicators. The total time occupied by the canal patrol team includes at least the travel time and gate operation time incurred to complete each gate event, used to characterize the on-site gate replacement cost. Only candidate scheduling schemes that satisfy all engineering constraints are considered as the final output schemes.

[0075] Finally, for the target scheduling plan, a rotation irrigation operation schedule is output for on-site execution. The rotation irrigation operation schedule includes at least the task number, canal patrol team number, corresponding inlet number, departure time, arrival time, gate opening or closing operation time, and water diversion start and end times. The canal sections affected by gate closing, canal sections affected by gate opening, hydraulic stability duration, and safety limit verification results can be saved as internal verification information or output as needed.

[0076] Embodiment 2 of the present invention provides a canal system rotation irrigation optimized water distribution scheduling device that considers the cost of gate replacement, comprising:

[0077] The parameter acquisition module is used to acquire the water distribution plan at the canal outlet, the canal topology, the flow and water level limits of the canal section, the canal patrol network or the movement time between canals, the operation time of the canal gate, and the location and available time of the canal patrol team.

[0078] The gate event and hydraulic status determination module is used to generate gate closing events and gate opening events, read the set of water intake outlets before the event is executed, and determine the planned flow rate of the channel section, the planned water level of the channel section, the channel section affected by gate closing or opening, and the duration of hydraulic stability before and after the event.

[0079] The canal patrol operation group scheduling module is used to determine the canal patrol operation group that will execute the gate event and the event execution time based on the location, available time, movement time, operation duration and the hydraulic stability completion time of the relevant canal section.

[0080] The module for reserving and verifying planned gate closure tasks is used to reserve and initially verify planned gate closure tasks before a gate opening event is accepted. Before subsequent gate events are officially added to the gate event queue, the module performs a trial addition of the subsequent gate events and verifies the arrival conditions of the patrol operation team, the hydraulic stability conditions of the canal section, and the flow and water level limits of the corresponding unsteady flow response for each reserved planned gate closure task. If the reservation cannot be completed, or if the initial verification shows that any of the arrival conditions of the patrol operation team, the hydraulic stability conditions of the canal section, or the flow and water level limits of the corresponding unsteady flow response are not met, the corresponding gate opening event is not accepted. If the verification fails, the trial addition is canceled and a rescheduling is triggered.

[0081] The operation schedule output module is used to output the rotation irrigation operation schedule that meets the water distribution at the canal outlet, the flow rate and water level limits, and the constraints of canal patrol operations.

[0082] Embodiment 3 of the present invention provides an electronic device, such as... Figure 2 As shown, the electronic device includes a processor 21, a memory 22, an input device 23, and an output device 24; the number of processors 21 in the computer device can be one or more. Figure 2 Taking a processor 21 as an example; the processor 21, memory 22, input device 23, and output device 24 in an electronic device can be connected via a bus or other means. Figure 2 Taking the example of a connection between China and Israel via a bus.

[0083] The memory 22, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules. The processor 21 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 22, thereby implementing the canal system rotation irrigation optimization water distribution method of Embodiment 1 that takes into account the cost of gate replacement.

[0084] The memory 22 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on terminal usage. Furthermore, the memory 22 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory, or other non-volatile solid-state storage device. In some instances, the memory 22 may further include memory remotely located relative to the processor 21, which can be connected to the electronic device 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.

[0085] Input device 23 can be used to receive user input such as ID and password. Output device 24 is used to output the network configuration page.

[0086] Embodiment 4 of the present invention also provides a computer-readable storage medium, wherein the computer-executable instructions, when executed by a computer processor, are used to implement a canal system rotation irrigation optimization water distribution method considering gate replacement costs as provided in Embodiment 1.

[0087] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for optimizing water allocation in canal irrigation considering gate replacement costs, characterized in that, include: Acquire data on water distribution plans, canal topology, canal patrol network data, and gate management data. Treat the closing and opening of the gate at the entrance as independent gate events, form a set of gate events to be scheduled, and initialize the gate event queue; For any gate event in the set of gate events to be scheduled, read the set of water intake outlets before its execution, and determine the affected channel section or the affected channel section by closing the gate or opening the gate based on the changes in the planned flow and planned water level of the channel section before and after the gate event and the unsteady flow response of the channel system, and determine the hydraulic stability duration of each affected channel section. Based on the arrival time of the patrol team, the available time, and the time when the hydraulic stability of the relevant canal section is completed, determine the patrol team and the execution time for the gate event; Before accepting a gate opening event, the planned gate closing start time is determined based on the intended completion time and the planned water diversion duration. Planned gate closing tasks are reserved and canal patrol teams are assigned. The event is accepted only when the arrival time of the assigned work teams and the hydraulic stability completion time of each canal section affected by the gate closure are not later than the planned gate closing start time, and the non-steady flow response corresponding to the task meets the flow rate and water level limits. Before adding a subsequent gate event to the gate event queue, a trial addition is performed first, and the pre-reserved planned gate closure tasks are checked to see if they still meet the aforementioned conditions. If the check fails, the trial addition is cancelled and rescheduled, and the start time of the planned gate closure at the water intake outlet remains unchanged. Once the incident has been accepted, updates will be made on the following: the water intake outlet assembly, the hydraulic status of the canal section, the status of the canal patrol team, and the completion time of hydraulic stabilization for each affected canal section. Output a rotational irrigation schedule that meets the constraints of water distribution at the canal outlet, hydraulics, and canal patrol operations.

2. The method for optimizing water allocation in canal irrigation considering gate replacement costs, as described in claim 1, is characterized in that... Based on the changes in planned flow and planned water level of the canal section before and after the gate event, as well as the unsteady flow response of the canal system, the canal sections affected by gate closure or opening are determined, including: In response to a gate closure event, the inlet to be closed is removed from the set of inlet intakes before the gate closure event is executed, thus obtaining the set of inlet intakes after the gate closure. For a gate opening event, the set of water intake outlets is reread during the gate opening event scheduling, and the outlets to be opened are added to the reread set of water intake outlets to obtain the set of water intake outlets after the gate is opened; Based on the planned flow rate, planned water level, and unsteady flow response of the canal section corresponding to the water intake outlet before and after the event, the canal sections affected by sluice gate closure and sluice gate opening are determined respectively. The planned water level of a channel section is determined based on the planned flow rate of the channel section, the state of the upstream and downstream boundaries, and the state of the control structures, through steady-state water surface line calculation, calibrated flow-water level relationship, or steady-state initialization results of a one-dimensional unsteady flow model.

3. The method for optimizing water allocation in canal irrigation considering gate replacement costs, as described in claim 1, is characterized in that... Determine the hydraulic stability duration for each affected canal section, including: A one-dimensional unsteady flow model of the canal system is used to calculate the location of the gate event, the flow and water level of the canal section before the event, the flow change caused by the event, the upstream and downstream boundary conditions and the gate opening change process. The hydraulic stability time, flow and water level extremes and safety limit verification results of each canal section are obtained, and a hydraulic response database is established accordingly. The collection of water intake outlets is used to calculate the channel flow and water level status before the event is executed; the hydraulic response database uses the gate event location, the channel flow and water level before the event is executed, the flow change caused by the event, the upstream and downstream boundary conditions, and the gate opening change process as query conditions. When the operating condition to be scheduled is within the range of existing samples in the hydraulic response database, interpolation is used to obtain the hydraulic response result; when the operating condition to be scheduled exceeds the range of existing samples, the one-dimensional unsteady flow model is called to perform the calculation, and the calculation result is added to the hydraulic response database.

4. The method for optimizing water allocation in canal irrigation considering gate replacement costs, as described in claim 1, is characterized in that... Determine the patrol team responsible for executing gate events and the execution time, including: From the patrol teams that can reach the corresponding sluice gate and meet the operation time requirements, determine the patrol team that will execute the gate event; Based on the current location, available time, and travel time to the corresponding hopper of the patrol team, determine the earliest time when they can arrive and begin operations; and determine the earliest time when the gate event can be executed based on the latest time between the earliest time when they arrive and begin operations and the latest time when the hydraulic stability of the relevant canal section is completed. Gate events executed by different canal patrol teams and whose single-event-affected canal sections do not intersect are further hydraulically checked before simultaneous execution. When the combined operating conditions meet the flow and water level limits, simultaneous execution is allowed. The combined-affected canal sections and the hydraulic stability duration of each combined-affected canal section are determined based on the non-steady flow response of the combined operating conditions, and the hydraulic stability completion time of each combined-affected canal section is updated accordingly.

5. The method for optimizing water allocation in canal irrigation considering gate replacement costs, as described in claim 1, is characterized in that... Reserved tasks for planned sluice gate closures and assigned to canal patrol teams, including: Before the opening event of the sluice gate is accepted, the planned sluice gate closing start time is determined based on the planned completion time of the opening event and the planned water diversion duration of the sluice gate, and a planned sluice gate closing task record is generated. The planned sluice gate closing task record includes the sluice gate number, the planned sluice gate closing start time, the sluice gate closing operation duration, and the reserved operation period determined by the planned sluice gate closing start time and the sluice gate closing operation duration. The planned gate closure task record is inserted into the assigned task sequence of each canal patrol team. Based on the task location, task time, movement time and gate closure operation duration before and after the insertion position, the canal patrol team that can execute the planned gate closure task without time conflict is determined, and the determined canal patrol team is written into the planned gate closure task record. Review all pre-reserved planned shutdown tasks, including: Before formally adding any subsequent gate event to the gate event queue, it is added to the queue on a trial basis. The queue after the trial addition is used to re-predict the assembly of the water intake outlets and the affected channel sections before the execution of each reserved planned gate closure task. The patrol operation group undertaking each reserved planned gate closure task is checked to see if it can arrive no later than the start time of the corresponding planned gate closure, whether the hydraulic stability completion time of each affected channel section formed by the previous gate events before the execution of the corresponding planned gate closure task is no later than the start time of the corresponding planned gate closure, and whether the non-steady flow response corresponding to each reserved planned gate closure task meets the flow rate and water level limits. If no feasible canal patrol operation group exists, or the hydraulic stability conditions of the planned gate closure task are not met, or the corresponding unsteady flow response does not meet the flow and water level limits, then the corresponding gate opening event will not be accepted and will be rescheduled; if the subsequent gate event to be added will cause the arrival conditions or hydraulic stability conditions of any planned gate closure task to be not met, or cause the corresponding unsteady flow response to not meet the flow and water level limits, then the trial addition of the subsequent gate event will be cancelled and rescheduled.

6. The method for optimizing water allocation in canal irrigation considering gate replacement costs, as described in claim 5, is characterized in that... In the optimization process, the completion time of irrigation rotation and the total time occupied by the canal patrol team are used as the target evaluation indicators; the total time occupied by the canal patrol team includes at least the movement time and gate operation time generated to complete each gate event, which is used to characterize the on-site gate replacement cost.

7. A canal system rotation irrigation optimization water distribution scheduling device considering gate replacement costs, used to implement the method described in any one of claims 1 to 6, characterized in that, include: The parameter acquisition module is used to acquire the water distribution plan at the canal outlet, the canal topology, the flow and water level limits of the canal section, the canal patrol network or the movement time between canals, the operation time of the canal gate, and the location and available time of the canal patrol team. The gate event and hydraulic status determination module is used to generate gate closing events and gate opening events, read the set of water intake outlets before the event is executed, and determine the planned flow rate of the channel section, the planned water level of the channel section, the channel section affected by gate closing or opening, and the duration of hydraulic stability before and after the event. The canal patrol operation group scheduling module is used to determine the canal patrol operation group that will execute the gate event and the event execution time based on the location, available time, movement time, operation duration and the hydraulic stability completion time of the relevant canal section. The module for reserving and verifying planned gate closure tasks is used to reserve and initially verify planned gate closure tasks before a gate opening event is accepted. Before subsequent gate events are officially added to the gate event queue, the module performs a trial addition of these events and verifies whether the arrival conditions of the patrol team and the hydraulic stability conditions of the canal section for each reserved planned gate closure task are met, as well as whether the corresponding unsteady flow response meets the flow and water level limits. If the reservation cannot be completed, or the initial verification shows that the arrival conditions of the patrol team or the hydraulic stability conditions of the canal section are not met, or the corresponding unsteady flow response does not meet the flow and water level limits, the corresponding gate opening event is not accepted. If the verification fails, the trial addition is cancelled and a rescheduling is triggered. The operation schedule output module is used to output a rotation irrigation operation schedule that meets the water distribution at the canal outlet, the flow rate and water level limits, and the constraints of canal patrol operations.

8. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the method described in any one of claims 1 to 6.