Vicuñas_pasto
Model was written in NetLogo 6.2.0
•
Viewed 263 times
•
Downloaded 21 times
•
Run 0 times
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
WHAT IS IT?
HOW TO USE IT
THINGS TO NOTICE
THINGS TO TRY
NETLOGO FEATURES
RELATED MODELS
This model in a modification from Rabbits Grass Weeds model (Wilensky 2001).
- Wilensky, U. (2001). NetLogo Rabbits Grass Weeds model. http://ccl.northwestern.edu/netlogo/models/RabbitsGrassWeeds. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.
HOW TO CITE
Please cite the NetLogo software as:
- Wilensky, U. (1999). NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.
COPYRIGHT AND LICENSE
Comments and Questions
Please start the discussion about this model!
(You'll first need to log in.)
Click to Run Model
breed [vicuñas vicuña] vicuñas-own [ age energy ] to setup clear-all ;grow-grass set-default-shape vicuñas "vicuña" create-vicuñas number [ set size 4 set age 0 set energy random 20 setxy random-xcor random-ycor ] reset-ticks end to go if not any? vicuñas [ stop ] grow-grass ask vicuñas [ move eat-grass reproduce death ] tick end to grow-grass ask patches [ if pcolor = black [ if random-float 100 < grass-grow-rate [ set pcolor lime + 3 ] ] ] end to move rt random 50 lt random 50 fd 1 set energy energy - 1 set age age + 1 end to eat-grass if pcolor = lime + 3 [ set pcolor black set energy energy + grass-energy ] end to reproduce if energy > birth-threshold [ set energy energy / 2 hatch 1 [ fd 1 set age 0 set energy random 20] ] end to death if energy < 0 [ die ] if age > 50 [die] ;longevidad maxima end
There is only one version of this model, created about 3 years ago by Ulises Balza.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
Vicuñas_pasto.png | preview | Preview for 'Vicuñas_pasto' | about 3 years ago, by Ulises Balza | Download |
This model does not have any ancestors.
This model does not have any descendants.