11
New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

Embed Size (px)

Citation preview

Page 1: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

New Mexico Computer Science For All

Abstraction in Modeling and Simulation

Maureen Psaila-Dombrowski

Page 2: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

Abstraction•Abstraction is Simplification

•Why?▫“Real world” problems are too complicated▫Must simply in order to model ▫Ignoring some details or parts so that you

can focus on what is important to you at that time.

▫As your interests change the amount of abstraction you need can change too.

Page 3: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

Assumptions• Abstraction involves assumptions (things that

you take to be true). Before abstraction During abstraction After abstraction during model development

• Assumptions are what the modeler assumes when moving from the real world problem to a model.

Sometimes a simplification Sometimes a specification

• Assumptions need to be carefully considered Affect the outcome of the model Should be validated

Page 4: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

Pond Ecosystem

Page 5: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

Applying Abstraction:Modeling Rabbit’s Ecosystem

oLiving Rabbit Characteristics

• Birth• Death• Metabolism• Infection

People Plants Other animals Microscopic

There are many things that affect Rabbit populations: oNonliving

Water Soil Weather Disasters Pollution

Page 6: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

Applying Abstraction:Modeling Rabbit’s Ecosystem

oLiving Rabbit Characteristics

• Birth• Death• Metabolism• Infection

People Plants Other animals Microscopic

There are many things that affect Rabbit populations: oNonliving

Water Soil Weather Disasters Pollution

Page 7: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

•Run simple rabbit model

Page 8: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

Applying Abstraction:Modeling Rabbit’s Ecosystem

oLiving Rabbit Characteristics

• Birth• Death• Metabolism• Infection

People Plants (+ regrowing) Other animals Microscopic

There are many things that affect Rabbit populations: oNonliving

Water Soil Weather Disasters Pollution

Page 9: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

•Run more advanced rabbit model

Page 10: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

Applying Abstraction:Modeling Rabbit’s Ecosystem

oLiving Rabbit Characteristics

• Birth▫ Birth rate

• Death• Metabolism• Infection

People Plants (+ regrowing)

▫Caloric value or energy Other animals

▫Birth rate Microscopic

There are many things that affect Rabbit populations: oNonliving

Water Soil Weather Disasters Pollution

Page 11: New Mexico Computer Science For All Abstraction in Modeling and Simulation Maureen Psaila-Dombrowski

Summary•Abstraction is required for modeling•Can vary the amount of abstraction as

needed•Abstraction involves assumption.•Assumptions can affect the outcome of the

model