a cyber-physical system for distributed real-time control ...€¦ · a cyber-physical system for...

20
A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano, Giandomenico Spezzano, Andrea Vinci ICAR - CNR Rende (CS), Italy Giuseppina Garofalo, Patrizia Piro Dipartimento Ingegneria Civile- Indirizzo Idraulica Università della Calabria Rende (CS), Italy

Upload: others

Post on 06-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage

Networks in Smart Cities

Andrea Giordano, Giandomenico Spezzano, Andrea Vinci ICAR - CNR

Rende (CS), Italy

Giuseppina Garofalo, Patrizia Piro Dipartimento Ingegneria Civile- Indirizzo Idraulica

Università della Calabria Rende (CS), Italy

Page 2: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Background

2

Sewer system

• The magnitude and the frequency of

flooding in urban areas are likely to

increase due to

• climate change

• expanding urbanization

• In current practices, engineers and

administrators focus their attention on

flooding phenomena due to rivers inside

the cities

• Conversely, There is not enough attention

toward flooding triggered by overload

conditions occurring in the sewer system

(sewer flooding).

• Flooding phenomena give rise to

potential risks to human life, economic

assets and the environment, etc.

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 3: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

3

Sewer system

Drains

Road surface

Flooding phenomenon

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 4: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

4

Sewer system Drains

Road surface

Flooding phenomenon

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 5: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

“Smart” Gates

5 DSRT 2011, September 4 - 7, Salford, UK IDCS 2014, Sept 22 – 24, Calabria, Italy

electronically adjustable

gates. They allow you

dynamically changing the

flow of the water

Page 6: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Distributed real-time control

6

Real time control: ◦ Reading from sensors

◦ Elaborating information (as soon as possible)

◦ Actuating on the gates

Issues related on ‘centralized’ control ◦ Need for comprehensive mathematical model of the whole hydraulic

network

◦ Need for communication between each sensor and gate and the centralized control

◦ the huge amount of the incoming data gives rise to real time constraint violation

Proposed approach: fully distributed: ◦ Computational nodes spread across the drainage network (RaspBerry)

◦ Only short-range communications are required

◦ Enabling Agent-based e Swarm Intelligence

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 7: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Drainage network

7

A drainage network is made up of: ◦ conduits, i.e. pipes where water

flows

◦ Inlet nodes, i.e. water entry points (manhole)

◦ Outlet nodes, i.e. exit points where water is discharged into a river, lake, reservoir and so forth

◦ Junctions, i.e intersection points for conduits

A whole drainage network of a city can be broken down in a set of not connected tree-like structured drainage networks which own only on outlet node

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 8: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Drainage network

8

A drainage network is defined in a recursive way: it is made up of a main channel into which recursively defined (sub)network discharge. The recursive process stops when reaching the Most simple Drainage Network (MSDN) made up of only a conduit and an inlet node.

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 9: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Drainage network

9 IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 10: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Generated networks

10 IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 11: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Gates position

11

The gates are inserted at the start of each branch, i.e. between the junctions of the main channel and the sub-networks

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 12: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Gate-agents

12

One agent per gate

One agent per outlet node

The whole problem become: «for each network, each agent has to tune its gate in order to ensure that filling levels of the conduits are balanced as much as possible»

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 13: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

agent algorithm

13

agents continuously execute two tasks: ◦ Task 1: Figuring out the average of the water level in the specific network

◦ Task 2: triggering specific gates in order to bring the water level closer to that average

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 14: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Task1: Gossip-based algorithm

14

Nodes own such numerical values

The goal is to compute global average even if each node is able to communicate only with neighbour nodes

Each node holds the current “local” average value (initially sets to the measured value)

These local average values are continuously exchanged among neighbor nodes which update their local averages by applying the average operator

It can be proved that the algorithm converges to the global average value after an enough steps *

The algorithm ensures fault tolerance and adaptivity

*Jelasity M., Montresor A., Babaoglu O., Gossip-based aggregation in large dynamic networks, ACM

Transactions on Computer Systems 23, 3, 219 - 252, 2005.

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 15: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Task2: how to tune the gate?

15

Even though we know the optimal water level to set, we don’t know how to adjust gates so as to get it

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 16: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

PID Controller

16

The average value computed in task1 is used as setpoint of a PID (Proporzionale, Integrativo, Derivativo) controller

tte outputtsetpoint tedt

dKdeKteKtu d

t

ip 0

Average Water level Gate opening degree

IDCS 2014, Sept 22 – 24, Calabria, Italy

Page 17: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

DSRT 2011, September 4 - 7, Salford, UK 17

SWMM simulation software

Page 18: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

DSRT 2011, September 4 - 7, Salford, UK 18

Customizing SWMM

A

A

A

A

A A

A A

A

A

A

A

Real-Time

connector

SWMM

Gossip-Algorithm + PID

Page 19: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

Experimental results

19 IDCS 2014, Sept 22 – 24, Calabria, Italy

Uncontrolled

Controlled

Page 20: A Cyber-Physical System for Distributed Real-Time Control ...€¦ · A Cyber-Physical System for Distributed Real-Time Control of Urban Drainage Networks in Smart Cities Andrea Giordano,

20

Any questions?

IDCS 2014, Sept 22 – 24, Calabria, Italy