Spatial models II (diffusion, two dimensions)

Slides:



Advertisements
Similar presentations
10.2 Diffusion and Cellular Automata. Simulating Motion: Cellular Automata If all we have to work with is a grid of cells (spreadsheet), how can we simulate.
Advertisements

JYC: CSM17 BioinformaticsCSM17 Week 8: Simulations (part 2): plant morphology sea shells (marine molluscs) fractals virtual reality –Lindenmayer systems.
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.
Cellular Automata (Reading: Chapter 10, Complexity: A Guided Tour)
CELLULAR AUTOMATON Presented by Rajini Singh.
CS 4731: Computer Graphics Lecture 5: Fractals Emmanuel Agu.
Flow, fish, and fishing — F 3 Understanding complex interactions of a nearshore ocean ecosystem: Southern California Bight case study.
Cellular Automata Orit Moskovich
1 GEM2505M Frederick H. Willeboordse Taming Chaos.
Cellular Automata This is week 7 of Biologically Inspired Computing Various credits for these slides, which have in part been adapted from slides by:
Approaches To Infinity. Fractals Self Similarity – They appear the same at every scale, no matter how much enlarged.
Introduction At the heart of the growth of a multi-cellular organism is the process of cellular division… … aka (in computing) self-replication.
Algorithmic Art Mathematical Expansions –Geometric, Arithmetic Series, Fibonacci Numbers Computability –Turing Fractals and Brownian Motion, CA –Recursive.
Discovery of Cellular Automata Rules Using Cases Ken-ichi Maeda Chiaki Sakama Wakayama University Discovery Science 2003, Oct.17.
Geometry Synthesis Mathias Ricken Rice Undergraduate Scholar Program November 11, 2003.
10.2 Random Walks. Random Walk A random walk refers to the apparently random motion of an entity. This is often the best model of a physical process (Brownian.
Human Travel Patterns Albert-László Barabási Center for Complex Networks Research, Northeastern U. Department of Medicine, Harvard U. BarabasiLab.com.
Dynamic Models of Segregation
Contagion in Networks Networked Life NETS 112 Fall 2013 Prof. Michael Kearns.
Simulating Spatial Partial Differential Equations with Cellular Automata By Brian Strader Adviser: Dr. Keith Schubert Committee: Dr. George Georgiou Dr.
Ch 9 Infinity page 1CSC 367 Fractals (9.2) Self similar curves appear identical at every level of detail often created by recursively drawing lines.
Course material – G. Tempesti Course material will generally be available the day before the lecture Includes.
Modeling growth for American lobster Homarus americanus Yong Chen, Jui-Han Chang School of Marine Sciences, University of Maine, Orono, ME
Introduction to Lattice Simulations. Cellular Automata What are Cellular Automata or CA? A cellular automata is a discrete model used to study a range.
CELLULAR AUTOMATA A Presentation By CSC. OUTLINE History One Dimension CA Two Dimension CA Totalistic CA & Conway’s Game of Life Classification of CA.
Complexity in Fisheries Ecosystems David Schneider Ocean Sciences Centre, Memorial University St. John’s, Canada ENVS 6202 – 26 Sept 2007.
The Science of Complexity J. C. Sprott Department of Physics University of Wisconsin - Madison Presented to the First National Conference on Complexity.
The Northern Lights: Demonstrations. Programmability Overview A major aspect of our project is programmability- it is an interactive display medium, the.
Cellular Automata Introduction  Cellular Automata originally devised in the late 1940s by Stan Ulam (a mathematician) and John von Neumann.  Originally.
1 Cellular Automata What could be the simplest systems capable of wide-ranging or even universal computation? Could it be simpler than a simple cell?
1 GEK1530 Frederick H. Willeboordse Nature’s Monte Carlo Bakery: The Story of Life as a Complex System.
Janine Bolliger Swiss Federal Research Institute WSL/FNP,
Conway’s Game of Life Jess Barak Game Theory. History Invented by John Conway in 1970 Wanted to simplify problem from 1940s presented by John von Neumann.
Why use landscape models?  Models allow us to generate and test hypotheses on systems Collect data, construct model based on assumptions, observe behavior.
Fractals Cassi Blum.
Modeling the Impacts of Forest Carbon Sequestration on Biodiversity Andrew J. Plantinga Department of Agricultural and Resource Economics Oregon State.
Cellular automata. Game of Life Each cell has 8 neighbors – Survival: 2-3 neighbors – Death: 0-1 neighbors (isolation), ≥ 4 neighbors (overcrowding) –
Spatial models III dispersal models and tagging models.
Spatial models (meta-population models). Readings Hilborn R et al. (2004) When can marine reserves improve fisheries management? Ocean and Coastal Management.
1 1 2 What is a Cellular Automaton? A one-dimensional cellular automaton (CA) consists of two things: a row of "cells" and a set of "rules". Each of.
Date of download: 9/29/2017 Copyright © ASME. All rights reserved.
Quiz 2.
Fractals and L-Systems
Lecture 05 Part 1 Fractal Finance Markets
Chaotic Behavior - Cellular automata
Spatio-Temporal Information for Society Münster, 2014
Cellular automata.
Introduction Abstract
SLAW: A Mobility Model for Human Walks
Chapter 3: Complex systems and the structure of Emergence
Illustrations of Simple Cellular Automata
Computational methods in physics
Complex Systems Engineering SwE 488 Artificial Complex Systems
Cellular Automata + Reaction-Diffusion Systems
Binocular Stereo Vision
Alexei Fedorov January, 2011
Cellular Automata.
Gray Scale picture def pixBW(pixel): # given a pixel, change to BW
Networked Life NETS 112 Fall 2014 Prof. Michael Kearns
Excursions into Logic Based Computation using Conway’s Game of Life
Game of Life Presentation Byung-guk Kim
Modeling Pattern Formation in Skin Diseases by a Cellular Automaton
Redundancy in the Population Code of the Retina
Computational Models of Grid Cells
Cellular Automata What could be the simplest systems capable of wide-ranging or even universal computation? Could it be simpler than a simple cell?
Topological Signatures For Fast Mobility Analysis
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Agent-Based Models Hiroki Sayama
Activity 2-1: The Game of Life
Topography shape of the earth’s surface.
Cave generation with cellular automata
Presentation transcript:

Spatial models II (diffusion, two dimensions)

Overview Grid vs. polygon Random-walk models Lévy flight and fractals Individual-based models Cellular automata

Grid approach Campbell HF & Hand AJ (1999) Modeling the spatial dynamics of the US purse-seine fleet operating in the western Pacific tuna fishery. CJFAS 56:1266-1277

Polygon approach Fulton EA et al. (2011) Lessons in modelling and management of marine ecosystems: the Atlantis experience. Fish and Fisheries 12:171-188

A random walk Imagine an individual in a single dimension At any time there is an equal probability the individual will move left or right Location Time step 19 Random walks.xlsx “Simple random”

A random walk Expected distribution after n time periods Frequency Location 19 Random walks.xlsx “Simple random”

Discrete jumps Equal probability of staying, jumping left or jumping right Location Frequency Time step Location 19 Random walks.xlsx “Random jump”

Large population size pleft = probability of moving left pright = probability of moving right pleft = 0.2 pright = 0.2 pleft = 0.1 pright = 0.3 Prop. of individuals Cell number Cell number 19 Random walks.xlsx “Jump large popn”

Random walk in two dimensions Start at (0,0) with light gray, jump randomly over both x and y, with lines gradually getting darker. Run 1 Run 2 Run 3 Run 4 19 Random walk 2D.r

Lévy flights Random motion (foraging) punctuated by long-distance straight movements (searching) Random walk (7000 steps) Lévy flight (µ = 1.5) (7000 steps) Metzler R & Klafter J (2000) The random walk’s guide to anomalous diffusion: a fractional dynamics approach. Physics Reports 339:1-77

Gray seals North Sea Latitude Longitude McClintock BT et al. (2012) A general discrete-time modeling framework for animal movement using multi-state random walks. Ecological Monographs

High resolution GPS data for wandering albatrosses Humphries NE et al. (2012) Foraging success of biological Lévy flights recorded in situ. PNAS 109:7169-7174

Lévy flights are self-similar The pattern looks similar at large scales and fine scales So do rivers, coastlines, clouds, and tree branches They are fractals Famous question: how long is the coastline of the US? Famous example: the Mandelbrot set http://en.wikipedia.org/wiki/File:Mandel_zoom_00_mandelbrot_set.jpg Mandelbrot set. Initial image of a zoom sequence: Mandelbrot set with continuously colored environment. Coordinates of the center: Re(c) = -.7, Im(c) = 0 Horizontal diameter of the image: 3.076,9 Created by Wolfgang Beyer with the program Ultra Fractal 3. Uploaded by the creator. Mandelbrot set: picture by Wolfgang Beyer using Ultra Fractal 3

Mandelbrot set (explanation given for those curious, video supplied for its beauty) www.youtube.com/watch?v=9G6uO7ZHtK8 Repeatedly apply. If abs(Zn) goes to infinity as n gets large then c is outside the Mandelbrot set; if abs(Zn) remains bounded then c is inside the Mandelbrot set. Complication: c is a complex number. Real part of c is the x-coordinate, imaginary part of c is the y-coordinate, color is how many iterations before it goes to infinity. Black = inside the Mandelbrot set, colors = outside the set Still image from screen snapshot of video http://www.youtube.com/watch?v=9G6uO7ZHtK8

www.youtube.com/watch?v=9G6uO7ZHtK8

Individual based model (IBM) of wildebeest In each cell model the amount of grass and the number of wildebeest Amount of grass is set initially in each cell Grass can either be consumed or not consumed Wildebeest know the amount of grass in the current cell and in the adjacent cells They move to each adjacent cell with a probability proportional to the grass abundance

Cumulative probability Movement algorithm Habitat quality Probability of moving Cumulative probability 0.4 0.8 1.5 0.2 0.1 0.3 0.5 0.08 0.17 0.31 0.04 0.02 0.06 0.10 0.08 0.25 0.56 0.60 0.65 0.81 0.83 0.90 1.00 Pick a uniform random number between 0 and 1 RAND() in Excel, runif(n=1) in R Based on cumulative probability move to: < 0.08, top left cell 0.08-0.25, top middle cell 0.25-0.56, top right cell, etc., 0.60-0.65, stay in the center cell, etc., 0.90-1.00, bottom right cell 17 Random walks.xlsx, sheet Wildebeest prob

No consumption of grass Habitat quality very high in center Habitat quality more spread out 17 Wildebeest model.r

With grass consumption Grass level resulting in half of the maximum grass consumption Maximum consumption of grass Grass in cell i, j Consumption by one wildebeest Wildebeest in cell i, j Proportion consumed by many wildebeest Grass available in next time step, t+1 17 Wildebeest model consumption.r

With grass consumption 17 Wildebeest model consumption.r

Cellular automata Each cell is in one of several possible states Rules determine state transition All cells identical Loop over cells Contrast with IBM where you loop over individuals E.g. Conway’s Game of Life

Game of Life Invented by John Conway (Univ. Cambridge) Popularized by Martin Gardner in 1970 Rules of checkerboard; cell with 8 neighbors Survival: 2-3 neighbors Death: 0-1 neighbors (isolation), ≥ 4 neighbors (overcrowding) Births: empty cell with exactly 3 neighbors Gardner M (Oct 1970) The fantastic combinations of John Conway’s new solitaire game “life”. Scientific American 223:120-123

Game of Life Dies Dies Dies Stable block Stable blinker (period 2) Time 1 Time 2 Time 3 Dies Dies Dies Stable block Stable blinker (period 2) Gardner M (Oct 1970) The fantastic combinations of John Conway’s new solitaire game “life”. Scientific American 223:120-123

Demos of Game of Life http://www.bitstorm.org/gameoflife/ Glider, gosper glider gun http://www.ibiblio.org/lifepatterns/ a-plus, switchenginepuffer

Summary Alternative approaches to modeling spatial structure Grid models Polygon models Methods for modeling movement Random walk Individual-based models (wildebeest) Cellular automata