METHOD FOR GENERATING CONTROL SIGNALS ADAPTED TO BE SENT TO ACTUATORS IN A WATER DRAINAGE NETWORK

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 comprisingreceiving 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 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 such as rain intensity measures, water level measures, the actuators and sensors in communication in the DN, 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.

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 a waste water treatment plant WWTP and a combined sewer overflow 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 1 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 the level and flow of and 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 the 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 method according to claim 1 wherein the objective functions: vary according to DN network topology data, external data such as rain predictions, 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 the WWTP and minimizing the penalty functions related to CSO and flooding.

9. 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 such as rain intensity measures, water level measures, 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 receiving means for receiving objective functions to optimize and for receiving a selection of a multi-objective optimization method, an optimization solver adapted to optimize the optimization problem, the computing device adapted thereby to generate strategies by implementing a method according to claim 1.

10. A system according to claim 9 further comprising a detention tank and wherein the computing device is further adapted to generate control signals when implementing a method wherein the objective functions: vary according to DN network topology data, external data such as rain predictions, 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 the WWTP and minimizing the penalty functions related to CSO and flooding.

11. A system according to claim 9 wherein the computer means comprises receiving means adapted to receive one or more objective function to optimize.

12. A computer program product for generating control signals adapted to be sent to actuators in a drainage network DN, for example a urban water drainage network, said computer program product comprising code instructions for executing a method according to claim 1.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0065] 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:

[0066] FIG. 1 displays an example of a water drainage network comprising a set of sensors and actuators according to the invention.

[0067] FIG. 2 is a schematic view of a system according to the invention.

DETAILED DESCRIPTION OF THE INVENTION

[0068] 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

[0069] 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.

[0070] 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.

[0071] An embodiment allows computing rain intensity forecasts or receiving these data from an external source.

[0072] 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

[0073] 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.

[0074] 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.

[0075] 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.

[0076] As an alternative, the objective optimization procedure may be mono-objective.

[0077] 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.

[0078] 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

[0079] The water level measures may be taken from the sewers, the tanks, the weirs or other elements with the use of sensors or limnimeters.

[0080] In FIG. 1 a system 100 is represented which comprises a water drainage network DN. In the system 100 a computing device may be integrated in sensors or actuators and may be adapted to generate control signals when implementing a method according to the invention. The computing device comprises receiving means adapted to receive one or more objective function to optimize. The receiving means may comprise means for associating an objective function to one or more elements, actuators or sensors.

[0081] The system 100 in an example may be a urban drainage network UDN and comprises the elements:

[0082] 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).

[0083] 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.

[0084] 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.

[0085] 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.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] 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.

[0090] 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.

[0091] 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.

[0092] 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.

[0093] 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.

[0094] 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.

[0095] 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.

[0096] The invention is not restricted to these examples and can be applied to the generation of any control signals in a water drainage system.

[0097] FIG. 1 displays an example of a water distribution system 100 comprising a set of actuators: [0098] a weir overflow by flow 20, attached to [0099] a waste water treatment plant WWTP, to the sea and to [0100] a basin 21 by means of sewers 11, [0101] said basin 21 in connection to a detention gate 15 which is adapted to receive flow from [0102] a detection tank 14, said detection tank 14 connected to a second basin 21 by means of a sewer 11, [0103] a rain gauge 22 may measure the water level in the tanks.

[0104] A method according to the invention may be implemented by computer means: [0105] in connection to the actuators represented in a non-limiting manner in FIG. 1 and [0106] adapted to send control signals to said actuators, so that an optimal control of CSO is performed.

[0107] The system 100 may comprise [0108] one or more virtual tanks, [0109] one or more detention tanks, [0110] one or more basins, [0111] one or more nodes, [0112] one or more overflow or overflow by flow, [0113] one or more overflow by water level [0114] one or more inline storage sewer, [0115] one or more detention gates, [0116] one or more diversion gates, [0117] one or more pumps, [0118] one or more rain gauges, [0119] one or more limnimeters, [0120] one or more receiving environment, for example the sea, [0121] one or more sewers, [0122] one or more waste water treatment plant WWTP.

[0123] FIG. 2 shows an example of a system according to the invention. The arrows represent the direction of communication; the scheme of FIG. 2 comprises: [0124] a node 205 adapted to connect different sewers and elements, [0125] passive or hydraulic elements: [0126] an overflow by height 213, [0127] an overflow by flow 214. [0128] a virtual tank 203, [0129] a basin 204, [0130] sewer 207, [0131] inline storage 209, [0132] a detention tank 210, [0133] a waste water treatment plant WWTP and a receiving environment 215, [0134] sensors adapted to send measures or signals to computing means 216: [0135] a rain gauge 201, [0136] a flow meter 202, [0137] a limnimeter 208 in connection to an inline storage 209, [0138] a limnimeter 208 in connection to a detention tank 210, [0139] sensors distributed along the sewers 207, [0140] and actuators adapted to receive control signals from the computing means 216: [0141] a diversion gate 206 [0142] a detention gate 211, [0143] a pump 212.

[0144] The control signals may comprise instructions to: open, close, move to a determined position, etc.

[0145] For reasons of clarity, the computing means 216 of FIG. 2 are represented as two entities, but they may be the same entity or object or processing means, or may be entities working in the cloud or communicated between them.

Calibration/Validation

[0146] A method according to the invention may further comprise the steps of: [0147] 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, [0148] generating and solving optimization functions for a predefined number N of control intervals in the hydrodynamic simulation method, [0149] sending a first set of control signals to the virtual actuators by the hydrodynamic simulation method, and [0150] receiving a validation if the objectives have been reached.

[0151] 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.

[0152] 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.