4/19/2023 0 Comments Netlogo hatch* Change the **behavior of the turtles** by switching the SHARING? switch on or off. * Change the amount of energy required to **give birth** to a new turtle by using the BIRTH-ENERGY slider. * Change the **rate at which resources are replenished** by using the REPLENISH RATE slider. * Change the **amount of energy each green patch provides** by using the ENERGY-FROM-RESOURCES slider. * Change the **number of turtles** using the NUMBER slider. Users can examine the affects of changing the following variables: SETUP clears all settings, creates turtles, and resets the ticks to 0. Regardless of the SHARE? setting, turtles who occcupy a patch with other turtles are set to cyan. * To aid visual analysis, the colors of the turtles who do not occupy a patch with other turtles is set to orange when SHARE? is _off_ and yellow when SHARE? is _on_. * When SHARE? is set to _on_, turtles who occupy the same patch (green or black) share all of their energy equally between each other. * When SHARE? is set to _off_, turtles never share ENERGY and when more than one turtle occupies a green patch, one of the turtles consumes all of the available ENERGY from the patch. A turtle dies when its ENERGY reaches 0 or below, or when AGE is greater than OLDAGE, a number determined by the OLDAGE slider.Ī SHARE? switch determines the color of the turtles and how resources are consumed or shared _when turtles occupy the same patch_. Turtles and hatchlings start with AGE at 0. 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). 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). Nine out of ten baby turtles are blue.Do you have questions or comments about this model? Pink turtles have a one-in-five chance of reproducing at each time tick. This code example demonstrates the `hatch` command.īlue turtles never reproduce. "number " 1.0 0 - 13345367 true " " "plot count turtles WHAT IS IT? copyright and related or neighboring rights to this 1 To the extent possible under law, Uri Wilensky has waived all If random 10 > 0 9 of 10 hatched turtles turn blue and colors in order rather than randomly
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |