Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering...

19
Previous experience Background (Carleton / Ottawa U / Special ?) Systems/Computer Engineering Computer Science Electronic/Electrical Engineering Industrial/Mechanical Engineering General Sciences: Mathematics, Chemistry, Physics, etc. Natural Sciences/Medicine Social Sciences – Other? Experience in the area Courses in Modelling and Simulation? DEVS? (Basic/Advanced) Parallel simulation (Basic/Advanced) Programming languages for discrete-event models (Basic/Advanced) – None

Transcript of Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering...

Page 1: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Previous experience Background (Carleton / Ottawa U / Special ?)

– Systems/Computer Engineering– Computer Science– Electronic/Electrical Engineering– Industrial/Mechanical Engineering– General Sciences: Mathematics, Chemistry, Physics, etc.– Natural Sciences/Medicine– Social Sciences– Other?

Experience in the area– Courses in Modelling and Simulation?– DEVS? (Basic/Advanced)– Parallel simulation (Basic/Advanced)– Programming languages for discrete-event models

(Basic/Advanced)– None

Page 2: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Problem Solving

Results

Experiment

Experimental Frame Entity

•Analysis of natural/artificial real systems.•Experimentation.

Page 3: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Modeling of Natural Systems

Analytical methods (300+ years Newton-Leibniz).

x

Tkqx

Page 4: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

The problem solving cycle

Page 5: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Analytical Modeling

EquationsResults

ExperimentExperimental

Frame Entity

Results

QueryModel's Exp.

Frame Model

Analytical:– Based on reasoning– Symbolic– General solutions to existing systems

Page 6: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

The problem analysis cycle

Page 7: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Problems with Analytical Modeling

Complexity: analytical solutions cannot be provided.

– Impossible to define– Impossible to solve– Simplifications

Numerical Methods

1

1

1

1

1

L

Kh

TL

KhT

To

Page 8: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Numerical Approximation

Approximation

Results

ExperimentExperimental

Frame Entity

QueryModel's Exp.

Frame Model

Approximate Results

Computed Query

Computation Exp. Frame

Compute

Page 9: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Artificial Systems Modeling

Complexity: analytical solutions cannot be provided.

Differential equations and approximations: inadequate tools

Page 10: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Modeling Artificial Systems

G Y R G: 45s

Y: 10s

R: 55s

0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120

YELLOW

GREEN

RED

GREEN

Page 11: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Automata Simulation

Approximation

Results

ExperimentExperimental

Frame Entity

QueryModel's Exp.

Frame Model

Approximate Results

Computed Query

Computation Exp. Frame

Compute

G

Y

R

0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120

YELLOW

GREEN

RED

GREEN

Page 12: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Along Came the Computer…

1950’s: simulation– Particular solutions for a given problem– Controlled experimentation– Time compression

Mixed problems– Solving numerical methods more efficiently– Computing automata-based models– Conducting a large number of experiments in a controlled

fashion at a low cost

Page 13: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Experiment

Building a Simulator

ProgramResults

ExperimentExperimental

Frame Entity

Results

Simulator

Page 14: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Building a Simulator

time = 0; State = Green;

Repeat Forever {

if (State == Green AND (time mod 110) == 45) State = Yellow;

if (State == Yellow AND (time mod 110) == 55) State = Red;

if (State == Red AND (time mod 110) ==110) State = Green,

time = time + 5;

}

Automata

Numerical

Approximation

1

1

1

1

1

L

Kh

TL

KhT

To

t

f(t)

h

)(** 1 nxhxx nn

h

txhtxtx

)()()(

Page 15: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Single-use Program Approach

Reuse of simulation software in a different context?

Reuse of experiments carried out?

Changes in the model?

Updates in the model?

Where is the abstract model to use to organize our thoughts?

How do we validate the results? What if we find errors?

Page 16: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Discrete-Event Dynamic Systems

0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120

YELLOW

GREEN

RED

GREEN

Pedestrian button pressed at 37.32722

Page 17: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Modeling DEDS

How do we model the external sensory information? If we need to combine this traffic light with others, how

is the variable-timing behavior going to affect the combined automaton?

Which would be right timestep to be used? What are the “differential equations” for this problem? Lights for the whole city: explosion of states?

Page 18: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Experiment

Building a Simulator

ProgramResults

ExperimentExperimental

Frame Entity

Results

Simulator

Page 19: Previous experience n Background (Carleton / Ottawa U / Special ?) –Systems/Computer Engineering –Computer Science –Electronic/Electrical Engineering –Industrial/Mechanical.

Discrete-Event M&S

Based on programming languages (difficult to test, maintain, verify).

Beginning ’70s: research on M&S methodologies.

Improvement of development task.

Focus in reuse, ease of modeling, development cost reductions.