Water conservancy integrated management system based on water conservancy simulation and water balance coordinated control
Patent Information
- Application Number
- CN202610875737.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-17
- Publication Date
- 2026-08-18
AI Technical Summary
[0004]然而,现有技术路线未将水位安全与泵组机电安全构建为两个互不融合、各自独立行使否决权的硬准入判据,导致调度决策缺乏对异质物理安全边界的精确区分与刚性守护
[0015]本发明有益效果为:通过水利仿真提取支口开关事件对关键断面水位和泵组功率的双通道扰动响应,将单支口开启引起的水位跌落幅值和功率波动峰值分别量化为水位扰动值和功率扰动值,结合渠道实时水位裕度和泵组实时功率裕度分别生成水位扰动预算和功率扰动预算,实现了水位安全与泵组机电安全两个异质物理约束各自独立、互不融合的准入判据体系,提高了多支口并发取水工况下渠道运行安全与泵组运行安全保障的刚性。
Smart Images

Figure CN122593077A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of irrigation district water resource scheduling and automatic control technology, and in particular to a comprehensive water management system based on water conservancy simulation and water balance coordination control. Background Technology
[0002] Water resource scheduling in irrigation districts is a key technological link in achieving water conservation and efficiency improvement in agriculture. With the improvement of automation level in open canal irrigation districts, closed-loop scheduling methods based on water conservancy simulation and real-time control are gradually replacing the traditional manual experience-based scheduling mode.
[0003] In recent years, the rise of digital twin technology has further promoted the refined development of irrigation district scheduling. By constructing a full-element mirror model of the irrigation district in digital space, real-time mapping and simulation of physical quantities such as channel water level, flow rate, and gate status have been realized.
[0004] However, existing technologies do not establish water level safety and pump electromechanical safety as two independent hard access criteria that are not integrated and each has a veto power, resulting in a lack of precise distinction and rigid protection of heterogeneous physical safety boundaries in dispatching decisions. Summary of the Invention
[0005] This invention provides a comprehensive water management system based on water conservancy simulation and coordinated control of water balance, comprising: The module includes a status acquisition module, a coupled fingerprint module, a dual-channel generation module, a dual-channel scheduling module, an execution loop gating module, and an update module. The status acquisition module is used to acquire concurrent water intake requests, real-time water level at key sections, minimum allowable water level at key sections, current power of the pump set, rated power of the pump set, and branch port switch status. The coupling fingerprint module is used to perform hydraulic simulation on each branch and any two branches, taking the branch switch event formed by the change of branch switch state as the object, to obtain water level disturbance value, power disturbance value, water level coupling correction value and power coupling correction value, and to use the water level disturbance value and power disturbance value as disturbance fingerprint, and the water level coupling correction value and power coupling correction value as coupling correction parameter. The dual-channel generation module is used to generate a water level disturbance budget based on the real-time water level and minimum allowable water level of the key section, and to generate a power disturbance budget based on the rated power and current power of the pump set. The dual-channel scheduling module is used to form an estimated total water level disturbance value based on the water level disturbance value and water level coupling correction value of concurrent water intake requests, and to compare the estimated total water level disturbance value with the water level disturbance budget. The estimated total power disturbance value is formed based on the power disturbance value and power coupling correction value corresponding to the concurrent water intake request, and the estimated total power disturbance value is compared with the power disturbance budget. Based on the comparison results, a branch access mask is generated that corresponds one-to-one with the concurrent water intake requests; The execution loop gating module is used to apply the admission mask to the opening and closing of the execution loop at the port; The update module is used to correct the disturbance fingerprint, coupling correction parameters, water level disturbance budget, and power disturbance budget based on the actual water level response and actual power response generated after the start-stop execution loop is executed, and return the correction results to the coupling fingerprint module and the dual-channel generation module.
[0006] As a preferred embodiment of the integrated water management system based on water simulation and water balance coordination control described in this invention, wherein: the status acquisition module summarizes the water intake requests submitted by each branch within the same access cycle to form concurrent water intake requests; The real-time water level of the key section is collected by the water level sensor, and the minimum allowable water level of the key section is read from the preset safety parameter library. The key section is a preset monitoring section used to monitor the safe operation status of the canal system; Collect the current power of the pump set and read the rated power of the pump set from the pump set equipment parameter database; The status of the port switch is obtained through the feedback signal of the port actuator; The acquired data is processed for time alignment, outlier removal, and missing value completion. The port switch state is represented by a binary state, with the open state recorded as 1 and the closed state recorded as 0. Port switch events are identified based on the port switch state changes at adjacent sampling times, where a change from 0 to 1 is identified as a port open event, and a change from 1 to 0 is identified as a port close event.
[0007] As a preferred embodiment of the integrated water management system based on water simulation and water balance coordinated control described in this invention, the coupled fingerprint module uses the real-time water level of the key section and the current power of the pump group at the moment the branch opening event occurs as the reference water level and reference power, respectively. The coupling fingerprint module is specifically used for: For each branch opening event, while keeping the opening and closing states of the other branches unchanged, hydraulic simulation is performed on the corresponding single branch simulation time window after the target branch switches from the closed state to the open state. The simulated water level sequence and pump group simulated power sequence of the key section under the opening condition of the single branch are obtained. The water level disturbance value corresponding to the branch is determined by the maximum difference between the reference water level and the simulated water level sequence, and the power disturbance value corresponding to the branch is determined by the maximum difference between the reference power and the simulated power sequence. For any two branches opening concurrently, under the same reference water level and reference power as the two branches opening individually, hydraulic simulation is performed on the corresponding dual-branch simulation window after the two branches are simultaneously switched to the open state. The total value of concurrent water level disturbance and the total value of concurrent power disturbance are obtained. The difference between the total value of concurrent water level disturbance and the sum of the water level disturbance values when the two branches are opened individually is used as the water level coupling correction value between the two branches. The difference between the total value of concurrent power disturbance and the sum of the power disturbance values when the two branches are opened individually is used as the power coupling correction value between the two branches. The single-branch simulation time window and the dual-branch simulation time window are both time intervals from the moment the corresponding branch opening event occurs until the simulated water level of the key section and the simulated power of the pump group recover to the preset stable threshold range or until the preset maximum simulation duration ends.
[0008] As a preferred embodiment of the integrated water management system based on water conservancy simulation and water balance coordinated control described in this invention, the dual-channel scheduling module is specifically used for: Concurrent water intake requests are arranged into a sequence of requests to be judged according to the order of their arrival time, and a mask bit corresponding to each branch in the sequence of requests to be judged is generated, where passing the admission is recorded as 1 and failing the admission is recorded as 0. The dual-channel scheduling module starts with an empty admission set, selects the current branch to be judged in sequence according to the request sequence to be judged, sums the water level disturbance value of the current branch to be judged with the water level disturbance values of each branch that has been written into the mask bit and the mask bit is 1, and adds the water level coupling correction value between the current branch to be judged and each of the branches to obtain the estimated total water level disturbance value after including the current branch to be judged. Similarly, the estimated total power disturbance value is obtained. When the estimated total value of water level disturbance is not greater than the water level disturbance budget and the estimated total value of power disturbance is not greater than the power disturbance budget, the mask position corresponding to the current branch to be determined is set to 1, and the branch is added to the set of branches that have passed the admission. When the estimated total value of water level disturbance is greater than the water level disturbance budget or the estimated total value of power disturbance is greater than the power disturbance budget, the mask position corresponding to the current branch to be determined is set to 0, and the branch is written into the staggered queuing sequence. No more than two ports are allowed to enter the start / stop execution loop in any given access cycle.
[0009] As a preferred embodiment of the integrated water management system based on water simulation and water balance coordinated control described in this invention, the disturbance fingerprint includes only the water level disturbance value and power disturbance value of a single branch, and the water level coupling correction value and power coupling correction value are concurrent correction parameters stored in association with the disturbance fingerprint. The dual-channel scheduling module calls the perturbation fingerprint and the corresponding concurrent correction parameters as event-level inputs to determine whether the port has concurrent execution rights within any admission cycle.
[0010] As a preferred embodiment of the integrated water management system based on water simulation and water balance coordinated control described in this invention, the branch access mask is determined by the comparison results of the water level disturbance budget and the estimated total water level disturbance, as well as the comparison results of the power disturbance budget and the estimated total power disturbance.
[0011] As a preferred embodiment of the integrated water management system based on water simulation and water balance coordination control described in this invention, wherein: the execution loop gating module connects the branch with a mask bit of 1 to the opening and closing execution loop, and isolates the branch with a mask bit of 0 from the opening and closing execution loop; The staggered queuing sequence is the branch request sequence that failed the current admission cycle judgment and will re-participate in the dual-channel hard admission judgment in the next admission cycle according to its order in the pending judgment request sequence.
[0012] As a preferred embodiment of the integrated water management system based on water conservancy simulation and water balance coordinated control described in this invention, the dual-channel generation module is specifically used for: The difference between the real-time water level at the critical section and the minimum allowable water level at the critical section is used as the current water level disturbance budget, and the difference between the rated power of the pump set and the current power of the pump set is used as the current power disturbance budget. When the difference is less than or equal to zero, the corresponding disturbance budget is recorded as zero.
[0013] As a preferred embodiment of the water conservancy integrated management system based on water conservancy simulation and water balance coordinated control described in this invention, the update module, after the branch is opened and executed within the current access cycle, collects the actual water level sequence of the key section and the actual power sequence of the pump group within the corresponding response time window, and uses the real-time water level of the key section before execution and the current power of the pump group as the reference values respectively, calculates the maximum difference between the reference water level and the actual water level sequence as the total value of actual water level disturbance, and calculates the maximum difference between the reference power and the actual power sequence as the total value of actual power disturbance; The response window is the time interval from the moment the corresponding branch is opened until the actual water level at the key section and the actual power of the pump group recover to the preset stable threshold range, or until the preset maximum response time ends.
[0014] As a preferred embodiment of the integrated water management system based on water simulation and water balance coordination control described in this invention, the update module corrects the water level disturbance value corresponding to the branch with the actual total water level disturbance value and corrects the power disturbance value corresponding to the branch with the actual total power disturbance value only when a single branch is opened within the current access cycle. When two branch outlets are opened concurrently only within the current access cycle, the update module uses the difference between the actual total water level disturbance value and the sum of the water level disturbance values when the corresponding two branch outlets are opened individually as the correction amount for the water level coupling correction value between the two branch outlets, and uses the difference between the actual total power disturbance value and the sum of the power disturbance values when the corresponding two branch outlets are opened individually as the correction amount for the power coupling correction value between the two branch outlets, and corrects the water level coupling correction value and the power coupling correction value accordingly. The update module is also used to update the water level disturbance budget for the next access cycle based on the difference between the actual water level of the key section at the end of the current access cycle and the minimum allowable water level of the key section, and to update the power disturbance budget for the next access cycle based on the difference between the rated power of the pump set and the actual power of the pump set at the end of the current access cycle.
[0015] The beneficial effects of this invention are as follows: by extracting the dual-channel disturbance response of the branch opening event to the water level and pump power of the key section through hydraulic simulation, the water level drop amplitude and power fluctuation peak caused by the opening of a single branch are quantified into water level disturbance value and power disturbance value, respectively. Combined with the real-time water level margin of the channel and the real-time power margin of the pump, water level disturbance budget and power disturbance budget are generated, respectively. This realizes the independent and non-integrated access criterion system of two heterogeneous physical constraints, water level safety and pump electromechanical safety, and improves the rigidity of channel operation safety and pump operation safety assurance under the condition of multiple branches simultaneously drawing water. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart of the integrated water management system based on water simulation and water balance coordination control in Example 1; Figure 2 This is a flowchart of the integrated water management method based on water simulation and coordinated control of water balance in Example 1; Figure 3 This is a flowchart of the coupled fingerprint construction process in Example 1; Figure 4 This is a timing diagram of the signal and data flow in Example 1. Detailed Implementation
[0018] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0019] Example 1, referring to Figures 1 to 4 This is the first embodiment of the present invention, which provides a comprehensive water management system based on water simulation and coordinated control of water balance.
[0020] Specifically, in this embodiment, a comprehensive water management system based on water simulation and water balance coordination control is deployed in an open channel electric irrigation area, which includes a pumping station, a main canal and multiple controlled branch outlets.
[0021] A monitoring section on the main canal that is most sensitive to concurrent water intake from multiple branches is selected as the critical section. The real-time water level of this critical section is used to characterize the current safety margin of the canal system, and the minimum allowable water level is used to characterize the lower limit of operation of this critical section. The current power and rated power of the pumping station are used to characterize the current electromechanical load status and allowable upper limit of the pumping unit, respectively.
[0022] The system uses the branch switch events formed by the change of branch switch state as the control object. First, it extracts the disturbance fingerprint and concurrent correction parameters of the branch events based on hydraulic simulation. Then, it implements admission judgment in two independent channels: water level and power. Only branch requests that meet the constraints of both channels at the same time are given physical execution rights. Otherwise, concurrency is directly prohibited and the system enters the next admission cycle.
[0023] Therefore, the system changes the traditional irrigation district scheduling method of "finding a compromise opening amount" to a hard control mode of "determining whether the branch event has the right to be executed".
[0024] In this embodiment, the status acquisition module is used to summarize the water intake requests submitted by each branch within the same access cycle to form a concurrent water intake request; acquire the real-time water level of the key section through the water level sensor set at the key section; read the minimum allowable water level of the key section from the preset safety parameter library; acquire the current power of the pump group through the pump group electrical parameter acquisition device and read the rated power of the pump group from the pump group equipment parameter library; and acquire the branch switch status through the feedback signal of the branch actuator.
[0025] To ensure that subsequent event identification, simulation, and scheduling calculations are performed based on the same state at the same time, the state acquisition module also performs time alignment, outlier removal, and missing value completion on the above data.
[0026] The port switch status is represented by a binary state, with the open state recorded as 1 and the closed state recorded as 0. The port switch event is identified based on the state change at adjacent sampling times, where a change from 0 to 1 is identified as a port open event, and a change from 1 to 0 is identified as a port close event.
[0027] This embodiment focuses on handling the branch opening event.
[0028] The coupled fingerprint module is used to perform hydraulic simulations on the individual opening events of each branch and the pairwise concurrent opening events of any two branches, taking the branch opening and closing events as the object.
[0029] To ensure full disclosure, this embodiment provides a directly implementable simulation method: the formula for unsteady flow in open channels.
[0030] The formula for unsteady flow in open channels is described using the one-dimensional Saint-Venant equations, namely the continuity equation and the momentum equation. The formula is as follows: ; ; in, The cross-sectional area of the water passage. For cross-sectional flow, Δh represents the lateral flow rate, and h represents the water level. For frictional gradient, Let g be the slope of the canal bottom and g be the acceleration due to gravity. The upstream boundary is taken as the outflow boundary of the pumping station, and the downstream boundary is taken as the free outflow boundary at the end or the control water level boundary at the end. The friction term of the channel section can be calculated according to the Manning formula or the Chezy formula.
[0031] In this embodiment, the canal segment geometric parameters and boundary parameters required for solving the Saint-Venant equation are all derived from the irrigation district basic data table; among them, the cross-sectional geometric relationship corresponding to the cross-sectional area is determined by the canal design cross-sectional data or the field re-measurement cross-sectional data, and the canal bottom slope is determined by the canal longitudinal section measurement data; the roughness coefficient required for calculating the friction term is obtained by using the canal design parameters or by calibrating using measured water level-flow data from nearly 30 operating cycles; lateral flow... For currently open branch outlets, the flow rate is preferably calculated by combining the requested flow rate, gate position feedback, and branch outlet flow coefficient. For target branch outlets undergoing single-branch or double-branch simulation, the flow rate is preferably calculated by combining the requested flow rate, preset target opening degree, or simulation-set opening degree, and branch outlet flow coefficient. The upstream boundary flow rate is calculated by converting the real-time outflow rate of the pumping station or the pump set operation curve, and the downstream boundary water level is given by the measured value of the water level sensor at the end control section.
[0032] In this embodiment, the hydraulic simulation can be achieved using either finite difference or finite volume discretization, as long as the simulated water level sequence of the key cross-section can be output. The simulated power sequence of the pump set can be obtained from the pump set flow rate, head, and efficiency using the following formula: ; in, Let be the pump power at simulation time t. For the density of water, Let be the pump flow rate at simulation time t. Let be the pump head at simulation time t. The pump unit efficiency at simulation time t; It should be noted that in actual deployment, the power can also be obtained by looking up the simulated flow rate and head from the pump set performance curve.
[0033] Specifically, pump flow rate The preferred value is given by the actual measured value of the pump station flow meter, or determined by the pump station outlet boundary flow obtained from simulation; pump head The efficiency of the pump unit is calculated from the water level difference between the inlet and outlet sides of the pump station and the friction loss. The pump performance curves are obtained by interpolation according to the operating range of the current flow rate and head; the above pump performance curves and rated parameters are pre-stored in the pump equipment parameter library.
[0034] When performing single-branch event simulation, the coupled fingerprint module uses the real-time water level of the key section at the moment the branch opening event occurs as the reference water level. The current power of the pump unit at that moment is used as the reference power. .
[0035] While keeping the other branch outlets' switch states unchanged, only the target branch outlet is switched from the closed state to the open state, and hydraulic simulation is performed within a single branch simulation window to obtain the simulated water level sequence of the key section. Simulated power sequence of pump unit The single-branch simulation time window is defined as the time interval from the moment the branch opening event occurs until the simulated water level and pump power at the key section recover to the preset stable threshold range, or until the end of the preset maximum simulation duration. Then, the disturbance fingerprint corresponding to the branch is extracted according to the following rules, formula: ; ; in, and These represent the water level disturbance value and power disturbance value when the i-th branch is opened alone. For the single-branch simulation time window of the i-th branch; When performing pairwise concurrent event simulation, the coupled fingerprint module simultaneously activates any two branches i and j for simulation. To avoid introducing different initial conditions into the coupling quantity, this embodiment stipulates that the two single-branch events and the concurrent events of the two branches should be at the same reference water level. and the same reference power Let's compare them.
[0036] While keeping the other branch outlets unchanged, branch outlets i and j are simultaneously switched from the closed state to the open state, and hydraulic simulation is performed within the dual-branch simulation window to obtain the simulated water level sequence of the key cross-section under concurrent conditions. Simulated power sequence of pump unit .
[0037] The dual-branch simulation window is also defined as the time interval from the moment of concurrent start-up until the simulated water level of the key section and the simulated power of the pump group recover to the preset stable threshold range, or until the preset maximum simulation duration ends. The concurrent simulation results first present the total value of concurrent water level disturbances. and total concurrent power disturbance Then, the concurrent correction parameters for these two branches are obtained, using the following formula: ; ; ; ; in, and These are the water level coupling correction values and power coupling correction values for branch outlets i and j, respectively; Therefore, the water level disturbance value and power disturbance value of a single outlet constitute the disturbance fingerprint of a single outlet event, while the water level coupling correction value and power coupling correction value of two concurrent events constitute the coupling correction parameter of two concurrent events.
[0038] The dual-channel generation module is used to generate water level disturbance budget and power disturbance budget respectively.
[0039] In this embodiment, the water level disturbance budget is defined as the difference between the real-time water level of the critical section and the minimum allowable water level of the critical section. When the current real-time water level of the critical section is not greater than the minimum allowable water level of the critical section, the water level disturbance budget is recorded as zero.
[0040] The power disturbance budget is defined as the difference between the rated power of the pump set and the current power of the pump set. When the rated power of the pump set is not greater than the current power of the pump set, the power disturbance budget is recorded as zero.
[0041] The dual-channel generation module outputs the current water level disturbance budget and power disturbance budget to the dual-channel scheduling module as two independent constraints for subsequent admission determination.
[0042] The dual-channel scheduling module does not construct a single overall objective function, nor does it make a weighted trade-off between water level safety and power safety. Instead, it makes independent decisions in the water level channel and the power channel, respectively.
[0043] In practice, the dual-channel scheduling module first forms a sequence of concurrent water intake requests to be judged according to the arrival time of the requests, and generates a one-to-one mask bit for each branch. Then, starting with an empty access set, the module selects the current branch to be judged in sequence, sums the water level disturbance value of the current branch to be judged with the water level disturbance value of the accessed branches that have passed through, and adds the corresponding water level coupling correction value between the current branch to be judged and the accessed branches that have passed through, so as to form the estimated total water level disturbance value after the current branch to be judged is added. Similarly, the power disturbance value of the current branch to be determined is summed with the power disturbance value of the branch that has passed the admission, and the corresponding power coupling correction value is added to form the estimated total power disturbance value. If the estimated total value of water level disturbance is not greater than the water level disturbance budget and the estimated total value of power disturbance is not greater than the power disturbance budget, then the current branch to be judged passes the admission, and its corresponding mask position is 1; Otherwise, its corresponding mask position is 0 and it is written into the staggered queuing sequence.
[0044] The aforementioned staggered queuing sequence refers to the sequence of requests that fail to pass the judgment in the current admission cycle, and which will re-participate in the admission judgment in the next admission cycle according to their order in the pending request sequence.
[0045] The execution loop gating module directly applies the access mask to the opening and closing execution loop of the branch port.
[0046] For a branch with an access mask bit of 1, the execution loop gating module connects the opening and closing execution loop of the branch and executes the actual gate opening action according to the water balance distribution result and opening sequence output by the scheduling module.
[0047] Specifically, let S be the set of gateways that have been granted access during this access period, and let the application flow of the i-th gateway that has been granted access be... The total water available for allocation during this access cycle is The preferred method is to allocate the target water volume according to the proportion of the applied flow rate of each branch outlet, using the following formula: ; Preferably, the total water allocation amount is directly given by the higher-level water allocation plan; if the higher-level water allocation plan does not separately specify the total allocable water amount, then... ,in To determine the allowable execution window length for this access cycle, in this embodiment, the gate flow coefficient is derived from the factory calibration parameters of the branch gate or the "gate position-flow" correspondence table obtained from on-site calibration, and is corrected in conjunction with the current water level difference before and after the branch. The execution loop gating module determines the target water volume based on... The gate flow coefficient and the current head conditions are used to calculate the target gate opening duration or target opening degree.
[0048] When two ports pass through the access point within the same access cycle, the execution loop gating module sequentially connects their opening and closing execution loops according to the order of the requests to be judged. A preset interval of 30s to 60s is set between two adjacent opening commands, preferably 45s, to suppress instantaneous water level drops and power surges.
[0049] For ports with an access mask bit of 0, the execution loop gating module keeps the corresponding execution loop disconnected.
[0050] It should be noted that in this embodiment, for ports with an access mask bit of 0, no alternative compromise opening amount is generated, and no reduced opening amount or partial opening ratio is issued. In other words, once any channel fails to meet the budget constraint, the port loses its physical execution right in this access cycle and can only participate in the determination again in subsequent access cycles.
[0051] This control method completely separates "whether to execute" from "how to execute". The former is determined by the dual-channel budget hard decision, while the latter is determined by water balance allocation and start-up timing control only when the execution right has been obtained. Thus, the creativity of this solution is realized as an event-level, gated dual-channel control architecture.
[0052] The update module is used to correct the disturbance fingerprint, coupling correction parameters, and two budgets based on the actual water level response and actual power response generated after the start-stop execution loop is executed.
[0053] Specifically, after the branch is opened and executed within the current access cycle, the actual water level sequence of the key section and the actual power sequence of the pump group are collected within the corresponding response time window. The real-time water level of the key section before execution and the current power of the pump group are used as the reference values to calculate the total value of actual water level disturbance and the total value of actual power disturbance. When only a single branch is opened during this access cycle, the water level disturbance value of that branch is corrected by the total actual water level disturbance value, and the power disturbance value of that branch is corrected by the total actual power disturbance value. When two branches are opened concurrently during this access cycle, the difference between the total actual water level disturbance value and the sum of the water level disturbance values when the corresponding two branches are opened individually is used as the water level coupling correction value for the two branches, and the difference between the total actual power disturbance value and the sum of the power disturbance values when the corresponding two branches are opened individually is used as the power coupling correction value for the two branches.
[0054] The update module also updates the water level disturbance budget for the next access cycle based on the difference between the actual water level at the critical section and the minimum allowable water level at the critical section at the end of the current access cycle, and updates the power disturbance budget for the next access cycle based on the difference between the rated power of the pump set and the actual power of the pump set at the end of the current access cycle. The corrected values are returned to the coupled fingerprint module and the dual-channel generation module for control input in subsequent access cycles.
[0055] The following data illustrates how this embodiment works: At the start of a certain access cycle, the real-time water level at the critical section is 0.286m, the minimum allowable water level at the critical section is 0.180m, the current power of the pump set is 118.4kW, and the rated power of the pump set is 132.0kW. Therefore, the current water level disturbance budget is 0.106m, and the power disturbance budget is 13.6kW.
[0056] Four concurrent water withdrawal requests were received during this period, corresponding to branch outlets B2, B5, B1, and B4, respectively.
[0057] The single-port disturbance fingerprints established by the coupled fingerprint module are as follows: B2: water level disturbance value 0.034m, power disturbance value 3.7kW; B5: water level disturbance value 0.026m, power disturbance value 2.4kW; B1: water level disturbance value 0.027m, power disturbance value 2.9kW; B4: water level disturbance value 0.029m, power disturbance value 3.1kW.
[0058] Among the corresponding concurrent correction parameters, the water level coupling correction value for B2 and B5 is 0.011m and the power coupling correction value is 0.9kW; the water level coupling correction value for B2 and B1 is 0.008m and the power coupling correction value is 0.6kW; the water level coupling correction value for B5 and B1 is 0.005m and the power coupling correction value is 0.4kW; the water level coupling correction value for B2 and B4 is 0.014m and the power coupling correction value is 1.1kW; and the water level coupling correction value for B5 and B4 is 0.007m and the power coupling correction value is 0.5kW.
[0059] When the dual-channel scheduling module determines the order of arrival, it first grants access to B2; when determining B5, the estimated total water level disturbance is 0.034+0.026+0.011=0.071m, and the estimated total power disturbance is 3.7+2.4+0.9=7.0kW. Both are less than the budget, so B5 also passes the access test.
[0060] Once B2 and B5 have both been approved, the number of approved ports will reach two.
[0061] Since the number of ports allowed to enter the start-stop execution loop in any admission cycle in this embodiment does not exceed two, B1 and B4 will no longer enter the actual admission execution link in this admission cycle, but will be directly written into the staggered queuing sequence.
[0062] To illustrate the calculation method for the dual-channel budget comparison, if the comparison is only made from the perspective of budget calculation, the total estimated water level disturbance value after including B1 can be written as 0.034+0.026+0.027+0.011+0.008+0.005=0.111m; The estimated total water level disturbance after including B4 can be written as 0.034+0.026+0.029+0.011+0.014+0.007=0.121m, both of which exceed the current water level disturbance budget of 0.106m.
[0063] Therefore, from the perspective of the actual execution logic of this embodiment, B1 and B4 are directly transferred to the staggered queuing sequence because they have reached the maximum number of two branches in this cycle; from the perspective of budget verification results, even if these two branches continue to participate in the comparison, they will still be unable to pass the water level channel constraint of the current cycle.
[0064] The execution loop gating module then only connects the start and stop execution loops for B2 and B5, and the system does not output any compromise execution amount with reduced opening to B1 and B4.
[0065] After the operation was completed, the lowest measured water level was 0.214m, corresponding to a total water level disturbance of 0.072m; the maximum power of the pump set was 125.1kW, corresponding to a total power disturbance of 6.7kW.
[0066] The update module uses this actual response to correct the coupling correction parameters of B2 and B5, making the determination of the next admission cycle closer to the real system response.
[0067] Therefore, Example 1 has fully demonstrated the closed-loop operation process of the present invention, from state acquisition, event simulation, budget generation, admission determination, execution loop gating to online updates.
[0068] Example 2 The role of the status acquisition module is not only to collect raw data such as water intake requests, water levels, power, and branch port status, but also to unify data from different sources and sampling frequencies under the same access period, and to further convert the branch port switch status into event-level inputs that can be directly called by the subsequent coupled fingerprint module, thereby providing a reliable data foundation for subsequent dual-channel hard access determination.
[0069] In this embodiment, the status acquisition module includes a request aggregation unit, a water level acquisition unit, a power acquisition unit, a status feedback unit, and a preprocessing unit.
[0070] The request aggregation unit connects to the farmer's terminal and the management terminal to receive water intake requests submitted by each branch; the water level acquisition unit connects to the water level sensor installed at the key section to collect the real-time water level at the key section; the power acquisition unit connects to the pump group electrical parameter acquisition device to collect the current power of the pump group; the minimum allowable water level is read from the preset safety parameter database, and the rated power is read from the pump group equipment parameter database; the status feedback unit connects to the feedback signal of the actuator of each branch to obtain the on / off status of each branch.
[0071] The key cross-section is preferably set at the location in the main canal that is most sensitive to the concurrent water intake of multiple branches, in order to reflect the safe operating status of the canal system.
[0072] In this embodiment, the key section is located approximately 1.35 km downstream of the pumping station and 18 m upstream of the first water diversion structure in the channel section.
[0073] To facilitate unified scheduling, this embodiment sets the admission period to 5 minutes; that is, within each admission period, the status acquisition module will summarize the port requests and generate a unified status output when the period ends or the trigger condition is met.
[0074] Assuming a certain access period is from 13:30:00 to 13:35:00, within this access period, branch port B2 submits a water intake request at 13:30:08, requesting a flow rate of 176 m³ / h and a duration of 34 min; branch port B5 submits a water intake request at 13:30:17, requesting a flow rate of 162 m³ / h and a duration of 29 min. Branch outlet B1 submitted a water intake request at 13:30:26, requesting a flow rate of 148 m³ / h and a duration of 31 minutes; Branch outlet B4 submitted a water intake request at 13:30:41, requesting a flow rate of 171 m³ / h and a duration of 27 minutes.
[0075] In addition, at 13:30:19, B5 generated a request record that was exactly the same as that at 13:30:17 due to network retransmission.
[0076] During the same access cycle, the water level sensor and pump set electrical parameter acquisition device at the key section continuously output sampled values.
[0077] Taking this embodiment as an example, at 13:30:00, the water level at the key section was 0.286m, and the current power of the pump unit was 118.4kW; at 13:30:30, the water level was sampled at 0.248m and the power was 126.9kW; at 13:30:40, the sampled values recovered to the water level of 0.286m and the power of 118.6kW.
[0078] The preprocessing unit identifies the water level of 0.248m at 13:30:30 as an abnormal spike and the power of 126.9kW as an abnormal jump based on the single-step jump threshold and the continuity of adjacent sampling. It then uses adjacent valid sampling points for interpolation to complete the data. After processing, the valid water level at that time is corrected to approximately 0.285m and the valid power is corrected to approximately 118.35kW.
[0079] For the requested data, the preprocessing unit identifies duplicate requests generated by port B5 at 13:30:19 and retains only the first valid record from 13:30:17.
[0080] After preprocessing, the status acquisition module obtains a unified and reliable status input for this admission cycle; among them, the concurrent water intake request set is B2, B5, B1, B4; the effective real-time water level of the key section is 0.286m; the minimum allowable water level of the key section is 0.180m; the current effective power of the pump set is 118.4kW; the rated power of the pump set is 132.0kW; and the branch switch status vector is [0,0,1,0,0,0].
[0081] In this embodiment, the port switch state is represented in a binary manner, with the open state recorded as 1 and the closed state recorded as 0. This binary state is not only used to characterize the current opening and closing status of the port, but more importantly, it is used to identify port switch events; Specifically, the state acquisition module determines the branch event type based on the binary state changes at adjacent sampling times: when the state of a branch changes from 0 to 1, it is identified as the opening event of that branch; when the state changes from 1 to 0, it is identified as the closing event of that branch.
[0082] For example, in the subsequent execution phase of this embodiment, if the binary state of B2 changes from 0 to 1 at 13:31:00, the state acquisition module identifies the start event of B2; if the binary state of B5 changes from 0 to 1 at 13:32:20, the state acquisition module identifies the start event of B5. For each identified start event, the state acquisition module simultaneously records the real-time water level of the key section and the current power of the pump group corresponding to the time of the event, and uses them as the reference input for the subsequent coupling fingerprint module to perform single-branch event simulation and pairwise concurrent event simulation.
[0083] Therefore, the output of the status acquisition module is not just static status data, but a set of standardized status packets after time unification, anomaly cleaning and event identification.
[0084] In this embodiment, the standardized state package output by the state acquisition module to the subsequent modules at the end of each admission cycle includes at least: the set of valid concurrent water intake requests within that cycle, the real-time water level of the key section, the minimum allowable water level of the key section, the current power of the pump group, the rated power of the pump group, the binary state vector of each branch, and the list of newly identified branch switching events. Taking the gating of B2 and B5 in a subsequent cycle as an example, after the start-stop execution loop is connected, the state acquisition module will identify the B2 start event and the B5 start event in the next sampling window, and send these two events, along with the corresponding water level and power status, to the coupled fingerprint module to trigger single-branch simulation or concurrent simulation.
[0085] Therefore, this embodiment has shown the specific implementation path of the corresponding module, which can provide input or control results for direct calls to subsequent modules.
[0086] Example 3 In this embodiment, the coupling fingerprint module takes the branch opening event identified by the state acquisition module as input. Specifically, when the binary switch state of a branch changes from 0 to 1, the system identifies the branch opening event and reads the real-time water level of the key section and the current power of the pump set at the moment the event occurs, which are used as the reference water level and reference power for this event assessment, respectively. Unlike the general method of directly looking up tables or obtaining values based on experience, this embodiment treats the "instantaneous action of the branch opening from closed to open" as an independent control object, and uses the subsequent hydraulic response and power response to characterize the actual impact of this action on the canal system and pump set.
[0087] Therefore, the output of the coupled fingerprint module is the event-level perturbation characterization result corresponding to the specific switching event.
[0088] For each branch port's individual opening event, the coupled fingerprint module, while keeping the switch states of the other branches unchanged, only switches the target branch port from the closed state to the open state, and performs hydraulic simulation within the corresponding single branch port simulation window.
[0089] The simulation window for a single branch starts from the moment the branch opening event occurs and ends when the simulated water level at the critical section and the simulated power of the pump group simultaneously recover to the preset stable threshold range, or when the preset maximum simulation duration ends. In other words, this embodiment does not pre-set that each branch uses the same fixed simulation duration, but uses "whether the disturbance has recovered to a stable state" as the termination condition of the time window, so that different branches can automatically form single-branch simulation time windows of different lengths according to the duration of their hydraulic and electromechanical effects.
[0090] The reason for this is that the location of the channel section, the water level in front of the branch, the scale of lateral water diversion, and the response characteristics of the pump set are not the same for different branch outlets. If a uniform duration is forcibly adopted, it is easy to cut off the disturbance that has not yet fully recovered, or to ineffectively extend the stable section that has already recovered, thereby affecting the accuracy of disturbance value extraction.
[0091] For example, at the start of a certain access cycle, the real-time water level at the key section is 0.294m, and the current power of the pump set is 116.8kW; the status acquisition module identifies the water intake requests from branch outlets B2, B4, and B5.
[0092] Let's take B2 as an example to illustrate the single-port disturbance fingerprint extraction process: After B2 is turned on alone, the lowest simulated water level of the key section is 0.260m and the peak simulated power is 120.6kW. Therefore, the water level disturbance value of B2 is 0.034m and the power disturbance value is 3.8kW.
[0093] Taking B2+B4 as an example, the process of extracting the pairwise concurrent correction parameters is explained: Under the same baseline conditions, when B2 and B4 are activated concurrently, the lowest simulated water level at the critical section is 0.215m, the peak simulated power is 124.9kW, the corresponding total concurrent water level disturbance is 0.079m, and the total concurrent power disturbance is 8.1kW. Therefore, the water level coupling correction value for B2 and B4 is 0.014m, and the power coupling correction value is 1.0kW.
[0094] The remaining single-port perturbation fingerprints and the coupling correction parameters for the remaining port pairs can all be calculated and written into the event fingerprint database using the same method described above, and will not be elaborated on here.
[0095] In this way, when the dual-channel scheduling module makes admission decisions in the future, it is not necessary to call the complete simulation model again. Instead, it can directly read the disturbance fingerprint of the corresponding branch and the coupling correction parameters of the corresponding branch pair from the event fingerprint library to quickly form the estimated total value of water level disturbance and the estimated total value of power disturbance.
[0096] This preserves the accuracy of physical simulation while meeting the real-time requirements of online scheduling.
[0097] Example 4 This embodiment focuses on disclosing: how to organize concurrent water intake requests into a sequence of requests to be judged, how to call the single branch port disturbance fingerprint and the associated stored concurrent correction parameters to form the estimated total water level disturbance value and the estimated total power disturbance value, how to form an access mask bit sequence corresponding to each branch port based on the dual-channel comparison results, and how to transfer branches that fail to pass the access test into the staggered queuing sequence.
[0098] In this embodiment, the dual-channel scheduling module does not directly send all request ports within the same admission period into a unified objective function for compromise optimization. Instead, it first forms a sequence of concurrent water withdrawal requests to be judged according to the order of request arrival time, and generates a one-to-one mask bit for each port in the sequence.
[0099] The mask bit is the control input directly called by the subsequent execution loop gating module; among them, passing the admission is recorded as 1, and failing the admission is recorded as 0. The dual-channel scheduling module starts from the empty admission set, selects the current branch to be judged in sequence according to the request sequence to be judged, and calculates the estimated total water level disturbance value and the estimated total power disturbance value after the branch is added to the admission set that has passed the admission before each judgment.
[0100] Only when both channels simultaneously meet the budget constraints will the current branch to be judged be eligible for execution in this admission cycle; if either channel does not meet the budget constraints, the branch will no longer participate in the compromise optimization in this cycle, but will be directly placed into the off-peak queuing sequence.
[0101] Therefore, the scheduling module implements event-level access control by "first determining whether there is execution right, and then performing execution control", rather than continuous quantity optimization allocation in traditional irrigation district scheduling.
[0102] In this embodiment, the staggered queuing sequence is not a waiting queue in the general sense, but a request sequence directly prepared for the next admission cycle; that is, B1 and B4, which failed the judgment in the current admission cycle, will continue to participate in the dual-channel hard admission judgment in the next admission cycle in the order in which they formed the staggered queuing sequence in the current cycle.
[0103] The reason for this design is that the current cycle's water level disturbance budget and power disturbance budget have shown that the combination exceeds the system's capacity. If a compromise is still attempted within this cycle, the control boundary of the "hard access" will be weakened. By explicitly postponing the failure to pass the branch to the next cycle, this scheme separates "whether to allow execution" from "how to execute," thereby ensuring the rigidity of the dual-channel decision.
[0104] In this embodiment, the calling relationship between the perturbation fingerprint and the concurrent correction parameters is further defined.
[0105] Within any admission cycle, the dual-channel scheduling module calls the event-level inputs corresponding to the disturbance fingerprint of a single branch and the concurrent correction parameters corresponding to the branch pair. Specifically, when a branch is added as the current branch to be judged, the system first reads the water level disturbance value and power disturbance value of the single branch corresponding to that branch, and then iterates through each branch in the already passed admission set, reads the water level coupling correction value and power coupling correction value between the current branch to be judged and the already passed admission branch, and adds these correction parameters to the estimated total value of the corresponding channel.
[0106] Therefore, the single-port perturbation fingerprint only represents the inherent impact of a single port being opened independently, while the concurrent correction parameter specifically represents the additional impact between port pairs. The two are related in storage and retrieval but not confused. This avoids boundary confusion of event fingerprint objects and enables the scheduling module to flexibly call relevant parameters under different admission set states.
[0107] In this embodiment, the "admission mask" is determined by two types of comparison results; that is, the system simultaneously compares the estimated total water level disturbance with the water level disturbance budget, and the estimated total power disturbance with the power disturbance budget.
[0108] Only when both sets of comparison results indicate that the current branch to be judged is still within the allowable range after being added, will the mask position corresponding to the current branch to be judged be set to 1; otherwise, the mask position corresponding to the current branch to be judged will be set to 0, and the branch will be written into the staggered queuing sequence.
[0109] With this approach, water level safety and pump electromechanical safety are no longer reduced to the same continuous objective function, nor are they reduced through weighted averages or penalty coefficients. Instead, they are treated as independent sources of constraints for concurrent execution rights.
[0110] Thus, the core innovation of the dual-channel scheduling module was realized: the system first determines whether the current combination has physical execution rights, and only combinations with execution rights will be sent to the subsequent execution loop gating module.
[0111] In summary, this embodiment fully implements the dual-channel scheduling module through branch-by-branch access control, event-level input invocation, and dual-channel comparison and judgment.
[0112] Example 5 In this embodiment, the execution loop gating module is located between the dual-channel scheduling module and each branch opening and closing actuator, serving as the last enabling unit in the physical control link.
[0113] The mask bit output by the dual-channel scheduling module is a physical gating signal used directly to control whether the branch opening and closing execution loop is connected.
[0114] In practical deployment, each branch port corresponds to an independent start / stop execution loop. This loop is connected in series with the PLC output, an enable relay, the branch port actuator drive unit, and the gate position feedback unit. The opening and closing of the enable relay is controlled by the execution loop gating module. When the corresponding branch port mask bit is 1, the execution loop gating module outputs an on signal to the enable relay of that branch port, allowing the opening timing command and opening degree control command of that branch port to continue to be transmitted to the actuator. When the corresponding branch port mask bit is 0, the execution loop gating module keeps the enable relay open, physically isolating that branch port from the start / stop execution loop. Even if the system retains the application record for that branch port, or if there are test commands, historical residual commands, or manually triggered commands in the upper-level scheduling program, these will not reach the actuator of that branch port. This hardware-level isolation method avoids the risk of "software-level prohibition, but hardware-level malfunction."
[0115] In this embodiment, the execution loop gating module and the dual-channel scheduling module are linked in the following order.
[0116] First, the dual-channel scheduling module completes a branch-by-branch comparison of all pending requests within an admission cycle and generates a mask bit sequence corresponding to each branch. Then, the execution loop gating module reads the mask bit sequence, connects the execution loop only for branches with a mask bit of 1, and performs the gate opening action according to the opening sequence issued by the scheduling module. For branches with a mask bit of 0, the execution loop remains disconnected and no alternative compromise opening amount is output.
[0117] The phrase "not outputting alternative compromise opening amounts" means that when a branch outlet is deemed prohibited due to not meeting the dual-channel budget constraints, the system neither issues a pre-opening command with a lower opening degree to that branch outlet nor generates a temporary execution plan after reducing the flow rate. Instead, it directly deprives the branch outlet of its physical execution rights for the current access cycle. The purpose of this setting is to strictly distinguish between "whether a branch outlet can enter the execution state in this cycle" and "how to allocate water volume and prioritize the opening of branches that have already been allowed to execute in this cycle."
[0118] The former is determined by dual-channel hard judgment, while the latter is determined by water balance distribution and start-up timing control only if the former passes.
[0119] The gating process is illustrated below using a scenario continuous with the aforementioned embodiments. Assume that within a certain access cycle, the dual-channel scheduling module determines the concurrent water intake requests B2, B5, B1, and B4 as follows: B2 passes, B5 passes, B1 fails, and B4 fails. The resulting access mask sequence is [1,1,0,0]. Upon receiving this access mask sequence, the execution loop gating module first closes the enable relay corresponding to B2 at 13:30:55 and issues an opening command for B2 at 13:31:00. Then, after a 45-second preset interval, it closes the enable relay corresponding to B5 at 13:31:40 and issues an opening command for B5 at 13:31:45. Based on the water balance distribution results for this cycle, the B2 gate position gradually increases from 0% to 60% over a total time of 39 seconds; the B5 gate position gradually increases from 0% to 55% over a total time of 36 seconds.
[0120] In contrast, since the execution loops of B1 and B4 are not connected, these two ports remain closed throughout the entire access cycle, their gate position feedback remains at 0%, the motor current remains within the standby current range, and the system does not perform any opening or closing actions. Therefore, it can be seen that the execution loop gating module directly converts the access result into on / off control in the field.
[0121] In this embodiment, the execution loop gating module also forms a physical closed loop with the status acquisition module.
[0122] For a port with a mask bit of 1 and an execution loop already connected, the status acquisition module will receive the feedback status of the port changing from 0 to 1 in the subsequent sampling window and identify it as a port opening event; for a port with a mask bit of 0 and physically isolated, since the actuator has not received an enable, the status acquisition module will continue to receive its feedback status as 0 and will not generate any opening event.
[0123] Taking the above scenario as an example, B2 was identified as an open event at 13:31:03, B5 was identified as an open event at 13:32:21, while B1 and B4 were not identified as open events at all during this period.
[0124] In this way, when the update module processes the actual water level response and actual power response after the execution of this cycle, it only faces the actual disturbances corresponding to the "actually executed branch combination", and will not mistakenly bring the requests of prohibited branches into the feedback correction process, thus ensuring that the update result is consistent with the actual execution state.
[0125] For branches that fail the admission cycle determination, this embodiment ensures that their requests are not lost through a "staggered queuing sequence" mechanism.
[0126] In practice, when the dual-channel scheduling module sets the mask of a certain branch to 0, it writes the branch along with its original request information, the cycle number of the failed access, and its position in the current pending request sequence into a staggered queuing sequence. This staggered queuing sequence is then synchronized to the execution loop gating module and the status acquisition module. This sequence re-participates in the dual-channel hard access determination in the next access cycle according to the principle of "first to fail takes priority." That is, if B1 is determined to fail before B4 in the current cycle, the staggered queuing sequence is recorded as [B1, B4]. If a new water withdrawal request B6 is added before the start of the next cycle, the pending request sequence for the next cycle is formed by concatenating the [B1, B4] from the previous cycle with the new request [B6] to form [B1, B4, B6]. In this way, the system neither sacrifices the security boundary of the current cycle nor permanently invalidates a request due to a single failure.
[0127] First, the mask bit is no longer just a logical result in the upper-level software, but is transformed into the connection and isolation actions of the field electrical circuit, thus truly implementing the dual-channel hard access control at the branch execution level.
[0128] Secondly, no alternative compromise opening values are output for ports with a mask bit of 0, so that the system no longer tries to force execution by "opening less" when facing budget overruns, thus avoiding the ambiguity of the security boundary.
[0129] Furthermore, the staggered queuing sequence orderly carries over requests that have not passed the admission process to the next admission cycle, which allows the system to balance security and continuous water supply needs. This not only prevents unsafe concurrency in the current cycle, but also ensures that delayed requests can still be processed with priority after the system's capacity is restored.
[0130] As can be seen from the above embodiments, these embodiments fully demonstrate the feasibility and implementability of the present invention in engineering, as well as its technological advancements compared to conventional continuous scheduling systems.
[0131] Example 6 This embodiment focuses on the budget generation method of the dual-channel generation module. The dual-channel generation module receives the real-time water level of the key section, the minimum allowable water level of the key section, the current power of the pump group, and the rated power of the pump group output by the status acquisition module, and generates water level disturbance budget and power disturbance budget respectively based on these.
[0132] This embodiment further explains: when the real-time water level of the critical section is greater than the minimum allowable water level of the critical section, the difference between the two is used as the current water level disturbance budget; when the rated power of the pump set is greater than the current power of the pump set, the difference between the two is used as the current power disturbance budget; if the corresponding difference is less than or equal to zero, the corresponding disturbance budget is recorded as zero.
[0133] In this embodiment, the dual-channel generation module receives the real-time water level of the key section, the minimum allowable water level of the key section, the current power of the pump group, and the rated power of the pump group output by the status acquisition module.
[0134] The dual-channel generation module directly generates water level disturbance budget and power disturbance budget according to the actual state at the current moment.
[0135] Specifically, when the real-time water level at the critical section is greater than the minimum allowable water level at the critical section, the difference between the two is used as the current water level disturbance budget; when the rated power of the pump set is greater than the current power of the pump set, the difference between the two is used as the current power disturbance budget.
[0136] If the corresponding difference is less than or equal to zero, the corresponding disturbance budget is recorded as zero.
[0137] In this way, the dual-channel generation module generates two independent budget quantities with clear dimensions that can be directly used for subsequent comparison and judgment.
[0138] In this embodiment, the minimum allowable water level at the critical section is not set temporarily on-site, but is pre-written into the safety parameter database based on the channel cross-sectional geometry, the minimum submerged water depth in front of the gate, the continuous outflow requirements of the far-end branch, and the safety margin for operation.
[0139] The rated power of the pump set is determined by the parameters on the pump set nameplate and the equipment parameter database.
[0140] The significance of this setting is that the two reference boundaries used by the dual-channel generation module are fixed or semi-fixed safety boundaries in the long-term operation of the irrigation area, while the real-time water level of the key section and the current power of the pump group are state variables that change in real time with the operation process. The budget value obtained by subtracting the two can truly characterize the hydraulic disturbance space and electromechanical disturbance space that the system can still accommodate at the current moment.
[0141] In other words, the water level disturbance budget reflects "how much lower the critical section is allowed to drop before falling below the minimum allowable water level", while the power disturbance budget reflects "how much additional load is allowed on the pump set before reaching or exceeding its rated power".
[0142] To facilitate implementation by those skilled in the art, this embodiment provides a set of specific operating scenarios that fit the engineering site.
[0143] The same irrigation district as in the previous embodiment was used, with an access cycle of 5 minutes and the key section located approximately 1.35 km downstream of the pumping station.
[0144] At the start of a certain access cycle, the valid status output by the status acquisition module is: real-time water level of the key section is 0.286m, minimum allowable water level of the key section is 0.180m, current power of the pump set is 118.4kW, and rated power of the pump set is 132.0kW.
[0145] Based on this, the dual-channel generation module directly generates a current water level disturbance budget of 0.106m and a current power disturbance budget of 13.6kW. These two budget values then serve as the input boundaries for the subsequent dual-channel scheduling module.
[0146] The physical meaning is: within this access cycle, if the total estimated water level disturbance value corresponding to a certain concurrent water intake request combination does not exceed 0.106m and the total estimated power disturbance value corresponding to it does not exceed 13.6kW, then the combination has the possibility of passing the dual-channel hard access judgment; otherwise, as long as the total estimated disturbance value of any channel exceeds the channel budget, the combination will be prohibited within this cycle.
[0147] To further illustrate the necessity of "recording the corresponding disturbance budget as zero when the difference is less than or equal to zero", this embodiment provides two more extreme but possible operating conditions in the field.
[0148] Firstly, during a peak water supply period, if the real-time water level at a key section drops to 0.179m, while the minimum allowable water level at that section remains at 0.180m, the difference between the two is -0.001m.
[0149] At this point, the dual-channel generation module does not retain negative values, but instead directly records the current water level disturbance budget as zero. After this processing, the subsequent dual-channel scheduling module will determine that the water level channel is not allowed to pass as long as it calculates any estimated total water level disturbance value greater than zero, thereby prohibiting the concurrent execution of new branch outlets in this cycle.
[0150] Secondly, if the real-time water level at the critical section still has a certain margin, for example, 0.241m, but the current power of the pump set has reached 132.3kW, while the rated power of the pump set is 132.0kW, then the power difference is -0.3kW, and the dual-channel generation module will also record the current power disturbance budget as zero.
[0151] In this way, even if the subsequent dual-channel scheduling module determines that the total estimated water level disturbance value of a certain branch combination is small, it will directly output the access mask because the power channel budget is zero, thus preventing the pump set from continuing to operate under overload.
[0152] As can be seen from the above two operating conditions, truncating the lower limit of the budget to zero directly transforms the operating state of "the system has no remaining capacity" into a hard threshold condition that the subsequent dual-channel scheduling module can execute.
[0153] From a functional perspective, the dual-channel generation module in this embodiment is fundamentally different from the traditional method of "estimating the number of possible openings based on empirical safety factors".
[0154] In this embodiment, these two types of constraints are explicitly separated into two independent budget quantities, which are directly generated from the real-time water level, the minimum allowable water level, the current power, and the rated power.
[0155] In this way, the subsequent dual-channel scheduling module does not need to guess the system boundary, but can directly obtain two comparable values: "how much water level disturbance can it currently accommodate" and "how much power disturbance can it currently accommodate". Therefore, this embodiment not only simplifies the subsequent scheduling logic, but also makes the decision boundary of the entire system interpretable and auditable.
[0156] In summary, this embodiment fully discloses the structure and function of the dual-channel generation module, the budget generation rules, the budget zeroing conditions, and the operation mode under different working conditions. It also demonstrates with specific data that the module can work stably under the existing irrigation district automation conditions, providing the subsequent dual-channel scheduling module with directly callable water level disturbance budgets and power disturbance budgets. This gives the entire water conservancy integrated management system based on water conservancy simulation and water balance coordinated control a feasible and implementable technical foundation.
[0157] Example 7 This embodiment focuses on disclosing: after the actual execution at the branch, how to extract the actual water level sequence and the actual power sequence of the pump group of the key section within the corresponding response time window; how to correct the single branch disturbance fingerprint and the pairwise concurrent coupling correction parameters according to the two different execution modes of "single branch execution" and "two branch concurrent execution"; and how to update the water level disturbance budget and power disturbance budget of the next admission cycle according to the actual state at the end of the current admission cycle, so that the present invention forms a complete online self-correction closed loop.
[0158] In this embodiment, the update module is located after the execution loop gating module, and its input is the actual response data formed only for the ports that actually obtain execution rights and are connected to open and close the execution loop within the current admission cycle.
[0159] In other words, ports with a mask bit of 0 do not participate in parameter correction in this embodiment because they do not enter the physical execution link during this cycle.
[0160] The purpose of this setup is to ensure that the correction process relies solely on responses generated by actual actions, without mixing in unexecuted requests, queued requests, or requests that only remain at the software decision level, thus avoiding contamination of subsequent event fingerprints and budget boundaries.
[0161] To ensure consistency between the update results and the aforementioned coupled fingerprint extraction process, the update module in this embodiment obtains the correction amount in each admission cycle in the manner of "pre-execution baseline state - actual sequence within the response window - extraction of maximum offset".
[0162] Specifically, within a certain access cycle, after the execution loop gating module connects the branch port to open and close the execution loop, the update module immediately records the real-time water level of the key section and the current power of the pump group at the start of the execution of the access cycle, and uses the two as the reference water level and reference power for this cycle, respectively.
[0163] Subsequently, the update module continuously collects the actual water level sequence of key sections and the actual power sequence of pump sets within the corresponding response time window.
[0164] In order to maintain consistency with the single-branch simulation time window and the double-branch simulation time window in Example 3, the response time window in this example is defined as: the time interval from the actual opening time of the branch to the simultaneous recovery of the actual water level of the key section and the actual power of the pump group to the preset stable threshold range, or to the end of the preset maximum response time.
[0165] Preferably, the actual water level recovering to the stable threshold range means that the actual water level returns to the range of ±0.003m from the reference water level and lasts for 90s; the actual power recovering to the stable threshold range means that the actual power returns to the range of ±1.2kW from the reference power and lasts for 90s; the preset maximum response time is 12min.
[0166] The reason for adopting this rule is that if the response window is too short, it may truncate the actual disturbance that has not yet been recovered; if the response window is too long, it will introduce invalid stable segments into the update process, weakening the specificity of parameter correction for the current execution event.
[0167] The aforementioned stability threshold, duration, maximum response time, and historical / actual value weighting coefficient are all pre-stored in the update parameter table. The stability threshold and maximum response time are preferably calibrated based on the statistical results of the actual water level response and power response over the past 30 operating cycles. The historical / actual value weighting coefficient is preferably determined after offline verification of historical update errors and is allowed to be adjusted by maintenance personnel within the parameter permission range.
[0168] In this embodiment, the update module extracts the maximum offset of the collected actual sequence; that is, the maximum difference between the reference water level and the actual water level sequence is used as the total value of the actual water level disturbance, and the maximum difference between the actual power sequence and the reference power is used as the total value of the actual power disturbance.
[0169] This definition method is consistent with the aforementioned definition methods for single-branch disturbance values, concurrent water level disturbance total values, and concurrent power disturbance total values, thereby ensuring the comparability of simulated side parameters with actual side parameters. To reduce the impact of on-site sampling noise on the update, in this embodiment, the update module can first perform a 3-point moving average or median filtering on the actual water level sequence and the actual power sequence before calculating the maximum offset, but this does not change the method for extracting the maximum offset.
[0170] In this embodiment, the update module first identifies the actual execution mode within the current admission cycle.
[0171] Preferably, in this embodiment, the number of ports allowed to enter the execution loop in each admission cycle does not exceed two. The reason for this setting is that when the execution loop gating module only allows one port or two ports to enter the actual execution in the same admission cycle, the update module can clearly determine whether the current cycle belongs to "single port execution" or "two ports concurrent execution", thereby ensuring that the correction path is unique and clear.
[0172] If three or more branches are executed simultaneously within an admission cycle, the coupling effect will involve the superposition of multiple branches at higher orders, which is difficult to directly correspond to the pairwise correction rules of this scheme. Therefore, this embodiment preferably adopts the execution window organization method of single branch or two branches.
[0173] First, let's explain the single-port execution mode. Assume that within a certain access cycle, only port B6 passes the dual-channel hard access determination and is connected to the execution loop gating module to start and stop the execution loop.
[0174] At the start of this cycle, the real-time water level at the critical section is 0.295m, the minimum allowable water level at the critical section is 0.180m, the current power of the pump set is 116.8kW, and the rated power of the pump set is 132.0kW. Therefore, the water level disturbance budget at the start of this cycle is 0.115m, and the power disturbance budget is 15.2kW.
[0175] Based on the coupling fingerprint established in Example 3, the original water level disturbance value of B6 was 0.041m, and the power disturbance value was 4.6kW.
[0176] After B6 was allowed to execute at 15:05:42, the update module recorded the following actual responses within the corresponding response window: the actual water level at the key section was 0.287m at 15:06:00, 0.274m at 15:06:40, 0.263m at 15:07:20, 0.255m at 15:07:55, and reached a minimum of 0.251m at 15:08:18. It then gradually recovered, reaching 0.293m at 15:10:42 and entering a stable threshold range. Simultaneously, the actual power of the pump unit was 118.1kW at 15:06:20, 119.7kW at 15:07:00, 120.6kW at 15:07:35, and reached a peak of 121.0kW at 15:08:02. It then gradually declined, returning to around 117.3kW at 15:10:42 and entering a stable threshold range.
[0177] Therefore, the update module obtained the total actual water level disturbance value of this single branch execution as 0.295-0.251=0.044m, and the total actual power disturbance value as 121.0-116.8=4.2kW.
[0178] In a preferred embodiment, this embodiment uses weighted correction instead of direct replacement to avoid excessive jumps in event fingerprints caused by single measurement errors or local accidental conditions.
[0179] Assuming a historical value weighting factor of 0.7 and a current actual value weighting factor of 0.3, the updated B6 water level disturbance value is 0.7 × 0.041 + 0.3 × 0.044 = 0.0419 m, and the updated B6 power disturbance value is 0.7 × 4.6 + 0.3 × 4.2 = 4.48 kW. Thus, the single-port disturbance fingerprint of B6 retains historical stability while gradually incorporating the latest actual operational information.
[0180] If those skilled in the art believe that direct replacement is more suitable for a specific scenario, the original values can be directly replaced by the total value of the actual water level disturbance and the total value of the actual power disturbance. This embodiment is not limited to the form of the update itself.
[0181] The following describes the concurrent execution scenario of two ports: Assume that in another access cycle, only B2 and B5 actually enter the start-up and shut-down execution loop; at the start of this cycle, the real-time water level at the critical section is 0.286m, and the current power of the pump set is 118.4kW.
[0182] Based on the single-port disturbance fingerprint and concurrent correction parameters established in Example 3, the water level disturbance value of B2 is 0.034m and the power disturbance value is 3.7kW, the water level disturbance value of B5 is 0.026m and the power disturbance value is 2.4kW, the original water level coupling correction value between B2 and B5 is 0.011m, and the original power coupling correction value is 0.9kW.
[0183] After this period's execution, the update module measured the lowest actual water level at the critical section to be 0.214m within the response window, and the peak actual power of the pump unit to be 125.1kW. Therefore, the total actual water level disturbance value corresponding to this concurrent execution is 0.286−0.214=0.072m, and the total actual power disturbance value is 125.1−118.4=6.7kW.
[0184] When two branches are opened concurrently during the current access cycle, the update module does not directly allocate the actual total disturbance value to a single branch, but instead calculates the water level coupling correction value and the power coupling correction value separately.
[0185] Specifically, the sum of the water level disturbance values when B2 and B5 are activated individually is 0.034 + 0.026 = 0.060 m. Therefore, the actual water level coupling correction value for this cycle is 0.072 - 0.060 = 0.012 m. Similarly, the sum of the power disturbance values when B2 and B5 are activated individually is 3.7 + 2.4 = 6.1 kW. Therefore, the actual power coupling correction value is 6.7 - 6.1 = 0.6 kW. In the preferred embodiment, the original coupling correction parameters are also updated using a weighted correction. Taking a historical value weighting coefficient of 0.7 and a current correction value weighting coefficient of 0.3, the updated water level coupling correction value for B2 and B5 is 0.7 × 0.011 + 0.3 × 0.012 = 0.0113 m, and the updated power coupling correction value is 0.7 × 0.9 + 0.3 × 0.6 = 0.81 kW.
[0186] As a result, the system can identify that in this actual operation, the additional coupling of the water level channels of B2 and B5 is slightly higher than the original estimate, while the additional coupling of the power channel is slightly lower than the original estimate, thus automatically refining the concurrent correction parameters required for subsequent admission calculations.
[0187] In addition to correcting the perturbation fingerprint and coupling correction parameters, the update module also updates the budget boundary for the next admission cycle at the end of each admission cycle. Specifically, the update module obtains the water level perturbation budget for the next admission cycle based on the difference between the actual water level at the critical section and the minimum allowable water level at the critical section at the end of the current admission cycle; and obtains the power perturbation budget for the next admission cycle based on the difference between the rated power of the pump set and the actual power of the pump set at the end of the current admission cycle. For example, after B2 and B5 have completed and recovered concurrently, if the actual water level at the critical section recovers to 0.301m and the actual power of the pump set drops to 114.2kW at 14:15:00, the update module updates the water level perturbation budget for the next admission cycle to 0.301−0.180=0.121m and the power perturbation budget to 132.0−114.2=17.8kW.
[0188] If the actual water level at the critical section is still lower than the minimum allowable water level at the end of a certain cycle, or the actual power of the pump set is still higher than the rated power, the update module will directly update the corresponding budget to zero and return the result to the dual-channel generation module, so that the next cycle will automatically enter a more stringent access state.
[0189] This embodiment further demonstrates that the solution can be directly implemented in the existing pumping station-open channel-branch automation system through water level sensors, electrical parameter acquisition devices, PLC / industrial control computers, and parameter library management. Without introducing additional complex hardware, the system can have online correction and adaptive convergence capabilities, thus demonstrating clear engineering feasibility and practical value.
[0190] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A comprehensive water conservancy management system based on water conservancy simulation and coordinated control of water balance, characterized in that, include: The module includes a status acquisition module, a coupled fingerprint module, a dual-channel generation module, a dual-channel scheduling module, an execution loop gating module, and an update module. The status acquisition module is used to acquire concurrent water intake requests, real-time water level at key sections, minimum allowable water level at key sections, current power of the pump set, rated power of the pump set, and branch port switch status. The coupling fingerprint module is used to perform hydraulic simulation on each branch and any two branches, taking the branch switch event formed by the change of branch switch state as the object, to obtain water level disturbance value, power disturbance value, water level coupling correction value and power coupling correction value, and to use the water level disturbance value and power disturbance value as disturbance fingerprint, and the water level coupling correction value and power coupling correction value as coupling correction parameter. The dual-channel generation module is used to generate a water level disturbance budget based on the real-time water level and minimum allowable water level of the key section, and to generate a power disturbance budget based on the rated power and current power of the pump set. The dual-channel scheduling module is used to form an estimated total water level disturbance value based on the water level disturbance value and water level coupling correction value of concurrent water intake requests, and to compare the estimated total water level disturbance value with the water level disturbance budget. The estimated total power disturbance value is formed based on the power disturbance value and power coupling correction value corresponding to the concurrent water intake request, and the estimated total power disturbance value is compared with the power disturbance budget. Based on the comparison results, a branch access mask is generated that corresponds one-to-one with the concurrent water intake requests; The execution loop gating module is used to apply the admission mask to the opening and closing of the execution loop at the port; The update module is used to correct the disturbance fingerprint, coupling correction parameters, water level disturbance budget, and power disturbance budget based on the actual water level response and actual power response generated after the start-stop execution loop is executed, and return the correction results to the coupling fingerprint module and the dual-channel generation module.
2. The integrated water management system based on water conservancy simulation and coordinated control of water quantity balance as described in claim 1, characterized in that, The status acquisition module summarizes the water intake requests submitted by each branch within the same access cycle, forming concurrent water intake requests; The real-time water level of the key section is collected by the water level sensor, and the minimum allowable water level of the key section is read from the preset safety parameter library. The key section is a preset monitoring section used to monitor the safe operation status of the canal system; Collect the current power of the pump set and read the rated power of the pump set from the pump set equipment parameter database; The status of the port switch is obtained through the feedback signal of the port actuator; The acquired data is processed for time alignment, outlier removal, and missing value completion. The port switch state is represented by a binary state, with the open state recorded as 1 and the closed state recorded as 0. Port switch events are identified based on the port switch state changes at adjacent sampling times, where a change from 0 to 1 is identified as a port open event, and a change from 1 to 0 is identified as a port close event.
3. The integrated water management system based on water conservancy simulation and water balance coordinated control as described in claim 2, characterized in that, The coupled fingerprint module uses the real-time water level of the key section at the moment the branch opening event occurs and the current power of the pump group as the reference water level and reference power, respectively. The coupling fingerprint module is specifically used for: For each branch opening event, while keeping the opening and closing states of the other branches unchanged, hydraulic simulation is performed on the corresponding single branch simulation time window after the target branch switches from the closed state to the open state. The simulated water level sequence and pump group simulated power sequence of the key section under the opening condition of the single branch are obtained. The water level disturbance value corresponding to the branch is determined by the maximum difference between the reference water level and the simulated water level sequence, and the power disturbance value corresponding to the branch is determined by the maximum difference between the reference power and the simulated power sequence. For any two branches opening concurrently, under the same reference water level and reference power as the two branches opening individually, hydraulic simulation is performed on the corresponding dual-branch simulation window after the two branches are simultaneously switched to the open state. The total value of concurrent water level disturbance and the total value of concurrent power disturbance are obtained. The difference between the total value of concurrent water level disturbance and the sum of the water level disturbance values when the two branches are opened individually is used as the water level coupling correction value between the two branches. The difference between the total value of concurrent power disturbance and the sum of the power disturbance values when the two branches are opened individually is used as the power coupling correction value between the two branches. The single-branch simulation time window and the dual-branch simulation time window are both time intervals from the moment the corresponding branch opening event occurs until the simulated water level of the key section and the simulated power of the pump group recover to the preset stable threshold range or until the preset maximum simulation duration ends.
4. The integrated water management system based on water conservancy simulation and water balance coordinated control as described in claim 3, characterized in that, The dual-channel scheduling module is specifically used for: Concurrent water intake requests are arranged into a sequence of requests to be judged according to the order of their arrival time, and a mask bit corresponding to each branch in the sequence of requests to be judged is generated, where passing the admission is recorded as 1 and failing the admission is recorded as 0. The dual-channel scheduling module starts with an empty admission set, selects the current branch to be judged in sequence according to the request sequence to be judged, sums the water level disturbance value of the current branch to be judged with the water level disturbance values of each branch that has been written into the mask bit and the mask bit is 1, and adds the water level coupling correction value between the current branch to be judged and each of the branches to obtain the estimated total water level disturbance value after including the current branch to be judged. Similarly, the estimated total power disturbance value is obtained. When the estimated total value of water level disturbance is not greater than the water level disturbance budget and the estimated total value of power disturbance is not greater than the power disturbance budget, the mask position corresponding to the current branch to be determined is set to 1, and the branch is added to the set of branches that have passed the admission. When the estimated total value of water level disturbance is greater than the water level disturbance budget or the estimated total value of power disturbance is greater than the power disturbance budget, the mask position corresponding to the current branch to be determined is set to 0, and the branch is written into the staggered queuing sequence. No more than two ports are allowed to enter the start / stop execution loop in any given access cycle.
5. The integrated water management system based on water conservancy simulation and coordinated control of water quantity balance as described in claim 4, characterized in that, The dual-channel generation module is specifically used for: The difference between the real-time water level at the critical section and the minimum allowable water level at the critical section is used as the current water level disturbance budget, and the difference between the rated power of the pump set and the current power of the pump set is used as the current power disturbance budget. When the difference is less than or equal to zero, the corresponding disturbance budget is recorded as zero.
6. The integrated water management system based on water conservancy simulation and water balance coordinated control as described in claim 5, characterized in that, After the branch is opened and executed within the current access cycle, the update module collects the actual water level sequence of the key section and the actual power sequence of the pump group within the corresponding response time window. It uses the real-time water level of the key section before execution and the current power of the pump group as the reference values, calculates the maximum difference between the reference water level and the actual water level sequence as the total actual water level disturbance value, and calculates the maximum difference between the reference power and the actual power sequence as the total actual power disturbance value. The response window is the time interval from the moment the corresponding branch is opened until the actual water level at the key section and the actual power of the pump group recover to the preset stable threshold range, or until the preset maximum response time ends.
7. The integrated water management system based on water conservancy simulation and water balance coordinated control as described in claim 6, characterized in that, The update module corrects the water level disturbance value corresponding to the branch with the actual total water level disturbance value and corrects the power disturbance value corresponding to the branch with the actual total power disturbance value only when a single branch is opened within the current access cycle. Only within the current access cycle, when two branch outlets are opened concurrently, the update module uses the difference between the actual total water level disturbance value and the sum of the water level disturbance values when the corresponding two branch outlets are opened individually as the correction amount for the water level coupling correction value between the two branch outlets, and uses the difference between the actual total power disturbance value and the sum of the power disturbance values when the corresponding two branch outlets are opened individually as the correction amount for the power coupling correction value between the two branch outlets, and corrects the water level coupling correction value and the power coupling correction value accordingly. The update module is also used to update the water level disturbance budget for the next access cycle based on the difference between the actual water level of the key section at the end of the current access cycle and the minimum allowable water level of the key section, and to update the power disturbance budget for the next access cycle based on the difference between the rated power of the pump set and the actual power of the pump set at the end of the current access cycle.