modelling environmental systems

63
Modelling environmental systems

Upload: vanquynh

Post on 01-Jan-2017

223 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Modelling environmental systems

Modelling environmental systems

Page 2: Modelling environmental systems

Some words on modelling

the hitchhiker’s guide to modelling

Page 3: Modelling environmental systems

Problem perception

• Definition of the scope of the model

• Clearly define your objectives

• Allow for incremental model definition (don’t start with a model which is too complex)

• Work in strict co-operation with the Decision Makers

Page 4: Modelling environmental systems

Limits to modelling

• We tend to think linear

• System structure influences behaviour

• Structure in human system is subtle

• Leverage often comes from new ways of thinking

• Reductionist thinking is often hampering

Page 5: Modelling environmental systems

Systems thinking• for seeing wholes, counteract reductionism

• relationships rather than things

• patterns of change rather than static snapshots

• seeing circles of causality

• dealing with complexity and delays

• acknowledging both hard and soft components

Page 6: Modelling environmental systems

What is a model?• A model is any understanding which is used

to reach a conclusion or a solution

• Only mental models exist; all models rest in the human mind

• There are no computer models, these are mere mechanical and mathematical pictures of mental models

• If a model is ”wrong”, then the underlying understanding is to blame

Page 7: Modelling environmental systems

Modelling: the hardest part

Sorting the essential from the nonessentials!

Needed Unnecessary

Page 8: Modelling environmental systems

• how useful it is for it’s purpose

• how well users understand the model and have trust in it

• NOT the number of details

The quality of a model is determined by

Page 9: Modelling environmental systems

Simplicity and participation

• The major result is understanding (not the models themselves)

• Simple models ensure understanding

• Modelling is not a one man work!

• The process is everything! (”The road is the goal”)

Page 10: Modelling environmental systems

One question – one model!

Never trust a Swiss Army knife model!

Page 11: Modelling environmental systems

Model categories and classification

Page 12: Modelling environmental systems

Breeds of models

• Models are

• conceptual

• physical

• mathematical

Page 13: Modelling environmental systems

Models aremental/

conceptualphysical mathematical

system identification encompasses..

definition of system boundary, components, interactions

The model is...a conceptual, verbal

description of system behaviour

a scaled reproduction of a

real system

coupling of functions, rules,

equations

Elements of a model are..

premises, conclusions, syllogisms

a physical objectmathematical

functions and (state) variables

Plausibility check is..conclusions are

tested on real-world cases

an experiment in a controlled

environment

validation and sensitivity analyses

A simulation is..a thinking

experimenta physical

experimenta numerical solution of the equation sets

(adapted from Seppelt, 2003)

Page 14: Modelling environmental systems

Temporal scale

• Defined by the “time constant” τ of the system

• In relation with the integration step ∆t

• τ=1/∆t

• Choice of the temporal scale and “stiff” systems

Page 15: Modelling environmental systems

Process VariablesCharacteristic

timeMathematical

model

Microbial growthBiomass, nitrogen

content30 minutes ODE

Nitrification, denitrification

Nitrogen compoundes,

micrrobial activity1 day to 1 week Systems of ODE

Population dynamicsDensity of eggs, juveniles, larvae,

adultsWeeks

DAE, DDE, Systems of ODE

Crop growthBiomass, nitrogen content, leaf area

indexMonth Systems of ODE

Water transport in unsaturated soil

Water content 1 hour PDE

Solute transport in aquifers

Concentration in liquid and solute

phase

large up to several years

PDE coupled with ODE system

(Seppelt, 2003)

Page 16: Modelling environmental systems

Spatial scale

• It is the spatial extent

• how many dimensions?

• what is the grid size?

Page 17: Modelling environmental systems

Model use

• Descriptive models

• Decision models

• Prescriptive models

• Forecast models

Page 18: Modelling environmental systems

Conceptual models

Page 19: Modelling environmental systems

A conceptual model

• is presented graphically as a compartment system

• compartments are defined w.r.t morphology, and physical, chemical and biological states

• connections denote exchange of matter, energy, information

• compartments may contain sub-models

Page 20: Modelling environmental systems

Types of conceptual models

• Word models

• Picture models

• Box-models

• Feedback dynamics, Casual Loop Diagrams

• Energy Circuit Diagrams (Odum)

Page 21: Modelling environmental systems

!"#$#%&'($)*$+,%-

.$)$/%#%)-

012345#'6345#*74-

.)75%--%-

6,78-

974#)7,'($)*$+,%-

:7341$);'9741*#*74-

67)5*4<'6345#*74-

:7='>71%,- 6%%1+$5?'

@;4$/*5-

A4%)<;'

6,78'

>71%,-

"#$#%'($)

B$#%

974-#$4#C

6345#*74

"*4?D"73)5%

"#$#%($)

974-#$4#

6345#*74

6,78

AE%4#

AE%4#

F4G3#H

I3#G3#

>71%,-

B$#%

"#$#%

.%#)*'J%#-

.,$5%

6,78

K)$4-*#*74

F4#%)$5#*74

A=5L$4<%'7M'

F4M7)/$#*74

"3+H";-#%/-

"73)5%

"*4?

K)$4-$5#*74

974-3/%)

"#7)$<%

0/G,*M;%)

9;5,*4<'B%5%G#7)

Paradigms for

Conceptual Modelling

(Seppelt, 2003)

Page 22: Modelling environmental systems

Causal loop diagramsFeedback dynamics

Page 23: Modelling environmental systems

What is a Causal Loop Diagram?

• A simplified understanding of a complex problem

• A common language to convey the understanding

• A way of explaining cause and effect relationships

• Explanation of underlying feedback systems

• Helps us understanding the overall system behaviour

Page 24: Modelling environmental systems

Reinforcing feedback

• Reinforcing behaviour

• Something that causes an amplified condition

• the larger the population the more births

• the more money in the bank, the more in interest

R

Page 25: Modelling environmental systems

Balancing feedback

• Balancing behaviour

• Something that causes a change which dampens/opposes a condition,

• Limited amounts of nutrients

• Intensity of competition

B

Page 26: Modelling environmental systems

Reinforcing

• A self-reinforcing system is a system in growth, e.g. bank account, economic growth or population growth, exponential growth

An example of system in growth over time

2001 2002 2003 20040

25

50

75

100

time

quan

tity

Page 27: Modelling environmental systems

Balancing

• In a balancing system there is an agent which retards the growth or is a limiting factor to the reinforcing growth, e.g. limited resources in the soil, limited light or space for growth etc.

An example of system that balances over time

2001 2002 2003 20040

25

50

75

100

time

quan

tity

Page 28: Modelling environmental systems

The structure of CausalityVariables change:

”in the same direction”

”in the opposite direction”

Page 29: Modelling environmental systems

A very simple example

Photosynthesis Growth

+

+

R

Page 30: Modelling environmental systems

Another simple example

Nutrientuptake

Nutrientsavailable

-

+

B

Page 31: Modelling environmental systems

a bit more complex

Page 32: Modelling environmental systems

Some practice with CLD

Page 33: Modelling environmental systems

Atmospheric system

Page 34: Modelling environmental systems

Natural system

Page 35: Modelling environmental systems

Social system

Page 36: Modelling environmental systems

Economic system

Page 37: Modelling environmental systems

Combined system

Page 38: Modelling environmental systems

The difficult transition from conceptual to

mathematical models

Page 39: Modelling environmental systems

Problem formulation

• Conceptual model construction

• System boundaries

• CLD

• Actors, Drivers and Conditions

• Reference behaviour

Page 40: Modelling environmental systems

Model construction

• From conceptual model to quantitative model

• Parameterization

• Sensitivity and robustness testing

• Model validation

Page 41: Modelling environmental systems

The modelling processScope/

Purpose

Conceptualisation

Calibration

Validation

Use

Data collection

Page 42: Modelling environmental systems

Problems in conceptual modelling

• What is relevant? Sorting out essentials

• At what level? Micro- or Macro-level

• Static and dynamic factors?

• System boundaries?

• Time horizon

• Qualitative and/or quantitative factors?

• Problems to ”kill your darlings”

• Perception limitations

Page 43: Modelling environmental systems

Conceptual model building factors

• Deletion

• Select and filter according to preferences, mode, mood, interest, preoccupation and congruency

• Construction

• See something that is not there, filling in gaps

• Distortion

• Amplifying some parts and diminishing others, reading different meanings into it

Page 44: Modelling environmental systems

Conceptual model building factors

• Generalisation

• One experience comes to represent a whole class of experiences

• One-sided experiences

• We tend to only remember one side of experiences

Page 45: Modelling environmental systems

Problems in the CLD to model phase

• Including how many components?

• How to distinguish accumulations from processes?

• Units?

• Scales?

• Introduction of mass and energy balance principles?

• Non-linear relationships

• Qualitative components

Page 46: Modelling environmental systems

Problems in the model validation phase

• Finding data for validation

• Robustness of model

• Qualitative components

• Appropriate time and space boundaries

Page 47: Modelling environmental systems

Adding causes to model

From: Sverdrup & Haraldsson, 2002

Page 48: Modelling environmental systems

Model performance

From: Sverdrup & Haraldsson, 2002

Page 49: Modelling environmental systems

Model cost and performance

From: Sverdrup & Haraldsson, 2002

Page 50: Modelling environmental systems

System Levels

From: Sverdrup & Haraldsson, 2002

Page 51: Modelling environmental systems

Mathematical models

Page 52: Modelling environmental systems

Systems theory approach

• A model, whatever mathematical formulation we choose, can be described by:

• state, input and output variables

• inputs can be controls and disturbances

• the dynamics of these variables is described by

• the state transition function

• the output transformation

Page 53: Modelling environmental systems

The equations

xt+!t(z) =M!t(xt(z),ut(z),"(z),z)

General model equation

x0(z)Initial condition

and boundary conditions

yt(z) = ft(xt(z))

Page 54: Modelling environmental systems

Dynamic vs static

• A dynamic system needs to store information in the state to evolve

• If the state at time t-1 is sufficient to compute the state at time t, then the system is Markovian

• If a system can be described only by its output transformation is static

Page 55: Modelling environmental systems

Randomness

Process controlHydrologicalprocesses

Electricalengineering

Nuclear reactors Air pollution

Ecologicalmodels

Social models

Economicalmodels

Page 56: Modelling environmental systems

Model paradigms

• Scarce theoretical modelling knowledge, many data: Bayesian Belief Networks

• Good theoretical knowledge: mechanistic models

• Very little knowledge: empirical models

• Mixed knowledge: Data Based Mechanistic models

Page 57: Modelling environmental systems

Mechanistic Models

• Ordinary Differential Equations

• Difference Equations

• Partial Differential Equations

• Stochastic models

Page 58: Modelling environmental systems

Empirical Models

• Completely data-driven

• No insight on the model causal structure

• Input-output models

• Neural Networks

yt+1 = yt(yt , . . . ,yt−(p−1),ut+1, . . . ,ut−(r′−1),wt+1, . . . . . . ,wt−(r′′−1),!t+1, . . . ,!t−(q−1)

). . . ,wt−(r′′−1),!t+1, . . . ,!t−(q−1)

Page 59: Modelling environmental systems

Data Based Mechanistic models

• Mechanistic models are too complex and require too many details

• Empirical model use a-priori classes

• A new approach to model identification

• Input/Output relationships are extracted from data

• Proposed by Young and Beven, 1994

Page 60: Modelling environmental systems

An input-output model fails

01.02.85 11.05.85 19.08.85 27.11.85 07.03.86 15.06.86 24.09.86 02.01.870

1

2

3

4

Deflusso

01.02.85 11.05.85 19.08.85 27.11.85 07.03.86 15.06.86 24.09.86 02.01.870

20

40

60

80

Precipitazione

yt+1 = !yt +"wt + #t+1

01.02.85 11.05.85 19.08.85 27.11.85 07.03.86 15.06.86 24.09.86 02.01.870

0.5

1

1.5

2

2.5

3

3.5

4

Deflusso

Giorno

runoff

rainfall

PARMAX forecast

Page 61: Modelling environmental systems

The DBM approach

! !"# $ $"# % %"# & &"# '!!"!$

!

!"!$

!"!%

!"!&

!"!'

!"!#

!"!(

)*+,

-*./0112

yt+1 = !yt +"(yt)wt + #t+1

Parameters may depend on the state!

Page 62: Modelling environmental systems

Using a DBM

01.02.8511.05.8519.08.8527.11.8507.03.8615.06.8624.09.8602.01.870

0.5

1

1.5

2

2.5

3

3.5

4

Deflusso

Giorno

• The structure is discovered from data

• The rainfall contribution depends from the runoff!

• When the soil is dry, rainfall is absorbed, but when saturation is reached, runoff can increase

Page 63: Modelling environmental systems

Next steps• Using models to perform scenario analysis

and optimisation

• Learn models, policies, plans from data

• machine learning (bayesian networks, artificial neural networks)

• Learn models, policies, plans from human experience

• expert systems and case based reasoning