1 / 54

Agent-Based Modeling, the PDC and DiveArch: What Is Susanne Doing Here, Anyway?

Agent-Based Modeling, the PDC and DiveArch: What Is Susanne Doing Here, Anyway?. Susanne Jul, PhD Pacific Disaster Center sjul@pdc.org. Overview. Agent-based modeling What is it and why is it better than sliced bread? Agents at the PDC A fantasy DiveArch project

calvin
Download Presentation

Agent-Based Modeling, the PDC and DiveArch: What Is Susanne Doing Here, Anyway?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Agent-Based Modeling, the PDC and DiveArch:What Is Susanne Doing Here, Anyway? Susanne Jul, PhDPacific Disaster Center sjul@pdc.org

  2. Overview • Agent-based modeling • What is it and why is it better than sliced bread? • Agents at the PDC • A fantasy • DiveArch project • What is Susanne doing here?

  3. Agent-Based Modeling(What is it and why is it better than sliced bread?)

  4. But First An exercise!

  5. Exercise(High school attraction) • Select another person (anyone) • Try to keep someone between you and the person you selected at all times Predictions?

  6. Exercise(College attraction) • Select another person (anyone) • Try to keep no one between you and the person you selected at all times Predictions?

  7. Point? Changes to individual behaviors yielded changes in system behavior!

  8. Essence of Agent-Based Modeling • Describe individual components of system • Behaviors, including responses to internal and external stimuli • Observe emergentphenomena arise from actions of and interactions among component parts • Not describing interactions • Not describing system behavior

  9. Why ABM Is Better than Sliced Bread • Describe the loaf • Describe the knife The bread slices itself!(Or not)

  10. An Agent-Based Model Is A set of agents,embedded in an environment

  11. An Agent Is • A software module that encapsulates state and behavior representing a single conceptual entity • Defining properties: Agent-based modeling is a programming technique

  12. An Environment Is • The runtime “ether” in which agents operate • Always provides unified concept of time • May be as simple as “clock tick” • May or may not have other properties, • E.g., concept of space • Agents may have environmental properties • E.g., age, location • Agents can detect (some) properties of environment

  13. An Agent-Based Simulation Is A set of agents embedded in an environment going about,doing their thing(s) (reacting to internal and external events)

  14. Agents at the PDC(A Fantasy)

  15. Scenario • Maui County has received $100,000 for tsunami mitigation/preparedness • Considering using the money to • Upgrade warning sirens dependent on power grid, or • Develop effective self-rescue procedures and educate public (including visitors) about them • PDC has been contracted to develop a model to help answer the question • Which strategy is more likely to lead to fewer casualties?

  16. Today?

  17. Real Question Which strategy is more likely to get more people to higher ground faster, safely?

  18. Factors to Model • Possible and probable warnings • Sirens • Ground tremors • Visible water recession • Possible and probable responses • Do nothing • Go look to see what’s going on • Run for the hills • Drive for the hills • Possible and probable impacts • Siren failure • Water surge • Debris damage (casualties)

  19. Agents • Hazards • Earthquake • Tsunami • Structures • Power generator • Warning siren • Humans • Probably at household scale

  20. Hazards • Tsunami does not “know” about earthquakes • Earthquake can be as simple as table lookup

  21. Structures

  22. Humans

  23. Environment • Geo-referenced space and time • Elevation topology of Maui County • Road network topology of Maui County

  24. Add Agents and Shake • Earthquake(s) occurs (location, magnitude, type generated from real-world data) • Tsunami may or may not trigger • Power generators, sirens may or may not fail • Siren may or may not sound • Household may or may not feel quake, see water recede, hear siren • Household may or may not react And so forth and so on…

  25. Possible Results • More sirens independent of power generators • More households hearing siren warnings • But fewer responding with mauka behavior • More households interpreting all warnings and responding “correctly” • Fewer households hearing siren warnings • But more responding with mauka behavior • Traffic jams? • “False positives”?

  26. PDC • Agents • Earthquake, tsunami probability, effect • Power generators, sirens distribution • Population configuration, distribution • Environment • Elevation topology • Road network topology • Results output

  27. End User (Maui County) • Experiment with • Number and location of upgraded sirens • Number and type of households with modified behaviors • May come back with request for contra-flow traffic patterns • (Hey look, we have half a storm/wildfire/whatever evacuation model!)

  28. Agent-Based Modeling Revisited

  29. Agent-Based Modeling • Most sophisticated models are non-deterministic • Outcome cannot be predicted from inputs • Model configuration may change • Stochastic environmental configuration • Stochastic population-generation • Environment may change • Stochastic environmental change over time • Agent behaviors may change • Stochastic decision-making • Combinatorics of environmental change and behaviors of other agents A butterfly flaps its wings…

  30. Uhm, So How Do I Get Answers? • Run simulation many times to identify patterns of possible dependency • Change system state interactively • As active agent (participant) • As controlling deity

  31. Benefits of Agent-Based Modeling • Natural way of thinking about and describing complex system • Many entities • Many types of entities • Emergent phenomena generated, not specified explicitly • Don’t need to predict dependencies in advance • Modularity allows distributed model development • Plug and play agents • Can incorporate other computational modeling techniques within agents (equational modeling, production-rule system, random guessing, etc.) • Independent nature of agents allow dynamic model and agent modifications • Model is live and can be made interactive

  32. Difficulties with Agent-Based Modeling • Model and agents must be at right level of abstraction and detail • “Perhaps the most common typical modeling mistake is developing a model that is not well disciplined and that has too many pieces. ... One may think adding more detail yields a more accurate picture, but the modeler's job is to discover the system's essential core dynamics.” • True for all types of modeling, but easier to misjudge in agent-based modeling • “Correctness” (validity, calibration, determination of confidence) of model depends on “correctness” of individual agents • Typically not quantifiable • Potentially computationally intensive

  33. “That all sounds really complicated!” -- Bryan Boruff, Nov 6, 2006

  34. The DiveArch Project(Why Susanne is Here)

  35. What Do You Need to Make It Happen? • Sets of agents and environmental representations • A framework (computational infrastructure) that provides building blocks, and ties agents and environments together • A (computational superstructure) that allows control of and experimentation with simulations, supports data collection and results generation

  36. Books

  37. Bookcases

  38. Books and Bookcases

  39. What Do You Need to Make It Happen? • Sets of agents and environmental representations • A framework (computational infrastructure) that provides building blocks, and ties agents and environments together • A (computational superstructure) that allows control of and experimentation with simulations, supports data collection and results generation

  40. Bookcases

  41. Bookcase Components

  42. Books and Bookcases “Don't try to do everything for everyone, make it easy for them to do for themselves.” – Ben Bederson, October 18, 2006

  43. DiveArch Research Question What does a framework for disaster-specificagent-based models need to be?

  44. In Other Words • What are the different kinds of agents are needed in disaster-related modeling? • What are the specialized needs of those kinds agents? • What are the specialized needs of disaster-related models?

  45. Hazards

  46. Hazards

  47. Think about it • Look at literature and existing disaster-related models • Talk to developers Problem Analysis Design Generation Design Evaluation • Do it • Design and build a simple framework • Test the design against a small number of models Design Realization Iterative Approach

  48. First Step • Find a suitable general-purpose agent-based framework on which to build • Understand issues in agent-based modeling, in general • Understand which issues might be critical to disaster-related agent-based modeling

  49. Preliminary Result • Have comprehensive list of criteria for evaluating general-purpose agent-based frameworks, ~160 criteria in 7 categories: • General criteria • Model development • Model validation & calibration • Model interaction & visualization • Results assembly & publication • Model publication • Modeling options

  50. Preliminary Result • The “right” framework doesn’t exist (yet) • Integration between agent-based and GIS functionality is critical to disaster-related modeling, but is an unsolved problem • Many designs make the “books and bookcases” mistake: • “Finding, understanding and adapting the available libraries to our needs took by far more time, than developing everything from scratch. And even worse: Even for simple changes often complex programming in the system itself was necessary.” – Robert Tobias, October 20, 2006

More Related