Method for generating control signals adapted to be sent to actuators in a water drainage network
10845770 · 2020-11-24
Assignee
Inventors
- Gabriela Cembrano (Barcelona, ES)
- Bernat Joseph Duran (Canet de Mar, ES)
- Joseba Quevedo (Sant Cugat del Valles, ES)
- Vicenc Puig (Terrassa, ES)
- Maria Salamero (Barcelona, ES)
- Joaquim Marti (Barcelona, ES)
- Jaume Figueras Jove (Terrassa, ES)
Cpc classification
G05B11/32
PHYSICS
International classification
Abstract
The inventions comprises a computer implemented method for generating control signals adapted to be sent to actuators, such as gates and pumps, in a water drainage network DN in an area, said method comprising receiving DN data comprising one or more of DN topology of the area, rain intensity measures, water level measures, from the sensors or from an external source, generating or receiving objective functions to optimize, receiving a selection of a multi-objective optimization method, this multi-objective optimization preferably comprising lexicographic method or weighted sum method, generating an optimization problem, solving the optimization problem thereby generating the strategies to be sent to actuators in the water drainage network DN.
Claims
1. A computer implemented method for generating strategies to be sent to actuators such as gates and pumps in a water drainage network (DN), the DN comprising: one or more actuators adapted to receive generated control signals, one or more sensors, the one or more sensors adapted to capture data comprising one or more of a DN network topology of an area, the actuators and sensors in communication in the DN, said method comprising: generating a dynamic model for the entire DN from a set of elements received through a graphical user interface (GUI), receiving DN data comprising one or more of DN topology of the area, rain intensity measures, water level measures, from the sensors or from an external source, generating or receiving objective functions to optimize performance of the DN according to the generated dynamic model of the DN, receiving a selection of a multi-objective optimization method, generating an optimization problem, solving the optimization problem thereby generating the strategies to be sent to the actuators in the water drainage network DN; wherein the objective functions: vary according to DN network topology data, external data, a dynamic model of the DN, and a dynamic model of two or more elements, the dynamic models comprising variables; comprise optimization objectives for maximizing the volume of water sent to a waste water treatment plant (WWTP) and minimizing penalty functions related to combined sewer overflow (CSO) and flooding.
2. A method according to claim 1, comprising receiving initial values for the dynamic model of the DN, and the dynamic model of two or more elements, the two or more elements being at least the WWTP and the CSO, and initial values of the variables of optimization, either from a previous implementation of the method or from an external source.
3. A method according to claim 2, further comprising receiving a maximum inflow which the WWTP is adapted to treat, and a working inflow.
4. A method according to claim 1, wherein the dynamic model of the DN comprises data combining a level and flow of an inline storage element.
5. A method according to claim 1, further comprising the steps of: receiving a current state of the DN from a detailed hydrodynamic simulation method or from sensors distributed along the DN, the hydrodynamic simulator comprising virtual actuators to which virtual signals may be sent, generating and solving optimization functions for a predefined number N of control intervals in the hydrodynamic simulation method, sending a first set of control signals to the virtual actuators by the hydrodynamic simulation method, and receiving a validation if the objectives have been reached.
6. A method according to claim 1, wherein the dynamic model of the sewer comprises delays according to sewer geometry.
7. A method according to claim 1, wherein the two or more elements further comprise a detention tank and wherein the dynamic model of the DN comprises data regarding the detention tanks.
8. A system for generate strategies adapted to be sent to actuators in a water drainage network DN, said DN comprising: one or more actuators adapted to receive the generated control signals, one or more sensors, the one or more sensors adapted to capture data comprising one or more of the DN network topology of the area, the actuators and sensors in communication in the DN, a computing device comprising a processor; communication links between sensors, actuators and the computing device wherein the computing device comprises: a DN data receiver adapted to receive data from the one or more sensors, the DN data comprising one or more of DN network topology, rain level measures and flow measures, a generation module adapted to generate functions to optimize and to generate an optimization problem, an optimization solver adapted to optimize the optimization problem and adapted thereby to generate strategies by implementing a method according to claim 1; and a GUI; wherein the computing device is configured to receive objective functions to optimize and to receive a selection of a multi-objective optimization method.
9. A computer program product comprising a non-transitory computer readable medium storing code instructions that, when executed by a processor, generate control signals adapted to be sent to actuators in a drainage network DN for executing the method according to claim 1.
10. The method according to claim 1, wherein the DN network topology of the area includes one or more of rain intensity measures and water level measures.
11. The method according to claim 1, wherein the multi-objective optimization comprises a lexicographic method or a weighted sum method.
12. The method according to claim 1, wherein the external data comprises rain predictions.
13. The computer program product according to claim 9, wherein the DN is an urban water drainage network.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention will be better understood and its various characteristics and advantages will emerge from the following description of a number of exemplary embodiments and its appended figures in which:
(2)
(3)
DETAILED DESCRIPTION OF THE INVENTION
(4) In this specification, the invention will be described by way of examples related to generation of control signals adapted to be sent to actuators in a water drainage network.
Model
(5) The dynamic models use variables which describe the state of a DN and the effect of control actions thereupon. The variables may be volume, flow, water level and rain intensity. The objective functions may be mathematical representations of the operational objectives to be met, such as minimization of CSO.
(6) In an embodiment the method comprises receiving a maximum inflow which the WWTP is adapted to treat, and a working inflow. In this embodiment the dynamic model of the WWTP comprises data regarding a maximum inflow which the wastewater treatment plant WWTP is adapted to treat and the method comprises receiving a working inflow to generate the functions to optimize. The method has the advantage of optimal calculation depending on circumstances: for example, in case of changes in availability of sewers, tanks or actuators due to maintenance works or malfunction, the method computes optimal strategies at the specific current conditions of the network.
(7) An embodiment allows computing rain intensity forecasts or receiving these data from an external source.
(8) As a difference with the state-of-the-art methods to generate control signals adapted to be sent to actuators in a DN, this embodiment allows a better representation of a real DN, therefore providing control signals which are more likely to meet expected objectives. Technically this implies the nonlinear modelling of the DN having into account at the same time variables such as the water level in the elements of the DN and the flow. In particular in an embodiment the variables: flow and water level or height are taken into account simultaneously; the existence of delays of the transport of water may also be taken into account in sewers.
Model Predictive Control/Optimization
(9) A method according to the invention, generating or receiving a selection of objective functions to optimize, allows flexibility in terms of adaptation to different working conditions. In an example, the reception of an objective function is made by means of receiving means in a computer device which is connection to the actuators or sensors in the DN.
(10) The fact of generating functions and solving optimization functions for a predefined number N of intervals, allows solving the equations for a present time and also for subsequent time frames.
(11) A method according to the invention responds according to a reception of a selection of an optimization method therefore allowing the DN to automatically react in a non-expected situation. The selection may be generated by a computer implemented method for the selection of a multi-objective optimization procedure which may take into account rain intensity predictions or DN usage statistics or pre-established preferences for particular dates. The selection may be inserted by insertion means such as a keyboard on a computer or laptop. Among the possible selections, a weighted sum method provides an alternative for pre-establishing known priorities to different cost functions; for example, it is possible to pre-establish priority on avoiding diverting water to the sea and on a second level of priority it is possible to avoid streets flooding or vice versa. A lexicographic method allows prioritizing objectives by solving one-objective problems sequentially. A further possibility is to select a Pareto multi-objective optimization method.
(12) As an alternative, the objective optimization procedure may be mono-objective.
(13) Advantageously the reception of initial values allows calculating a control strategy for a first pre-established time frame, for example 30 minutes, every pre-established second time frame, for example 5 minutes. Thus, for example, it is possible to calculate optimization values for 30 minutes and correct them every 5 minutes: thus there may be 6 steps of 5 minutes for which the optimization is calculated.
(14) In an embodiment the method is applied iteratively every pre-established second time frame, e.g. 5 min and values of variables calculated in each iteration are stored. Then, every 5 min, there may be 5 future steps of 5 minutes for which the initial values of variables and initial values for the dynamic models may be known in an approximated manner and taken from the stored values thus accelerating the generation of control signals for this time.
SCADA/Telemetry
(15) The water level measures may be taken from the sewers, the tanks, the weirs or other elements with the use of sensors or limnimeters.
(16) In
(17) The system 100 in an example may be a urban drainage network UDN and comprises the elements:
(18) Sewers (11): The dynamic model of the sewer (11) may be a linear representation of the water transport flow dynamics in a sewer. It may contain delays, depending on the geometry of the sewers, such as length and inclination in an installation, and the rain intensity. The sewers (11) may delay the water coming from an entry point (111) to an exit point (112).
(19) Detention tank (14): The dynamic model of the detention tanks (14) may describe the dynamics of storage in a detention tank, taking into account the geometry, the level of stored water and the flows going into and out of the tank. The detention tanks are included in the dynamic model of a method according to the invention for taking into account emergency situations in which it is necessary to store big quantities of water.
(20) Weirs (20) or overflow by flow or water level: The dynamic model of the weir (20) may be a nonlinear mathematical representation of the effect of a passive detention barrier on the flow, which consists of distributing or diverting the excess flow when the water level reaches a certain physical limit. The dynamic model of the weirs (20) may also include level parameters as well as flow parameters; thus the distribution of water is not only calculated with regard to the flow but also with regard to the level of the gates of the weirs.
(21) Gates (15): The dynamic model of the gates (15) may comprise the effect of the flows through the gates; said flows may be modelled as variables for which an objective is to be met at the optimization step of a method according to the invention. The variables may be modelled as continuous variables within a range of admissible values.
(22) Pumps (18): The dynamic model of the pumps (18) may comprise the effect of the flows through the pumps. Said flows may be modelled as variables for which an objective is to be met at the optimization step of a method according to the invention. The flows through the pumps are control variables. They may be modelled as continuous variables within a range of admissible values.
(23) In-line storage sewer (19): The dynamic model of the in-line storage sewer (19) may comprise the dynamics of water storage phenomena occurring in large sewer mains or collectors, especially when a gate (15) controls the outflow. The model may take into account flows and levels along the in-line storage sewer (19) by a set of linear equations. Advantageously this allows modelling the capacity of the sewers which may be capable of storing water and thus allows counting quantities of water which are stored in the sewers if a gate is closed. The dynamic model of the in-line storage sewer (19) may also include level parameters as well as flow parameters; thus the distribution of water is not only calculated with regard to the flow but also with regard to the level of the gates of the in-line storage sewer (19). This provides a double vision of a sewer as a conveyor element and an storage element.
(24) Wastewater treatment plants WWTP: The dynamic model of the WWTP may comprise a model similar to a sink in the DN, with a constant capacity.
(25) CSO: The dynamic model of the may comprise the identification of excess water which the WWTP is not capable of treating and generates an increasing penalty function of this excess flow, to be minimized in the strategy optimization process.
(26) The system may also comprise a virtual Tank as an example of an inflow element, for example a rain inflow element. The dynamic model of the virtual tanks may comprise a linear representation of a hydrologic rainfall runoff phenomena in a catchment. A virtual tank is an element representing at least one of collection, storage and transport dynamics of a section of a drainage network DN using a tank model.
(27) The procedure to model the dynamics of the specific elements of DNs for the purpose of computing control strategies in a way that is representative of the complex hydraulic/hydrologic phenomena occurring in the system, but also simple enough to guarantee fast computation.
(28) A method according to the invention may receive a set of elements through a GUI and generate therefrom the dynamic model for each of them and also for the entire DN. A set of equations may be generate linking the elements together. A step for the validation of continuity may be implemented by a method according to the invention.
(29) A method for modelling operational goals for minimizing flooding and CSO may be combined with the goals of maximizing with WWTP usage, and may also be combined with the goal of providing smooth control actions; the smooth control actions may comprise strategies such as sending control signals for actuators every time frame over a predetermined threshold. Smooth control actions avoids changing the status of actuators abruptly, in order to prevent damaging the actuators.
(30) The user-defined priorities of said goals are also modelled by a method according to the invention and optionally, said method allows a user to customize a performance.
(31) In an embodiment a method according to the invention generates code to be sent automatically to a solver in an optimization library, for example GAMS.
(32) The invention is not restricted to these examples and can be applied to the generation of any control signals in a water drainage system.
(33)
(34) A method according to the invention may be implemented by computer means: in connection to the actuators represented in a non-limiting manner in
(35) The system 100 may comprise one or more virtual tanks, one or more detention tanks, one or more basins, one or more nodes, one or more overflow or overflow by flow, one or more overflow by water level one or more inline storage sewer, one or more detention gates, one or more diversion gates, one or more pumps, one or more rain gauges, one or more limnimeters, one or more receiving environment, for example the sea, one or more sewers, one or more waste water treatment plant WWTP.
(36)
(37) The control signals may comprise instructions to: open, close, move to a determined position, etc.
(38) For reasons of clarity, the computing means 216 of
Calibration/Validation
(39) A method according to the invention may further comprise the steps of: receiving a current state of the DN from a detailed hydrodynamic simulation method or from sensors distributed along the DN, the hydrodynamic simulator comprising virtual actuators to which virtual signals may be sent, generating and solving optimization functions for a predefined number N of control intervals in the hydrodynamic simulation method, sending a first set of control signals to the virtual actuators by the hydrodynamic simulation method, and receiving a validation if the objectives have been reached.
(40) The signals are sent to the virtual actuators to validate whether the configuration as set out in the DN which is optimizedor to be optimized by the methodwill in fact meet the objectives proposed. The validation is complete if the objectives are met, for example if the spills on sea water have been minimum. An embodiment of a method according to the invention implementing the above indicated steps allows checking the optimization before functioning in a real system.
(41) In an embodiment the dynamic model of the sewer comprises delays according to the sewer geometry. In an embodiment geometry comprises slope and length of sewers in the DN. Depending on the grade of the slope the water may take different delays to reach deposits. The delays may be based on experimental studies. The experimental studies may be received from a database or from a detailed hydrodynamic simulation method.