

The turtle 'giving birth' loses an amount of ENERGY equal to the BIRTH-ENERGY, and the hatchling starts with the same amount of ENERGY. Turtles who reach a certain amount of ENERGY, set by the BIRTH-ENERGY slider, hatch a new turtle. Turles lose 1 unit of ENERGY each time they move. Each turtle starts with 10 ENERGY, and increases ENERGY by moving onto patches with energy (i.e., green patches).
#Netlogo switch Patch
The rate that patches produce energy is determined by the REPLENISH-RATE slider.Ī number of turtles determined by the NUMBER slider are placed randomly on the starting screen and move in random directions, one patch at a time. The amount of ENERGY the patch produces is determined by the ENERGY-FROM-RESOURCES slider. When ENERGY is available, the patch turns green. This model is designed to evaluate the effects of "selfishness" versus sharing on the population, age, and energy of turtles in a simple ecosystem.Įach patch randomly produces energy. In this extension, turtles can be instructed to share _all of their resources_ with turtles who occupy the same patch. In the tutorial, turtles never share resources and when more than one turtle occupies the same patch, the first turtle on the patch consumes all of the resources (if there are any). This extension adds an additional variable: sharing.

Sustainable systems result in oscillating patterns of turtle populations and resources. The tutorial provides a simple demonstration of a limited ecosystem in which turtles consume resources, reproduce, and die. This is an extension from the model included in the tutorial in the **NetLogo User Manual** (as of November, 2018). Do you have questions or comments about this model?
