Spatial Dynamical Modelling with TerraME Lectures 4: Agent-based modelling Gilberto Câmara.

Slides:



Advertisements
Similar presentations
Chapter 8 Geocomputation Part A:
Advertisements

Fractal geometry is being used to model cities using ideas from cellular automata.
New Mexico Computer Science for All
CPSC 872 John D. McGregor Session 30 ULS and Complex Adaptive Systems, cont’d.
G. Folino, A. Forestiero, G. Spezzano Swarming Agents for Discovering Clusters in Spatial Data Second International.
Chris Snijders – Complexiteit: Schelling/Ising A social science variation: Schelling’s segregation models
CITS4403 Computational Modelling Agent Based Models.
1 Stefano Redaelli LIntAr - Department of Computer Science - Unversity of Milano-Bicocca Space and Cellular Automata.
CITS4403 Computational Modelling Game of Life. One of the first cellular automata to be studied, and probably the most popular of all time, is a 2-D CA.
Segregation and Concentration of Poverty: The Role of Suburban Sprawl Paul A. Jargowsky University of Texas at Dallas and Centre de Sciences Humaines.
John S Gero Agents – Agent Simulations AGENT-BASED SIMULATIONS.
SugarScape By Mitch Quinn
Agent-Based Modelling Piper Jackson PhD Candidate Software Technology Lab School of Computing Science Simon Fraser University.
Lectures on Cellular Automata Continued Modified and upgraded slides of Martijn Schut Vrij Universiteit Amsterdam Lubomir Ivanov Department.
Alain Bertaud Urbanist Module 2: Spatial Analysis and Urban Land Planning The Spatial Structure of Cities: International Examples of the Interaction of.
Complex Systems and Emergence Gilberto Câmara Tiago Carneiro Pedro Andrade.
MASS: From Social Science to Environmental Modelling Hazel Parry
Agent Based Modeling and Simulation
The Role of Artificial Life, Cellular Automata and Emergence in the study of Artificial Intelligence Ognen Spiroski CITY Liberal Studies 2005.
TIAGO GARCIA CARNEIRO ANA PAULA AGUIAR GILBERTO CÂMARA ANTÔNIO MIGUEL MONTEIRO TerraME - A tool for spatial dynamic modelling LUCC Workshop Amsterdam,
Spatial Dynamical Modelling with TerraME Lectures 4: Agent-based modelling Gilberto Câmara.
1 An Introduction to Agent Based Modeling November 2002 Rosanna Garcia © R.Garcia, Northeastern University, 2002.
Dynamic Models of Segregation
Biology: flocking, herding & schooling Day 5 COLQ 201 Multiagent modeling Harry Howard Tulane University.
Complex systems complexity chaos the butterfly effect emergence determinism vs. non-determinism & observational non-determinism.
Prof. Lars-Erik Cederman Center for Comparative and International Studies (CIS) Seilergraben 49, Room G.2, Nils Weidmann,
Agent-based models and social simulation Gilberto Câmara Tiago Carneiro Pedro Andrade Licence: Creative Commons ̶̶̶̶ By Attribution ̶̶̶̶ Non Commercial.
Cellular Automata (CA) and Agent-Based Models (ABM) Dr Andy Evans.
Cities and Complexity Gilberto Câmara Based on the book “Cities and Complexity” by Mike Batty Reuses on-line material on Batty’s website
Envision Flow of Execution. ENVISION – Triad of Relationships Policies Intentions Actors Values Landscapes Metrics of Production Provide a common frame.
L – Modelling and Simulating Social Systems with MATLAB Lesson 5 – Introduction to agent-based simulations A. Johansson & W. Yu ©
(Particle Swarm Optimisation)
Introduction to Self-Organization
Cellular Automata Spatio-Temporal Information for Society Münster, 2014.
CELLULAR AUTOMATA A Presentation By CSC. OUTLINE History One Dimension CA Two Dimension CA Totalistic CA & Conway’s Game of Life Classification of CA.
Prof. Lars-Erik Cederman ETH - Center for Comparative and International Studies (CIS) Seilergraben 49, Room G.2, Nils.
Exploring Complex Systems through Games and Computer Models Santa Fe Institute – Project GUTS
Geosimulation Geosimulation models are developed to represent phenomena that occur in urban systems in highly realistic manner In particular, Cellular.
Prof. Dr. Lars-Erik Cederman Swiss Federal Institute of Technology (ETH) Center for Comparative and International Studies (CIS) Seilergraben 49, Room G.2.
CPSC 872 John D. McGregor Session 30 ULS and Complex Adaptive Systems, cont’d.
Agent Based Modeling (ABM) in Complex Systems George Kampis ETSU, 2007 Spring Semester.
Neural Networks and Machine Learning Applications CSC 563 Prof. Mohamed Batouche Computer Science Department CCIS – King Saud University Riyadh, Saudi.
Complex Systems and Emergence Gilberto Câmara Tiago Carneiro Pedro Andrade Licence: Creative Commons ̶̶̶̶ By Attribution ̶̶̶̶ Non Commercial ̶̶̶̶ Share.
Cellular Automata Introduction  Cellular Automata originally devised in the late 1940s by Stan Ulam (a mathematician) and John von Neumann.  Originally.
An Agent Epidemic Model Toward a general model. Objectives n An epidemic is any attribute that is passed from one person to others in society è disease,
Introduction to Computational Modeling of Social Systems Prof. Lars-Erik Cederman Center for Comparative and International Studies (CIS) Seilergraben 49,
Scientific Communication Timothy G. Standish, Ph. D.
An explicit dynamic model of segregation Gian-Italo Bischi Dipartimento di Economia e Metodi Quantitativi Università di Urbino "Carlo Bo"
CS851 – Biological Computing February 6, 2003 Nathanael Paul Randomness in Cellular Automata.
Pedro R. Andrade Münster, 2013
Introduction to Enviromental Modelling Lecture 1 – Basic Concepts Gilberto Câmara Tiago Carneiro Ana Paula Aguiar Sérgio Costa Pedro Andrade Neto.
B OIDS, D ROIDS, & N OIDS : D ESCRIPTION AND I MPLICATIONS OF AN I NTEGRATIVE R ESEARCH P ARADIGM ON M ACROCOGNITION Steve W.J. Kozlowski Georgia T. Chao.
Photo: Fabio Venni Multi-Agent Simulator for Urban Segregation (MASUS) A Tool to Explore Alternatives for Promoting Inclusive Cities Flávia da Fonseca.
December 3, 2014AISC-CODISCO 2014, revised Nov From Agent-based models to network analysis (and return): the policy-making perspective Magda Fontana.
Modelagem Dinâmica com TerraME Aula 5 – Building simple models with TerraME Tiago Garcia de Senna Carneiro (UFOP) Gilberto Câmara (INPE)
Agent-based models and social simulation Gilberto Câmara Tiago Carneiro Pedro Andrade Licence: Creative Commons ̶̶̶̶ By Attribution ̶̶̶̶ Non Commercial.
Emergent Structures
Urban Land-Use Theories
Modelling and Simulating Social Systems with MATLAB
Spatio-Temporal Information for Society Münster, 2014
Cellular Automata Pedro R. Andrade Tiago Garcia de Senna Carneiro
Sistemi per la Gestione Aziendale.
L – Modeling and Simulating Social Systems with MATLAB
Pedro R. Andrade Münster, 2013
Spatio-temporal information in society: agent-based modelling
Spatio-Temporal Information for Society
Pedro R. Andrade Münster, 2013
Spatio-temporal information in society: cellular automata
R. W. Eberth Sanderling Research, Inc. 01 May 2007
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Agent-Based Models Hiroki Sayama
Presentation transcript:

Spatial Dynamical Modelling with TerraME Lectures 4: Agent-based modelling Gilberto Câmara

Agent-based modelling with TerraME

What are complex adaptive systems?

Agent Agent: flexible, interacting and autonomous An agent is any actor within an environment, any entity that can affect itself, the environment and other agents.

Agents: autonomy, flexibility, interaction Synchronization of fireflies

Agents: autonomy, flexibility, interaction football players

Agent-Based Modelling Goal Environment Representations Communication Action Perception Communication Gilbert, 2003

Agents are… Identifiable and self-contained Goal-oriented  Does not simply act in response to the environment Situated  Living in an environment with which interacts with other agents Communicative/Socially aware  Communicates with other agents Autonomous  Exercises control over its own actions

Bird Flocking No central authority: Each bird reacts to its neighbor Bottom-up: not possible to model the flock in a global manner. It is necessary to simulate the INTERACTION between the individuals

Bird Flocking: Reynolds Model (1987) Cohesion: steer to move toward the average position of local flockmates Separation: steer to avoid crowding local flockmates Alignment: steer towards the average heading of local flockmates

Agents changing the landscape

Complex Adaptive Systems: Humans as Ants Cellular Automata:  Matrix,  Neighbourhood,  Set of discrete states,  Set of transition rules,  Discrete time. “CAs contain enough complexity to simulate surprising and novel change as reflected in emergent phenomena” (Mike Batty) Simple agents following simple rules can generate amazingly complex structures.

Characteristics of CA models (1) Self-organising systems with emergent properties: locally defined rules resulting in macroscopic ordered structures. Massive amounts of individual actions result in the spatial structures that we know and recognise;

Characteristics of CA models (1) Wolfram (1984): 4 classes of states: (1) homogeneous or single equilibrium (2) periodic states (3) chaotic states (4) edge-of-chaos: localised structures, with organized complexity.

Bird Flocking Reynolds Model (1987) Animation example

Swarm

Repast

Netlogo

TerraME

Segregation Segregation is an outcome of individual choices But high levels of segregation indicate mean that people are prejudiced?

An Example: The Majority Model for Segregation Start with a CA with “white” and “black” cells (random) The new cell state is the state of the majority of the cell’s Moore neighbours, or the cell’s previous state if the neighbours are equally divided between “white” and “black”  White cells change to black if there are five or more black neighbours  Black cells change to white if there are five or more white neighbours What is the result after 50 iterations? How long will it take for a stable state to occur?

The Modified Majority Model for Segregation Include random individual variation Some individuals are more susceptible to their neighbours than others In general, white cells with five neighbours change to black, but:  Some “white” cells change to black if there are only four “black” neighbours  Some “white” cells change to black only if there are six “black” neighbours Variation of individual difference What happens in this case after 50 iterations and 500 iterations?

Schelling’s Model of Segregation Schelling (1971) demonstrates a theory to explain the persistence of racial segregation in an environment of growing tolerance If individuals will tolerate racial diversity, but will not tolerate being in a minority in their locality, segregation will still be the equilibrium situation

Schelling’s Model of Segregation < 1/3 Micro-level rules of the game Stay if at least a third of neighbors are “kin” Move to random location otherwise

Tolerance values above 30%: formation of ghettos Schelling’s Model of Segregation

References J. Zhang. Residential segregation in an all-integrationist world. Journal of Economic Behaviour & Organization, v. 54 pp T. C. Shelling. Micromotives and Macrobehavior. Norton, New York. 1978

Zhang: Residential segregation in an all- integrationist world Some studies show that most people prefer to live in a non-segregated society. Why there is so much segregation?

Satisfaction

Agents moving

Simulation

Vizinhança e Segregação

Development of Agent- based models in TerraME

Emergence source: (Bonabeau, 2002) “Can you grow it?” (Epstein; Axtell; 1996)

Epstein (Generative Social Science) If you didn´t grow it, you didn´t explain its generation Agent-based model  Generate a macro-structure Agents = properties of each agent + rules of interaction Target = macrostruture M that represents a plausible pattern in the real-world

Scientific method Science proceeds by conjectures and refutations (Popper)

Explanation and Generative Sufficiency Macrostructure Spatial segregation Bird flocking Agent model A1 Agent model A2 Agent model A3 ? Refutation Conjectures ?

Explanation and Generative Sufficiency Macrostructure Occam´s razor: "entia non sunt multiplicanda praeter necessitatem", or "entities should not be multiplied beyond necessity ". Agent model A1 Agent model A2 ?

Explanation and Generative Sufficiency Macrostructure Popper´s view "We prefer simpler theories to more complex ones because their empirical content is greater and because they are better testable" Agent model A1 Agent model A2 ?

Explanation and Generative Sufficiency Macrostructure Einstein´s rule: The supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience" "Theories should be as simple as possible, but no simpler. Agent model A1 Agent model A2 ?

TerraME extension for agent-based modelling ForEachAgent = function(agents, func, event) nagents = table.getn(agents) for i = 1, nagents do func (agents[i],(event)) end Replicate = function(agent, nagents) ag = {} for i = 1, nagents do ag[i] = agent() ag[i].id = i end return ag end (contained in file agent.lua)

ABM example Urban Dynamics in Latin American cities: an agent ‐ based simulation approach Joana Barros

Latin American cities High speed of urban growth (urbanization) Poverty + spontaneous settlements Poor control of policies upon the development process Spatial result: fragmented set of patches, with different morphological patterns often disconnected from each other that mutate and evolve in time.

Peripherization São Paulo - Brasil Caracas - Venezuela Process in which the city grows by the addition of low ‐ income residential areas in the peripheral ring. These areas are slowly incorporated to the city by spatial expansion, occupied by a higher economic group while new low ‐ income settlements keep emerging on the periphery..

Urban growth “Urban sprawl” in United States “Urban sprawl”in Europe (UK) Peripherization in Latin America (Brazil)

Research question How does this process happen in space and time? How space is shaped by individual decisions?  Complexity approach Time + Space  automata model Social issues  agent ‐ based simulation )

The Peripherisation Model Four modules: Peripherisation module Spontaneous settlements module Inner city processes module Spatial constraints module

Peripherization moduls reproduces the process of expulsion and expansion by simulating the residential locational processes of 3 distinct economic groups. assumes that despite the economic differences all agents have the same locational preferences. They all want to locate close to the best areas in the city which in Latin America means to be close to high ‐ income areas all agents have the same preferences but different restrictions

Peripherization module: rules 1. proportion of agents per group is defined as a parameter 2. high ‐ income agent –can locate anywhere 3. medium ‐ income agent –can locate anywhere except on high ‐ income places 4. low ‐ income agent –can locate only in the vacant space 5. agents can occupy another agent’s cell: then the latter is evicted and must find another

Peripherization module: rules

Spatial pattern: the rules do not suggests that the spatial outcome of the model would be a segregated pattern Approximates the spatial structure found in the residential locational pattern of Latin American cities multiple initial seeds ‐ resembles certain characteristics of metropolitan areas

Comparison with reality Maps of income distribution for São Paulo, Brazil (census 2000) Maps A and B: quantile breaks (3 and 6 ranges) Maps C and D: natural breaks (3 and 6 ranges) No definition of economic groups or social classes

TerraME extension for agent-based modelling ForEachAgent = function(agents, func, event) nagents = table.getn(agents) for i = 1, nagents do func (agents[i],(event)) end Replicate = function(agent, nagents) ag = {} for i = 1, nagents do ag[i] = agent() ag[i].id = i end return ag end (contained in file agent.lua)