Simulacion comportamiento cianobacterias frente a los mangles
No preview image
Model was written in NetLogo 6.4.0
•
Viewed 5 times
•
Downloaded 0 times
•
Run 0 times
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
Comments and Questions
Please start the discussion about this model!
(You'll first need to log in.)
Click to Run Model
; Fase Micro – Ciénaga Grande de Santa Marta (CGSM) ; Simbiosis entre bacterias y mangles ; Comportamiento corregido para que se acerquen y cambien de color al hacer simbiosis breed [bacterias bacteria] breed [mangles mangle] patches-own [nutrientes] bacterias-own [afinidad] mangles-own [raiz-activa] to setup clear-all set-default-shape bacterias "circle" set-default-shape mangles "tree" ask patches [ set pcolor green set nutrientes random 10 ] create-mangles 10 [ setxy random-xcor random-ycor set color brown set raiz-activa true ] create-bacterias 80 [ setxy random-xcor random-ycor set color cyan set size 0.7 set afinidad random-float 1 ] reset-ticks end to go simbiosis-micro tick end to simbiosis-micro ask bacterias [ let objetivo one-of mangles in-radius 8 if objetivo != nobody [ face objetivo rt random 10 - random 10 ; añade una variación angular para evitar estancamientos fd 1.5 if distance objetivo < 1 [ set color yellow ; simbiosis activa ] ] ] end
There is only one version of this model, created 4 days ago by Santiago Ospina.
Attached files
No files
This model does not have any ancestors.
This model does not have any descendants.