hormones

No preview image

1 collaborator

Default-person Pratim Sengupta (Author)

Tags

(This model has yet to be categorized with any tags)
Model group sced2690 | Visible to everyone | Changeable by everyone
Model was written in NetLogo 5.0beta4 • Viewed 316 times • Downloaded 44 times • Run 3 times
Download the 'hormones' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


WHAT IS IT?

(a general understanding of what the model is trying to show or explain)

HOW IT WORKS

(what rules the agents use to create the overall behavior of the model)

HOW TO USE IT

(how to use the model, including a description of each of the items in the Interface tab)

THINGS TO NOTICE

(suggested things for the user to notice while running the model)

THINGS TO TRY

(suggested things for the user to try to do (move sliders, switches, etc.) with the model)

EXTENDING THE MODEL

(suggested things to add or change in the Code tab to make the model more complicated, detailed, accurate, etc.)

NETLOGO FEATURES

(interesting or unusual features of NetLogo that the model uses, particularly in the Code tab; or where workarounds were needed for missing features)

RELATED MODELS

(models in the NetLogo Models Library and elsewhere which are of related interest)

CREDITS AND REFERENCES

(a reference to the model's URL on the web if it has one, as well as any other necessary credits, citations, and links)

Comments and Questions

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

breed [ hormones hormone ]

to set-up
clear-all 
reset-ticks
set-up-turtles
ask patches with [pxcor <= (max-pxcor - 10) and pxcor >= (min-pxcor + 10) and pycor <= (max-pycor) and pycor >= (min-pycor + 30)  ]
[set pcolor red]
ask patches with [pxcor <= (max-pxcor - 10) and pxcor >= (min-pxcor + 10) and pycor <= (max-pycor - 10) and pycor >= (min-pycor + 20)  ]
[set pcolor green]
ask patches with [pxcor <= (max-pxcor - 10) and pxcor >= (min-pxcor + 10) and pycor <= (max-pycor - 20) and pycor >= (min-pycor)  ]
[set pcolor yellow]
end 

to set-up-turtles
  create-hormones 100
  ask turtles 
  [set color blue setxy 0 15 set heading 180]
end 

to go
  tick
  if ticks >= 50 [ stop ]
  ask hormones [if xcor > (max-pxcor - 6)[set heading 0] 
               if ycor >= (max-pycor - 1) and pcolor = black[set heading 270] fd 1 ]
  ask hormones [if pcolor = red [forward 5 set color blue set heading 180]]
  ask hormones [if pcolor = green [set color orange ]]
  ask hormones [if pcolor = 124 [set color orange]]
  ask hormones [if pcolor = yellow [set color violet set heading 90 ]]

if make-TSH-producing-pituitary-adenoma
  [ask patches with [pxcor <= (max-pxcor - 15) and pxcor >= (min-pxcor + 15) and pycor <= (max-pycor - 10) and pycor >= (min-pycor + 20) ]
   [set pcolor 124]
    create-hormones 5 [setxy 0 0 set heading 180 set color orange]
    ask turtles [if pcolor = red [die]]]  

if have-hyperthyroidism
  ;wait ticks >= 14
  [create-hormones 5 [setxy 0 -7 ]
  ask turtles [if pcolor = red [die]]]

;if have-low-hypothalamic-lesion 
end 

There is only one version of this model, created over 13 years ago by Pratim Sengupta.

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.