model-based technology

32
Model-based Technology George M. Coghill

Upload: page

Post on 31-Jan-2016

31 views

Category:

Documents


0 download

DESCRIPTION

Model-based Technology. George M. Coghill. Introduction. Description of the Field Motivations for development Applications of MBT Overview Models Background Text which may be consulted: “Qualitative Reasoning” Ben Kuipers, MIT Press 1994. What happens next?. … and in this case?. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Model-based Technology

Model-based Technology

George M. Coghill

Page 2: Model-based Technology

Introduction

• Description of the Field• Motivations for development• Applications of MBT• Overview• Models Background

• Text which may be consulted:“Qualitative Reasoning”Ben Kuipers, MIT Press 1994

Page 3: Model-based Technology

What happens next?

Page 4: Model-based Technology

… and in this case?

V

qi

qo

Page 5: Model-based Technology

Model-based Reasoning

• Qualitative Reasoning– Symbolic, using no numbers– Structural though incomplete– Synonyms: Naive physics, Qualitative modelling, Qualitative

simulation, Commonsense reasoning, Deep knowledge.

• Developments– Use of any models in the domain reasoning process– Numerical, Interval, Semi-quantitative, Fuzzy, Qualitative,

Rule-based, Procedural

Page 6: Model-based Technology

Systems

• Natural Systems– Physical: Fluid behaviour, Chemical reactions– Biological: Drug uptake, Cardiac performance, Renal

operation, Photosynthesis– Ecological

• Artificial Systems– Physical: Electrical circuits, Mechanical systems, Chemical

plant– Economic: Housing markets, Organisations

Page 7: Model-based Technology

Forward Chaining

B

F

A

G

C

D

E

H

I

• R1: If A then B• R2: If B and C then D• R3: If B and E then F• R4: If D then G • R5: If F then G• R6: If G and H then I• R7: If G then J

J

and

or

Page 8: Model-based Technology

Motivations• Problems with RBS

– Reasoning from First Principles– Dangers with “nearest approximation”

• Second Generation Expert Systems– Use deep knowledge – Provide explanations of reasoning process

• Commonsense reasoning– Capture how humans reason– Enable use of appropriate causality

• Model reuse– Improved ease of ES maintenance

Page 9: Model-based Technology

Applications of MBT

• Domains of Application– Modelling of ecological systems– Diagnosis of industrial plant– Training of process operators– Control of process plant

• Industrial Investment– Number of large collaborative projects involving industry

(e.g. Unilever, Siemens, BG) and academia

• Eye to the future– Industrial rollout– Focus on the essence of ‘Modelling’

Page 10: Model-based Technology

Applications of MBT (2)

• Development methods– KADS - Expert Systems development– ARTIST, PRIDE - Model-based Diagnosis

• Communication infrastructure– European - Monet– National - R&R (UK), MQD (France)

• Commercialisation– Tiger - Diagnosis of Gas Turbines– FLAME (Autosteve) - FMEA and Diagnosis of car

electrics

Page 11: Model-based Technology

Overview

• Background and Basics– Ontologies, Quantity spaces, Qualitative arithmetic,

Operations, Causality.

• Major methods of QR– Devices, Processes and Constraints– Focus on constraint based and developments

• Reasoning Domains– Explanation, Diagnosis, Training, Prediction, Spatial

reasoning, Kinematics, Learning

• Modelling Methodologies– Teleological, Behavioural, Multimodelling, Multiple models

Page 12: Model-based Technology

• Assume knowledge• You’ve all come across them.

• Declarative Structure• Representation

– Executable but distinct from inference mechanism.

• Prediction: – What value will it have?

• Explanation– Why did it happen that way?– Facilitates understanding of system

What is a Model?

InferenceEngine

Input Data

BehaviourModel

Page 13: Model-based Technology

Basic Principles of QR

• Terminology and Concepts– new(ish) field: proliferation of terms– underlying concepts basis for all QR

• Symbollically represents the important (qualitative) distinctions in a system– increasing, steady, decreasing– high, medium, low

• Scales of Measurement– nominal, ordinal, interval, ratio

• Qualitative versus Quantitative?

Page 14: Model-based Technology

Qualitative Reasoning• Components of a Qualitative Model

– Ontology (a way of looking at the world)– Variables (things that change)– Quantity space (values variables take)– Relations (what variables do to each other)

• Quantity Spaces

+0

-

0l1 l2

μA

(x)

10 x-1 0.2 0.4 0.6 0.8-0.8 -0.6 -0.4 -0.2

n-top n-large n-medium n-small zero p-small p-medium p-large p-top

Page 15: Model-based Technology

Qualitative Relations• Behavioural Abstraction

PhysicalSystem

ActualBehaviour

DifferentialEquation

Fi: R R

Qualitative Constraints

BehaviouralDescription

numerical or analytic solution

qualitative simulation

Page 16: Model-based Technology

Qualitative Relations (2)

• Incompleteness– Not the same as “Uncertainty”

• but is related to “Precision”

– Known model structure (assumed)– Imprecise knowledge of system functional

relations

• Operators– ADD, MULT, DERIV, Monotonic functions

Page 17: Model-based Technology

Precision and Uncertainty

T (oC)100

T (oC)100Precise, Certain, Correct

T (oC)100 105Precise, Certain, Incorrect

T (oC)100 10595Imprecise, Certain, Correct

T (oC)100 105 115Imprecise, Certain, Incorrect

T (oC)10095 105Precise, Uncertain, Correct

Imprecise, Uncertain, Correct

Page 18: Model-based Technology

Arithmetic Operations• Sign Algebra

+ 0

0+

_

_

MULT

DIV

+

+_

_

000 00

+ 0

0+

_

_

+

+_

_

0 0XXX

Page 19: Model-based Technology

Aritmetic Operations (2)

+ 0

0+

_

_

++ 0 _

+ 0

0+

_

_+_ 0

+ ?

? __

?

? + +

_ _

ADD

SUB

Page 20: Model-based Technology

Arithmetic Operations (3)A = B - C

where B & C both have value [+], A will be undefined

• Disambiguation– may be possible from other information– A = [+] if B > C– A = [0] if B = C– A = [-] if B < C

• Functional Relations– Y = M+(X)– Y = M-(X)

Page 21: Model-based Technology

Qualitative Vectors• Convenient representation of state and behaviour• Consists of Magnitude and first n derivatives of a

variable:x -> d0 (zeroth derivative)x’ -> d1 (first derivative)x” -> d2 (second derivative). . .

[x] = (d0, d1, d2 . . .)

• Usually need at least two elements in a vector (three is better because curve shapes can be seen).

Page 22: Model-based Technology

Qualitative Vectors (2)

+ 0

0

+

_

_

d1d2

Page 23: Model-based Technology

Qualitative Calculus [x] = [d0, d1, d2 ]

Intg(x) = [d0I, d1

I, d2I] D(x) = [d0

D, d1D, d2

D]

For Integration:d0

I = d0 + d1 = d1I + d2

I

(by Taylor’s Theorem)

For Differentiation:d2

D: depends on what is known of the original function (or system in which it appears)

Page 24: Model-based Technology

Model Types• Static (Equilibrium)

– algebraic equations only[A] = [B] + [C][X] = M+([Y])M = U * V

• Dynamic– contains derivatives,– requires integration

x’ = k.x

y = xdt– may also have algebraic parts

NB: Dynamic is not the same as time varying!!!

Page 25: Model-based Technology

Model Types (2)• Continuous

– no gaps in quantity space– no jumps allowed– focus of QR (mainly)

• Discontinuous/Discrete– finite number of gaps in quantity space

– jumps can occur

Page 26: Model-based Technology

Behaviour Types• Results of Simulation/Inference are known as

ENVISIONMENTS• TOTAL ENVISIONMENT

– All possible behaviours for all possible inputs

• COMPLETE ENVISIONMENT– All possible behaviours for a specific input

• ATTAINABLE ENVISIONMENT– All behaviours from a specified initial value and

input ~ with a fixed quantity space

• PARTIAL ENVISIONMENT– All behaviours from a specified initial value and

input ~ with landmark generation

Page 27: Model-based Technology

Behaviour Types (2)

• Envisionments are represented as a graph or a tree

• BEHAVIOUR– Single path through an envisionment graph

or behaviour tree

• HISTORY– Behaviour of a single variable removed

from its envisioned context.

Page 28: Model-based Technology

Ontology

• A way of representing what there is in the world (closed)

• Two (main) perspectives:– Functional: focuses on purpose (design)– Behavioural: focuses on operation

• Three Behavioural Ontologies:– Devices (Components): pipes, tanks valves– Processes: heating, reacting, decomposing– Constraints: relations between variables

Page 29: Model-based Technology

Heated Tanks

Heater

Tank A

Tank B

Page 30: Model-based Technology

Component Representation

ADD(D1 D2 Q)

MULT(Fab T D1)M+(D2 T_dash)DERIV(T T_dash)M+(La Fab)MINUS(Fba Fab)DERIV(La Fba)

M+(Fab Lb)DERIV(Lb Fab)

Heater

Tank A

Tank B

Page 31: Model-based Technology

Process Representation

ADD(D1 D2 Q)MULT(Fab T D1)M+(D2 T_dash)DERIV(T T_dash)

M+(La Fab)MINUS(Fba Fab)DERIV(La Fba)

M+(Fab Lb)DERIV(Lb Fab)

Heating

Flow

Containment

Page 32: Model-based Technology

Constraint Model

M+(Fab Lb)M+(La Fab)M+(D2 T_dash)ADD(D1 D2 Q)MINUS(Fba Fab)MULT(Fab T D1)DERIV(La Fba)DERIV(Lb Fab)DERIV(T T_dash)