Water supply network system and control method and apparatus therefor, and storage medium

By establishing a control model and a state space model of the water supply network system, monitoring and adjusting the gate opening in real time solves the stability and efficiency problems of the water supply network system in the existing technology when controlling complex channel systems, and achieves efficient and rapid water supply control. .

WO2024192931A1PCT designated stage expired Publication Date: 2024-09-26CHINA THREE GORGES CORPORATION +1

Patent Information

Application Number
PCT/CN2023/106575
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-17
Filing Date
2023-07-10
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

The existing water supply network system has problems of control deviation, poor stability, and low efficiency when controlling complex channel systems. It is especially difficult to achieve effective control in multi-dimensional channel water diversion, water distribution scheduling, and water level fluctuation regulation.

Method used

By obtaining the attribute information and flow information of the water supply network system, a control model is established, the gate opening and water level are monitored in real time, the gate opening is adjusted to optimize the water supply relationship, and the state space model and hydrodynamic model are used for decoupling analysis and prediction. To achieve quick response and efficient control.

Benefits of technology

It significantly reduces analysis time, improves control efficiency, can quickly respond to water supply needs, enhances water supply guarantee, and reduces control errors and steady-state deviations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023106575_26092024_PF_FP
    Figure CN2023106575_26092024_PF_FP
Patent Text Reader

Abstract

A water supply network system and a control method and apparatus therefor, and a storage medium, relating to the field of automatic control. The method comprises: acquiring attribute information of a water diversion channel (1004) and a regulating reservoir (1006) in a water supply network system, flow rate information upstream and downstream of gates corresponding to different gate opening degrees, and a water supply relationship between the gates (S1); establishing a control model (S2); monitoring the actual opening degrees and flow rates of a water diversion gate (1005) and a bifurcation gate (1007), and the inner water level of the regulating reservoir (1006) (S3); inputting monitoring data and a preset control target value into the control model to obtain control data (S4); and adjusting the opening degrees of the gates according to the control data (S5). Various data in the water supply network system is analyzed to establish a control model, how to control and adjust the gates is calculated by means of the model by collecting real-time monitoring data from multiple points, compared with existing analysis, a lot of time is saved, high calculation and execution efficiency is realized, and rapid response can be achieved in the face of a risk, thereby providing better protection for water supply.
Need to check novelty before this filing date? Find Prior Art

Description

A water supply network system and its control method, device and storage medium Technical Field

[0001] The present invention relates to the technical field of water supply control, and in particular to a water supply network system and a control method, device and storage medium thereof. Background Art

[0002] The open channel water supply and diversion systems used in existing water supply networks offer a certain degree of automated control over channel water supply. However, these networks still face numerous systemic challenges in the coordinated scheduling and control of water transmission and supply channels across multiple water receiving areas and reservoirs. As development demands multi-dimensional channel water diversion and distribution scheduling with diverse control objectives and multiple target constraints, existing water supply control systems are prone to control deviations and errors. Implementing distributed, multi-point coordinated control makes it difficult to achieve the water supply, diversion, and distribution objectives of complex water supply networks. Furthermore, the lack of regulatory components designed to buffer water level fluctuations caused by diversion channels creates a lack of buffer space. Furthermore, the existing open channel water supply structure does not support complex water supply and diversion objectives. Comprehensive flow control within the channel system, including main and branch canals, is impossible. This not only fails to suppress flow fluctuations, resulting in losses in artificial channel linings and insufficient water supply assurance for receiving areas. Furthermore, there is a lack of guidance on the construction and operation of channel diversion and diversion devices. The complex water supply structure requires complex flow stabilization, and the control effects lack practical design requirements, resulting in limited applicability. Furthermore, current control algorithms fail to address the complex interactions between devices, particularly the mutual constraints between gates during opening and closing, which create hydrodynamic constraints in the channel and interfere with control decisions. Furthermore, the control process lacks a mechanism for immediate correction of deviations. Control errors in the combined control of gates can accumulate and compound, continuously impacting unsteady-state system control during subsequent operation and causing deviations from steady-state control. Current analytical control methods are generally time-consuming, inefficient, and unstable. This not only fails to promptly respond to water demand in the receiving area, but also poses other risks due to untimely scheduling when facing complex risks.

[0003] Summary of the Invention

[0004] In view of this, an embodiment of the present invention provides a water supply network system control method to solve the problems of long analysis time, low efficiency and poor stability of existing water supply control.

[0005] In order to achieve the above object, the present invention provides the following technical solutions:

[0006] An embodiment of the present invention provides a method for controlling a water supply network system, the water supply network system comprising a water supply channel, a plurality of water diversion channels, a water diversion gate and a regulating pool corresponding to the number of water diversion channels, a plurality of water diversion gates, and a plurality of water diversion outlets, the water supply channel being connected to the plurality of water diversion channels, the water diversion channel being connected to the water diversion end of the regulating pool via the water diversion gate, and the water outlet of the regulating pool being connected to the plurality of water diversion outlets via the water diversion gate. The control method comprises:

[0007] Acquire attribute information of the water diversion channel and the regulating pond in the water supply network system, flow information upstream and downstream of the water diversion gate and the water diversion gate corresponding to different gate openings, and the water supply relationship between the water diversion gate and the water diversion gate;

[0008] Establishing a control model based on the attribute information, the flow information and the water supply relationship;

[0009] monitoring the actual openings and flow rates of the diversion gate and the water diversion gate and the water level in the regulating pond to obtain monitoring data;

[0010] Inputting the monitoring data and the preset control target value into the control model to obtain control data;

[0011] The openings of the water diversion gate and the water diversion gate are adjusted according to the control data.

[0012] Optionally, establishing a control model according to the attribute information, the flow information, and the water supply relationship includes:

[0013] establishing a hydrodynamic model based on the flow information and the attribute information;

[0014] Optimizing the hydrodynamic model based on preset steady-state information to construct a state space model;

[0015] The state space model is decoupled and analyzed according to the water supply relationship to obtain a control model.

[0016] Optionally, optimizing the hydrodynamic model based on preset steady-state information to construct a state space model includes:

[0017] Performing discretization transformation on equations in the hydrodynamic model;

[0018] Linearize the transformed equations based on preset steady-state information;

[0019] Generate a state-space model from the linearized equations.

[0020] Optionally, performing a decoupling analysis on the state space model according to the water supply relationship to obtain a control model includes:

[0021] Decoupling the opening of each gate and the flow rates upstream and downstream according to the water supply relationship and the state space model to obtain a first correlation between the flow rate and the gate opening;

[0022] Extracting water level data of the regulating pond corresponding to different gate openings from the attribute information;

[0023] performing correlation analysis on the water level data and the flow rate data to obtain a second correlation between the flow rate and the water level;

[0024] A control model is established according to the first association and the second association.

[0025] Optionally, the monitoring data includes gate opening data, flow data, and water level data. The actual opening, flow rate, and water level of the diversion gate and the diversion gate are monitored, and the monitoring data obtained includes:

[0026] Get the preset monitoring period;

[0027] The opening data of the water diversion gate and the water diversion gate, the flow data upstream and downstream of each gate and the water level data of the regulating tank are collected respectively according to the preset monitoring period.

[0028] Optionally, the method further includes:

[0029] Comparing the water level data and the flow rate data with the preset control target value to obtain deviation data;

[0030] Determining whether the deviation data is greater than a preset deviation value;

[0031] When the deviation data is less than or equal to the preset deviation value, returning to the step of monitoring the actual openings, flow rates, and water level in the regulating tank of the diversion gate and the water diversion gate;

[0032] When the deviation data is greater than the preset deviation value, the water level data and the flow data are denoised to obtain updated monitoring data, and the step of inputting the monitoring data and the preset control target value into the control model is executed based on the updated monitoring data.

[0033] Optionally, before adjusting the openings of the diversion gate and the diversion gate according to the control data, the method includes:

[0034] constructing a prediction model based on the water supply transfer information, the state space model, and the hydrodynamic model;

[0035] Inputting the control data into the prediction model to predict the water level data and flow data after the opening is adjusted to obtain a prediction result;

[0036] Determine whether the difference between the prediction result and the preset control target value is greater than a preset threshold;

[0037] If the difference is greater than the preset threshold, the model parameters of the control model are adjusted, and the step of inputting the monitoring data and the preset control target value into the control model to obtain the control data is returned until the difference is less than or equal to the preset threshold.

[0038] An embodiment of the present invention further provides a water supply network system control device, the water supply network system comprising: at least one regulating tank, the water supply end of the regulating tank being connected to a water diversion channel, the water outlet end being provided with a plurality of water diversion ports, the water diversion channel being provided with a water diversion gate, and the water diversion ports being provided with a water diversion gate, the device comprising:

[0039] An acquisition module is used to obtain attribute information of the water diversion channel and the regulating pond in the water supply network system, flow information upstream and downstream of the water diversion gate and the water diversion gate corresponding to different gate openings, and the water supply relationship between the water diversion gate and the water diversion gate;

[0040] An establishing module, configured to establish a control model according to the attribute information, the flow information and the water supply relationship;

[0041] A monitoring module, configured to monitor the actual openings and flow rates of the diversion gate and the water diversion gate and the water level in the regulating pond to obtain monitoring data;

[0042] a calculation module, configured to input the monitoring data and a preset control target value into the control model to obtain control data;

[0043] An adjustment control module is used to adjust the opening of the water diversion gate and the water diversion gate according to the control data.

[0044] An embodiment of the present invention further provides a water supply network system, comprising:

[0045] A water supply channel, multiple water diversion channels, water diversion gates and regulating pools corresponding to the number of water diversion channels, multiple water diversion gates, and multiple water diversion outlets, wherein the water supply channel is connected to the multiple water diversion channels, the water diversion channels are connected to the water diversion end of the regulating pool through the water diversion gates, and the water outlet of the regulating pool is connected to the multiple water diversion outlets through the water diversion gates;

[0046] The system further includes: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the water supply network system control method according to any one of claims 1 to 7 by executing the computer instructions.

[0047] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the water supply network system control method provided by the embodiment of the present invention.

[0048] The technical solution of the present invention has the following advantages:

[0049] The present invention provides a water supply network system control method. The method obtains attribute information of the water diversion channel and regulating pond in the water supply network system, flow information of the upstream and downstream gates corresponding to different gate openings of the water diversion gate and the water diversion gate, and the water supply relationship between the water diversion gate and the water diversion gate; establishes a control model based on the attribute information, flow information, and water supply relationship; monitors the actual opening, flow rate, and water level of the water diversion gate and the water diversion gate to obtain monitoring data; inputs the monitoring data and preset control target values ​​into the control model to obtain control data; and adjusts the gate opening according to the control data. The present invention establishes a control model by analyzing various data in the water supply network system, and then calculates how to control and adjust the gates through the model by collecting multi-point real-time monitoring data. Compared with existing analysis, the method saves a lot of time and has high calculation and execution efficiency. It can thus achieve rapid response when facing risks and provide better protection for water supply. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The present invention will be further described below with reference to the accompanying drawings and examples.

[0051] FIG1 is a flow chart of a water supply network system control method according to an embodiment of the present invention;

[0052] FIG2 is a flow chart of establishing a control model according to an embodiment of the present invention;

[0053] FIG3 is a flow chart of constructing a state space model according to an embodiment of the present invention;

[0054] FIG4 is a flow chart of performing decoupling analysis on a state space model according to an embodiment of the present invention;

[0055] 5 is a flow chart of monitoring the actual openings, flow rates, and water levels in the regulating pond of the diversion gate and the diversion gate according to an embodiment of the present invention;

[0056] FIG6 is a flow chart of analyzing deviation according to an embodiment of the present invention;

[0057] FIG7 is a structural diagram of an auto-disturbance rejection algorithm according to an embodiment of the present invention;

[0058] FIG8 is a flow chart of prediction based on control data according to an embodiment of the present invention;

[0059] FIG9 is a schematic structural diagram of a water supply network system control device according to an embodiment of the present invention;

[0060] FIG10 is a schematic structural diagram of a water supply network system in an embodiment of the present invention. DETAILED DESCRIPTION

[0061] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0062] According to an embodiment of the present invention, an embodiment of a water supply network system control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0063] In this embodiment, a water supply network system control method is provided, which can be used in scenarios where water diversion and diversion outlets of a complex water supply network are jointly and automatically controlled. As shown in FIG1 , the water supply network system includes: a water supply channel, multiple water diversion channels, a water diversion gate and a regulating tank corresponding to the number of water diversion channels, multiple water diversion gates, and multiple water diversion outlets. The water supply channel is connected to the multiple water diversion channels, the water diversion channel is connected to the water diversion end of the regulating tank via the water diversion gate, and the water outlet of the regulating tank is connected to the multiple water diversion outlets via the water diversion gate. The water supply network system control method includes the following steps:

[0064] Step S1: Obtain attribute information for the diversion channel and regulating pond within the water supply network system, flow information for the diversion and diversion gates at different gate openings, and the water supply relationship between the diversion and diversion gates. Specifically, since the openings of both the diversion and diversion gates affect the water level in the regulating pond, achieving coordinated control and meeting water supply requirements facilitates subsequent analysis.

[0065] Step S2: Establish a control model based on the attribute information, flow information, and water supply relationship. Specifically, the control model is established by analyzing the relationship between the water level and flow rate upstream and downstream of the gate caused by the gate opening. This facilitates the subsequent rapid calculation of gate control data through the model, improving control efficiency.

[0066] Step S3: Monitor the actual openings, flow rates, and water levels of the diversion and distribution gates and the regulating tank to obtain monitoring data. Specifically, various sensors installed in the water supply system monitor and collect data in real time.

[0067] Step S4: Input the monitoring data and the preset control target value into the control model to obtain the control data. Specifically, taking the water diversion outlet as an example, when the water diversion volume of a certain water diversion outlet deviates from the water supply target in the preset control target value, if the monitoring value is higher than the water supply target, the corresponding water diversion gate opening is reduced, otherwise it is necessary to increase the water diversion gate opening until the water diversion volume monitoring value of the water diversion outlet reaches the water supply target. When the overall water diversion volume is lower than the water demand target in the preset control target value, the inflow can be increased by increasing the water diversion gate opening and controlling the water diversion gate at the same time; and when the water diversion volume is higher than the water demand setting, the water diversion gate opening is reduced, and the water diversion gate opening is reduced according to the actual monitoring situation. By inputting the monitoring data and the preset control target value into the control model, the control data of the water diversion gate and the water diversion gate can be obtained quickly and accurately, thereby facilitating the subsequent adjustment of the gate opening based on this data.

[0068] Step S5: Adjust the opening of the diversion gate and the water diversion gate according to the control data.

[0069] Through the above steps S1 to S5, the water supply network system control method provided by the embodiment of the present invention establishes a control model by analyzing various data in the water supply network system, and then calculates how to control and adjust the gate through the model by collecting multi-point real-time monitoring data. Compared with the existing analysis, it saves a lot of time and has higher calculation and execution efficiency, so it can achieve rapid response when facing risks and provide better protection for water supply.

[0070] Specifically, in one embodiment, a step of calculating the capacity of the regulating tank according to demand is provided, which specifically includes the following process:

[0071] By obtaining the water supply flow of the water diversion channel under the water resources management plan, the water diversion flow of each water diversion outlet, and the corresponding water use times and duration, the capacity of the regulating pond is determined, and the principle of water supply availability and energy dissipation function are comprehensively maintained.

[0072] The change of water consumption curve in each period with daily cycle in the water resources management plan can be used to obtain the degree of fluctuation of water supply: K h =Qh / Q c Where: K h Q is the coefficient of variation of diverted water volume, h is the total water volume during the maximum period of the day, Q c The total water volume during the daily average period

[0073] The maximum hourly flow rate Q h , using the plan as known data, we can get the number of current water receiving areas N and the corresponding highest standard of water supply guarantee q, and use the hourly variation coefficient K h , we can get the flow rate that needs to be ensured by the diversion outlet under the condition of water supply guarantee: Q s =K h N q / n. Where n is the number of time periods per day. If the hourly calculation method is used, n = 24.

[0074] Combined with the reaction time, the required regulating tank volume under insufficient water supply is obtained: V1 = Q s T.

[0075] Accordingly, from the flow of the diversion channel, the maximum flow Q m The continuous output is used as the error calculation to ensure the maximum protection rate and obtain the maximum water diversion volume q m :q m =Q m T.

[0076] Combined with the average water supply Q in the water use plan c To calculate the difference in excess water, by adjusting the flow difference of the water supply, the storage capacity of the regulating pool required when there is too much water is obtained: V2 = q m -Q c T.

[0077] The comprehensive difference calculation yields the regulating tank capacity: V≥(1+10%)|V1-V2|.

[0078] 10% of the volume is the additional regulating volume, which is used to meet the maximum water diversion and maximum water use requirements, while helping to form the water flow at the diversion outlet.

[0079] In addition, the graphical method can also be used in conjunction with the present invention to conduct a detailed analysis of the calculation of the water diversion and regulation tank volume of the water supply network. By drawing the time-period flow curve under the water use plan and water supply error, accumulating the water volume difference, and applying statistical concepts, a reasonable regulating tank capacity can be obtained. When the proposed capacity value conforms to the normal distribution N(μ, σ2) and the variance is homogeneous, after using the t-test, the expected value μ is selected as the final volume value. When the distribution of the value does not conform to the normal distribution, further non-parametric tests are taken, including but not limited to: Wilcoxon test, KS test, Kruskal-Wallis test, Jonckheere-Terpstra test, McNemar test, etc., and then the processed water volume difference data are further subjected to statistical methods to obtain the expected value of the final volume.

[0080] Based on the above capacity calculation, the size design is formed according to the factors affecting the shape of the regulating pond, so that the regulating pond has the function of regulating and storing water for secondary regulation while also having the function of stabilizing water flow. The process is as follows:

[0081] By analyzing from the perspective of energy dissipation, the appropriate design operating water depth is determined:

[0082] Where: H0 is the total head of the diversion channel above the diversion outlet, q is the assumed average diversion flow and the diversion Q c The single-width flow rate obtained under the flat condition, φ is the velocity coefficient (combined with existing progress, the present invention specifies it as 0.85), g is the acceleration of gravity, h c The water depth after the jump.

[0083] The calculation formula for the energy dissipation pool depth is obtained: σh″ c =h t +S. Where: σ is the flooding coefficient, which is 1.05 according to relevant standards and similar studies; h t is the downstream water depth; h″ c is the conjugate of the water depth after the jump; the water depth S required for the energy dissipation function is obtained.

[0084] Based on the water depth, the superelevation design of the regulating pond is carried out taking into account the impact of water surge caused by the opening and closing of the gate. The superelevation design of the regulating pond is supplemented from the perspectives of flow scale, normal water level mode behind the gate, equal capacity mode and controlled capacity mode to adapt to the additional superelevation required for the water level under specific operation modes:

[0085] Where: i is the average longitudinal slope of the regulating pond, L is the length of the regulating pond, R is the maximum height of the regulating pond, and e is the height of the water surface at maximum windage. The sum of the water depth and the freeboard is used as the design depth of the regulating pond.

[0086] Here, it is necessary to use iterative calculation to determine the pool length L. The calculation formula for L is: L ≥ 6.9 (h ″ c -h c ).

[0087] will satisfy F b The value of L is used as the final pool length, and the width B of the regulating pool is determined based on the regulating pool capacity, pool length and pool depth. In this way, the capacity of the regulating pool and the corresponding size and shape are preliminarily obtained.

[0088] Specifically, in one embodiment, a mathematical model verification process for regulating pond engineering construction is provided, and the specific process is as follows:

[0089] Use the current mainstream hydrodynamic simulation software, including but not limited to MIKE HYDRORIVER, FLUENT, FLOW-3D, etc., to effectively simulate the changing trend of hydrodynamics in the regulating pond water area during operation. First, establish the control equation of the one-dimensional hydrodynamic model for the regulating pond in the water supply network:

[0090] Where: x is the distance coordinate, t is the time coordinate, A is the cross-sectional area of ​​the regulating pond, Q is the flow rate, h is the water depth, q is the lateral inflow, C is the pool bottom roughness coefficient, and R is the hydraulic radius.

[0091] The coordinated use of the water diversion channel, water supply network, and regulating pond in this invention utilizes a hydrodynamic model, including but not limited to conventional four-point difference schemes, six-point Abbott-Ionescu schemes, and implicit finite difference schemes. The six-point Abbott-Ionescu scheme is used here as an example to illustrate its application, solution, and calculation. A continuity equation is used between two flow points, and a momentum equation is used between two water points to maintain computational stability at large Courant numbers.

[0092] The momentum equation used in the present invention is:

[0093] The continuity equation used in the present invention is:

[0094] Where: the superscript represents t, the subscript represents x, assuming that the time step is uniform and the space step is uneven, α j , β j , γ j Both are δ j function, and with the Q and The size of Q at the moment changes, δ j is a parameter used to describe the difference form.

[0095] In order to increase the stability of the model, the Courant-Friedrich Levy (CFL) number of the present invention is defined as:

[0096] Where: is the total water depth, and are the x- and y-direction components of the flow velocity, is the characteristic length in the x- and y-directions, and is the time interval. Ensure that the model's time interval keeps the CFL number less than 1 to ensure the quality of the simulation output from the regulating pond model.

[0097] Finally, the hydrodynamic model was used to simulate the operational status, correct any deficiencies, and provide feedback, ultimately determining the design dimensions of the regulating pond. This process aims to eliminate potential adverse impacts by simulating the evolution of the regulating pond after its completion.

[0098] Specifically, in one embodiment, a design process for a diversion gate is provided, which specifically includes the following contents:

[0099] First, define the sensitivity index of the water outlet: S0 = Δh / Δq

[0100] Where: S0 is the sensitivity index of the water diversion outlet, Δh is the amplitude of change of the water diversion outlet flow, and Δq is the amplitude of change of the regulating pool tax.

[0101] By introducing the disturbance caused by the use of the gate and analyzing the characteristic parameters, it is found that the opening and amplitude of the gate at different positions play the most important role in the change of the water level in the regulating pond. Definition:

[0102] S i,qian =Δh qian / Δe;S i,hou =Δq hou / Δe

[0103] Where: S i,qian 、S i,hou is the hydraulic sensitivity index before and after the current gate i, which is related to the water level of the regulating pool and the water diversion volume of the corresponding diversion outlet, respectively. qian is the amplitude of the water level change before the gate, Δq hou is the change range of the flow rate behind the gate, and Δe is the change range of the gate opening. This reflects the degree of control of the gate on the water flow before and after it.

[0104] The relationship data is fitted and further used as a calibration curve for the relationship between the change amplitude of the water diversion volume at the water diversion outlet and the change rate of the water level in the regulating pond, including but not limited to linear fitting, least squares curve fitting and other methods, to obtain the relationship between the change of the water diversion volume at the water diversion outlet and the change of the water level in the regulating pond.

[0105] Considering the flow capacity at different openings during the gate linkage control process, the radial gate is designed. The formulas that can be used in the process include but are not limited to: traditional gate flow calculation formula, Henry formula, etc. Here is a specific example to illustrate: the design of the radial gate is explained through free outflow and submerged outflow. The operating water supply of the water diversion gate is regarded as free outflow, and the gate sill and the regulating tank are simplified to be on the same horizontal line. The flow of the water diversion channel is obtained:

[0106] C g ∝e / R,C g ∝H0 / R

[0107] The gate diversion and water diversion at the diversion outlet are regarded as submerged outflow. The assumptions of sill height of 0 and submerged outflow of the gate of the approximately flat-bottomed channel are made. The outflow formula is:

[0108] C g ∝e / R,C f ∝g t / e

[0109] Where: H0 is the water depth of the regulating pond, h t is the water head of the diversion outlet, e is the gate opening, b is the gate width, R is the radius of the arc gate, C g 、C f is the discharge coefficient of the corresponding free outflow and submerged outflow.

[0110] In this way, the installation form of the gate and the opening and closing operation mode of the gate can be accurately designed.

[0111] Specifically, in one embodiment, the above-mentioned step S2, as shown in FIG2 , specifically includes the following steps:

[0112] Step S21: Establish a hydrodynamic model based on the flow information and attribute information. Specifically, the attribute information includes the size information of the water supply channel, water diversion channel and regulating pond, water capacity information, water flow cross-sectional area, flow area, water flow rate, etc. Through the digital twin method, a prototype model of the water diversion, water distribution and water supply channel structure is established. The model establishment process can adopt existing three-dimensional hydrodynamic models, including but not limited to MIKE21, Hydro Qual, Fluent, etc. On the basis of the continuity equation, momentum equation, energy equation, etc., the attribute information of the channel in this step and its corresponding system function are added to improve the form and function verification mechanism of the model, and the overall design layout and the accuracy of real-time monitoring and the effect of control application during operation are simulated and verified, and the simulated operation of the initial channel structure is accurately and effectively reflected in the virtual space. The simulation process can refer to the simulation of the regulating pond and gate mentioned above, and further introduce the implicit Preissmann four-point space-time eccentricity method to discretize the St. Venant equations, and use the pursuit method to solve them. Equation discretization format:

[0113] Where: a 1i =1.0; c 1i =1.0;

[0114] Step S22: Optimize the hydrodynamic model based on the preset steady-state information to construct a state-space model. Specifically, the flow equations can be used as boundary conditions for the St. Venant equations. The St. Venant equations are incrementally linearized at stable points using the Preissmann implicit difference scheme to construct a state-space model for the entire channel. The coupling relationship between the channel and the pool is implicitly embedded in the model.

[0115] Step S23: Decoupling analysis is performed on the state space model according to the water supply relationship to obtain a control model. Specifically,

[0116] Specifically, in one embodiment, the above-mentioned step S22, as shown in FIG3 , specifically includes the following steps:

[0117] Step S221: performing discrete transformation on the equations in the hydrodynamic model.

[0118] Step S222: performing linearization processing on the converted equation based on preset steady-state information.

[0119] Step S223: Generate a state space model according to the linearized equation.

[0120] Specifically, the transformation is performed through the St. Venant equations, which include two sub-equations: the continuity equation and the momentum equation. The continuity equation and the momentum equation are discretized respectively, and their incremental linearization is performed at the steady-state operating point. The Pressimann four-point eccentricity format is used to transform the continuity equation as follows:

[0121] Where: A is the cross-sectional area of ​​water flow, j is the flow area of ​​node j, △t represents the time step, △x represents the space step, Q is the water flow rate, θ is the angle between the tangent line of the lower edge of the radial gate and the horizontal direction, q l is the lateral inflow or outflow per unit length of the channel pond, assuming

[0122] Then set the channel pool steady-state operating point to e, then: Q + =Q + | e +δQ+,Z + =z + | e +δz +

[0123] Where: Q n+1 Abbreviated as Q + , δQ + and δz + They are the channel equilibrium flow Q + | e and water level z + | e small deviation.

[0124] Assume that the flow area A of node j is j A j =B j δz j , further incremental linearization expression:

[0125] The improved transformation of the momentum equation uses the Pressimann four-point eccentric format to discretize the time domain momentum equation and linearize it incrementally at the steady-state operating point.

[0126] Where: R is the hydraulic radius.

[0127] Description of gate overcurrent:

[0128] Where: μ is a coefficient including the lateral contraction coefficient, submergence coefficient, and discharge coefficient; b is the flow width of the gate; h is the water depth of the regulating pool; and e is the gate opening.

[0129] Then, for the aforementioned internal and external boundary conditions, the basic equations for unsteady flow calculation are formed: AX = B

[0130] Specifically, the actual channel status can be used as the monitoring expectation, and the control expectation can be to stabilize the water flow in a short period of time. Then, the simulation results can be combined with the expectation to form deviation feedback, and the deviation from the expectation can be continuously fed back and adjusted. The simulation can be continued to continuously improve the spatial model. At the same time, the channel operation and maintenance mode can be verified from the prototype test based on the actual situation, and the layout of subsequent monitoring points and the rationality of the operation of water diversion, water distribution and water supply channels can be obtained, and finally the overall structural composition and control operation mode can be determined.

[0131] By establishing a state-space model, we can verify the accuracy of the monitoring point establishment and whether the overall water flow conditions can be reflected through limited monitoring data. We can also verify the operation status and the control effect of the combined opening and closing of the gates. Through the combination of digital twin model simulation and prototype testing, we can then carry out the verification of the current structure. Before the final implementation of the monitoring point layout, we will verify the accuracy of the water level and flow measurement through the constructed hydrodynamic model and model testing. Based on the type of monitoring station determined by the preliminary device structure plan, we will verify whether the state-space model can accurately reflect the current status of the entire system under different water levels, flow conditions, and in different states, and whether the whole system can be coordinated and connected.

[0132] During the verification process, if the simulation test results show deviations from the actual expected measurement accuracy and control effect, it is necessary to take measures to adjust, such as: optimization and improvement of monitoring station types and selection, rearrangement of monitoring stations at station sites, adjustment of control devices in position and structure, etc. After completing one stage of adjustment based on the current model simulation feedback, continue to implement the next stage of simulation, and continue to feedback and adjust, and continue this process until the position of the monitoring station in the state space model can accurately describe the actual working conditions and can cope with and connect different working conditions and channel states.

[0133] Specifically, in one embodiment, the above-mentioned step S23, as shown in FIG4 , specifically includes the following steps:

[0134] Step S231: decoupling the opening of each gate and the flow rate of upstream and downstream according to the water supply relationship and the state space model to obtain a first correlation between the flow rate and the gate opening.

[0135] Step S232: extracting water level data of the regulating pond corresponding to different gate openings from the attribute information.

[0136] Step S233: performing correlation analysis on the water level data and the flow rate data to obtain a second correlation between the flow rate and the water level.

[0137] Step S234: establishing a control model according to the first association and the second association.

[0138] Specifically, decoupled calculations are used to analyze the relationship between water level and flow changes upstream and downstream of the channel system caused by gate opening or closing. Because gate operation and flow disturbances create complex interactions, combined with flow-gate sensitivity indicators, the relationship and extent of the gate group's control over water diversion and regulating reservoir water levels can be determined, thereby forming a control model.

[0139] A single gate needs to be decoupled from both the flow and water level perspectives, with decoupling calculations primarily focused on the upstream and downstream sides of the gate. Furthermore, two modes of propagation, transmission, and superposition of disturbances are considered: from upstream to downstream and from downstream to upstream. Assuming that the coupling effects will not affect the water supply source of the diversion channel or the receiving areas corresponding to each diversion outlet, the downstream of the diversion gate is used as the starting point and the upstream of the diversion outlet as the boundary of the impact. Furthermore, the effects of fluctuating head losses during disturbance transmission and hydraulic disturbances between diversion outlet gates are neglected. This rationally simplifies and centralizes the interactions and interferences between actuators during control operations.

[0140] By applying decoupling calculations, the overlapping and interactive effects between gates complicate the coordinated control of channel gates. By analyzing the coupling relationships, a decoupling link is introduced into the operational control of water diversion and diversion. This reduces the mutual influence of the hydrodynamic disturbances generated during the operation of each gate on the water flow and gate control disturbances. Furthermore, the effects of these complex disturbances are eliminated during the development of the control method, thereby facilitating the implementation of the control process. Applicable decoupling methods include, but are not limited to, feedback decoupling, complex vector decoupling, category decoupling, decoupled deep networks, and decoupling using adapter patterns. Using the improved dynamically enhanced coordinated decoupling control algorithm as an example, this paper presents an application example of the control of water diversion, diversion, and supply, illustrating the application of decoupling calculations in the coordinated control of gates in water supply channel systems.

[0141] a. Decoupling control algorithms are used for individual gates. The action variables are divided into gate opening output decoupling and flow output decoupling. By combining the action variables, the gate opening and flow are decoupled from the upstream and downstream directions of the gate channel.

[0142] b. Decoupling the diversion gates upstream by transferring the current gate operation volume upstream to the diversion gates to speed up the time required to change the flow through the regulating tank and the corresponding channel, thereby preventing the control application, especially the flow disturbance generated by the control, from propagating in the upstream diversion direction.

[0143] c. Decoupling the diversion gates of the diversion channel downstream by transferring a portion of the current diversion gate operating volume to the downstream diversion gates prevents the propagation of control disturbances downstream, thus isolating the impact of the diversion gate opening on subsequent water diversion and supply.

[0144] d. Integrate the flow output decoupling and the opening output decoupling in practical application, use flow control as indirect decoupling, and use the actual gate as the control structure. To this end, a flow controller is used to convert the flow output into a gate opening output. This not only effectively isolates the coupling transmitted to the downstream direction, but also speeds up the control system's response to disturbances.

[0145] 5. A control process based on decoupled calculations is formed. When the flow rate in the diversion channel changes, causing the water level in the regulating tank to deviate from the target value, the water level error will be feedback controlled to obtain the flow error for the diversion channel. This error is then added to the output flow rate obtained by the upstream decoupling calculation and input into the control model. The control model calculates the opening adjustment value of the diversion gate and controls the gate actuator for operation. By maintaining the stability of the regulating tank water level, fluctuations in the water diversion volume to the diversion outlet can be alleviated, and upstream flow changes will not be transmitted downstream. The coupling effect generated by the control is also taken into account, thereby eliminating the transmission and superposition of disturbances. At the same time, when the water diversion volume at the diversion outlet deviates from the set value, the gate opening can be adjusted and opened and closed based on the decoupled output, avoiding the complex hydrodynamic disturbances and effects during the combined operation of gate groups at different locations.

[0146] The decoupling calculation control algorithm here is for the decoupling of gate opening output and the decoupling of the diversion gate to the diversion gate in the diversion channel: ΔG i (k) = KP i Δe i (k)+KI i e i (k-1)+KD i ΔG i (k)

[0147] Decoupling of the diversion gate to the diversion gate:

[0148] ΔG i (k) = KP i Δe i (k)+KI i ei (k-1)+KD0ΔG i (k)

[0149] Output decoupling for traffic flow:

[0150] Where: G i is the opening of the i-th gate corresponding to the i-th diversion outlet, is the water diversion volume of the corresponding i-th gate diversion outlet, e i KP represents the deviation between the water level before the gate of the water diversion outlet i and the corresponding water supply target setting, k represents the time period; i KI i They represent the proportional coefficient and integral coefficient of the i-th water diversion outlet in the model algorithm, and the subscript 0 represents the coefficient of the water diversion gate at the diversion channel; KD0, KD i are the gate opening and the decoupling parameters for flow output decoupling, respectively.

[0151] Decoupling parameters are determined through simulation methods. The initial operating conditions of each component are set based on hydrodynamic simulation. Simulation time and step size are specified based on actual conditions (e.g., 24 hours of simulation time and 3 minutes of simulation step size). During the simulation process, relevant control coefficients and decoupling parameters are continuously adjusted. The values ​​of the decoupling parameters are continuously revised based on the water level error process curve. The decoupling effect of the flow output and gate output in the upstream and downstream directions is then analyzed. The manner and extent to which gate control affects water level and flow are then analyzed. Combined with the fluctuations in water level and flow, a judgment is made on system stability under decoupling to ensure balanced system stability and response speed.

[0152] Based on the coupling effects between gate controls and the coordinated application of flow rate decoupling and gate opening decoupling, algorithms for water diversion, diversion, and supply control are derived, generating a control model. This facilitates the subsequent determination of the feedback control link within the control model based on preset control targets, forming a control process: The water diversion volume at the diversion outlet and the water level in the regulating reservoir are monitored. When the diversion volume deviates from the preset control target and the regulating reservoir water level deviates from the steady-state range, the deviations of the water level and diversion volume from the set values ​​are used as inputs to the control terminal. Based on the regulating reservoir water level deviation, the corresponding flow change ΔQ in the diversion channel is calculated. A decoupling controller calculates the decoupled flow rate, which, along with the feedback flow rate, is input to the flow controller at the control terminal. This flow controller then outputs the gate opening change ΔG. The control process converts all control conditions into control information for each gate opening, and controls the upstream regulating reservoir water level and downstream diversion outlet flow rate accordingly, achieving final control data with decoupling of the opening in both the upward and downward directions.

[0153] Specifically, in one embodiment, the monitoring data in the above step S3 includes gate opening data, flow data and water level data, as shown in FIG5 , and specifically includes the following steps:

[0154] Step S31: Obtain a preset monitoring period.

[0155] Step S32: The opening data of the diversion gate and the water diversion gate, the flow data upstream and downstream of each gate, and the water level data of the regulating tank are collected according to the preset monitoring period.

[0156] Specifically, by setting a monitoring cycle and collecting data regularly, the time of the monitoring cycle can be changed according to time or accuracy requirements, which has higher flexibility.

[0157] Specifically, in one embodiment, the water supply network system is composed of multiple water diversion channels connecting the water supply channels to draw water from the water supply channels; at the same time, each water diversion outlet is also connected to the water supply channel of the next level for water supply, thereby forming a complex water supply network system with multi-stage regulating tanks.

[0158] Specifically, in one embodiment, the above step S3, as shown in FIG6 , further includes the following steps:

[0159] Step S331: Compare the water level data and flow rate data with the preset control target value to obtain deviation data.

[0160] Step S332: Determine whether the deviation data is greater than a preset deviation value.

[0161] Step S333: If the deviation data is less than or equal to the preset deviation value, the process returns to monitoring the actual openings, flow rates, and water levels of the diversion and diversion gates, as well as the regulating tank's internal water level. Specifically, if the current water supply is consistent with the target, gate control is not required. Subsequent steps are not performed until a significant error occurs requiring control adjustments.

[0162] Step S334: When the deviation data is greater than the preset deviation value, the water level data and the flow data are denoised to obtain updated monitoring data, and the step of inputting the monitoring data and the preset control target value into the control model is executed based on the updated monitoring data.

[0163] Specifically, because the water level fluctuates, and the water level under non-steady-state control is inherently dynamic, changing, and fluctuating, data filtering is performed using methods including, but not limited to, ADRC active disturbance rejection control, clipping filtering, median filtering, arithmetic mean filtering, recursive averaging filtering, median averaging filtering, clipping averaging filtering, debouncing filtering, and Kalman filtering.

[0164] Specifically, the disturbances generated during the monitoring process can be processed by taking ADRC as an example. Its components can be divided into three parts: tracking-differentiator (TD), extended state observer (ESO), and state error feedback law (SEFL), forming the algorithm structure shown in Figure 7:

[0165] Where X is the real-time input signal, X1 is the approximate input extracted by the differential tracker, and X2 is the differential signal; e1 and e2 are both error signals; z1, z2, and z3 are the state observation signals of the extended state controller; u0 is the input control gain, u is the controller input, and b0 is the feedback compensation factor; mg0 represents large-scale and large-load fluctuations; and Y is the relative deviation between the output current channel water level flow and the steady state.

[0166] Assume that the measured value at a certain location is affected by three aspects: itself, the diversion gate group, and the regulating pond. The monitoring data of the three monitoring points are described through new state variables:

[0167] Where: T ab represents the inertia time constant of the channel gate linkage control; e x 、e g etc. are all constants of self-regulating coefficients, m g0 Indicates large load fluctuations. By processing the measured data with the auto-disturbance rejection algorithm, accurate water level and flow measurement information can be obtained, removing disturbances and noise.

[0168] A conversion mechanism from real-time continuous monitoring to discrete sampling acquisition is developed for monitoring data acquisition, with corresponding time paths and methods. Based on the application of the ADRS algorithm, a fuzzy sampling data controller based on the parallel compensation principle is developed. Furthermore, periodic sampling conditions are applied to real-time data collection to form a preprocessor for water level and flow monitoring. Two data state feedback loops with fuzzy rules are designed for water level and flow inputs, respectively, as follows:

[0169] R1:IF z(t k )is M1(z(t k ))(near 0), THEN u(t)=K 1 x(t k )

[0170] R2:IF z(t k )is M2(z(t k ))(near±d), THEN u(t)=K 2 x(t k )

[0171] Where: K 1 , K 2are the feedback gains of the two rules to be designed respectively; u(t) is the output vector in the corresponding rule; t k It is a fixed time point (also a fixed time period) for monitoring data collection. At time t k The initial monitoring value x(t) is sampled by the zero-order holder and is obtained by the piecewise function x(t k ) reflects the real-time monitoring of water level and flow information; similarly, it also indicates that the water level and flow subsystems are in t k The state vector at the moment. The total defuzzified output u(t) of the data fuzzy controller is combined with the discrete control signal u d (t) can be expressed as u(t) = u d (t k ), and further introduce the i-th local model weight h i (z(t)), which means: As the design of the controller for data acquisition and preprocessing in the present invention.

[0172] This method can obtain the output from the zero-order holder (ZOH) under two rules, converting the continuous real-time, initial monitoring into periodic regularized water level and flow monitoring, and obtaining a closed-loop model with fuzzy sampled data control law:

[0173] And its corresponding discretized system model:

[0174] Where: A i is the coefficient matrix of the control transfer function, B i is the control input coefficient matrix, h i represents the i-th local model weight, h is a constant sampling period, h j is the real-time monitoring value obtained by the jth sampling, and s is the time constant of the fuzzy controller for data acquisition.

[0175] The fuzzy linearization system and the fuzzy control of the sampling data are combined with each other. The sampling process of the water level and flow signals of the water diversion, water distribution and water supply systems is collected at regular time intervals to obtain real-time monitoring data. These monitoring data containing interference and noise are used as external input signals W. Then, the regulation system and the corresponding sampler S and fuzzy controller K are added. d , zero-order holder H, constitutes a fuzzy system for data acquisition preprocessing. Based on the external input signal W, it is first converted into a sampling operation input signal Y suitable for sampling operation control. Then, through the combination of water level and flow monitoring equipment and samplers, the discrete state value Y with periodic regularity is obtained from the continuous real-time water level and flow parameter changes. d, and then the discrete state value is converted into a discrete signal U by the discrete time fuzzy controller. d , further passes through the zero-order holder to form the control input U, and again passes through the automatic processing system to obtain the corresponding output Z.

[0176] By adding an anti-disturbance algorithm and combining it with discrete monitoring data of fuzzy sampling, it is unified into real-time state monitoring evaluation and deviation processing. The real-time initial monitoring data is used as input to process disturbances and deviations in the monitoring process, and accurate water level information with disturbances and noise removed is obtained.

[0177] Specifically, in one embodiment, before executing the above step S5, as shown in FIG7 , the following steps are specifically included:

[0178] Step S41: Constructing a prediction model based on the water supply transmission information, the state space model and the hydrodynamic model.

[0179] Step S42: input the control data into the prediction model to predict the water level data and flow data after the opening is adjusted to obtain the prediction results.

[0180] Step S43: Determine whether the difference between the prediction result and the preset control target value is greater than a preset threshold.

[0181] Step S44: If the difference is greater than the preset threshold, the model parameters of the control model are adjusted, and the process returns to the step of inputting the monitoring data and the preset control target value into the control model to obtain the control data, until the difference is less than or equal to the preset threshold.

[0182] Specifically, the control model is continuously adjusted through the prediction model to effectively improve the accuracy and reliability of the control model. The process of establishing the prediction model is as follows:

[0183] Deep learning is applied to form a correction mechanism for instability, and a regression model is used to establish a state space. Combined with the use of a hydrodynamic model, a prediction function model is formed. Fuzzy neural networks are used for input stratification and classification. Mechanism control and prediction model control based on fuzzy neural networks are used to form a transition and connection from principle control to fuzzy control and predictive control, realizing a prediction function based on the state space model.

[0184] First, through supervised learning and the above state space model, the gate is subjected to the equation of water level and flow according to the water mass conservation and gate outflow formula: Q j =Q j+1 =Q g

[0185] Where: Q g is the flow rate through the gate, C dis the gate discharge coefficient, u is the gate opening, and b is the gate width. It can be expressed as a matrix solution space: A L δx(k+1)=A R δx(k)+Bδu(k)

[0186] Where: δx(k)=[δQ j δz j δQ j+1 δz j+1 ] T , δu(k)=[δu] T .

[0187] To process the disturbance term, let nodes j and j+1 be the two nodes before and after the water diversion outlet respectively, Q p is the water flow of the water diversion port, then the relationship between the water level and flow between nodes j and j+1 is: j -Q p =Q j+1 z j =z j+1

[0188] Furthermore, according to the model conversion matrix, a calculation node is used to correspond to the two variables of water level and flow, and the gate boundary term is introduced to increase the sparsity of the model conversion matrix. The corresponding correspondence is as follows:

[0189] The processed model is converted into a general expression of the system state equation: x(k+1)=Ax(k)+B u u(k)+B d d(k)

[0190] Where: A=(A L ) -1 A R , B u =(A L ) -1 B, B d =(A L ) -1 C. And matrices A, B u and B d The error signal is segmented and matched to the control signal input according to rules and membership functions, thus constructing the state space of the water supply system.

[0191] Based on this, the parameters of the prediction model function are learned, and then the prediction model is constructed through feedback and adjustment. The prediction problem is solved using a regression model, using the water level values ​​at multiple points in the control process at the same time in each sample as the independent variable and the corresponding gate control guidance as the dependent variable. Applicable regression analysis methods include but are not limited to: linear regression, logistic regression, polynomial regression, stepwise regression, ridge regression, lasso regression, and elastic net regression. This creates a nearly continuous mapping output between the independent and dependent variables.

[0192] The state space of the water supply system is used as the controlled model object, and simulated control is applied to it, with the output guiding gate control. A regression model is then used to quantitatively describe the statistical relationship between input and output in the sample, such as the different water level feedbacks caused by different control operations under similar operating conditions. Further adjustments to the state space expression are combined to form a predictive modeling technique. This technique studies the relationship between water level, flow, and the control of each gate opening, as well as the impact of variables under different circumstances. Testing, feedback, and adjustments are then conducted to form regression-predictive analysis, statistical testing, and specific problem significance testing, ultimately achieving application.

[0193] Then, we continue to apply regression verification to the state space model to obtain the parameters of the prediction function applicable to the present invention. Through simulation, calculation, feedback adjustment, we verify and finally determine the parameters of the prediction function, and obtain a reasonable prediction model. Taking the water level as input, we can predict the subsequent trend of water level and flow after the control decision is made. The k+1 moment prediction model obtained by induction is used as the linear combination of basis functions {f k} to represent the control input, which can solve the problem of unclear control input and effectively reduce the amount of online calculation. It can be expressed as:

[0194] Where: u(k+i) represents the control quantity, J represents the number of basis functions, μ j (k) represents the linear weighting coefficient obtained by optimizing the basis function, f kj (i) represents the value of the odd function at a time point within the sampling period.

[0195] Further supplement the construction of the prediction model function:

[0196] Where: x m The prediction model representing the device system status, gm Represents the prediction model of the gate opening in the system, represents the free response output, μ(k)g k (i) indicates forced response output.

[0197] The predictive control of water diversion, water distribution, and water supply according to the present invention is defined as a control method that uses a forward sliding control period, and continuously corrects the prediction of the water level deviation of the control point in the subsequent period based on the current state of the channel. For example, if the water diversion flow changes at time K, the change value of the water level of the control point in the next N time periods is inferred. By comparing it with the set value of the water level of the control point, the model parameters are adjusted by adjusting the control input to obtain a new predicted value. In this way, based on the actual measured value of the current period, the control input or the control model parameters are continuously adjusted to ultimately maintain the constant water level of the control point. The main feature of predictive control is that current actions are determined by future changes. During actual operation, the channel operation status is adjusted in real time according to the changes in the future water distribution target setting. The control decision at the current moment is made based on the information such as what requirements the system should meet in the future and how the system's future external interference will change.

[0198] Through an expanded error system containing M-step future information, the quadratic optimal regulator design method is used to solve the optimal control law of the system. Error system: x0(k+1)=Φx0(k)+G u Δu(k)+G d Δd(k)

[0199] Where: e(k) is the error signal after first-order difference, the system matrix of the error system is Input Matrix Perturbation Matrix

[0200] Assume that the change of external disturbance can be predicted M steps in advance, and define: Δd(k+i)=0, i=M+1,M+2,…

[0201] Then, using the predictive modeling approach, we expand the error system to include M-step future disturbance information:

[0202] Where: G M =[G d o],

[0203] Based on this, the expression of control decision guidance is obtained:

[0204] Where, The positive definite matrix P is the solution of the Riccati equation.

[0205] A fuzzy control mechanism based on the prediction function is obtained. The prediction model is combined with the generation of intelligent plans, and then applied to complex water supply, which can form a predictive control of the state space. On the basis of fuzzy control, the fuzzy neural network is further introduced, and the classification problem of the input state is essentially regarded as the regression of each category. From the classification point of view, the input is classified and layered, corresponding to the reasonable state in the state space under fuzzy control, and discrete linkage control guidance is output. The present invention uses the loss function to make an assumption on the distribution of labels as a premise, and then uses the maximum likelihood method to derive the maximum likelihood formula composed of all samples, and then uses the convex optimization method (gradient descent method) to solve the regression model.

[0206] Where: y i is the predicted value, and n is the number of sample data used for the regression model.

[0207] Furthermore, the system device regulation system, as the generalized controlled object in the present invention, utilizes a fuzzy neural network decoupling control algorithm to obtain the desired and actual output vectors, input vectors, and control vectors. Fuzzy neural network training is then performed, with the number of training cycles and initial parameters set in advance, including the center and width of the Gaussian function, and the weights of the neural network. The input signal is then added to the FNN channel. The objective function is solved to determine whether it meets the required accuracy. If the accuracy is unsatisfactory, the fuzzy neural network parameters are readjusted and the objective function is recalculated. Training terminates when all samples meet the required accuracy or the number of training cycles reaches the set value.

[0208] In this embodiment, a water supply network system control device is also provided. The water supply network system includes: at least one regulating tank, the water supply end of the regulating tank is connected to the water diversion channel, the water outlet end is provided with a plurality of water diversion ports, the water diversion channel is provided with a water diversion gate, and the water diversion port is provided with a water diversion gate. The device is used to implement the above-mentioned embodiments and preferred implementation methods, and those that have been explained will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, it is also possible and conceivable to implement it in hardware, or a combination of software and hardware.

[0209] This embodiment provides a water supply network system control device, as shown in FIG8 , including:

[0210] The acquisition module 101 is used to obtain the attribute information of the water diversion channel and the regulating tank in the water supply network system, the flow information of the upstream and downstream gates corresponding to different gate openings of the water diversion gate and the water diversion gate, and the water supply relationship between the water diversion gate and the water diversion gate. For details, please refer to the relevant description of step S1 in the above method embodiment, which will not be repeated here.

[0211] Establishing module 102 is used to establish a control model based on attribute information, flow information and water supply relationship. For details, please refer to the relevant description of step S2 in the above method embodiment, which will not be repeated here.

[0212] The monitoring module 103 is used to monitor the actual opening, flow rate and water level in the regulating tank of the water diversion gate and the water diversion gate to obtain monitoring data. For details, please refer to the relevant description of step S3 in the above method embodiment, which will not be repeated here.

[0213] The calculation module 104 is used to input the monitoring data and the preset control target value into the control model to obtain control data. For details, please refer to the relevant description of step S4 in the above method embodiment, which will not be repeated here.

[0214] The adjustment control module 105 is used to adjust the opening of the water diversion gate and the water diversion gate according to the control data. For details, please refer to the relevant description of step S4 in the above method embodiment, which will not be repeated here.

[0215] The water supply network system control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0216] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.

[0217] According to an embodiment of the present invention, a water supply network system is further provided, as shown in FIG9 , the water supply network system includes:

[0218] At least one regulating tank 1006 is installed. The water supply end of regulating tank 1006 is connected to the water diversion channel 1004, and the water outlet is equipped with several water diversion ports 1008. The water diversion channel 1004 is equipped with a water diversion gate 1005, and the water diversion ports 1008 are equipped with water diversion gates 1007. Specifically, water flows from the water supply channel 1003 to the water diversion channel 1004, passes through the regulating tank 1006, and then flows to the various water diversion ports 1008. The water diversion gates 1005 are installed at the outlet of the water diversion channel 1004 to control the water flow. The addition of regulating tanks 1006 to connect the various water diversion ports 1008 provides secondary regulation to supplement the control deficit. The water diversion gates 1007 are then installed at the front of each water diversion port 1008 to adjust the water diversion volume. By controlling the gate opening, different water supply demands can be met. When the water level in the regulating pond 1006 drops, the diversion gate 1005 is opened to increase water supply to ensure stable water supply. If the water level rises above a specified value, the diversion gate 1005 is closed. Alternatively, for dynamic regulation, the opening of the diversion gate 1005 is controlled to simultaneously control the water level in the regulating pond 1006 while supplying water. If the water diversion volume at certain diversion outlets 1008 deviates from the set water intake target, the flow rate at the diversion outlet 1008 is controlled by adjusting the opening of the corresponding diversion gate 1007, ensuring that fluctuations in water level and flow remain stable within the specified range.

[0219] The system further includes: a processor 1001 and a memory 1002 , wherein the processor 1001 and the memory 1002 may be connected via a bus or other means, and FIG10 takes the bus connection as an example.

[0220] The processor 1001 may be a central processing unit (CPU). The processor 1001 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0221] Memory 1002, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as the program instructions / modules corresponding to the methods in the method embodiments of the present invention. Processor 1001 executes the non-transitory software programs, instructions, and modules stored in memory 1002 to perform various processor functions and data processing, thereby implementing the methods in the above-mentioned method embodiments.

[0222] The memory 1002 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created by the processor 1001, etc. In addition, the memory 1002 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 1002 may optionally include a memory remotely located relative to the processor 1001, and these remote memories may be connected to the processor 1001 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0223] One or more modules are stored in the memory 1002 and, when executed by the processor 1001 , perform the method in the above method embodiment.

[0224] The system also includes: a plurality of sensors arranged at the diversion gate, regulating tank and diversion gate for collecting gate opening, flow data and water level data.

[0225] The specific details of the above-mentioned water supply network system can be understood by referring to the corresponding descriptions and effects in the above-mentioned method embodiments, and will not be repeated here.

[0226] In order to demonstrate the performance of the water supply network control system in the present invention, six series-connected channels and pools were used as examples to design two water diversion conditions for gate control tests, which were compared with the PI control algorithm. The initial flow rate is shown in Table 1, and the two water diversion conditions are shown in Table 2.

[0227] Table 1 Initial flow rate

[0228] Table 2 Water distribution condition settings

[0229] For the design experiment, each gate faces the same situation, and the same initial conditions are set for each controller. The following performance indicators are set: stabilization time t, deviation extreme value σ, and oscillation number n. The control results are shown in Table 3.

[0230] Table 3 Stable time t, deviation extreme value σ, and oscillation number n of each control object under different algorithms

[0231] Comparing the present invention with a PI controller reveals significant advantages in terms of stabilization time t, deviation extreme value σ, and number of oscillations n. Shorter stabilization time results in faster response, smaller deviation extreme value means higher control accuracy, and fewer oscillations represent greater stability. Therefore, the water supply network system, control method, device, and storage medium proposed in this invention can effectively address nonlinear issues such as gate control in water supply networks and have great potential for application in real-time control.

[0232] Those skilled in the art will appreciate that all or part of the processes in the above-described embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-described embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD). The storage medium can also include a combination of the above-mentioned types of memory.

[0233] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A water supply network system control method, characterized in that: The water supply network system comprises: a water supply channel, a plurality of water diversion channels, a water diversion gate and a regulating pool corresponding to the number of water diversion channels, a plurality of water diversion gates and a plurality of water diversion ports, the water supply channel is connected to the plurality of water diversion channels, the water diversion channel is connected to the water diversion end of the regulating pool through the water diversion gate, the water outlet of the regulating pool is connected to the plurality of water diversion ports through the water diversion gate, and the control method comprises: Acquire the attribute information of the water diversion channel and the regulating pool in the water supply network system, the flow information of the upstream and downstream of the water diversion gate and the water diversion gate corresponding to different gate openings, and the water supply relationship between the water diversion gate and the water diversion gate; Establishing a control model according to the attribute information, the flow information and the water supply relationship; The actual opening degree and flow rate of the water diversion gate and the water diversion gate and the water level in the regulating pond are monitored to obtain monitoring data; Inputting the monitoring data and the preset control target value into the control model to obtain control data; The openings of the water diversion gate and the water diversion gate are adjusted according to the control data.

2. The water supply network system control method according to claim 1, characterized in that: A control model is established according to the attribute information, the flow information and the water supply relationship, including: Establishing a hydrodynamic model according to the flow information and the attribute information; Optimizing the hydrodynamic model based on preset steady-state information to construct a state space model; The state space model is decoupled and analyzed according to the water supply relationship to obtain a control model.

3. The water supply network system control method according to claim 2, characterized in that: The step of optimizing the hydrodynamic model based on the preset steady-state information to construct a state space model includes: Discretizing equations in the hydrodynamic model; Linearizing the transformed equations based on preset steady-state information; Generate a state-space model from the linearized equations.

4. The water supply network system control method according to claim 2, characterized in that: The decoupling analysis of the state space model is performed according to the water supply relationship to obtain a control model, including: Decoupling the opening of each gate and the flow rates of upstream and downstream according to the water supply relationship and the state space model to obtain a first correlation between the flow rate and the gate opening; Extracting water level data of the regulating pool corresponding to different gate openings from the attribute information; Performing correlation analysis on the water level data and the flow rate data to obtain a second correlation between the flow rate and the water level; A control model is established according to the first association and the second association.

5. The water supply network system control method according to claim 1, characterized in that: The monitoring data includes gate opening data, flow data and water level data. The actual opening, flow rate and water level of the diversion gate and the diversion gate are monitored to obtain the monitoring data, including: Get the preset monitoring period; According to the preset monitoring period, the opening data of the water diversion gate and the water diversion gate, the flow data upstream and downstream of each gate and the water level data of the regulating tank are collected respectively.

6. The water supply network system control method according to claim 5, characterized in that: The method further comprises: Comparing the water level data and the flow rate data with the preset control target value to obtain deviation data; Determining whether the deviation data is greater than a preset deviation value; When the deviation data is less than or equal to the preset deviation value, returning to the step of monitoring the actual opening, flow rate and inner water level of the regulating tank of the water diversion gate and the water diversion gate; When the deviation data is greater than the preset deviation value, the water level data and the flow data are denoised to obtain updated monitoring data, and based on the updated monitoring data, the step of inputting the monitoring data and the preset control target value into the control model is executed.

7. The water supply network system control method according to claim 2, characterized in that: Before adjusting the openings of the water diversion gate and the water diversion gate according to the control data, the method comprises: constructing a prediction model based on the water supply transfer information, the state space model and the hydrodynamic model; Inputting the control data into the prediction model to predict the water level data and flow data after the opening is adjusted to obtain a prediction result; Determine whether the difference between the prediction result and the preset control target value is greater than a preset threshold; If the difference is greater than a preset threshold, the model parameters of the control model are adjusted, and the step of returning to inputting the monitoring data and the preset control target value into the control model to obtain control data is repeated until the difference is less than or equal to the preset threshold.

8. A water supply network system control device, the water supply network system comprising: At least one regulating pool, the water supply end of the regulating pool is connected to the water diversion channel, the water outlet end is provided with a plurality of water diversion ports, the water diversion channel is provided with a water diversion gate, the water diversion port is provided with a water diversion gate, and the device comprises: An acquisition module, used to acquire attribute information of a water diversion channel and a regulating pool in a water supply network system, flow information of upstream and downstream gates corresponding to different gate openings of a water diversion gate and a water diversion gate, and a water supply relationship between the water diversion gate and the water diversion gate; An establishing module, used for establishing a control model according to the attribute information, the flow information and the water supply relationship; A monitoring module, used to monitor the actual opening, flow rate and water level of the regulating pond of the water diversion gate and the water diversion gate to obtain monitoring data; A calculation module, used for inputting the monitoring data and the preset control target value into the control model to obtain control data; The adjustment control module is used to adjust the opening of the water diversion gate and the water diversion gate according to the control data.

9. A water supply network system, characterized in that: include: At least one regulating pool, wherein the water supply end of the regulating pool is connected to the water diversion channel, the water outlet end is provided with a plurality of water diversion ports, the water diversion channel is provided with a water diversion gate, and the water diversion port is provided with a water diversion gate; The system further includes: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the water supply network system control method according to any one of claims 1 to 7 by executing the computer instructions.

Citation Information

Patent Citations

  • Method and device for automatically controlling water levels of multiple channel sections

    CN101935996A

  • Open channel water level control method based on input and output feedback and generalized predictive control

    CN109765942A

  • Open channel water delivery system accident identification method

    CN113343439A

  • Full-canal-system self-adaptive predictive control method for water networking irrigation area

    CN114415520A

  • Irrigation area whole canal system management and control system based on hydrodynamic model

    CN115146566A

Cited By

  • General lockage flow calculation method under downstream boundary information missing condition

    CN119538578A

  • Channel hopper opening flow determination method and device, electronic equipment and storage medium

    CN119714441A

  • Intelligent early warning and notification method and system for secondary water supply system and medium

    CN119990545A

  • Load feedback-based medium gangue bin gate hydraulic control system

    CN120469240A

  • Intercommunication pipeline control method and system for emergency adjustment of double pools

    CN120610494A