Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass...

38
Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia National Laboratories NSF Workshop “Opportunities and Challenges in Uncertainty Quantification for Complex Interacting systems” April 13, 2009 or “Why CASoS Engineering is both an Opportunity and Challenge for Uncertainty Quantification”

Transcript of Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass...

Page 1: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering

Robert Glass

with Arlo Ames, Walter Beyeler, and many others

Sandia National Laboratories

NSF Workshop

“Opportunities and Challenges in Uncertainty Quantification for Complex Interacting systems”

April 13, 2009

or“Why CASoS Engineering is both an Opportunity and

Challenge for Uncertainty Quantification”

Page 2: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Outline

What is a CASoS?

Where does uncertainty arise?

Engineering within a CASoS: Example of Influenza Pandemic Mitigation Policy Design

Towards a General CASoS Engineering Framework

Page 3: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

What is a CASoS?

System: A system is a set of entities, real or abstract, comprising a whole where each component interacts with or is related to at least one other component and that interact to accomplish some function. Individual components may pursue their own objectives, with or without the intention of contributing to the system function. Any object which has no relation with any other element of the system is not part of that system. System of Systems: The system is composed of other systems (“of systems”). The other systems are natural to think of as systems in their own right, can’t be replaced by a single entity, and may be enormously complicated. Complex: The system has behavior involving interrelationships among its elements and these interrelationships can yield emergent behavior that is nonlinear, of greater complexity than the sum of behaviors of its parts, not due to system complication.Adaptive: The system’s behavior changes in time. These changes may be within entities or their interaction, within sub-systems or their interaction, and may result in a change in the overall system’s behavior relative to its environment.

Page 4: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Many Examples

Tropical Rain forest

Agro-Eco system

Cities and Megacities (and their network on the planet)

Interdependent infrastructure (local to regional to national to global)

Government and political systems, financial systems, economic systems, (local to regional to national to global)… Global Energy System

Page 5: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Core Economy within Global Energy System

Households

Commerce

Nonfossil Power

FossilPower

Farming

Industry

Refining

Oil Production

Mining

Financing

Government

Explanation

PowerFoodConsumer GoodsIndustrial GoodsMineralsOilLaborSecuritiesDepositsEmission CreditsMotor Fuel

Broker

Entity type

Stuff

Labor

Finance

Page 6: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Trading Blocks composed of Core Economies

Region A

Households

Commerce

NonfossilPower

FossilPower

FarmingFinancing

Industry

Refining

Oil Production

Mining

Government

Households

Commerce

NonfossilPower

FossilPower

FarmingFinancing

Industry

Refining

Oil Production

Mining

Government

Region C

Households

Commerce

NonfossilPower

FossilPower

FarmingFinancing

Industry

Refining

Oil Production

Mining

Government

Households

Commerce

NonfossilPower

FossilPower

FarmingFinancing

Industry

Refining

Oil Production

Mining

Government

Region B

Households

Commerce

NonfossilPower

FossilPower

FarmingFinancing

Industry

Refining

Oil Production

Mining

Government

Households

Commerce

NonfossilPower

FossilPower

FarmingFinancing

Industry

Refining

Oil Production

Mining

Government

Explanation

Food

Consumer Goods

Industrial Goods

Minerals

Oil

DepositsEmission Credits

Motor Fuel

InterregionalBroker

Page 7: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Global Energy System

Explanation

Resources

InterregionalBroker

Information/Control

MultiregionalEntities

Page 8: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

LOTS of Uncertainty

Aspects of Complex systems can be unpredictable (e.g. BTW sandpile, …)

Adaptation, Learning and Innovation

Conceptual model uncertainty Beyond parameters Beyond IC/BC

Page 9: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Chickens being burned in Hanoi

Pandemic now. No Vaccine, No antiviral. What could we do to avert the carnage?

Three years ago on Halloween NISAC got a call from DHS. Public health officials worldwide were afraid that the H5NI “avian flu” virus would jump species and become a pandemic like the one in 1918 that killed 50M people worldwide.

Engineering within a CASoS: Example

Page 10: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Definition of the CASoS

System: Global transmission network composed of person to person interactions beginning from the point of origin (within coughing distance, touching each other or surfaces…)System of Systems: People belong to and interact within many groups: Households, Schools, Workplaces, Transport (local to regional to global), etc., and health care systems, corporations and governments place controls on interactions at larger scales…Complex: many, many similar components (Billions of people on planet) and groupsAdaptive: each culture has evolved different social interaction processes, each will react differently and adapt to the progress of the disease, this in turn causes the change in the pathway and even the genetic make-up of the virus

HUGE UNCERTAINTY

Page 11: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Analogy with other Complex Systems

Simple analog:Forest fires: You can build fire breaks based on where people throw cigarettes… or you can thin the forest so no that matter where a cigarette is thrown, a percolating fire (like an epidemic) will not burn.

Aspirations:Could we target the social network within individual communities and thin it? Could we thin it intelligently so as to minimize impact and keep the economy rolling?

Page 12: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Application of Networked Agent Method to Influenza

Everyone Random

Household

Extended Family

or Neighborhood

Teen Random

School classes

6 per teen

T1

T1

T1

T1

T1

Social Networks for Teen 1

ExampleTeen

Everyone Random

Household

Extended Family

or Neighborhood

Teen Random

School classes

6 per teen

T1

T1

T1

T1

T1

Social Networks for Teen 1

ExampleTeen

LatentMean duration 1.25

days

Infectious presymptomatic

Mean duration 0.5 days

IR 0.25

Infectious symptomaticCirculate

Mean duration 1.5 daysIR 1.0 for first 0.5 day,

then reduced to 0.375 for final day

Infectious symptomaticStay home

Mean duration 1.5 daysIR 1.0 for first 0.5 day,

then reduced to 0.375 for final day

Infectious asymptomaticMean duration 2 days

IR 0.25

Dead

Immune

Transition Probabilities

pS = 0.5pH = 0.5pM = 0

LatentMean duration 1.25

days

Infectious presymptomatic

Mean duration 0.5 days

IR 0.25

Infectious presymptomatic

Mean duration 0.5 days

IR 0.25

Infectious symptomaticCirculate

Mean duration 1.5 daysIR 1.0 for first 0.5 day,

then reduced to 0.375 for final day

Infectious symptomaticStay home

Mean duration 1.5 daysIR 1.0 for first 0.5 day,

then reduced to 0.375 for final day

Infectious asymptomaticMean duration 2 days

IR 0.25

Dead

Immune

Transition Probabilities

pS = 0.5pH = 0.5pM = 0

Stylized Social Network(nodes, links, frequency of interaction)

Disease manifestation(node and link behavior)

+

Page 13: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Adults (black) Children (red) Teens (blue)Seniors (green)

Network of Infectious Contacts

Children and teens form the Backbone of the Epidemic

Page 14: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Closing Schools and Keeping the Kids HomeID Factor 1.0

0

500

1000

1500

2000

2500

0 20 40 60 80 100 120 140 160

time (days)

nu

mb

er i

nfe

cted

unmitigated closing schools 50% compliance 100% compliance

ID Factor 1.5

0

500

1000

1500

2000

2500

0 20 40 60 80 100 120 140 160

time (days)

nu

mb

er i

nfe

cted

unmitigated closing schools 50% compliance 100% compliance

1958-like

1918-like

Page 15: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Connected to HSC Pandemic Implementation Plan writing team

They identified critical questions/issues and worked with us to answer/resolve themHow sensitive were results to the social net? Disease manifestation? How sensitive to compliance? Implementation threshold? Disease infectivity?How did the model results compare to past epidemics and results from the models of others?Is there any evidence from past pandemics that these strategies worked?What about adding or “layering” additional strategies including home quarantine, antiviral treatment and prophylaxis, and pre-pandemic vaccine?

We extended the model and put it on Tbird… 10’s of millions of runs later we had the answers to: What is the best mitigation strategy combination? (choice)How robust is the combination to model assumptions and uncertainty? (robustness of choice)What is required for the choice to be most effective? (evolving towards resilience)

These answers guided the formulation of national pandemic policy, Actualization is still in progress.

Page 16: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Robustness of Choice to Uncertainty

Model

Measures of System

Performance

Policies or Actions

UncertaintyUncertainty

Rank Policies by Performance measures while varying parameters within expected bounds

“Best” policies are those that always rank high, their choice is robust to uncertainty

Page 17: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Finding the right model

There is no general-purpose model of any system

A model describes a system for a purpose

System

What to we care about? What can we do?

Additional structure and details added as needed

Model

Page 18: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Pragmatic Detail : More can be less

Model Detail

Am

ount

Coverage of ModelParameter Space

1. Recognize the tradeoff2. Characterize the uncertainty with every model3. Buy detail when and where its needed

Chance ofError

Cost

Understanding

Page 19: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Aspirations

Define Analysis

Evaluate Performance

Define and EvaluateAlternatives

Define Conceptual Model

Satisfactory? Done

Action A

PerformanceRequirement

Action B

PerformanceRequirement

Decision to refine the modelCan be evaluated on the sameBasis as other actions

Model uncertainty permits distinctions

Action A

PerformanceRequirement

Action B

PerformanceRequirement

Model uncertainty obscures important distinctions, and reducing uncertainty has value

Model development: an iterative process that uses uncertainty

Page 20: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

CASoS Engineering: An Opportunity and Challenge for Uncertainty Quantification

Page 21: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

General CASoS Engineering Framework

Define CASoS of interest and Aspirations, Appropriate methods and theories (analogy,

percolation, game theory, networks, agents…) Appropriate conceptual models and required data

Design and Test Solutions What are feasible choices within multi-objective space, How robust are these choices to uncertainties in

assumptions, and Critical enablers that increase system resilience

Actualize Solutions within the Real World

An Opportunity and Challenge For Uncertainty Quantification

Page 22: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Extra NISAC Related

Page 23: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Oil & Gas

Communica-tions

Water Banking&

Finance

Continuityof

Gov. Services Transpor-tation

EmergencyServices Electric

Power

Each Critical Infrastructure Insures Its Own Integrity

NISAC’s Role: Modeling, simulation, and analysis of critical infrastructures, their interdependencies, system complexities, disruption consequences

Resolving Infrastructure Issues Today

23

Page 24: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Each individual infrastructure is complicated

Interdependencies are extensive and poorly studied

Infrastructure is largely privately owned, and data is difficult to acquire

No single approach to analysis or simulation will address all of the issues

Active Refinery Locations, Crude and Product Pipelines

LNG Import Facilities (Reactivation underway)

Legend

Interstate Pipelines

Intrastate and Other Pipelines

LNG Import Facilities (Active)

Indiana

North Dakota

Kansas

Maryland

Delaware

New Jersey

Virginia

Massachusetts

Rhode Island

Connecticut

Vermont

New Hampshire

New York

Utah

Kentucky

ArkansasOklahoma

Mississippi

LouisianaAlabama

Texas

South Carolina

North Carolina

Florida

Nebraska

IllinoisIowa

Michigan

Ohio

New MexicoArizona

Colorado

Wyoming

MontanaMinnesota

Wisconsin

California

Oregon

Washington

Maine

Georgia

Idaho

Missouri

Nevada

Pennsylvania

South Dakota

Tennessee

West Virginia

Source: Energy Information Administration, Office of Oil & Gas

24

A Challenging if not Daunting Task

Page 25: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Damage areas, severity, duration, restoration maps

Projected economic damage Sectors, dollars Direct, indirect, insured, uninsured Economic restoration costs

Affected population

Affected critical infrastructures

Example Natural Disaster Analysis: Hurricanes

Analyses:

Q ui ckTi me™ and a decompressor

are needed to see thi s pi cture.

Q ui ckTi me™ and a decompressor

are needed to see thi s pi cture.

QuickTime™ and a decompressor

are needed to see this picture.

QuickTime™ and a decompressor

are needed to see this picture.

Q ui ckTi me™ and a decompressor

are needed to see thi s pi cture.

Q ui ckTi me™ and a decompressor

are needed to see thi s pi cture.

QuickTime™ and a decompressor

are needed to see this picture.

QuickTime™ and a decompressor

are needed to see this picture.

Hurricane Ivan

25

Focus of research: •Comprehensive evaluation of threat•Design of Robust Mitigation•Evolving Resilience

Page 26: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Critical Infrastructures:

Are Complex: composed of many parts whose interaction via local rules yields emergent structure (networks) and behavior (cascades) at larger scales

Grow and adapt in response to local-to-global policy

Contain people

Are interdependent “systems of systems”

Critical infrastructures areCritical infrastructures are

Complex Adaptive Systems Complex Adaptive Systems of Systems: CASoSof Systems: CASoS

2003: Advanced Methods and Techniques Investigations (AMTI)

Page 27: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Generalized Method: Networked Agent Modeling

Nodes (with a variety of “types”)Links or “connections” to other nodes (with a variety of “modes”)Local rules for Nodal and Link behaviorLocal Adaptation of Behavioral Rules“Global” forcing from Policy

NodeState

NeighborState

NetworkTopology

TransitionRules

PropagationRules

PerceivedNode

Performance

PerceivedGlobal

NetworkProperty

Node/LinkModifications

GrowthEvolutionAdaptation

““Caricatures of reality” that Caricatures of reality” that embody well defined assumptionsembody well defined assumptions

Take any system and Abstract as:

Connect nodes appropriately to form a system (network)Connect systems appropriately to form a System of Systems

Page 28: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

NetworkNodesLinks

OtherNetworks

Drive

Dissipation

Actors

Adapt& Rewire

Tailored Interaction Rules

Graphical Depiction: Networked Agent Modeling

Page 29: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Children SchoolTeens School

Adults WorkSenior Gatherings

HouseholdsNeighborhoods/extended families

Random

Infectious contacts

Initially infected adult

childteenager

adultsenior

Agents

Tracing the spread of the disease: From the initial seed, two household contacts (light purple arrows) brings influenza to the High School (blue arrows) where it spreads like wildfire.

Initially infected adult

Initial Growth of Epidemic

Page 30: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Application: Congestion and Cascades in Payment Systems

Bank i

Central Bank

Balance Bi

Productive Agent

Instructions Ii

Submitted

Payment S

i

Balance BjProcessed Payment Rj

1 Productive agent instructs bank to send a payment

2 Depositor account is debited

4 Payment account is debited

5 Payment account is credited

Queue Qi Deposits DiIi-Si

3 Payment is submitted or queued

Ii

Bank j

Queue QjDeposits Dj

7 Queued payment is submitted if there is one

6 Depositor account is credited

Released

Payment

Bi > 0 ? Qj > 0 ?

Bank i

Central Bank

Balance Bi

Productive Agent

Instructions Ii

Submitted

Payment S

i

Balance BjProcessed Payment Rj

1 Productive agent instructs bank to send a payment

2 Depositor account is debited

4 Payment account is debited

5 Payment account is credited

Queue Qi Deposits DiIi-Si

3 Payment is submitted or queued

Ii

Bank j

Queue QjDeposits Dj

7 Queued payment is submitted if there is one

6 Depositor account is credited

Released

Payment

Bi > 0 ? Qj > 0 ?

US EURO

FX

Payment system topology

Networked ABM

Global interdependencies

Page 31: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Application: Industrial Disruptions

Disrupted Facilities Reduced Production Capacity

Diminished Product Availability

Page 32: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Complexity Primer Slides

Page 33: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

log(Size)

log(

Fre

quen

cy)

“Big” events are notrare in many such systems

First Stylized Fact: Multi-component Systems often have power-laws & “heavy tails”

Earthquakes: Guthenburg-Richter

Wars, Extinctions, Forest fires Power Blackouts?

Telecom outages? Traffic jams? Market crashes?

… ???“heavy tail”

region

normal

Power law

Page 34: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Dissipation

External Drive

Temperature

Cor

rela

tion

Power Law - Critical behavior - Phase transitions

Tc

What keeps a non-equilibrium system at a phase boundary?

Equilibrium systems

Page 35: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Drive

1987 Bak, Tang, Wiesenfeld’s “Sand-pile” or “Cascade” Model

“Self-Organized Criticality”power-laws

fractals in space and timetime series unpredictable

Cascade fromLocal Rules

RelaxationLattice

Page 36: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Illustrations of natural and constructed network systems from Strogatz [2001].

Food WebFood Web

New York state’sNew York state’sPower GridPower Grid

MolecularMolecularInteractionInteraction

Second Stylized Fact: Networks are Ubiquitous in Nature and Infrastructure

Page 37: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

1999 Barabasi and Albert’s “Scale-free” network

Simple Preferential attachment model:“rich get richer”

yieldsHierarchical structure

with “King-pin” nodes

Properties:tolerant to random

failure… vulnerable to

informed attack

Page 38: Wrangling with Uncertainty in Complex Adaptive Systems of Systems (CASoS) Engineering Robert Glass with Arlo Ames, Walter Beyeler, and many others Sandia.

Evolving towards Resilience

Robustness of choice to uncertainty also shows those factors that good system performance depends on, in order:

Implementation threshold Compliance Regional mitigation Rescinding threshold

Planning and Training required to push the system where it needs to be (carrots and sticks)Because eliciting appropriate behavior of humans is inherently uncertain (fatigue, hysteria, false positives), this policy is “interim”, meanwhile:

Research to develop broad spectrum vaccine for influenza Resolving supply chain issues for antivirals