Overview of the Simulation Modeling...

52
Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based Modeling Bootcamp for Health Researchers August 22, 2011

Transcript of Overview of the Simulation Modeling...

Page 1: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Overview of the Simulation Modeling Process

Nathaniel Osgood

Agent-Based Modeling Bootcamp for Health Researchers

August 22, 2011

Page 2: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Overview of Modeling Process

• Typically conducted with an interdisciplinary team

• An ongoing process of refinement

• Best: Iteration with modeling, intervention implementation, data collection

• Often it is the modeling process itself – rather than the models created – that offers the greatest value

Page 3: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

ABM Modeling Process Overview

A Key Deliverable!

Model scope/boundary selection.

Model time horizon

Identification of key variables

Reference modes for explanation

Causal loop diagrams

State charts

System Structure diagrams

Multi-agent interaction diagrams

Multi-scale hierarchy diagrams

Process flow structure

Specification of

• Parameters

• Quantitative causal relations

• Decision/behavior rules

• Initial conditions

Reference mode reproduction

Matching of intermediate time series

Matching of observed data points

Constrain to sensible bounds Structural sensitivity analysis

Specification & investigation of intervention scenarios Investigation of hypothetical external conditions

Cross-scenario comparisons (e.g. CEA)

Parameter sensitivity analysis

Cross-validation

Robustness&extreme value tests

Unit checking Problem domain tests

Learning environments/Microworlds/flight simulators

Group model building

Page 4: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Recall: Coevolution

Formal Modeling Artifacts Simulated Dynamics

Mental Model

External World

Actions & Choice of

Observations

Observations/

Evaluation

Page 5: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Modeling Process Overview

A Key Deliverable!

Model scope/boundary selection.

Model time horizon Identification of

Key variables

Reference modes for explanation

Causal loop diagrams

State charts

System Structure diagrams

Multi-agent interaction diagrams

Multi-scale hierarchy diagrams

Process flow structure

Specification of

• Parameters

• Quantitative causal relations

• Decision/behavior rules

• Initial conditions

Reference mode reproduction

Matching of intermediate time series

Matching of observed data points

Constrain to sensible bounds Structural sensitivity analysis

Specification & investigation of intervention scenarios Investigation of hypothetical external conditions

Cross-scenario comparisons (e.g. CEA)

Parameter sensitivity analysis

Cross-validation

Robustness&extreme value tests

Unit checking Problem domain tests

Learning environments/Microworlds/flight simulators

Group model building

Page 6: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Identification of Questions/ “The Problem”

• All models are simplifications and “wrong” • Some models are useful • Attempts at perfect representation of “real-world”

system generally offer little value • Establishing a clear model purpose is critical for defining

what is included in a model – Understanding broad trends/insight? – Understanding policy impacts? – Ruling out certain hypotheses?

• Think explicitly about model boundaries • Adding factors often does not yield greater insight

– Often simplest models give greatest insight – Opportunity costs: More complex model takes more time to

build=>less time for insight

Page 7: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Importance of Purpose

Firmness of purpose is one of the most necessary sinews of character, and one of the best instruments of success. Without it genius wastes its efforts in a maze of inconsistencies.

Lord Chesterfield

The secret of success is constancy of purpose.

Benjamin Disraeli

The art of model building is knowing what to cut out, and the purpose of the model acts as the logical knife. It provides the criterion about what will be cut, so that only the essential features necessary to fulfill the purpose are left.

John Sterman

H Taylor, 2001

Page 8: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Common Division • Endogenous

– Things whose dynamics are calculated as part of the model

• Exogenous

– Things that are included in model consideration, but are specified externally

• Time series

• Constants

• Ignored/Excluded

– Things outside the boundary of the model

Page 9: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Example of Boundary Definition

(1998)

Page 10: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Modeling Process Overview

A Key Deliverable!

Model scope/boundary selection.

Model time horizon Identification of

Key variables

Reference modes for explanation

Causal loop diagrams

State charts

System Structure diagrams

Multi-agent interaction diagrams

Multi-scale hierarchy diagrams

Process flow structure

Specification of

• Parameters

• Quantitative causal relations

• Decision/behavior rules

• Initial conditions

Reference mode reproduction

Matching of intermediate time series

Matching of observed data points

Constrain to sensible bounds Structural sensitivity analysis

Specification & investigation of intervention scenarios Investigation of hypothetical external conditions

Cross-scenario comparisons (e.g. CEA)

Parameter sensitivity analysis

Cross-validation

Robustness&extreme value tests

Unit checking Problem domain tests

Learning environments/Microworlds/flight simulators

Group model building

Page 11: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Example Causal Loop Diagram

Department of Computer Science

Page 12: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

A Second Causal Loop Diagram

Infectives

New Infections

People Presenting

for Treatment

Waiting Times

+

+

Health Care Staff

-

Susceptibles-

Contacts ofSusceptibles with

Infectives

++

++

Page 13: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Qualitative Causal Loop Diagram

Qualitative Transitions (no likelihood yet specified)

Page 14: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

These “parameters” give static characteristics of the agent

These describe the “behaviours” – the mechanisms that will govern agent dynamics

Age

Cumulative Cigarettes Smoked

Weight

These variables are aspects of state.

Page 15: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Stock & Flow Structure

Normal and

Underweight

Weight

Overweight

Pregnant with GDM

History of GDMT2DM

Developing Obesity

Pregnant Normal

Weight Mothers

with No GDM

History

Completion of Pregnancy

to Non-Overweight State

Completion of GDM

Pregnancy

Women with History of

GDM Developing T2DM

Overweight Individuals Developing T2DM

Normal WeightIndividuals Developing

T2DM

Pregnant with

T2DM

New Pregnancies from

Mother with T2DMCompletion of Pregnancy for Mother with T2DM

Pregnant

Overweight

Mothers with No

GDM History

Pregnancies of

Overweight Women

Completion ofPregnancy to

Overweight State

Pregnancies ofNon-Overweight

Women

Pregnancies to Overweight

Mother Developing GDM

Pregnancies toNon-Overweight Mother

Developing GDM

Pregnant with

Pre-Existing History of

GDM

Pregnancies for

Women with GDM

Pregnancies DevelopingGDM from Mother with

GDM History

Completion of Non-GDMPregnancy for Woman with

History of GDM

Shedding Obesity

Pregnant WomenDeveloping PersistentOverweight/Obesity

Oveweight Babies Born

from T2DM Mothers

Pregnant Women with GDMthat Continue on toPostpartum T2DM

Normal Weight Babies Bornfrom Non-GDM Mother with

History of GDM

Overweight Babies Born fromNon-GDM Mother with

History of GDM

Normal Weight BabiesBorn from GDM

Pregnancy

Overweight Babies Born

from GDM Pregnancy

Overweight Babies Born toPregnant Normal Weight

Mothers

Overweight Babies Bornfrom Pregnant Overweight

Mothers

Normal Weight Babies Born to

Mothers without GDM

Normal Weight BabiesBorn from T2DM

Pregnancy

Pregnancy

Duration

<Birth Rate>

Normal Weight Babies Bornto Overweight Mothers

without GDM

Normal Weight

Deaths

Overweight

Deaths

T2DM Deaths

Deaths from Non-T2DMWomen with History of

GDM

Page 16: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Problem Mapping: Qualitative Models (System Structure Diagram)

Headley, J., Rockweiler, H., Jogee, A. 2008. Women with HIV/AIDS in Malawi: The Impact of Antiretroviral Therapy on Economic Welfare, Proceedings of the 2008 International Conference of the System Dynamics Society, Athens, Greece, July 2008.

Page 17: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Modeling Process Overview

A Key Deliverable!

Model scope/boundary selection.

Model time horizon Identification of

Key variables

Reference modes for explanation

Causal loop diagrams

State charts

System Structure diagrams

Multi-agent interaction diagrams

Multi-scale hierarchy diagrams

Process flow structure

Specification of

• Parameters

• Quantitative causal relations

• Decision/behavior rules

• Initial conditions

Reference mode reproduction

Matching of intermediate time series

Matching of observed data points

Constrain to sensible bounds Structural sensitivity analysis

Specification & investigation of intervention scenarios Investigation of hypothetical external conditions

Cross-scenario comparisons (e.g. CEA)

Parameter sensitivity analysis

Cross-validation

Robustness&extreme value tests

Unit checking Problem domain tests

Learning environments/Microworlds/flight simulators

Group model building

Page 18: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Model Formulation

• Model formulation elaborates on problem mapping to yield a quantitative model

• Key missing ingredients

– Specifying formulas for

• Statechart transitions

• Flows (in terms of other variables)

• Intermediate/output variables

– Parameter values

Page 19: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Example Conditional Transition

The incoming transition into “WhetherPrimaryProgression” will be routed to thisoutgoing transition if this condition is true

Page 20: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Transition Type: Message Triggered

Page 21: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Transition Type: Fixed Rate

Page 22: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Transition Type: Variable Rate

Page 23: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Transition Type: Fixed Residence Time (Timeout)

Page 24: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Simple Intermediate Variable

Page 25: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Sources for Parameter Estimates

• Surveillance data

• Controlled trials

• Outbreak data

• Clinical reports data

• Intervention outcomes studies

• Calibration to historic data

• Expert judgement

• Systematic reviews

Anderson & May

Page 26: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Introduction of Parameter Estimates

Non Obese

General

Population

Undx Prediabetic

Popn

Obese General

Population

Becoming Obese

Dx Prediabetic Popn

DevelopingDiabetesBeing Born Non

Obese Being Born At

Risk

Annual Likelihood of

Becoming Obese

Annual Likelihood of

Becoming Diabetic

Diagnosis of

prediabetics

undx uncomplicated

dying other causes

dx uncomplicated

dying otehr causes

Annualized ProbabilityDensity of prediabetic

recongnition

Non-Obese

Mortality

Annual Mortality Rate for

non obese population

Annualized MortalityRate for obese

population

<Annual Not at

Risk Births>

Annual Likelihood ofNon-Diabetes Mortality forAsymptomatic Population

<Annual at Risk

Births>

Obese Mortality

Dx Prediabetics

Recovering

Undx Prediabetics

Recovering

Annual Likelihood ofUndx Prediabetic

Recovery

Annual Likelihood of Dx

Prediabetic Recovery

<Annual Likelihood ofNon-Diabetes Mortality forAsymptomatic Population>

Some dynamics models will provide much more detail on networks of factors shaping these rates, but ultimately there will be constants that need to be specified

Page 27: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Modeling Process Overview

A Key Deliverable!

Model scope/boundary selection.

Model time horizon Identification of

Key variables

Reference modes for explanation

Causal loop diagrams

State charts

System Structure diagrams

Multi-agent interaction diagrams

Multi-scale hierarchy diagrams

Process flow structure

Specification of

• Parameters

• Quantitative causal relations

• Decision/behavior rules

• Initial conditions

Reference mode reproduction

Matching of intermediate time series

Matching of observed data points

Constrain to sensible bounds Structural sensitivity analysis

Specification & investigation of intervention scenarios Investigation of hypothetical external conditions

Cross-scenario comparisons (e.g. CEA)

Parameter sensitivity analysis

Cross-validation

Robustness&extreme value tests

Unit checking Problem domain tests

Learning environments/Microworlds/flight simulators

Group model building

Page 28: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Calibration

• Often we don’t have reliable information on some parameters – Some parameters may not even be observable!

• Some parameters may implicitly capture a large set of factors not explicitly represented in model

• Often we will calibrate less well known parameters to match observed data – “Analytic triangulation”: Often try to match against

many time series or pieces of data at once

• Sometimes we learn from this that our model structure just can’t produce the patterns!

Page 29: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Calibrating in the Midst of Stochastics

0

100

200

300

400

500

600

700

800

900

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

Historic Series

Historic Series

Year from Start

Page 30: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Single Model Matches Many Data Sources

one of

Page 31: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

The Pieces of the Elephant Example Model of Underlying Process&Time Series it Must Match

Here, we are totalling up across the population

Page 32: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Modeling Process Overview

A Key Deliverable!

Model scope/boundary selection.

Model time horizon Identification of

Key variables

Reference modes for explanation

Causal loop diagrams

State charts

System Structure diagrams

Multi-agent interaction diagrams

Multi-scale hierarchy diagrams

Process flow structure

Specification of

• Parameters

• Quantitative causal relations

• Decision/behavior rules

• Initial conditions

Reference mode reproduction

Matching of intermediate time series

Matching of observed data points

Constrain to sensible bounds Structural sensitivity analysis

Specification & investigation of intervention scenarios Investigation of hypothetical external conditions

Cross-scenario comparisons (e.g. CEA)

Parameter sensitivity analysis

Cross-validation

Robustness&extreme value tests

Unit checking Problem domain tests

Learning environments/Microworlds/flight simulators

Group model building

Page 33: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Units & Dimensions

• Distance

– Dimension: Length

– Units: Meters/Fathoms/Li/Parsecs

• Frequency (Growth Rate, etc.)

– Dimension:1/Time

– Units: 1/Year, 1/sec, etc.

• Fractions

– Dimension: “Dimensionless” (“Unit”, 1)

– Units: 1

Page 34: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Dimensional Analysis

• DA exploits structure of dimensional quantities to facilitate insight into the external world

• Uses – Cross-checking dimensional homogeneity of model

– Deducing form of conjectured relationship

(including showing independence of particular factors)

– Sanity check on validation of closed-form model analysis

– Checks on simulation results

– Derivation of scaling laws

* Construction of scale models

– Reducing dimensionality of model calibration, parameter estimation

Page 35: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Sensitivity Analyses

• Same relative or absolute uncertainty in different parameters may have hugely different effect on outcomes or decisions

• Help identify parameters that strongly affect – Key model results

– Choice between policies

• We place more emphasis in parameter estimation into parameters exhibiting high sensitivity

Page 36: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Sensitivity in Initial Value

• Frequently we don’t know the exact state of the system at a certain point in time

• A very useful type of sensitivity analysis is to vary the initial value of model stocks

• In Vensim, this can be accomplished by

– Indicating a parameter name within the “initial value” area for a stock

– Varying the parameter value

Page 37: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Imposing a Probability Distribution Monte Carlo Analysis

• We feed in probability distributions to reflect our uncertainty about one or more parameters

• The model is run many, many times (realizations)

– For each realization, the model uses a different draw from those probability distribution

• What emerges is resulting probability distribution for model outputs

Page 38: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Example Resulting Distribution

Empirical Fractiles

Page 39: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Impact on cost of uncertainty regarding mortality and medical costs

50% 60% 70% 80% 90% 95% 97% 99%

Incremental Costs

6 B

4.5 B

3 B

1.5 B

0 2001 2014 2026 2039 2051

Time (Year)

Static Uncertainty

Page 40: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Dynamic Uncertainty: Stochastic Processes

Page 41: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Dynamic Uncertainty: Stochastic Processes

Page 42: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Modeling Process Overview

A Key Deliverable!

Model scope/boundary selection.

Model time horizon Identification of

Key variables

Reference modes for explanation

Causal loop diagrams

State charts

System Structure diagrams

Multi-agent interaction diagrams

Multi-scale hierarchy diagrams

Specification of

• Parameters

• Quantitative causal relations

• Decision/behavior rules

• Initial conditions

Reference mode reproduction

Matching of intermediate time series

Matching of observed data points

Constrain to sensible bounds Structural sensitivity analysis

Specification & investigation of intervention scenarios Investigation of hypothetical external conditions

Cross-scenario comparisons (e.g. CEA)

Parameter sensitivity analysis

Cross-validation

Robustness&extreme value tests

Unit checking Problem domain tests

Learning environments/Microworlds/flight simulators

Group model building

Page 43: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Late Availability of HC Workers

Prevalence

1

0.75

0.5

0.25

0

0 125 250 375 500 625 750 875 1000 1125 1250 1375 1500 1625 1750 1875 2000 2125 2250 2375 2500

Time (Day)

Prevalence : Baseline 30 HC Workers 1

Prevalence : Alternative HC Workers Late 50 1

Prevalence : Alternative HC Workers Late 100 1

Prevalence : Alternative HC Workers Late 200 1

Prevalence : Alternative HC Workers Late 250 1

Prevalence : Alternative HC Workers Late 300 1

Infection extinction at 300 HC workers!

Page 44: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Simulation Analysis: Scenarios for Understanding How X affects System

Page 45: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Policy Formulation & Evaluation

Page 46: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Policy Comparison: Stochastic Processes

Page 47: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Policy Comparison: Stochastic Processes

Page 48: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Modeling Process Overview

A Key Deliverable!

Model scope/boundary selection.

Model time horizon Identification of

Key variables

Reference modes for explanation

Causal loop diagrams

State charts

System Structure diagrams

Multi-agent interaction diagrams

Multi-scale hierarchy diagrams

Specification of

• Parameters

• Quantitative causal relations

• Decision/behavior rules

• Initial conditions

Reference mode reproduction

Matching of intermediate time series

Matching of observed data points

Constrain to sensible bounds Structural sensitivity analysis

Specification & investigation of intervention scenarios Investigation of hypothetical external conditions

Cross-scenario comparisons (e.g. CEA)

Parameter sensitivity analysis

Cross-validation

Robustness&extreme value tests

Unit checking Problem domain tests

Learning environments/Microworlds/flight simulators

Group model building

Page 49: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

THE INTERACTIVE DYNAMIC SIMULATOR (BWATERGAME)

Barlas/Karanfil, 2007

Page 50: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Results of the Game Tests by Players

110

115

120

125

130

135

140

145

0 16 32 48 64 80 96 112

128

144

160

hours

EC

Na

co

nc

player1

player2

player3

player4

player5

normal

Dynamics of ECNa concentration for five players...

39

40

41

42

43

44

45

46

47

48

0 16 32 48 64 80 96 112

128

144

160

hours

Bo

dy

Wa

ter

player1

player2

player3

player4

player5

normalDynamics of total body water...

Barlas/Karanfil, 2007

Page 51: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Stakeholder Action Labs

• Team Meetings

Mabry, 2009, “Simulating the Dynamics of Cardiovascular Health and Related Risk Factors”

Page 52: Overview of the Simulation Modeling Processcephil.usask.ca/Classes/ABMBootCampSaskatoon2011/Slides/Lectur… · Overview of the Simulation Modeling Process Nathaniel Osgood Agent-Based

Key Take-Home Messages from this Morning • Models express dynamic hypotheses about

processes underlying observed behavior

• Frequently observed behaivour is “emergent” – it is qualitatively different than the behaviour of any one piece of the system, or a simple combination of behaviour of those pieces

• Models help understanding how diverse pieces of system work together

• ABM focus on agent interactions as the fundamental shapers of dynamics

• Models are specific to purpose

Department of Computer Science