Systems, domains and causal networks Andrea Castelletti Politecnico di Milano NRML06.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

3.6 Support Vector Machines
1
Other components canals and diversions Andrea Castelletti Politecnico di Milano NRML13.
Vomano Project Stages 1 and 2 Andrea Castelletti Politecnico di Milano NMRP02 Provvidenza.
Chapter 7 System Models.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 12 Cross-Layer.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 3 CPUs.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Objectives: Generate and describe sequences. Vocabulary:
UNITED NATIONS Shipment Details Report – January 2006.
RXQ Customer Enrollment Using a Registration Agent (RA) Process Flow Diagram (Move-In) Customer Supplier Customer authorizes Enrollment ( )
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
DRDP Measure Slides by Domain
Conversion Problems 3.3.
Measurements and Their Uncertainty 3.1
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
1. Name the particles in the atom and give the charges associated with each.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
The Reality of Climate Change and its Impact on Water Production of Hydro systems in Iran Prof. H.Sedghi Member of Academy 1.
Solve Multi-step Equations
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Pole Placement.
Turing Machines.
Detection Chia-Hsin Cheng. Wireless Access Tech. Lab. CCU Wireless Access Tech. Lab. 2 Outlines Detection Theory Simple Binary Hypothesis Tests Bayes.
PP Test Review Sections 6-1 to 6-6
Copyright © 2013, 2009, 2005 Pearson Education, Inc.
1 COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED. On the Capacity of Wireless CSMA/CA Multihop Networks Rafael Laufer and Leonard Kleinrock Bell.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
Jim Haywood (Product Manager for Statutory Returns) Adopted from Care - Spring Release 2014.
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
Properties of Equality
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
1 Using one or more of your senses to gather information.
Subtraction: Adding UP
Rational Functions and Models
Datorteknik TopologicalSort bild 1 To verify the structure Easy to hook together combinationals and flip-flops Harder to make it do what you want.
Analyzing Genes and Genomes
1 Let’s Recapitulate. 2 Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Converting a Fraction to %
Exponents and Radicals
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Datorteknik TopologicalSort bild 1 To verify the structure Easy to hook together combinationals and flip-flops Harder to make it do what you want.
From the PIP procedure to MODSSs MNRL03 Andrea Castelletti Politecnico di Milano.
Immunobiology: The Immune System in Health & Disease Sixth Edition
Energy Generation in Mitochondria and Chlorplasts
1 McGill University Department of Civil Engineering and Applied Mechanics Montreal, Quebec, Canada.
9. Two Functions of Two Random Variables
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
State Variables.
Probabilistic Reasoning over Time
The catchment: mechanistic model Andrea Castelletti Politecnico di Milano NRML09.
Presentation transcript:

Systems, domains and causal networks Andrea Castelletti Politecnico di Milano NRML06

2 2. Conceptualisation Stakeholders 1. Reconnaissance Defining Actions (measures) Identifying the Model Defining Criteria and Indicators

3 Schema fisicoSchema fisico Adriatic Sea Fucino VILLA VOMANO PIAGANINI PROVVIDENZA CAMPOTOSTO MONTORIO (M) Gronda 1100 m. PROVVIDENZA (P) SAN GIACOMO (SG) Right interceptor 400 m. Interceptors 1350 m. Left interceptor 400 m. Water works Irrigation district (CBN) S. LUCIA (SL) Chiarino Vomano Physical scheme of the system Component Component: modelling elementary unit. Every component has a specific function. The model of the component must describe such a fuction. Logical components are also allowed. Component Component: modelling elementary unit. Every component has a specific function. The model of the component must describe such a fuction. Logical components are also allowed. Choosing the components depends on: relevance of the component to the objective of the modelling exercise data availability Choosing the components depends on: relevance of the component to the objective of the modelling exercise data availability

4 Identifying the Model Definining the components and the system scheme Identifying the models of the components Aggregated model

5 Schema fisicoSchema fisico Adriatic Sea Fucino VILLA VOMANO PIAGANINI PROVVIDENZA CAMPOTOSTO MONTORIO (M) Interceptor 1100 m. PROVVIDENZA (P) SAN GIACOMO (SG) Right interceptor 400 m. Interceptors 1350 m. Left interceptor 400 m. Water works Irrigation District (CBN) S. LUCIA (SL) Chiarino Vomano

6 Data analysis: time series provided by Enel Campotosto: level aggregated daily flow rate the two intereceptors Piaganini and Provvidenza: level daily flow rate from mass balance Fucino VILLA VOMANO PIAGANINI PROVVIDENZA CAMPOTOSTO MONTORIO (M) Interceptor 1100 m. PROVVIDENZA (P) SAN GIACOMO (SG) Right interceptor 400 m. Interceptors 1350 m. Left interceptors 400 m. Water works Irrigation district (CBN) S. LUCIA (SL) Chiarino Vomano During night-time without pumping e.g. Provvidenza: only aggregated flow data

7 Schema fisicoSchema fisico Adriatic Sea Fucino VILLA VOMANO PIAGANINI PROVVIDENZA CAMPOTOSTO MONTORIO (M) Interceptor 1100 m. PROVVIDENZA (P) SAN GIACOMO (SG) Right interceptor 400 m. Interceptors 1350 m. Left interceptor 400 m. Water works Irrigation District (CBN) S. LUCIA (SL) Chiarino Vomano

8 Schema fisico (bacini)Schema fisico (bacini) Adriatic Sea Fucino VILLA VOMANO PIAGANINI PROVVIDENZA CAMPOTOSTO MONTORIO (M) SAN GIACOMO (SG) Irrigation district (CBN) S. LUCIA (SL) PROVVIDENZA (P) Water works ???

9 Some difficulties in the scheme Piaganini 1. Piaganini: there is no way to compute the indicator for the water works ? Average water supply from hydropower reservoirs WW

10 How to solve them… We need to fix a criterion for disaggregating the total inflow in the two single contributions of the interceptors. How? Based on the surface and the morphological characteristics of the two catchments (regional analysis) we can assume a similar contribution from the two interceptors. The hypothesis is validated using some flow rate measures locally available on the interceptors.

11 Some difficulties in the scheme 1. Piaganini: there is no way to compute the indicator for the water works 2. Campotosto: the contribution from the natural catchment is not accounted for.

12 Affluenti Campotosto 100 km 2 Campotosto

13 Some difficulties in the scheme 1. Piaganini: there is no way to compute the indicator for the water works 2. Campotosto: the contribution from the natural catchment is not accounted for. 3. Provvidenza e Piaganini: understimation of snow-melting in spring and evaporation in summer.

14 Possible solutions 1. Piaganini: there is no way to compute the indicator for the water works 2. Campotosto: the contribution from the natural catchment is not accounted for. 3. Provvidenza e Piaganini: understimation of snow-melting in spring and evaporation in summer. The daily inflow can be computed via mass balance using release and pumping data: Provvidenza Piaganini Campotosto

15 Piaganini Snow melt is negligible evaporation is NOT negligible The estimate is reliable: we can use the new data obtained via mass balance (red) instead of those provided by Enel (blue).

16 Provvidenza The estimate is not reliable. Pumping is adding noise to data. An understimation of evaporation is anyway evident in the data by Enel. These data can be corrected by removing from them the evaporation that can be obtained from Piaganini, based on the many similarities between the two reservoirs. The estimate is not reliable. Pumping is adding noise to data. An understimation of evaporation is anyway evident in the data by Enel. These data can be corrected by removing from them the evaporation that can be obtained from Piaganini, based on the many similarities between the two reservoirs.

17 Some difficulties in the scheme 1. Piaganini: there is no way to compute the indicator for the water works 2. Campotosto: the contribution from the natural cacthment is not accounted for. 3. Provvidenza e Piaganini: understimation of snow-melting in spring and evaporation in summer.

18 Campotosto this is impossible: at 40° max evap. 3m 3 /s Estimate is not reliable. Oscillation are wider than in Provvidenza: Pumping, but also the instrument precision (1cm) is amplifying the error The contribution from the natural catchment is evident, but not easily quantifiable. Inflow from Enel (blue) and from water balance (red) are not usable. What can we do? Estimate is not reliable. Oscillation are wider than in Provvidenza: Pumping, but also the instrument precision (1cm) is amplifying the error The contribution from the natural catchment is evident, but not easily quantifiable. Inflow from Enel (blue) and from water balance (red) are not usable. What can we do?

19 Natural inflow to Campotosto Interceptors 1350 m Provvidenza Montorio CAMPOTOSTO Reservoir Piagani ni Can we evaluate the significancy of the inflow contribution from the natural Campotostos catchment? Water balance for the i-th year in Montorio - Internal pumping to the system - Error on the level negligible From which The valure for each year is obtained The estimate is an annual value: how to move to a daily one?

20 Inflow estimate in Campotosto evaporation

21 Some difficulties in the scheme 1. Piaganini: there is no way to compute the indicator for the water works 2. Campotosto: the contribution from the natural cacthment is not accounted for. 3. Provvidenza e Piaganini: understimation of snow-melting in spring and evaporation in summer.

22 Schema fisicoSchema fisico Adriatic Sea Fucino VILLA VOMANO PIAGANINI PROVVIDENZA CAMPOTOSTO MONTORIO (M) SAN GIACOMO (SG) Irrigation District (CBN) S. LUCIA (SL) PROVVIDENZA (P) Topological Scheme

23 Identifying the Model Definining the components and the system scheme Identifying the models of the components Aggregated model

24 Schema fisicoSchema fisico Adriatic Sea Fucino VILLA VOMANO PIAGANINI PROVVIDENZA CAMPOTOSTO MONTORIO (M) SAN GIACOMO (SG) Irrigation District (CBN) S. LUCIA (SL) PROVVIDENZA (P)

25 Campotosto lake Simplification Lets assume that only one criterion needs to be satisfied: flood reduction in the town of Campotosto (on the lake shores)

26 The (lakes) domain The whole set of quantities and information about the lake: inflow release level water characteristics biota algae... batimetry topography stage-discharge function of the spillway... Consorzio dellAdda (lake manager) Regione Lombardia (water authority)... (a t ) (r t ) (h t ) The domain is the first level of abstraction of reality. It does not require any assumption about the mathematical relationships linking the variables. It is not a representaton of reality, but a partition of knowledge. The domain is the first level of abstraction of reality. It does not require any assumption about the mathematical relationships linking the variables. It is not a representaton of reality, but a partition of knowledge. Models are a simplified representation of reality; They should reproduce those features of the system that are important for the scope of the Project. The first step to create a model is to select the essential variables within the domain. Models are a simplified representation of reality; They should reproduce those features of the system that are important for the scope of the Project. The first step to create a model is to select the essential variables within the domain.

27 The (lakes) domain The whole set of quantities and information about the lake: inflow release level water characteristics biota algae... batimetry topography stage-discharge function of the spillway... Consorzio dellAdda (lake manager) Regione Lombardia (water authority)... (a t ) (r t ) (h t ) An important convention The subscript of a variable is the time instant at which it takes deterministically known value.

28 Are the variables well defined? Inflow a t+1 : total inflow in the interval [t,t+1) It is better to divide it into: t+1 = inflow from the natural catchment w t = pumping from hydropower plant downstream a t+1 t+1 wtwt Which unit of measurement? m 3 /s or m 3 ? Are the variables well defined? YES, as long as we do not find errors: only falsification is possible. It is very important that the domain is defined in strict collaboration with the concerned Stakeholders. Sharing and agreeing on the assumptions made at this point is key to obtain a trusted model of the system. It is very important that the domain is defined in strict collaboration with the concerned Stakeholders. Sharing and agreeing on the assumptions made at this point is key to obtain a trusted model of the system.

29 Identifying the model: the causal network Is it a good representation of the real cause-effect relationships? Release decision

30 Causal network of the lake Is it a good model of reality? NO, evaporation is missing.... Loops are not allowed. An effect can not cause itself!!

31 - A priori: good sense, Analysts intuition - A posteriori: accuracy of the model identified starting from the network How to check if the network is a good model? Causal network of the lake

32 input Classification of the variables state output control disturbance deterministic disturbance random disturbance internal variables The state is composed of all the variables that are necessary to describe the past history of the system, and, once these are known, the future evolution of the system is completely defined by the sole inputs.

33 The model structure state transition function output transformation function set of the feasible controls These two equations include all the information available in the network. In the network the internal variables are explicitely considered. These two equations include all the information available in the network. In the network the internal variables are explicitely considered.

34 In general: variables state x t u t control u p planning decision w t deterministic disturbance t +1 random disturbance From now on vectors will be in bold, e.g. x t is the state vector ! input ouptut y t

with the following associated expressions Models are OBJECTS in the computer-science meaning of the word output transformation function proper model 35 In general: structure state transition function time-varying model Models interact with the outside only through inputs and ouputs. What happens inside is important only as far as it affects the ouptuts. This is a DYNAMIC SYSTEM improper model

36 Not always systems are dynamic Not always the state appears in the system dynamics. E.g.: diversion dam t+1 incoming flow u t withdrawal decision only the output transformation function y t =h t (u t, t+1 ) model y t diverted flow this is a non-dynamic model Time-varying is not a synonymus of dynamic !

37 Simulation simulation is aimed at computing established a time horizon H (starting from time 0 and ending at time h) given the initial state the input trajectories the state trajectories the output trajectories

38 Simulation established a time horizon H (starting from time 0 and ending at time h) given the initial state the input trajectories 38 using the model recursively

39 Conclusions domainmental model causal network Next step: implicitly or explicitly define - the state transition function - the output transformation function How to classify model ? with respect to the nature of their functions the aumount of a priori information one has to know about the ongoing processes

40 Bayesian Believe Networks Mechanistic models Empirical models Markov models

Readings IPWRM.Theory Ch. 4 41