32
1 Challenge the future G-L-4: Evaluation Prof. Dr. Christos Spitas Dr. Y. Song (Wolf) Faculty of Industrial Design Engineering Delft University of Technology

Lecture Slides: Lecture Evaluation

Embed Size (px)

DESCRIPTION

The lecture slides of lecture Evaluation of the Modelling Course of Industrial Design of the TU Delft

Citation preview

Page 1: Lecture Slides: Lecture Evaluation

1Challenge the future

G-L-4:

Evaluation

Prof. Dr. Christos SpitasDr. Y. Song (Wolf)

Faculty of Industrial Design EngineeringDelft University of Technology

Page 2: Lecture Slides: Lecture Evaluation

2Challenge the future

Contents

• of the simulation• of the system

Why evaluation?1

Define the evaluation criteria2

Sensitivity analysis3

4 What did we learn today?

Page 3: Lecture Slides: Lecture Evaluation

3Challenge the future

Evaluation in the modelling cycle

Case brief

System

Experiment

Build abstract model

choices

choices choices

choices

do you need more insights/ data?

‘touch’ your thoughts

what are you studying?

what exactly...?

what do you foresee?

what does your model foresee?

did you both agree?everything you did/ saw/ felt/

remember to be true...

Finish!

Revisit choices

Courtesy of centech.com.pl and http://www.clipsahoy.com/webgraphics4/as5814.htm

Compare

Acceptable?

Experience

Thought simulation Solve/ simulate

Page 4: Lecture Slides: Lecture Evaluation

4Challenge the future

Evaluation

Learn

Identify, choose Modelling

Solve

Evaluation

System

Evaluation is systematic determination of merit, worth, and significance of something or someone using metricsagainst a set of quantified expectations

Page 5: Lecture Slides: Lecture Evaluation

5Challenge the future

A case study: Heat the house

Design brief

•Specify the areas of radiators and the hot water temperature for the boiler in a house in order to raise the room temperature 1 degree in 3 minutes

1 °C in 3 min1 °C in 3 min

Courtesy of http://www.daalderop.nl/verwarming-en-koeling/twee-cv-zone-systeem/

Page 6: Lecture Slides: Lecture Evaluation

6Challenge the future

Components

Water

Radiator

Boiler

House

Air

Courtesy of http://www.daalderop.nl/verwarming-en-koeling/twee-cv-zone-systeem/

Page 7: Lecture Slides: Lecture Evaluation

7Challenge the future

Cause - effect

The house is heated

Air

Radiator

Water

Boiler

Page 8: Lecture Slides: Lecture Evaluation

8Challenge the future

Choice

Neglect the heat capacity of radiator

Heat transfer from radiator to air is uniform

Adiabatic house

And many more…

Model

Page 9: Lecture Slides: Lecture Evaluation

9Challenge the future

Modelling

We chooseThe initial temperature of room is 10°C

The specific heat capacity of air is 1012 J/(kg*K)

The volume of the house is 350 m3

The density of air 1.024 kg/m3

The heat transfer coefficient is 10 W/m2

Mass of air

Heat capacity of air

The surface area of radiator

Hot water temperature from the heater

Heat transfer coefficient

Air temperature

radiator

airwaterairairair

hA

tTTtTdtdcm 1

)()(

Page 10: Lecture Slides: Lecture Evaluation

10Challenge the future

Define the evaluation criteria

Page 11: Lecture Slides: Lecture Evaluation

11Challenge the future

Define the evaluation criteria – The metric

SystemInput 1

Input 2

…P

arameter 1

Param

eter 1

Output 1Output 2

Metric functionUsually from design brief

Input: any intended or unintended excitation of the system

Output: system response (state)

Parameter: design parameter, chosen by designer

Page 12: Lecture Slides: Lecture Evaluation

12Challenge the future

What is the metric in this system?

Combined (parts of) inputs / parameters /

outputs

An output (against expectations)

Part of an output (against expectations)

Combined (parts of) outputs

Courtesy of http://www.daalderop.nl/verwarming-en-koeling/twee-cv-zone-systeem/

Page 13: Lecture Slides: Lecture Evaluation

13Challenge the future

The metric and the criteriaCriterion is the metric for judging (satisfaction)

The metricPart of the criterion

Part ofthe criterion

( ) ( )

where ( , )air airM M

water radiatorM

T t t T t T

t f T A

Mt

Time to raise the temperature by 1ºC

1 CM

T

180 seconds

1ºC

Page 14: Lecture Slides: Lecture Evaluation

14Challenge the future

Sensitivity analysis

Page 15: Lecture Slides: Lecture Evaluation

15Challenge the future

We cannot always explore every possible solution An example - Drop an cup on the floor

Simulate from 0 to 0.00125 second

Only one step

Computation time:48 hours on

Pentium 4 3.6 GHZ CPU

Page 16: Lecture Slides: Lecture Evaluation

16Challenge the future

Sensitivity analysis one parameter vs one metric

SystemInput /parameter1 Metric

Derivative of the metric (f) w.r.t. input / parameter(p)

)( pfdpd

Page 17: Lecture Slides: Lecture Evaluation

17Challenge the future

Sensitivity analysis multiple parameters vs one metric

SystemInput /parameter1

Input /parameter 2

Input /parameter…

Metric

Gradient of the metric (f) w.r.t. inputs / parameters (p1,p2...,pn)

)),...,(,),,...,(),,...,(( 21212

211

nn

nn pppfp

pppfp

pppfp

f

Page 18: Lecture Slides: Lecture Evaluation

18Challenge the future

Sensitivity analysis: An Example

x

y

22

),( yxxeyxf ),( yxf

f(x, y)

Page 19: Lecture Slides: Lecture Evaluation

19Challenge the future

Sensitivity analysis: An Example

Sensitive Insensitive

x

y

22

),( yxxeyxf ),( yxf

( ( , ) ( ( , )( , ) ( , )f x y f x yf x yx y

Page 20: Lecture Slides: Lecture Evaluation

20Challenge the future

Numerical approach of partial differences

ppppfppppfpppf

pnn

n

),...,(),...,(),...,( 2121

211

22

),( yxxeyxf

22

2222 0)0(

0

0)0(

),(

yx

yyx

x

ex

eex

yxfx

Example:

Page 21: Lecture Slides: Lecture Evaluation

21Challenge the future

Sensitivity analysis of the simulation

Page 22: Lecture Slides: Lecture Evaluation

22Challenge the future

Sensitivity analysis in simulation

Euler method:

Suppose the temperature of house is 10°, the water is 55° and the surface area of radiators is 5m2, the model is

d ( )( ) ( )dy ty t t y t tt

0

d ( ) ( ) ( )limd t

y t y t t y tt t

)(0.000234-0.0129)( tTtTdtd

Using Euler method to solve differential equation over the interval t=0 .. 5000 seconds.

Page 23: Lecture Slides: Lecture Evaluation

23Challenge the future

Euler method in detail

Euler method:

d ( )( ) ( )dy ty t t y t tt

Page 24: Lecture Slides: Lecture Evaluation

24Challenge the future

Sensitivity analysis in simulation

Errors

Steps in Euler method

1 step

3 steps6 steps

12 steps

Page 25: Lecture Slides: Lecture Evaluation

25Challenge the future

Sensitivity analysis of the system

Page 26: Lecture Slides: Lecture Evaluation

26Challenge the future

Evaluations – the metric w.r.t initial temperature

Initial room temperature

ChoiceChoice

Time to raise the temperature by 1°C

180 seconds

Page 27: Lecture Slides: Lecture Evaluation

27Challenge the future

Evaluations – the metric w.r.t. surface area & water temperature

Area of radiator (m2) Water temperature (ºC)

Time needed to raise the

temperature by 1°C

radiator

airwaterairairair

hA

tTTtTdtdcm 1

)()(

Page 28: Lecture Slides: Lecture Evaluation

28Challenge the future

Evaluations

Area of radiator (m2)

Water temperature (ºC)

1ºC@180 s

Safe zone1ºC@220 s1ºC@240 s

1ºC@260 s1ºC@280 s

Page 29: Lecture Slides: Lecture Evaluation

29Challenge the future

Recall: A more complicate case

Simulate from 0 to 0.00125 second

Only one step

Computation time:48 hours on

Pentium 4 3.6 GHZ CPU

Page 30: Lecture Slides: Lecture Evaluation

30Challenge the future

Evaluation of the results: Sensitivity analysis

2Think smart, not hard: Substitutes calculation-intensive ‘blind’ searches of the solutions space

1How much do we trust our model? (sensitivity to solution parameters)

3Design for ‘insensitivity’/ tolerance-insensitive, wide tolerances

Page 31: Lecture Slides: Lecture Evaluation

31Challenge the future

What did we learn today?

How to establish metric(s) (functions)

Parameters play different roles in both modelling and simulation

Proper adjustment of design parameters

leads to better designs

Page 32: Lecture Slides: Lecture Evaluation

32Challenge the future

Success!

Prof. Dr. Christos SpitasDr. Y. Song (Wolf)

Faculty of Industrial Design EngineeringDelft University of Technology