SlideShare a Scribd company logo
1 of 18
Download to read offline
Water demand
forecasting for the optimal
operation of large-scale
drinking water networks
the Barcelona case study
A.K. Sampathirao*, J.M. Grosso**, P. Sopasakis*, C.
Ocampo-Martinez**, A. Bemporad* and V. Puig**
* IMT Institute for Advanced Studies Lucca, Lucca, Italy,
** Automatic Control Dept., Technical University of Catalonia
(UPC), Barcelona, Spain.
DWN Control: Goals
¡  Reduce energy consumption for pumping,
¡  Meet the demand requirements,
¡  Deliver smooth control actions,
¡  Keep the storage above safety limits,
¡  Respect the technical limitations: pressure limits,
overflow limits & pumping capabilities,
¡  Have foresight: predict how the water demand
and energy cost will move and act accordingly.
Outline
¡  Description of the overall control system,
¡  Hydraulic model of the DWN,
¡  Modelling of the uncertain water demand time
series,
¡  Economic MPC: the control algorithm,
¡  Simulation results.
3380 3400 3420 3440 3460 3480 3500 3520 3540 3560
0
2
4
6
8
10
12
x 10
−3 Prediction Error
Past Data
Observed
Forecast
The Control Module
Energy Price
Water Demand
Drinking Water
Network
Online
Measurements
Flow
Pressure
Quality
Forecasting
Module
History
Data
Data Validation
Module
Validated
Measurements
Commands
Model
Predictive
Controller
(Uncertain)
estimates
EFFINET Deliverable report D2.1, “Control-oriented modelling for operational management of urban water networks.”
Hydraulic model
xk+1 = Adxk + Bduk + Gddk,
0 = Euk + Eddk
¡  Based on mass balance equations,
¡  Linear time-invariant discrete time system,
¡  with input-disturbance couplings
State:
Storage in tanks
Input:
Pumping
Disturbance:
Water demand
Constraints mandated by
mass balance equations.
C. Ocampo-Martinez, V. Puig, G. Cembrano, R. Creus, and M. Minoves. Improving water management efficiency by using
optimization-based control strategies: the barcelona case study. Water Sci. & Tech.: Water supply, 9(5):565–575, 2009.
Water demand forecasting
¡  Three approaches bore fruit: SARIMA, BATS and
RBF-SVM,
¡  The predictive ability of the models was
evaluated using the average PMSE-24, that is:
PMSEHp
=
1
THp
k0+TX
k=k0
Hp
X
i=1
( ˆdk+i|k dk+i)2
Water demand forecasting
3380 3400 3420 3440 3460 3480 3500 3520 3540 3560
0
2
4
6
8
10
12
x 10
−3 Prediction Error
Past Data
Observed
Forecast
SARIMA model
¡  PMSE24 = 0.0158,
¡  25 parameters (quite simple)
determined up to a high
statistical significance.
Water demand forecasting
RBF-SVM model
¡  PMSE24 = 0.0065,
¡  229 parameters (complex),
¡  10-fold cross-validation
gave q2 = 0.9952,
¡  Explanatory variables:
200 past demands plus a
set of binary calendar
variables,
¡  Stringent confidence
intervals.
3250 3260 3270 3280 3290 3300 3310 3320
3
4
5
6
7
8
9
10
x 10
−3
Time [hr]
Demand[m
3
hr
−1
]
RBF−SVM Prediction
0 20 40 60 80 100 120 140 160 180 200
0
0.01
0.02
0.03
0.04
0.05
0.06
0.07
Time [h]
WaterDemandFlow[m3
/h]
Forecasting of Water Demand
FuturePast
Water demand forecasting
BATS model
¡  Box-Cox transformation,
ARMA errors, Trends and
Seasonality,
¡  PMSE24 = 0.0043,
¡  with just 26 parameters,
¡  Very stringent confidence
intervals.
Prefer to pump
when the price is
low!
Stay above the
safety storage
volume
PAST FUTURE
Volume in
tank (m3)
Time (h)
Do not overflow!
Time (h)
Pumping
(m3/h)
Avoid pumping when
the price is high!
Account for pumping
capabilities
Why MPC:
¡  Optimal: Computes the
control actions by
optimizing a
performance criterion,
¡  Realistic: Accounts for
the operational
constraints,
¡  Predictive: Has foresight;
acts early before the
price or the demand
changes.
How MPC works
J. B. Rawlings and D. Q. Mayne. Model predictive control: theory and design. Madison: Nob Hill Publishing, 2009.
Economic MPC for DWN
From the forecasting module: dk+j|k = ˆdk+j|k + ✏k+j|k
Estimation error, essentially bounded in:
Ek+j|k = {✏ : ✏min
k+j|k  ✏  ✏max
k+j|k}
xk+j|k = ˆxk+j|k +
jX
l=1
Al 1
Gd✏k+l|kThe state sequence will satisfy:
Nominal state sequence satisfying the
dynamics:
ˆxk+j+1|k = Ad ˆxk+j|k + Bduk+j|k + Gd
ˆdk+j|k
Economic MPC for DWN
Economic MPC for DWN
4500 4505 4510 4515 4520 4525 4530 4535 4540 4545
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
x 10
4
Time [hr]
Volume[m3
]
Safety Volume
Minimum Volume
Maximum Volume
MPC Upper Bound
MPC Lower Bound
Predicted Trajectory
Closed−loop trajectory
ˆxk+j|k 2 X
iM
j=1
Aj 1
GdEk+j|k
Bounds on the predicted state
sequence calculated by:
The sparsity of Gd enables this
computation!
Economic MPC for DWN
4500 4505 4510 4515 4520 4525 4530 4535 4540 4545
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
x 10
4
Time [hr]
Volume[m3
]
Safety Volume
Minimum Volume
Maximum Volume
MPC Upper Bound
MPC Lower Bound
Predicted Trajectory
Closed−loop trajectory
ˆxk+j+1|k = Ad ˆxk+j|k + Bduk+j|k+
+ Gd
ˆdk+j|k
Predicted state sequence
according to:
MPC: Performance
10 20 30 40 50 60 70 80 90
0.2
0.4
0.6
0.8
MPC Control Action (1~20)
ControlAction
10 20 30 40 50 60 70 80 90
0.2
0.4
0.6
0.8
MPC Control Action (21~46)
ControlAction
10 20 30 40 50 60 70 80 90
0
0.1
0.2
Time [hr]
WaterCost[e.u.]
MPC in action
•  88 demand nodes
•  63 tanks
•  114 pumping stations
•  17 flow nodes
50 100 150 200 250 300 350 400 450 500
4
5
6
7
8
Economic Cost (E.U.)
50 100 150 200 250 300 350 400 450 500
0.5
1
1.5
2
Smooth Operation Cost
0 50 100 150 200 250 300 350 400 450 500
0
2
4
6
Safety Storage Cost (× 107
)
Low price à Pumping
The system operator has
information about the
current and the
predicted operation cost.
5 10 15 20 25 30 35 40 45 50 55
0
20
40
60
80
100
Closed−loop MPC Simulation
Time [hr]
Repletion[%]
5 10 15 20 25 30 35 40 45 50 55
0
0.5
1
1.5
Time [hr]
Demand[m
3
/s]
MPC: Performance
10 20 30 40 50 60 70 80 90
0.2
0.4
0.6
0.8
MPC Control Action (1~20)
ControlAction
10 20 30 40 50 60 70 80 90
0.2
0.4
0.6
0.8
MPC Control Action (21~46)
ControlAction
10 20 30 40 50 60 70 80 90
0
0.1
0.2
Time [hr]
WaterCost[e.u.]
Foresight: Tanks starts
loading up before a
DMA asks for water.
Work in progress
¡  Formulation of the control problem as a
stochastic economic MPC problem,
¡  Algorithms for the solution of large-scale
optimisation problems,
¡  GPGPU implementations for the efficient solution
of such optimisation algorithms.
Thank you for your attention.
This work was financially supported by the EU FP7 research project
EFFINET “Efficient Integrated Real-time monitoring and Control of
Drinking Water Networks,” grant agreement no. 318556.

More Related Content

Viewers also liked

Optimization techniques for water supply network a critical review
Optimization techniques for water supply network a critical reviewOptimization techniques for water supply network a critical review
Optimization techniques for water supply network a critical reviewIAEME Publication
 
Marange Resources Water Supply System Design-Odzi to Concession Pipeline
Marange Resources Water Supply System Design-Odzi to Concession PipelineMarange Resources Water Supply System Design-Odzi to Concession Pipeline
Marange Resources Water Supply System Design-Odzi to Concession PipelineAugustine Marume
 
Kaden_Zian_CIV_FinalReport
Kaden_Zian_CIV_FinalReportKaden_Zian_CIV_FinalReport
Kaden_Zian_CIV_FinalReportZian Kaden
 
ribbon development along with highway
ribbon development along with highwayribbon development along with highway
ribbon development along with highwayAnkit Gola
 
Conceptual design for water supply system
Conceptual design for water supply systemConceptual design for water supply system
Conceptual design for water supply systemAyush Agrawal
 
Water demand and distribution
Water demand and distributionWater demand and distribution
Water demand and distributionEshetu Assefa
 
Water demand and Population forecasting
Water demand and Population forecastingWater demand and Population forecasting
Water demand and Population forecastingShivangi Somvanshi
 
Water Supply and Sewerage Design
Water Supply and Sewerage DesignWater Supply and Sewerage Design
Water Supply and Sewerage DesignJeremy Molayem
 
POPULATION PROJECTION
POPULATION PROJECTION POPULATION PROJECTION
POPULATION PROJECTION Shekhar Mehta
 
Quality and quantity of water m1
Quality and quantity of water m1Quality and quantity of water m1
Quality and quantity of water m1Bibhabasu Mohanty
 
Estimating sewage discharge and peak drainage discharge
Estimating sewage discharge and peak drainage dischargeEstimating sewage discharge and peak drainage discharge
Estimating sewage discharge and peak drainage dischargeAnkit Gola
 
Chapter 8 water demand management.ppt
Chapter 8  water demand management.pptChapter 8  water demand management.ppt
Chapter 8 water demand management.pptMohammed Salahat
 
Seoul Water Pipe Network Enviroment Improvement
Seoul Water Pipe Network Enviroment ImprovementSeoul Water Pipe Network Enviroment Improvement
Seoul Water Pipe Network Enviroment Improvementsimrc
 
Water Problem in Delhi and its Solution- ppt
Water Problem in Delhi and its Solution- pptWater Problem in Delhi and its Solution- ppt
Water Problem in Delhi and its Solution- pptgopalagarwalca
 

Viewers also liked (20)

Optimization techniques for water supply network a critical review
Optimization techniques for water supply network a critical reviewOptimization techniques for water supply network a critical review
Optimization techniques for water supply network a critical review
 
Marange Resources Water Supply System Design-Odzi to Concession Pipeline
Marange Resources Water Supply System Design-Odzi to Concession PipelineMarange Resources Water Supply System Design-Odzi to Concession Pipeline
Marange Resources Water Supply System Design-Odzi to Concession Pipeline
 
Kaden_Zian_CIV_FinalReport
Kaden_Zian_CIV_FinalReportKaden_Zian_CIV_FinalReport
Kaden_Zian_CIV_FinalReport
 
ribbon development along with highway
ribbon development along with highwayribbon development along with highway
ribbon development along with highway
 
Conceptual design for water supply system
Conceptual design for water supply systemConceptual design for water supply system
Conceptual design for water supply system
 
Water Demand Forecasting Audit
Water Demand Forecasting AuditWater Demand Forecasting Audit
Water Demand Forecasting Audit
 
Water demand and distribution
Water demand and distributionWater demand and distribution
Water demand and distribution
 
Water demand and Population forecasting
Water demand and Population forecastingWater demand and Population forecasting
Water demand and Population forecasting
 
Water Supply and Sewerage Design
Water Supply and Sewerage DesignWater Supply and Sewerage Design
Water Supply and Sewerage Design
 
Water supply and pipe network
Water supply and pipe networkWater supply and pipe network
Water supply and pipe network
 
POPULATION PROJECTION
POPULATION PROJECTION POPULATION PROJECTION
POPULATION PROJECTION
 
L 7 population forecasting
L 7 population forecastingL 7 population forecasting
L 7 population forecasting
 
Quality and quantity of water m1
Quality and quantity of water m1Quality and quantity of water m1
Quality and quantity of water m1
 
Estimating sewage discharge and peak drainage discharge
Estimating sewage discharge and peak drainage dischargeEstimating sewage discharge and peak drainage discharge
Estimating sewage discharge and peak drainage discharge
 
Chapter 8 water demand management.ppt
Chapter 8  water demand management.pptChapter 8  water demand management.ppt
Chapter 8 water demand management.ppt
 
Poulation forecasting
Poulation forecastingPoulation forecasting
Poulation forecasting
 
Seoul Water Pipe Network Enviroment Improvement
Seoul Water Pipe Network Enviroment ImprovementSeoul Water Pipe Network Enviroment Improvement
Seoul Water Pipe Network Enviroment Improvement
 
Water Problem in Delhi and its Solution- ppt
Water Problem in Delhi and its Solution- pptWater Problem in Delhi and its Solution- ppt
Water Problem in Delhi and its Solution- ppt
 
02 water demand
02 water demand02 water demand
02 water demand
 
L 3 and l-4 water demand
L 3  and l-4 water demandL 3  and l-4 water demand
L 3 and l-4 water demand
 

Similar to Water demand forecasting for the optimal operation of large-scale water networks

Drinking Water Networks: Challenges and opportunites
Drinking Water Networks: Challenges and opportunitesDrinking Water Networks: Challenges and opportunites
Drinking Water Networks: Challenges and opportunitesPantelis Sopasakis
 
Scwrc2014 savannah basinresourceoptimization-20141021
Scwrc2014 savannah basinresourceoptimization-20141021Scwrc2014 savannah basinresourceoptimization-20141021
Scwrc2014 savannah basinresourceoptimization-20141021John B. Cook, PE, CEO
 
McGill Ozone Contactor Design Project
McGill Ozone Contactor Design ProjectMcGill Ozone Contactor Design Project
McGill Ozone Contactor Design ProjectNicholas Mead-Fox
 
Ee w05.1 m_ 2. electricity generation _ part 4 (generation technologies)
Ee  w05.1 m_ 2. electricity generation _ part 4 (generation technologies)Ee  w05.1 m_ 2. electricity generation _ part 4 (generation technologies)
Ee w05.1 m_ 2. electricity generation _ part 4 (generation technologies)Silvester Van Koten
 
Modelling & Control of Drinkable Water Networks
Modelling & Control of Drinkable Water NetworksModelling & Control of Drinkable Water Networks
Modelling & Control of Drinkable Water NetworksPantelis Sopasakis
 
Water pumping based on wind turbine generation system.
Water pumping based on wind turbine generation system.Water pumping based on wind turbine generation system.
Water pumping based on wind turbine generation system.Adel Khinech
 
Ee w07.1 w_ 2. electricity generation _ part 4 (missing money & capacity pay...
Ee  w07.1 w_ 2. electricity generation _ part 4 (missing money & capacity pay...Ee  w07.1 w_ 2. electricity generation _ part 4 (missing money & capacity pay...
Ee w07.1 w_ 2. electricity generation _ part 4 (missing money & capacity pay...Silvester Van Koten
 
Morphological model of the river rhine branches from the concept to the opera...
Morphological model of the river rhine branches from the concept to the opera...Morphological model of the river rhine branches from the concept to the opera...
Morphological model of the river rhine branches from the concept to the opera...Deltares
 
Embedded fuzzy controller for water level control
Embedded fuzzy controller for water level control Embedded fuzzy controller for water level control
Embedded fuzzy controller for water level control IJECEIAES
 
Hybrid Nonlinear Model of McKibben Pneumatic Artificial Muscle Systems Incorp...
Hybrid Nonlinear Model of McKibben Pneumatic Artificial Muscle Systems Incorp...Hybrid Nonlinear Model of McKibben Pneumatic Artificial Muscle Systems Incorp...
Hybrid Nonlinear Model of McKibben Pneumatic Artificial Muscle Systems Incorp...Kiminao Kogiso
 
1 FLO-2D Updates and Enhancements 2019.pptx
1 FLO-2D Updates and Enhancements 2019.pptx1 FLO-2D Updates and Enhancements 2019.pptx
1 FLO-2D Updates and Enhancements 2019.pptxJorge Atau
 
Renewable Asset Risk Management
Renewable Asset Risk ManagementRenewable Asset Risk Management
Renewable Asset Risk ManagementManuele Monti
 
Biogeography-Based Optimization, BBO, Evolutionary Algorithm, Migration, Part...
Biogeography-Based Optimization, BBO, Evolutionary Algorithm, Migration, Part...Biogeography-Based Optimization, BBO, Evolutionary Algorithm, Migration, Part...
Biogeography-Based Optimization, BBO, Evolutionary Algorithm, Migration, Part...cscpconf
 
Hydrology/Hydraulic Model for South Boston CSO Project
Hydrology/Hydraulic Model for South Boston CSO Project Hydrology/Hydraulic Model for South Boston CSO Project
Hydrology/Hydraulic Model for South Boston CSO Project dingfangliu
 
Model Predictive Control For Integrating Processes
Model Predictive Control For Integrating ProcessesModel Predictive Control For Integrating Processes
Model Predictive Control For Integrating ProcessesEmerson Exchange
 

Similar to Water demand forecasting for the optimal operation of large-scale water networks (20)

Drinking Water Networks: Challenges and opportunites
Drinking Water Networks: Challenges and opportunitesDrinking Water Networks: Challenges and opportunites
Drinking Water Networks: Challenges and opportunites
 
Scwrc2014 savannah basinresourceoptimization-20141021
Scwrc2014 savannah basinresourceoptimization-20141021Scwrc2014 savannah basinresourceoptimization-20141021
Scwrc2014 savannah basinresourceoptimization-20141021
 
KalmanForecast
KalmanForecastKalmanForecast
KalmanForecast
 
McGill Ozone Contactor Design Project
McGill Ozone Contactor Design ProjectMcGill Ozone Contactor Design Project
McGill Ozone Contactor Design Project
 
Ee w05.1 m_ 2. electricity generation _ part 4 (generation technologies)
Ee  w05.1 m_ 2. electricity generation _ part 4 (generation technologies)Ee  w05.1 m_ 2. electricity generation _ part 4 (generation technologies)
Ee w05.1 m_ 2. electricity generation _ part 4 (generation technologies)
 
Control system
Control systemControl system
Control system
 
4WCSCM_PRESENTATION.ppt
4WCSCM_PRESENTATION.ppt4WCSCM_PRESENTATION.ppt
4WCSCM_PRESENTATION.ppt
 
Modelling & Control of Drinkable Water Networks
Modelling & Control of Drinkable Water NetworksModelling & Control of Drinkable Water Networks
Modelling & Control of Drinkable Water Networks
 
Water pumping based on wind turbine generation system.
Water pumping based on wind turbine generation system.Water pumping based on wind turbine generation system.
Water pumping based on wind turbine generation system.
 
Ee w07.1 w_ 2. electricity generation _ part 4 (missing money & capacity pay...
Ee  w07.1 w_ 2. electricity generation _ part 4 (missing money & capacity pay...Ee  w07.1 w_ 2. electricity generation _ part 4 (missing money & capacity pay...
Ee w07.1 w_ 2. electricity generation _ part 4 (missing money & capacity pay...
 
Morphological model of the river rhine branches from the concept to the opera...
Morphological model of the river rhine branches from the concept to the opera...Morphological model of the river rhine branches from the concept to the opera...
Morphological model of the river rhine branches from the concept to the opera...
 
Embedded fuzzy controller for water level control
Embedded fuzzy controller for water level control Embedded fuzzy controller for water level control
Embedded fuzzy controller for water level control
 
Hybrid Nonlinear Model of McKibben Pneumatic Artificial Muscle Systems Incorp...
Hybrid Nonlinear Model of McKibben Pneumatic Artificial Muscle Systems Incorp...Hybrid Nonlinear Model of McKibben Pneumatic Artificial Muscle Systems Incorp...
Hybrid Nonlinear Model of McKibben Pneumatic Artificial Muscle Systems Incorp...
 
1 FLO-2D Updates and Enhancements 2019.pptx
1 FLO-2D Updates and Enhancements 2019.pptx1 FLO-2D Updates and Enhancements 2019.pptx
1 FLO-2D Updates and Enhancements 2019.pptx
 
Time series Forecasting
Time series ForecastingTime series Forecasting
Time series Forecasting
 
Renewable Asset Risk Management
Renewable Asset Risk ManagementRenewable Asset Risk Management
Renewable Asset Risk Management
 
03 broderick qsts_sand2016-4697 c
03 broderick qsts_sand2016-4697 c03 broderick qsts_sand2016-4697 c
03 broderick qsts_sand2016-4697 c
 
Biogeography-Based Optimization, BBO, Evolutionary Algorithm, Migration, Part...
Biogeography-Based Optimization, BBO, Evolutionary Algorithm, Migration, Part...Biogeography-Based Optimization, BBO, Evolutionary Algorithm, Migration, Part...
Biogeography-Based Optimization, BBO, Evolutionary Algorithm, Migration, Part...
 
Hydrology/Hydraulic Model for South Boston CSO Project
Hydrology/Hydraulic Model for South Boston CSO Project Hydrology/Hydraulic Model for South Boston CSO Project
Hydrology/Hydraulic Model for South Boston CSO Project
 
Model Predictive Control For Integrating Processes
Model Predictive Control For Integrating ProcessesModel Predictive Control For Integrating Processes
Model Predictive Control For Integrating Processes
 

More from Pantelis Sopasakis

Fast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimizationFast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimizationPantelis Sopasakis
 
Accelerated reconstruction of a compressively sampled data stream
Accelerated reconstruction of a compressively sampled data streamAccelerated reconstruction of a compressively sampled data stream
Accelerated reconstruction of a compressively sampled data streamPantelis Sopasakis
 
Smart Systems for Urban Water Demand Management
Smart Systems for Urban Water Demand ManagementSmart Systems for Urban Water Demand Management
Smart Systems for Urban Water Demand ManagementPantelis Sopasakis
 
Distributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUsDistributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUsPantelis Sopasakis
 
HMPC for Upper Stage Attitude Control
HMPC for Upper Stage Attitude ControlHMPC for Upper Stage Attitude Control
HMPC for Upper Stage Attitude ControlPantelis Sopasakis
 
Sloshing-aware MPC for upper stage attitude control
Sloshing-aware MPC for upper stage attitude controlSloshing-aware MPC for upper stage attitude control
Sloshing-aware MPC for upper stage attitude controlPantelis Sopasakis
 
Robust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsRobust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsPantelis Sopasakis
 
OpenTox API introductory presentation
OpenTox API introductory presentationOpenTox API introductory presentation
OpenTox API introductory presentationPantelis Sopasakis
 
Controlled administration of Amiodarone using a Fractional-Order Controller
Controlled administration of Amiodarone using a Fractional-Order ControllerControlled administration of Amiodarone using a Fractional-Order Controller
Controlled administration of Amiodarone using a Fractional-Order ControllerPantelis Sopasakis
 
Model Predictive Control based on Reduced-Order Models
Model Predictive Control based on Reduced-Order ModelsModel Predictive Control based on Reduced-Order Models
Model Predictive Control based on Reduced-Order ModelsPantelis Sopasakis
 
OpenTox API: Lessons learnt, limitations and challenges
OpenTox API: Lessons learnt, limitations and challengesOpenTox API: Lessons learnt, limitations and challenges
OpenTox API: Lessons learnt, limitations and challengesPantelis Sopasakis
 
Just Another QSAR Project under OpenTox
Just Another QSAR Project under OpenToxJust Another QSAR Project under OpenTox
Just Another QSAR Project under OpenToxPantelis Sopasakis
 
ToxOtis: A Java Interface to the OpenTox Predictive Toxicology Network
ToxOtis: A Java Interface to the OpenTox Predictive Toxicology NetworkToxOtis: A Java Interface to the OpenTox Predictive Toxicology Network
ToxOtis: A Java Interface to the OpenTox Predictive Toxicology NetworkPantelis Sopasakis
 
Environmental Risk Assessment on the web
Environmental Risk Assessment on the webEnvironmental Risk Assessment on the web
Environmental Risk Assessment on the webPantelis Sopasakis
 
EFFINET - Initial Presentation
EFFINET - Initial PresentationEFFINET - Initial Presentation
EFFINET - Initial PresentationPantelis Sopasakis
 

More from Pantelis Sopasakis (20)

Fast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimizationFast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimization
 
Accelerated reconstruction of a compressively sampled data stream
Accelerated reconstruction of a compressively sampled data streamAccelerated reconstruction of a compressively sampled data stream
Accelerated reconstruction of a compressively sampled data stream
 
Smart Systems for Urban Water Demand Management
Smart Systems for Urban Water Demand ManagementSmart Systems for Urban Water Demand Management
Smart Systems for Urban Water Demand Management
 
Recursive Compressed Sensing
Recursive Compressed SensingRecursive Compressed Sensing
Recursive Compressed Sensing
 
Distributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUsDistributed solution of stochastic optimal control problem on GPUs
Distributed solution of stochastic optimal control problem on GPUs
 
HMPC for Upper Stage Attitude Control
HMPC for Upper Stage Attitude ControlHMPC for Upper Stage Attitude Control
HMPC for Upper Stage Attitude Control
 
Sloshing-aware MPC for upper stage attitude control
Sloshing-aware MPC for upper stage attitude controlSloshing-aware MPC for upper stage attitude control
Sloshing-aware MPC for upper stage attitude control
 
Robust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsRobust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systems
 
OpenTox API introductory presentation
OpenTox API introductory presentationOpenTox API introductory presentation
OpenTox API introductory presentation
 
Amiodarone administration
Amiodarone administrationAmiodarone administration
Amiodarone administration
 
Controlled administration of Amiodarone using a Fractional-Order Controller
Controlled administration of Amiodarone using a Fractional-Order ControllerControlled administration of Amiodarone using a Fractional-Order Controller
Controlled administration of Amiodarone using a Fractional-Order Controller
 
Model Predictive Control based on Reduced-Order Models
Model Predictive Control based on Reduced-Order ModelsModel Predictive Control based on Reduced-Order Models
Model Predictive Control based on Reduced-Order Models
 
OpenTox API: Lessons learnt, limitations and challenges
OpenTox API: Lessons learnt, limitations and challengesOpenTox API: Lessons learnt, limitations and challenges
OpenTox API: Lessons learnt, limitations and challenges
 
Just Another QSAR Project under OpenTox
Just Another QSAR Project under OpenToxJust Another QSAR Project under OpenTox
Just Another QSAR Project under OpenTox
 
ToxOtis: A Java Interface to the OpenTox Predictive Toxicology Network
ToxOtis: A Java Interface to the OpenTox Predictive Toxicology NetworkToxOtis: A Java Interface to the OpenTox Predictive Toxicology Network
ToxOtis: A Java Interface to the OpenTox Predictive Toxicology Network
 
Frobenious theorem
Frobenious theoremFrobenious theorem
Frobenious theorem
 
Set convergence
Set convergenceSet convergence
Set convergence
 
Polytopes inside polytopes
Polytopes inside polytopesPolytopes inside polytopes
Polytopes inside polytopes
 
Environmental Risk Assessment on the web
Environmental Risk Assessment on the webEnvironmental Risk Assessment on the web
Environmental Risk Assessment on the web
 
EFFINET - Initial Presentation
EFFINET - Initial PresentationEFFINET - Initial Presentation
EFFINET - Initial Presentation
 

Recently uploaded

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

Water demand forecasting for the optimal operation of large-scale water networks

  • 1. Water demand forecasting for the optimal operation of large-scale drinking water networks the Barcelona case study A.K. Sampathirao*, J.M. Grosso**, P. Sopasakis*, C. Ocampo-Martinez**, A. Bemporad* and V. Puig** * IMT Institute for Advanced Studies Lucca, Lucca, Italy, ** Automatic Control Dept., Technical University of Catalonia (UPC), Barcelona, Spain.
  • 2. DWN Control: Goals ¡  Reduce energy consumption for pumping, ¡  Meet the demand requirements, ¡  Deliver smooth control actions, ¡  Keep the storage above safety limits, ¡  Respect the technical limitations: pressure limits, overflow limits & pumping capabilities, ¡  Have foresight: predict how the water demand and energy cost will move and act accordingly.
  • 3. Outline ¡  Description of the overall control system, ¡  Hydraulic model of the DWN, ¡  Modelling of the uncertain water demand time series, ¡  Economic MPC: the control algorithm, ¡  Simulation results.
  • 4. 3380 3400 3420 3440 3460 3480 3500 3520 3540 3560 0 2 4 6 8 10 12 x 10 −3 Prediction Error Past Data Observed Forecast The Control Module Energy Price Water Demand Drinking Water Network Online Measurements Flow Pressure Quality Forecasting Module History Data Data Validation Module Validated Measurements Commands Model Predictive Controller (Uncertain) estimates EFFINET Deliverable report D2.1, “Control-oriented modelling for operational management of urban water networks.”
  • 5. Hydraulic model xk+1 = Adxk + Bduk + Gddk, 0 = Euk + Eddk ¡  Based on mass balance equations, ¡  Linear time-invariant discrete time system, ¡  with input-disturbance couplings State: Storage in tanks Input: Pumping Disturbance: Water demand Constraints mandated by mass balance equations. C. Ocampo-Martinez, V. Puig, G. Cembrano, R. Creus, and M. Minoves. Improving water management efficiency by using optimization-based control strategies: the barcelona case study. Water Sci. & Tech.: Water supply, 9(5):565–575, 2009.
  • 6. Water demand forecasting ¡  Three approaches bore fruit: SARIMA, BATS and RBF-SVM, ¡  The predictive ability of the models was evaluated using the average PMSE-24, that is: PMSEHp = 1 THp k0+TX k=k0 Hp X i=1 ( ˆdk+i|k dk+i)2
  • 7. Water demand forecasting 3380 3400 3420 3440 3460 3480 3500 3520 3540 3560 0 2 4 6 8 10 12 x 10 −3 Prediction Error Past Data Observed Forecast SARIMA model ¡  PMSE24 = 0.0158, ¡  25 parameters (quite simple) determined up to a high statistical significance.
  • 8. Water demand forecasting RBF-SVM model ¡  PMSE24 = 0.0065, ¡  229 parameters (complex), ¡  10-fold cross-validation gave q2 = 0.9952, ¡  Explanatory variables: 200 past demands plus a set of binary calendar variables, ¡  Stringent confidence intervals. 3250 3260 3270 3280 3290 3300 3310 3320 3 4 5 6 7 8 9 10 x 10 −3 Time [hr] Demand[m 3 hr −1 ] RBF−SVM Prediction
  • 9. 0 20 40 60 80 100 120 140 160 180 200 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 Time [h] WaterDemandFlow[m3 /h] Forecasting of Water Demand FuturePast Water demand forecasting BATS model ¡  Box-Cox transformation, ARMA errors, Trends and Seasonality, ¡  PMSE24 = 0.0043, ¡  with just 26 parameters, ¡  Very stringent confidence intervals.
  • 10. Prefer to pump when the price is low! Stay above the safety storage volume PAST FUTURE Volume in tank (m3) Time (h) Do not overflow! Time (h) Pumping (m3/h) Avoid pumping when the price is high! Account for pumping capabilities Why MPC: ¡  Optimal: Computes the control actions by optimizing a performance criterion, ¡  Realistic: Accounts for the operational constraints, ¡  Predictive: Has foresight; acts early before the price or the demand changes. How MPC works J. B. Rawlings and D. Q. Mayne. Model predictive control: theory and design. Madison: Nob Hill Publishing, 2009.
  • 11. Economic MPC for DWN From the forecasting module: dk+j|k = ˆdk+j|k + ✏k+j|k Estimation error, essentially bounded in: Ek+j|k = {✏ : ✏min k+j|k  ✏  ✏max k+j|k} xk+j|k = ˆxk+j|k + jX l=1 Al 1 Gd✏k+l|kThe state sequence will satisfy: Nominal state sequence satisfying the dynamics: ˆxk+j+1|k = Ad ˆxk+j|k + Bduk+j|k + Gd ˆdk+j|k
  • 13. Economic MPC for DWN 4500 4505 4510 4515 4520 4525 4530 4535 4540 4545 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 x 10 4 Time [hr] Volume[m3 ] Safety Volume Minimum Volume Maximum Volume MPC Upper Bound MPC Lower Bound Predicted Trajectory Closed−loop trajectory ˆxk+j|k 2 X iM j=1 Aj 1 GdEk+j|k Bounds on the predicted state sequence calculated by: The sparsity of Gd enables this computation!
  • 14. Economic MPC for DWN 4500 4505 4510 4515 4520 4525 4530 4535 4540 4545 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 x 10 4 Time [hr] Volume[m3 ] Safety Volume Minimum Volume Maximum Volume MPC Upper Bound MPC Lower Bound Predicted Trajectory Closed−loop trajectory ˆxk+j+1|k = Ad ˆxk+j|k + Bduk+j|k+ + Gd ˆdk+j|k Predicted state sequence according to:
  • 15. MPC: Performance 10 20 30 40 50 60 70 80 90 0.2 0.4 0.6 0.8 MPC Control Action (1~20) ControlAction 10 20 30 40 50 60 70 80 90 0.2 0.4 0.6 0.8 MPC Control Action (21~46) ControlAction 10 20 30 40 50 60 70 80 90 0 0.1 0.2 Time [hr] WaterCost[e.u.] MPC in action •  88 demand nodes •  63 tanks •  114 pumping stations •  17 flow nodes 50 100 150 200 250 300 350 400 450 500 4 5 6 7 8 Economic Cost (E.U.) 50 100 150 200 250 300 350 400 450 500 0.5 1 1.5 2 Smooth Operation Cost 0 50 100 150 200 250 300 350 400 450 500 0 2 4 6 Safety Storage Cost (× 107 ) Low price à Pumping The system operator has information about the current and the predicted operation cost.
  • 16. 5 10 15 20 25 30 35 40 45 50 55 0 20 40 60 80 100 Closed−loop MPC Simulation Time [hr] Repletion[%] 5 10 15 20 25 30 35 40 45 50 55 0 0.5 1 1.5 Time [hr] Demand[m 3 /s] MPC: Performance 10 20 30 40 50 60 70 80 90 0.2 0.4 0.6 0.8 MPC Control Action (1~20) ControlAction 10 20 30 40 50 60 70 80 90 0.2 0.4 0.6 0.8 MPC Control Action (21~46) ControlAction 10 20 30 40 50 60 70 80 90 0 0.1 0.2 Time [hr] WaterCost[e.u.] Foresight: Tanks starts loading up before a DMA asks for water.
  • 17. Work in progress ¡  Formulation of the control problem as a stochastic economic MPC problem, ¡  Algorithms for the solution of large-scale optimisation problems, ¡  GPGPU implementations for the efficient solution of such optimisation algorithms.
  • 18. Thank you for your attention. This work was financially supported by the EU FP7 research project EFFINET “Efficient Integrated Real-time monitoring and Control of Drinking Water Networks,” grant agreement no. 318556.