
NETLOGO ROUND PATCH
Parameters: INITIAL-NUMBER-SHEEP: The initial size of sheep population INITIAL-NUMBER-WOLVES: The initial size of wolf population SHEEP-GAIN-FROM-FOOD: The amount of energy sheep get for every grass patch eaten WOLF-GAIN-FROM-FOOD: The amount of energy wolves get for every sheep eaten SHEEP-REPRODUCE: The probability of a sheep reproducing at each time step WOLF-REPRODUCE: The probability of a wolf reproducing at each time step GRASS?: Whether or not to include grass in the model GRASS-REGROWTH-TIME: How long it takes for grass to regrow once it is eaten SHOW-ENERGY?: Whether or not to show the energy of each animal as a number

Once grass is eaten it will only regrow after a fixed amount of time. The behavior of the wolves is identical to the first variation, however this time the sheep must eat grass in order to maintain their energy - when they run out of energy they die. The second variation includes grass (green) in addition to wolves and sheep. This variation produces interesting population dynamics, but is ultimately unstable. To allow the population to continue, each wolf or sheep has a fixed probability of reproducing at each time step. 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. In the first variation, wolves and sheep wander randomly around the landscape, while the wolves look for sheep to prey on. There are two main variations to this model. In contrast, a system is stable if it tends to maintain itself over time, despite fluctuations in population sizes. Such a system is called unstable if it tends to result in extinction for one or more species involved. This model explores the stability of predator-prey ecosystems. (For example, if you have multiple applets in differentĭirectories on the same web server, you may want to putĪ single copy of the NetLogoLite files in one central place andĬhange the archive= lines of all the HTML files to point
NETLOGO ROUND CODE
In the HTML code to point to their actual locations. If the NetLogoLite files and your model are in differentĭirectories, you must modify the archive= and value= lines and ending with, and paste it into any HTMLįile you want. If you want, you can just take the HTML code beginning with You don't need to include everything in this file in your page.

Though, so if it doesn't work from your hard drive, please try On some systems, you can test the applet locally on your computerīefore uploading it to a web server.

(You can copy NetLogoLite.jar and įrom the directory where you installed NetLogo.) (WSP.nlogo), and the files NetLogoLite.jar and In order for this to work, this file, your model file Windows and Linux users may obtain the latest Java from
NETLOGO ROUND MAC OS X
Mac users must have Mac OS X 10.4 or higher. Java must be enabled in your browser settings. This page was automatically generated by NetLogo 5.0.5.
