Modelling  Spatially-Structured
Dynamics  for  Benthic  Predation

Overview
People
Publications

Figure 5
Figure 5. CA model simulations.

Figure 6
Figure 6. CA model output over envronmental gradients

ODE SBD CA ABM

Cellular Automata (CA) Model

In the cellular automata model space is represented explicitly as a rectangular grid of cells, where each cell has one unit of area and A is the total number of cells. Each cell represents a potential site of occupation by an individual prey. Since only one prey can occupy a cell at any time, we explicitly assume that there is no intraspecific competition for space among growing prey.

The recruitment, growth, and death of prey are modeled as transitions among “cell states”. Each cell is denoted by its x,y coordinates in the grid and the state of a cell is represented by an discrete variable Sxy(t). We use Sxy(t) = 0 to indicate an empty cell, Sxy(t) = s0 for a cell with a new recruit, and Sxy(t) = s for a cell with a prey at the maximum size. The size range [s0, s] is divided into m discrete increments, where m is chosen large enough to approximate continuous growth. (We use =200). Time is advanced in discrete steps Dt and all cell transitions occur simultaneously. Prey recruitment is represented as a transition from Sxy(t) = 0 to Sxy(t) = s0. Prey growth is represented as a transition from Sxy(t) = s to Sxy(t) = s + Ds , where D≥ 0. Prey death is represented as a transition from Sxy(t) = s to Sxy(t) = 0 for s > 0. An additional “global variable” P(t) represents the density of predators.

At each time step, cell transitions occur with probabilities that are derived using the rates specified in the ODE model (Table 1). For example, if Dt is sufficiently small, the probability that empty cell will receive a recruit is given by sDt. Similarly, the probability that an occupied cell x,y becomes empty due to prey death is given by

.

where

is the mean of the prey sizes in a neighborhood of (2h+1)x(2h+1) cells centered at x,y. (At the sides and corners of the lattice, Sxy,h(t) is the mean of the subset of neighboring cells within the system.) If = 0, then Sxy,h(t) = Sxy(t) and the neighborhood is the cell x,y itself. When , then Sxy,h(t) = S(t) and we have the mean field approximation of the ODE and SBD models.

Prey growth is also treated as a stochastic process. For a prey of size s, the expected increase in size ls is given by the differential form of the von Bertalanffy model:

.

The expectation ls is then used as the mean parameter in a Poisson probability function to determine the actual increase in size Ds for each prey. In rare cases when Ds, we set D= s  s.

Predator immigration and emigration are treated as a random birth-death process. The number of predators that enter the system at each time step is chosen from a Poisson distribution with a mean value AIDt. Each predator in the system at time t either leaves the system with probability eP(t)Dt or remains with probability 1 – eP(t)Dt, where eP(t) is computed using the same equation as in the ODE model.

Figure 5 compares output from the CA model when two of the assumptions of the mean field ODE and SBD models are relaxed. Figure 6 shows output of the CA model over environmental gradients similar to what one would find in the intertidal zone.


CA Source Code

The CA model was implemented using the freely available Swarm 2.1.1 simulation software. The Swarm development environment must be installed before this source code can be compiled. Check out the web site www.swarm.org for more information on Swarm.

The CA model is still a work in progress. There have been several related versions implemented for different purposes. The version included in the compressed archive file ca.zip has parameter “switches” that turn various features on or off. These are too complicated to explain here in detail, but some comments are provided in the source code. Contact Bob Desharnais for more information.

CA source code
12,956 bytes
File ca.zip. Swarm Objective-C source code for implementation of the CA model with graphical output.

National Science Foundation This work was supported in part by grants OCE-0089842, OCE-0072836, and HRD-9805529 from the U.S. National Science Foundation. All opinions expressed are those of the authors and not necessarily those of the NSF.

Copyright © 2002, Robert A Desharnais
Department of Biological Sciences
California State University, Los Angeles, CA, 90032-8201
Email: rdeshar@calstatela.edu