Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PREDICTIVE MODELLING AND CONTROL FOR WATER RESOURCE INFRASTRUCTURE
Document Type and Number:
WIPO Patent Application WO/2018/225032
Kind Code:
A1
Abstract:
A control mechanism scheduler for a water resource infrastructure receives operating data and disturbance data, the operating data describing infrastructure components of the water resource infrastructure, the disturbance data comprising a disturbance signal describing a disturbance expected to disturb the water resource infrastructure. The control mechanism scheduler generates classes for disturbance signals, generates simulations of the water resource infrastructure, and generates schedules of setpoints for control mechanisms actuable to control the infrastructure components of the water resource infrastructure in accordance with approaching a predetermined objective.

Inventors:
GAFFOOR THOUHEED ABDUL (CA)
SUTHAR MEGH (CA)
MOHAMED YOUSRA HAZEM KHALIL HELMY (CA)
Application Number:
PCT/IB2018/054166
Publication Date:
December 13, 2018
Filing Date:
June 08, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
EMAGIN CLEAN TECH INC (CA)
International Classes:
G05B13/04; G06K9/62
Foreign References:
US20120232701A12012-09-13
US20020164070A12002-11-07
US6785592B12004-08-31
US20120232701A12012-09-13
EP2296063A22011-03-16
US20160098022A12016-04-07
US20020164070A12002-11-07
Other References:
See also references of EP 3635491A4
Attorney, Agent or Firm:
MAR, Richard et al. (CA)
Download PDF:
Claims:
Claims:

1. A system for training a control mechanism scheduler of a water resource

infrastructure, the system comprising:

a communication interface configured to receive operating data and disturbance data, the operating data describing infrastructure components of the water resource infrastructure, the disturbance data comprising a disturbance signal describing a disturbance expected to disturb the water resource infrastructure;

a memory storage unit; and

a processor in communication with the communication interface and the memory storage unit, the processor configured to:

apply a pattern recognition algorithm to disturbance variables of the disturbance signal to generate a unique class corresponding to the disturbance signal;

generate a simulation of the water resource infrastructure based on the disturbance signal and on the operating data;

generate a schedule of setpoints for control mechanisms actuable to control the infrastructure components of the water resource infrastructure based on the simulation, generation of the schedule of setpoints being in accordance with

approaching a predetermined objective; and

associate the schedule of setpoints with the class and store the schedule of setpoints in the memory storage unit.

2. The system of claim 1 , wherein:

application of the pattern recognition algorithm includes decomposing the disturbance signal into lower dimensions for clustering;

the pattern recognition algorithm comprises clustering; and

the class corresponds to a unique data cluster of disturbance signals.

3. The system of claim 1 , wherein generation of the schedule of setpoints includes: generating interim simulations of the water resource infrastructure;

generating interim schedules of setpoints in accordance with approaching the predetermined objective; and iterating the generation of the interim schedules and generation of the interim simulations until a predetermined objective is reached within a predetermined threshold.

4. The system of claim 3, wherein:

the pattern recognition algorithm comprises clustering;

the class corresponds to a unique data cluster of the disturbance signal; and iteration of the generation of the interim schedules and the generation of the interim simulations repeats for a plurality of centroids of the unique data clusters.

5. The system of claim 1 , wherein the simulation of the water resource infrastructure is generated by a hierarchical learning model.

6. The system of claim 5, wherein the hierarchical learning model has a recursive hierarchical layered design comprising a plurality of regression estimators, each of the regression estimators describing an infrastructure component of the water resource infrastructure and being recursively interconnected in a directed graph.

7. The system of claim 1 , wherein at least some of the disturbance variables are expected to impact water demand in the water resource infrastructure.

8. The system of claim 7, wherein at least some of the disturbance variables expected to impact water demand are organized into a daily or hourly time series.

9. The system of claim 1 , wherein the operating data is received from a monitoring system, the monitoring system comprising a supervisory control and data acquisition (SCADA) system monitoring the water resource infrastructure.

10. A system for generating a schedule of setpoints of control mechanisms of a water resource infrastructure, the system comprising: a communication interface configured to receive operating data and disturbance data, the operating data describing infrastructure components of the water resource infrastructure, the disturbance data comprising disturbance variables;

a memory storage unit; and

a processor in communication with the communication interface and the memory storage unit, the processor configured to:

generate a predicted disturbance signal based on the disturbance variables;

attempt to classify the predicted disturbance signal into a predetermined class of disturbance signals recognized to represent a disturbance expected to disturb the water resource infrastructure, the predetermined class of disturbance signals having a corresponding predetermined schedule of setpoints for control mechanisms actuable to control the infrastructure components stored in the memory storage unit; and

where classification of the predicted disturbance signal is successful: retrieve the predetermined schedule of setpoints; and

output the predetermined schedule of setpoints.

1 1. The system of claim 10, wherein the processor is further configured to, where classification of the predicted disturbance signal is unsuccessful:

apply a pattern recognition algorithm to the disturbance data to generate a new class for the disturbance data;

generate a new schedule of setpoints for control mechanisms to achieve a predetermined objective; and

associate the new schedule of setpoints with the new class and store the new schedule of setpoints in the memory storage unit.

12. The system of claim 10, wherein:

the class corresponds to a class of clusters generated by clustering historical disturbance variables into predetermined classes of disturbance signals; and

retrieval of the predetermined schedule of setpoints includes running the disturbance data through a cluster mapping engine to select the class of clusters.

13. The system of claim 10, wherein the simulation of the water resource infrastructure is generated by a hierarchical learning model.

14. The system of claim 13, wherein the hierarchical learning model has a recursive hierarchical layered design comprising a plurality of regression estimators, each of the regression estimators describing operating parameters of infrastructure components of the water resource infrastructure and being recursively interconnected in a directed graph.

Description:
PREDICTIVE MODELLING AND CONTROL FOR WATER RESOURCE

INFRASTRUCTURE

FIELD

[0001] The present invention relates to control systems, and in particular to control systems involving predictive modelling.

BACKGROUND

[0002] Control systems for water resource infrastructures (WRIs), such as municipal water distribution systems, wastewater treatment facilities, drinking water treatment plants, or sewage collection systems, typically integrate with several key infrastructure components which function together to meet system demands. The term actuable infrastructure components may be used to refer to the infrastructure components of the WRI which include control mechanisms which can be actuated to cause a change in the system, such as a pump which can be switched on/off, or a valve which can be opened/closed. For example, a municipal water distribution system typically has a water reservoir from which water may be drawn, pumps to transport water to end users, district- metered areas (DMAs) where water is consumed by end users, and storage tanks for storing water and maintaining a pressure head.

[0003] The actuable infrastructure components have control mechanisms which can be controlled manually in response to system demands. In the example of a municipal water distribution system, additional pumps may be switched online to handle rising water demand, and control valves may be opened or closed to redirect water flow.

[0004] Attempts have been made to model WRIs to aid in the manual control of key infrastructure components with the aim of efficiently utilizing key infrastructure components. Such models have traditionally involved large and complex physically- based numerical models derived from scientific relationships defining system characteristics. Since these traditional models rely on physical modeling, an extensive process is required to design, calibrate, build, and tune the numerical models to match reality, which is a cumbersome and expensive process. Such models often require a large number of parameters that are not directly measurable, or difficult to measure. Further, such models may be computationally inefficient since they may require long simulation execution times to retrieve meaningful results. Such models can also become overparameterized, leading to computational difficulties. These traditional models often require significant staff resources to maintain functionality over time, and are typically not available for integration with enhancement routines or Supervisory Control and Data Acquisition (SCADA) systems, rendering them difficult to implement in real-time.

SUMMARY

[0005] A control mechanism scheduler for a water resource infrastructure receives operating data and disturbance data, the operating data describing infrastructure components of the water resource infrastructure, the disturbance data comprising a disturbance signal describing a disturbance expected to disturb the water resource infrastructure. The control mechanism scheduler generates classes for disturbance signals, generates simulations of the water resource infrastructure, and generates schedules of setpoints for control mechanisms actuable to control the infrastructure components of the water resource infrastructure in accordance with approaching a predetermined objective.

BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Non-limiting embodiments of the present invention will now be described, by way of example only, with reference to the attached Figures, wherein:

[0007] FIG. 1 is a schematic diagram of an example system for scheduling setpoints of control mechanisms of a water resource infrastructure.

[0008] FIG. 2 is a block diagram of the functional components of an example control mechanism scheduler of the system of FIG. 1.

[0009] FIG. 3 is a schematic diagram of an example process for training a control mechanism scheduler of a water resource infrastructure. [0010] FIG. 4 is a schematic diagram of an example process for generating a schedule of setpoints of control mechanisms of a water resource infrastructure.

[0011] FIG. 5 is a schematic diagram of an example process for generating a simulation of the water resource infrastructure of FIG. 1.

[0012] FIG. 6 is a schematic diagram of another example system for scheduling setpoints of control mechanisms of a water resource infrastructure.

[0013] FIG. 7 is a schematic diagram of an example process for generating a simulation of the water resource infrastructure of FIG. 6.

DETAILED DESCRIPTION

[0014] Water resource infrastructures, such as municipal water distribution networks and water treatment plants, experience disturbances which may impact the functioning of the water resource infrastructure. Control mechanisms in infrastructure components in the water resource infrastructure may be manually actuated to compensate for such disturbances. For example, additional pumping may be brought online to tap into water reservoirs to provide water to a municipality during a particularly hot day. However, manual control of such infrastructure components may be costly and prone to error.

[0015] A system may be trained to automatically generate a schedule of setpoints for control mechanisms to control such infrastructure components in accordance with some predetermined objective. The objective may be, for example, to improve reliability, reduce maintenance downtime, or reduce operating costs. The system may be trained to be responsive to even minor disturbances. Such objectives may include maintaining the water resource infrastructure within regulatory restraints.

[0016] The system may receive disturbance data, which may include a disturbance signal, which may describe a disturbance expected to disturb the water resource infrastructure. For example, the system may receive temperature data for a particular day showing particularly high temperatures which are expected to increase water demand in a particular area. The system may apply a pattern recognition algorithm to the received disturbance variables to generate a unique class for the disturbance signal into which similar future disturbance signals can be classified. The system may generate a simulation of the water resource infrastructure based on the disturbance and generate a schedule of setpoints for control mechanisms which may be actuable to control infrastructure components of the water resource infrastructure in pursuit of achieving the predetermined objective. For example, the schedule of setpoints may be generated to provide increased water flow to an area of high water demand to maintain efficiency of water delivery. The schedule of setpoints may be stored for future use, and labelled to correspond with the generated class of disturbance signals.

[0017] A system may then use the generated schedules of setpoints to make recommendations for controlling infrastructure components of the water resource infrastructure in real-time. The system may receive new disturbance data, generate a predicted disturbance signal, and attempt to classify the predicted disturbance signal into a predetermined class of disturbance signals for which a predetermined schedule of setpoints has already been generated. The appropriate schedule of setpoints may then be retrieved and outputted as a recommended schedule of setpoints for review by operating personnel, or directly executed by active infrastructure component control systems.

[0018] FIG. 1 is a schematic diagram of an example of such a system. In FIG. 1 , a system 100 includes a municipal water distribution network, hereinafter referred to as water resource infrastructure (WRI) 1 10. The WRI 1 10 includes various infrastructure components, including actuable infrastructure components which include control mechanisms which can be actuated to cause a change to the WRI 1 10. In the example shown, WRI 1 10 may include water reservoirs, water tanks, piping, water pumps, control valves, and other infrastructure components. The water tanks and reservoirs may serve as sources of water to be distributed around the WRI 1 10. The water pumps and control valves include control mechanisms which may be controlled to alter various properties of the WRI 1 10, such as water flow rates and pressure heads. The control valves may block or allow water flow to or from different areas of the WRI 1 10.

[0019] The WRI 1 10 may be divided into different district-metered-areas (DMAs) 1 12. The DMAs 1 12 may represent different commercial or residential areas of the municipality. These DMAs 1 12 may be divided according to the water-distribution capabilities of the municipality such that the water use of each DMA 1 12 may be controlled by actuable infrastructure components.

[0020] The system 100 further includes a monitoring system 160, disturbance data providers 170, and control mechanism scheduler 200, which are in communication over network 150. The monitoring system 160 includes one or more computing devices running a server application with storage, communication, and processing means. Similarly, the disturbance data providers 170 includes one or more computing devices running a server application with storage, communication, and processing means. Similarly, the control mechanism scheduler 200 includes one or more computing devices running a server application with storage, communication, and processing means. The network 150 includes a computing communication network such as the internet, a local- area network, a wide-area network, a wireless telecommunications network, a virtual private network, a combination of such, and similar.

[0021] The monitoring system 160 communicates with sensors which collect operating data related to the infrastructure components of the WRI 1 10 through links 152. This operating data may be transmitted from the sensors through communication links 152 and/or network 150 to the monitoring system 160. The monitoring system 160 may collect state variables describing states of infrastructure components. For example, state variables may include the on/off state or flowrate of a pump, the open/closed state or flowrate of a control valve, the water level of a water tank or reservoir, or the water pressure at various points in the WRI 1 10. The monitoring system 160 may also collect control variables which may be controlled to actuate control mechanisms of actual infrastructure components of the WRI 1 10. For example, control variables may include the on/off state of a pump or the open/closed state of a control valve. Certain control variables may be described as state variables in some contexts. In some examples, the monitoring system 160 may include a Supervisory Control and Data Acquisition (SCADA) system.

[0022] The disturbance data providers 170 provide disturbance data, which may include exogenous data describing disturbances or perturbations to the WRI 1 10, or any other disturbance data which may be expected to have an impact on operational parameters of infrastructure components of the WRI 1 10. For example, the disturbance data providers 170 may provide weather data, calendar data, or event data, relevant to the WRI 1 10. The calendar data may include information about large scale public events, such as concerts, sporting events, or public gatherings, which may be expected to impact water demand in WRI 1 10. For example, if a large sporting event is taking place in a particular DMA 1 12, an increased water demand may be expected at that DMA 1 12 at a certain time, corresponding with reduced demand in the other DMAs 1 12. The weather data may include temperature, humidity, and precipitation data which may similarly impact water demand in the WRI 1 10. For example, a hot and dry summer day may be expected to correspond with an increased water demand across each DMA 1 12.

[0023] The control mechanism scheduler 200 includes memory for storing operational data, disturbance data, disturbance signal patterns, simulations of the WRI 1 10, and control mechanism schedules. The control mechanism scheduler 200 trains to generate schedules of setpoints for control mechanisms, and retrieves and outputs these recommended schedules in response to receiving real-time operational data. These processes are discussed in greater detail with respect to FIGs. 3 and 4 below.

[0024] FIG. 2 is a block diagram of the functional components of an example control mechanism scheduler such as the control mechanism scheduler 200. The control mechanism scheduler 200 includes a communication interface 210, a processor 220, and a memory storage unit 230.

[0025] The communication interface 210 includes programming logic enabling the control mechanism scheduler 200 to communicate over network 150, is configured for bidirectional data communications through the network 150, and accordingly can include a network adaptor and driver suitable for the type of network. The communication interface 210 is configured to receive disturbance data from disturbance data providers 170 and operational data from monitoring system 160.

[0026] The memory storage unit 230 may include volatile storage and non-volatile storage. Volatile storage may include random-access memory (RAM) or similar. Nonvolatile storage may include a hard drive, flash memory, and similar. The memory storage unit 230 includes operating data store 232, disturbance data store 234, pattern tables store 236, simulation tables store 238, and schedule tables store 240. The memory storage unit 230 further stores programming instructions for implementing the functional engines and modules, described below.

[0027] The processor 220 includes any quantity and combination of a processor, a central processing unit (CPU), a microprocessor, a microcontroller, a field-programmable gate array (FPGA), and similar. The processor 220 is in communication with the communication interface 210 and the memory storage unit 230, and can be configured to execute a pattern recognizing engine 242, a prediction engine 244, an objective-seeking engine 246, a classification engine 248, and a pattern mapping engine 250. The function of each of these engines described in greater detail below with respect to FIGs. 3 and 4.

[0028] FIG. 3 is a schematic diagram of an example process 300 for training a control mechanism scheduler such as the control mechanism scheduler 200. In process 300, the control mechanism scheduler 200 is trained to generate a schedule of setpoints for control mechanisms in accordance with approaching a predetermined objective. The objective may be, for example, to improve reliability, reduce maintenance downtime, or reduce operating costs. The training may take place while the control mechanism scheduler 200 is offline, i.e. not actively generating and outputting recommended schedules for control mechanisms. Portions of the training may also take place while the control mechanism scheduler 200 is online.

[0029] In process 300, historical data is received from historical data store 302 and ingested into a data processor 304. The historical operating data may include an archive dataset containing historical operating data of the WRI 1 10 and historical disturbance data. The historical data may include data from, for example, one year, two years, or larger or smaller sets of data.

[0030] The data processor 304 cleans or ingests the collected data in preparation for further analysis. The cleaning may include by extract, transform, load (ETL) methods, involving statistical imputation techniques for handling missing and erroneous data, smoothing noisy signals, and alarms for indicating sensor faults. In some examples, the cleaned dataset may be standardized into Z notation so that effects are properly scaled regardless of the units and magnitudes of each datum received. In some examples, the dataset may be stored locally, at a cloud computing device, in a database, or in flash storage for later use.

[0031] The disturbance variables from the historical data are extracted and consumed by pattern recognizing engine 242. The pattern recognizing engine employs a pattern recognition algorithm to generate unique classes corresponding to patterns recognized in the disturbance data, indicated as data patterns 308. The data patterns 308 may be stored in pattern tables store 236. These classes are used to recognize disturbance signals when they are observed in the future.

[0032] The pattern recognizing engine 242 may include a clustering engine. In examples where the pattern recognizing engine 242 includes a clustering engine, the pattern recognizing engine 242 employs an algorithm to decompose the multidimensional disturbance signal in the disturbance variables into lower dimensions such that it can be clustered, and the pattern recognizing engine 242 employs a clustering engine to cluster the lower-dimension disturbance data to generate classes of identifiable data clusters corresponding to the disturbance signal.

[0033] The algorithm used to decompose the disturbance signal into lower dimensions may include principal component analysis (PCA) or t-distributed Stochastic Neighbor Embedding (t-SNE).

[0034] The clustering engine may employ a K-Means, Affinity Propagation, spectral clustering, or ward agglomerative clustering algorithm. In some examples where a predetermined number of clusters is expected, a K-Means algorithm may be employed. In examples without having a pre-determined number of expected clusters, an Affinity Propagation algorithm may be used. In some examples where Affinity Propagation is used, a damping value of about 0.5 may be used. In other examples in which the data to be clustered is of particularly varied density, spectral clustering or ward agglomerative clustering may be used. Other clustering algorithms are contemplated.

[0035] The historical data may also be used for initial training of the prediction engine 244. In some examples, the prediction engine 244 may include a hierarchical learning model having a recursive hierarchical layered design whereby each infrastructure component of WRI 1 10 is represented by a machine learning driven regression estimator describing operating parameters of an infrastructure component of the WRI 1 10. The regression estimators may be interconnected recursively in a directed graph in the hierarchical learning model. By decomposing the large and complex WRI 1 10 into smaller, linked infrastructure components, each of which can be modeled directly, strong prediction quality and computational efficiency may be achieved.

[0036] The prediction engine 244 may include a predictive modelling algorithm such as gradient boosted decision tree algorithms, random forest algorithms, multi-layer perception (MLP) algorithms, deep learning algorithms, support vector machine algorithms, or other appropriate ensemble-based machine learning algorithms.

[0037] The prediction engine 244 generates an interim simulation 310 of the WRI 1 10 comprising interim state variables (e.g. the predicted water level in a storage tank).

[0038] The objective-seeking engine generates an interim schedule 312 of setpoints of control mechanisms of infrastructure components. The interim schedule 312 is generated based on an algorithm with the objective of enhancing the output of an objective function relating to an improved state of operation of the WRI 1 10, such as reducing maintenance downtime, or reducing a cost function relating to the infrastructure components (e.g. electricity costs), until an appropriate threshold is reached. In some examples, the algorithm employed by the objective-seeking engine 246 may include an optimization algorithm designed to reduce or increase a variable, such as cost or energy use. The objective-seeking engine may be programmed to constrain the outputted interim schedules 312 by pre-defined regulatory constraints mandated in the WRI 1 10, such as maximum pressure levels or minimum water storage levels. In some examples, the interim schedules 312 may provide on/off instructions for a plurality of infrastructure components. For example, interim schedules 312 may provide on/off instructions for various pumps or control valves in the WRI 1 10. The interim schedules 312 may be organized by daily, hourly, or other intervals.

[0039] Where the objective-seeking engine 246 employs an optimization algorithm, the optimization algorithm employed may comprise, for example, a population-based, stochastic, or metaheuristic optimization method. [0040] After an initial simulation, the prediction engine 244 iterates with objective- seeking engine 246 to generate additional interim simulations 310 in response to the interim schedules 312 of setpoints of control mechanisms. This loop is indicated as objective-seeking loop 314.

[0041] When an interim schedule 312 is generated that satisfies the objective function within a certain threshold, an enhanced schedule 316 of setpoints is outputted, which may be stored in schedule tables store 240. A final simulation output 318 may also be outputted and stored in simulation tables store 238. These schedules and simulations may be stored for later use during online operation.

[0042] Determination of whether a threshold has been reached may be understood as meaning that any further iteration of the objective-seeking loop 314 is expected to have negligible impact on the interim schedules 312. As such, an objective function may be referred to as having been optimized when such a threshold is reached, without reaching a theoretical optimal solution. For example, where a variable or objective function is said to be optimized or minimized, in some applications, obtaining a result within about 20% of the theoretical optimal result, or in other applications within about 10% of the theoretical optimal result, or in other applications within about 1 % of the theoretical optimal result, or in still other application within about 0.1 % of the theoretical optimal result, may be appropriate in the given case, and still constitute reaching an appropriate threshold. Generally, the terms "optimal" or "optimized" may be used to refer to the state of having met such a threshold.

[0043] In examples where the pattern recognizing engine 242 employs a clustering algorithm, the objective-seeking loop 314 may be repeated for each centroid of the previously identified data clusters until each data cluster has an enhanced control schedule associated with it.

[0044] In some examples, the objective-seeking loop 314 may be performed in parallel in a Master-Slave architecture for converging toward an enhanced solution. For example, a high-performance computing (HPC) architecture may be employed. A typical HPC architecture comprises a cluster of nodes interconnected via a high-throughput, low latency network. As such, using a system of 'm' computational nodes, a Master-Slave Architecture is adopted whereby one (1 ) node is demarcated as the Master and the remaining 'm-1 ' are Slaves. In this parallelization construct, the Master Node is used to distribute messages to each Slave node. Each message consists of two parts: (i) control variables in the context of optimization; and (ii) an envelope which contains the rank of the sender and receiver and a data stream tag. The tag serves the purpose of demarcating different messages being passed between the same senders and receivers. Each Slave has its own local memory and evaluates the message with a predefined objective function asynchronously and independently of the others.

[0045] In some examples, the outputs of the iteration of the prediction engine 244 and the objective-seeking engine 246 may be validated. The validation process may involve assessing the optimality of the setpoints produced by the objective-seeking engine 246, as well as the interim prediction accuracy of the model predictions produced by the prediction engine 244. In the event that the prediction accuracy has deteriorated beyond a tolerance threshold, an alert may be triggered indicating that the model is to obtain additional training.

[0046] FIG. 4 is a schematic diagram of an example process 400 for generating a schedule of setpoints of control mechanisms of a water resource infrastructure. The process employs a control mechanism scheduler, such as control mechanism scheduler 200, to generating schedules of setpoints for control mechanisms of infrastructure components in real-time.

[0047] In process 400, a real-time data stream is ingested in real-time and stored temporary in real-time data store 402 for further processing. The real-time data may include a dataset containing real-time operating data of the WRI 1 10 and real-time disturbance data. It is to be understood that the term "real-time data" may be used to refer to near-real-time data inputs that may be received in a stream or batches that relates to recent or near-real time information and is not intended to be limiting.

[0048] Data processor 404 cleans or ingests the collected data in preparation for further analysis. The data processor 404 may be similar, or identical to, data processor 304, and may employ similar methods.

[0049] The disturbance data in the real-time data is fed into a disturbance module of the prediction engine 244. The disturbance module of the prediction engine 244 generates a predicted disturbance signal 406 based on the disturbance variables in the disturbance data.

[0050] The predicted disturbance signal 406 is fed into a classification engine 248 for classification as a pre-determined class of disturbance signals, which may be stored in pattern tables store 236. The classification engine may employ an algorithm to decompose the signal into lower dimensions enabling it to be classified. The algorithm used to decompose the disturbance signal into lower dimensions may include principal component analysis (PCA) or t-distributed Stochastic Neighbor Embedding (t-SNE). In some examples, a multi-output regression map may be used to map real-time data to reduce storage space requirements.

[0051] Where classification of the predicted disturbance signal 406 is unsuccessful, the new pattern pathway 410 is followed. Where classification of the predicted disturbance signal 406 is successful, the retrieval pathway 420 is followed.

[0052] Under the new pattern pathway 410, when a new disturbance signal is detected, the pattern recognizing engine 242 attempts to recognize a new pattern in the new signal. The new data pattern 308 is stored in pattern tables store 236. Where a clustering algorithm is employed, the signal is transformed into a new data cluster classification, which is stored.

[0053] The newly formed data pattern 308 is fed into the prediction engine 244 and objective-seeking engine 246 and iterated, as indicated by objective-seeking loop 314. Understanding of the objective-seeking loop 314 may be had with reference to FIG. 3.

[0054] The objective-seeking engine 246 generates and outputs an enhanced schedule 316 of setpoints, and the prediction engine 244 generates and outputs a simulation output 318. The outputs are stored in schedule tables store 240 and simulation tables store 238, with the particular enhanced schedule 316 associated with the particular disturbance signal 406.

[0055] Under the retrieval pathway 420, when the predicted disturbance signal 406 is recognized by the classification engine 248 as corresponding to a pre-determined class of disturbance signals, a pattern mapping engine 250 retrieves and outputs the associated enhanced schedule 316. The enhanced schedule 316 is stored in schedule tables store 240. The prediction engine 244 also generates a simulation output 318 given the enhanced schedule 316. The simulation output is stored in simulation tables store 238.

[0056] The enhanced schedule 316 of control mechanisms and/or the stimulation output 318 may be transmitted to and outputted. These outputs may be used to make recommendations to operators of active control systems which may actively control infrastructure components of the WRI 1 10. For example, the outputs may be transmitted to a display device for review by infrastructure component operators. The display device may display a 24-hour schedule based on the enhanced schedule 316 of the on/off states of each pump, control valve, and other active component for the next 24 hours. Alternatively, the enhanced schedule 316 may directly feed into an active control system to actively operate the infrastructure components.

[0057] The availability of the new pattern pathway 410 and the retrieval pathway 420 provides speed, flexibility, and resiliency to the control mechanism scheduler 200. A proportion of the incoming real-time data may include disturbance signals which may be quickly recognized and classified by classification engine 248 for the retrieval of a predetermined enhanced schedule 316, allowing the control mechanism scheduler 200 to operate with a high degree of responsiveness to changing incoming disturbance data. A proportion of the incoming real-time data, however, may include disturbance signals which are unrecognized, at which point the classification engine 248 may process the new disturbance signal under the new pattern pathway 410 to both generate a new enhanced schedule 316 for current use, as well as for future use under the retrieval pathway 420.

[0058] FIG. 5 is a schematic diagram of an example process 502 for generating a simulation of the water resource infrastructure of FIG. 1. The process 502 involves operation of functional modules of a prediction engine of a control mechanism scheduler, such as prediction engine 244 of control mechanism scheduler 200.

[0059] The prediction engine 244 includes a disturbance module 510 for predicting disturbances to the WRI 1 10. For example, disturbances to the WRI 1 10 may include water demand. The prediction engine 244 includes a pump module 520 for predicting pump flow rates and response time. The prediction engine 244 includes a storage or tank module 530 for predicting storage tank water levels. The prediction engine 244 includes a pressure module 540 for predicting the system pressure response to the tank levels and other infrastructure components affecting pressure.

[0060] For a WRI having N elements for each infrastructure component (e.g. N pumps), the prediction engine 244 may comprise N modules for the N elements (e.g. N pumping modules for N pumps, each pumping module capturing the specific behavior of each pump). Each module may generate its output prediction across a future timeframe so that a scheduling of setpoints of control mechanisms can be determined. In some examples, each module may predict its output for every hour for the next 24 hours. In other examples, each module may predict the next 24 hours in 15 minute increments, or may predict the next 12 hours, or the next 48 hours, or other similar timeframe, at any similar increment.

[0061] In the present example, the disturbance module 510 predicts water demand at each DMA 1 12 in WRI 1 1 1 and total aggregated system water demand. Disturbance module 510 has as inputs exogenous disturbance data from disturbance data store 234 which may impact WRI 101. For example, disturbance data may include the time of day, day of the week, month, and dates of national holidays, dates of major events, and weather data, which may include temperature, precipitation index, and aridity index. Disturbance module 510 has as outputs the predicted water demand flowrate (Q) at each

DMA (k), from the current time to the prediction time (T) (Q k 1 , Q k +i)- Output from disturbance module 510 may be presented as an Nx24 matrix, where N is the number of DMAs in WRI 1 1 1 , each having a predicted flowrate for the next 24 hours. In other embodiments in which, for example, the next 24 hours are forecasted in 15 minute intervals, the output may be presented as an Nx96 matrix, or other suitably sized matrix appropriate to the forecasting schedule, and so on.

[0062] Pump module 520 predicts pump flowrate at each pump in WRI 1 10. A pump's behavior is controlled by its system head-curve, pump operating curve (head-flow), and efficiency curve (efficiency-flow). A pump's behavior also considers non-linear dynamics including lagged response time, since a pump will not achieve a set steady-state flowrate instantaneously. The objective of pump module 520 may be to map on/off statuses of pump 120 to the pump's production flowrate considering its lagged response time. Pump module 520 has as inputs the water demand flowrates calculated by the disturbance module 510, the pressure heads calculated by pressure module 540 (discussed below), the on/off state of the water pumps in WRI 1 10, the water pressure at each DMA 1 12, and the open/closed state of the control valves in WRI 1 10. Pump module 520 has as outputs the pump flowrate (Q) at each pump (k), from the current time to the prediction time (t+T) (Q k 1 , Q k +i)- Output from pump module 520 may be presented as a matrix as appropriate and consistent with disturbance module 510.

[0063] Tank module 530 maps the tank level at each time (t) of each water storage tank (k) to the tank level at time (t+1 ) based on pump flowrate and water demand at time (t) in order to determine the equalization flow required from each storage tank to achieve mass balance for updating the tank level for time (t+1 ). Tank module 530 has as inputs pump flowrates calculated by pump module 520, water demand flowrates calculated by disturbance module 510, and current storage tank heights. Tank module 530 has as output the change in tank level (L^, L k t+T ). Output from tank module 530 may be presented as a matrix as appropriate and consistent with the other modules.

[0064] Pressure module 540 predicts the average system pressures at each DMA 1 12 at time (t). Pressure module 540 has as inputs the change in tank levels calculated by tank module 530, water demand flowrates at each DMA 1 12 calculated by disturbance module 510, tank levels, and pump flowrates calculated by pump module 520. Pressure module 540 has as outputs the predicted water pressure at each DMA 1 12 at time (t). Output from pressure module 540 may be presented as a matrix as appropriate and consistent with the other modules.

[0065] FIG. 6 is a schematic diagram of another example system 600 for scheduling setpoints of control mechanisms of another WRI. System 600 includes a water treatment system, hereinafter referred to as WRI 610. The WRI 610 includes comprising an influent source 601 , a primary clarifier 602, anoxic unit 603, aerobic unit 604 having air blowers 605, a secondary clarifier 606 having a recycle valve 607, and tertiary treatment system 608. [0066] The system 600 also includes a monitoring system 660, links 652, disturbance data providers 670, control mechanism scheduler 700, and network 650. General description of monitoring system 660, links 652, disturbance data providers 670, control mechanism scheduler 700, and network 650 may be had with reference to the analogous components of system 100.

[0067] In system 600, wastewater to be treated flows from the influent source 601 through the primary clarifier 602, anoxic unit 603, aerobic unit 604, and secondary clarifier 606, and tertiary treatment systems 608.

[0068] Monitoring system 660 includes links 652 to sensors on air blower 605 and recycle valve 607. The air blower 605 and recycle valve 607 comprise actuable infrastructure components which are monitored by sensors which transmit sensor data to monitoring system 660, which also include control means for which a schedule of setpoints may be generated. The monitoring system 660 is also connected to other sensors in WRI 610 which measure states of the WRI 610 such as chemical analyzers measuring key chemical parameters in the wastewater treatment, and flowmeters. For simplicity, however, only the connections which correspond to the control mechanisms of the air blower 605 and recycle valve 607 are shown.

[0069] Monitoring system 660 may record the air flowrate of the air blower 605and the recycle flow rate through recycle valve 607, the on/off state of air blower, and the open/closed state of recycle valve 607. The air flow rate through air blower 605 and the flow rate of recycled wastewater from secondary clarifier 606 to anoxic unit 603 are examples of some state variables which describe the state of the WRI 301. The on/off state of air blower 605 and the open cross-section of recycle valve 607 are examples of setpoints. Disturbance data providers 670 records disturbance data such as calendar data and weather data, such as the kind described above, which may impact WRI 610.

[0070] The control mechanism scheduler 700 may include functional components analogous to those shown in FIG. 2, and may function in the same way to be trained to generate schedules of setpoints for control mechanisms of infrastructure components of WRI 610. Thus, the control mechanism scheduler 700 may include a prediction engine which runs a process to generate simulations of the WRI 1 10. [0071] FIG. 7 is a schematic diagram of an example of such a process 702. The prediction engine of control mechanism scheduler 700 may include an influent module 710 which predicts influent flowrate and composition, an anoxic module 720 which predicts anoxic states, an aerobic module 730 which predicts aerobic states, and an effluent module 740 which predicts effluent states.

[0072] For a WRI having N elements for each unique infrastructure component (e.g. N unique anoxic units), the prediction engine may include N modules for the N elements. Each module may predict its output across a future timeframe so that a scheduling of setpoints can be generated. In some examples, each module predicts its output for every hour for the next 24 hours or other time interval.

[0073] In process 702, influent module 710 predicts influent states. Influent module 710 has as inputs disturbance data which may impact WRI 610. In some examples, inputs to influent module 710 may include calendar data, which may include the time of day, day of the week, month, and dates of national holidays, dates of major events, and temperature data, which may include temperature, precipitation index, and aridity index. Influent module 710 may have as outputs the predicted influent states (Z) at the influent node, from the current time to the prediction time (T) (Z 1# z t+T ). Output from Influent module 710 may be presented as a 1x(24xM) matrix, where M is the number of sampling intervals in any given hour for the next 24 hours.

[0074] Anoxic module 720 predicts anoxic states. Anoxic module 720 may have as inputs the influent calculated by influent module 710 and the effluent states predicted by the effluent module 740 (discussed below). Anoxic module 720 may have as outputs the predicted anoxic states.

[0075] Aerobic module 730 predicts aerobic states. Aerobic module 730 may have as inputs the anoxic states calculated by anoxic module 720, disturbance data, and the influent states as calculated by the influent module 710. Aerobic module 730 has as outputs the predicted aerobic states.

[0076] Effluent module 740 predicts effluent states. Effluent module 740 may have as inputs the aerobic states as calculated by aerobic module 730, and the influent states as calculated by the influent module 710. The effluent module 740 may have as outputs effluent states.

[0077] It is contemplated that, in other examples, other modules pertaining to other key infrastructure components (e.g. other processing equipment) may be employed in similar or other WRIs, such as drinking water treatment plants or sewage collection systems. It is contemplated that key infrastructure components may be selected for inclusion or exclusion from the hierarchical learning model based on the WRI.

[0078] It should thus be apparent from the above that a system may be trained to generate a schedule of setpoints for control mechanisms in accordance with approaching a predetermined objective, and the system may generate schedules of setpoints in realtime, for review by operating personnel or for direct control of infrastructure components of the WRI. Disturbance data may be used to predict disturbances in the WRI, which may be used to generate a predictive model of the WRI, which may subsequently be used to generate a schedule of setpoints to respond to the disturbance. The system may model the WRI and the infrastructure components therein using recursively connected predicted modules for key infrastructure components in a hierarchical learning model to achieve strong prediction quality and computational efficiency.

[0079] The scope of the claims should not be limited by the embodiments set forth in the above examples, but should be given the broadest interpretation consistent with the description as a whole.