Home Download Help Resources Extensions FAQ NetLogo Publications Contact Us Donate Models: Library Community Modeling Commons Beginners Interactive NetLogo Dictionary (BIND) NetLogo Dictionary User Manuals: Web Printable Chinese Czech Farsi / Persian Japanese Spanish

NetLogo Models Library: 
If you download the NetLogo application, this model is included. You can also Try running it in NetLogo Web 
This model explores the relationship between two different models of predatorprey ecosystems: an agentbased model and a aggregate model. Each of the models can be run separately, or docked sidebyside for comparison.
In the agent model, wolves and sheep wander randomly around the landscape, while the wolves look for sheep to prey on. Each step costs the wolves energy, and they must eat sheep in order to replenish their energy  when they run out of energy they die. To allow the population to continue, each wolf or sheep has a fixed probability of reproducing at each time step.
The aggregate model is a System Dynamics model of the relationship between populations our wolves and sheep. It is based on a version of the famous LotkaVolterra model of interactions between two species in an ecosystem.
Parameters shared between agent and aggregate models:  INITIALNUMBERSHEEP: The initial size of sheep population  INITIALNUMBERWOLVES: The initial size of wolf population  SHEEPREPRODUCE: The probability of a sheep reproducing at each time step
Parameters for agent model:  SHEEPMAXINITIALENERGY: At setup time, sheep are given an energy between 1 and this value  WOLFGAINFROMFOOD: The amount of energy wolves get for every sheep eaten  WOLFREPRODUCE: The probability of a wolf reproducing at each time step
Parameters for aggregate model:  WOLVESDEATHRATE: The rate at which wolves die.  PREDATIONRATE: The rate at which wolves eat sheep.  PREDATOREFFICIENCY: The efficiency of the wolves in extracting energy to reproduce from the prey they eat.
Why do you suppose that some variations of the model might be stable while others are not?
Try adjusting the parameters under various settings. How sensitive is the stability of the model to the particular parameters?
Notice that under stable settings, the populations tend to fluctuate at a predictable pace. Can you find any parameters that will speed this up or slow it down?
There are a number ways to alter the model so that it will be stable with only wolves and sheep (no grass). Some will require new elements to be coded in or existing behaviors to be changed. Can you develop such a version?
Note the use of the System Dynamics Modeler to create the aggregate model.
Look at the Wolf Sheep Predation model for an example of an agent model which can produce a stable model of predatorprey ecosystems.
If you mention this model or the NetLogo software in a publication, we ask that you include the citations below.
For the model itself:
Please cite the NetLogo software as:
Copyright 2005 Uri Wilensky.
This work is licensed under the Creative Commons AttributionNonCommercialShareAlike 3.0 License. To view a copy of this license, visit https://creativecommons.org/licenses/byncsa/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
Commercial licenses are also available. To inquire about commercial licenses, please contact Uri Wilensky at uri@northwestern.edu.
(back to the NetLogo Models Library)