Antibiotic resistance simple
Model was written in NetLogo 6.1.0
•
Viewed 189 times
•
Downloaded 20 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
turtles-own [ resistance ] to setup clear-all create-turtles population [ set shape "circle" set size 1 setxy random-xcor random-ycor set resistance random resist ] reset-ticks end to go ask turtles [ if resistance > 7 [ set color red ] reproduce death ] tick end to reproduce if random-float 100 < rep-rate [ hatch 1 [ rt random-float 360 fd 1 ] ] end to death if random-float 100 < death-rate [ die ] end to add-dose if random-normal resistance 2 < dose-strength [ die ] end to-report mean-resistance report mean [resistance] of turtles end
There is only one version of this model, created almost 5 years ago by Vishwanath Varma.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
Antibiotic resistance simple.png | preview | Preview for 'Antibiotic resistance simple' | almost 5 years ago, by Vishwanath Varma | Download |
This model does not have any ancestors.
This model does not have any descendants.