Simulation using a Spreadsheet (a PDF version is here)


If you are unfamiliar with using a spreadsheet, a tutorial can be found here. A good general resource on modeling and simulation can be found here: http://www.csi.uoregon.edu/nacse/ecosim/

Modeling processes in the sciences have become useful research tools in many areas of the sciences and the availability of computers extends these techniques to any that wish to use these tools. Mathematical representations of biological systems have long been used by ecologists to model various processes. The models are useful to access how much is understood about a real system. If the model is a good representation of what goes on in the "real world", then the author is fairly confident that they understand the phenomena. If, however, the model doesn't follow the "real world", then it's back to the computer. Some models are so good they have predictive value. Models that predict locust outbreaks in Africa are routinely used to predict when control measures are needed in a rejoin. At home, farmers routinely use models to predict when herbicides, fungicides, and insecticides should be applied to their fields. On a grander scale, climate models are used to shape laws and international treaties. One of the first models written was one to mimic population growth. A model of the simulation process can be seen in the following diagram.

The first model we'll explore is the geometric model. According to these equations, a population grows uninhibited over time. The important variables in this simulation are the starting population size and the rate of increase. The equation for this simulation is: dn/dt = r*N where dn/dt is the change in the population size (n) over time (t). The variable "r" is the rate at which the population increases per generation (between 0.0 and 1.0). The "d" part of dn/dt just stands for "change in" (delta) so it is read as "change in number over change in time". The N(t +1) = Nt + dn/dt  is read as the "population size at time +1 is equal to the population size at time 0 plus the change in size over the change in time". This scenario will result in an exponential increase in the population size.

geo_grow_eq.gif (2739 bytes)

humangrow.gif (10624 bytes)
Figure 1. Human Population Growth

Human Population:

The geometric model is not very satisfying since it doesn't seem to mimic the way real populations behave. Real populations don't expand indefinitely (except, perhaps humans; Figure 1.  Instead, they tend to increase for a short time, then level off. Figure 2 depicts the growth of bighorn sheep populations in the Rockies from the early 1800's to about 1940. Note the rapid expansion of the population following it's initial introduction, followed by a leveling-off of the population at about 1.75 million sheep. This is a typical population response seen in most natural populations. It's as if the population has filled to environment. This "filling" of the environment with a particular species is the "carrying capacity" for that species. For birds, the limiting factor in the environment may be the availability of next sites. Other species may be limited by the availability of food or water. Whatever the cause, the environment is capable of supporting a limited number of a particular species. That number is the carrying capacity, or it represents the environmental resistance to further population growth. The carrying capacity of a system may change over time. Droughts, pestilence, and other climatic changes may temporally increase or depress the carrying capacity of the environment. These factors may be responsible for the "bumps" in the above data (more on that later).

G2a.gif (16822 bytes)
Figure 2. Bighorn sheep populations

To be realistic, our model needs to reflect the carrying capacity of an ecological system. Ecologists have settled on the variable "K" to represent the carrying capacity of the environment for a given population of organisms. For our simple model, it doesn't matter if the limiting factor is nest sites, or the availability of food (although different limiting factors could be easily accommodated. This equation is essentially the same as our first try, with the exception of the (K-N)/K addition (K is the carrying capacity, N is the current population density). The (K-N)/K term in the equation "puts the breaks" on population growth as the population reaches carrying capacity. Let's fix our first try to reflect this hopefully improved model. The equations are shown below.

log_grow_eq1.gif (3201 bytes)

Still, these models are not completely satisfying (they don't have the jiggles seen in Figure 2), so some more tweaking is needed. The current model assumes that a population responds instantaneously to changes in population size. This assumption is unreasonable. If the population has reached it's carrying capacity (K), and 50% or 60% of the females are pregnant, they'll still give birth, causing the population to overshoot the carrying capacity. In addition, some stresses don't assert themselves immediately. For example, as population density increases, it would take some time for individuals to become stressed. Hormones kick in and  eventually the individuals are not as capable of reproduction. An example of a change in reproductive rate with increasing population density is shown in Figure 3. Under low density conditions the crustacean Daphnia (water flea) produces 4 offspring per day while under high density conditions no offspring are produced. Note also that survivorship is adversely affected by increasing population density.

G1.gif (21441 bytes)
Figure 3. Changes in reproduction of Daphnia under different population pressures

This reproductive time lag is represented by variable c in the model; see model below. Our population doesn't respond instantaneously, but is lagged by one generation.

log_grow_eq2.gif (3405 bytes)

With a reproductive lag we find that populations with a low intrinsic rate of increase (r) survive longer than those with a high reproductive rate. In addition, the stability of those populations with low reproductive rates is greater (less oscillations in their growth curves). Finally, populations with high reproductive rates also are prone to outbreaks (population increases far in excess of the carrying capacity).

In the real world conditions affecting the reproductive rates of organisms (such as overcrowding, drought, disease, etc) are not likely to last over an extended period of time. In the short-term, populations with low reproductive rates can wait out the environmental problems while those with higher reproductive rates are more likely to go extinct locally. We also find that conditions that adversely affect the carrying capacity can also make a species more prone to local extinction (especially those with a high r). Activities such as deforestation, water polluting, and overuse of pesticides can all decrease the carrying capacity (increase the environmental resistance) and make populations more susceptible to local extinction.

Recognizing the differences between species with high rates of reproduction and those with low intrinsic rates of increase, ecologists often describe a species as being "r-selected" or "K-selected" (Table 1). Those species whose populations levels are controlled by their reproductive rates are defined as r-selected while those whose reproduction is controlled more by environmental resistance are termed K-selected.

Factor

r-selected K-selected
Climate: Variable and unpredictable to the organism. Coarse-grained view of the environment and time. Constant and predictable. Fine-grained view of the environment and time.
Survivorship: Type III Type I & II
Population Size:
  • Variable (Lots of outbreaks).
  • Non-equilibrium.
  • Below carrying capacity.
  • Recolinization each year.
  • Constant.
  • At equilibrium.
  • Near carrying capacity.
  • Little recolinization.
Competition: Variable, Lax Keen
Selection Favors:
  • Rapid development
  • High reproductive rate (r)
  • Early reproduction
  • Small body size
  • Single reproduction
  • Slow development
  • Greater competitive ability
  • Delayed reproduction
  • larger body size
  • Repeated reproduction
Parental Care: Little or none. Extended.
Length of Life: Less than a year More than a year
Consequence: Productivity Efficiency.

Table 1

We're getting close. Real populations show fluctuations in density in response to randomly changing environmental challenges (as well as intrinsic rhythms). In some cases the fluctuations are clearly due to changes in the environment, while at other times the variations are not as clear. We can mimic these random effects by randomly adding or subtracting individuals from the current population size:

In the above formula the size of N is decreased by a random amount and then increased by a random amount (in Excel the RAND() function generates a random number between 0 and 1, so if we multiply that random number by N, N will be decreased. We then add on another random amount less than N. Therefore, N will sometimes be larger or sometimes smaller. This affects the ability of our model organisms to track where they are in relation to the carrying capacity (K). Sometimes they "think" they are below the carrying capacity, when actually they may be above it (and visa versa). One could imagine an r-selected beast, such as a bug, wouldn't have a good idea of their relation to the environment and could make such a "mistake". Alternately, if the environment is rapidly changing the model population might have trouble tracking it accurately. The above model would also fit that scenario.