T Cell Movement in Lymph nodes

T Cell Movement in Lymph nodes preview image

1 collaborator

Default-person Haeden Graewe (Author)

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by everyone
Model was written in NetLogo 3D 6.4.0 • Viewed 49 times • Downloaded 1 time • Run 0 times
Download the 'T Cell Movement in Lymph nodes' 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

links-own [ tDCfree ]
globals [ dt ds tcell-step nDCmeet ]
; ...
; nDCmeet = number of DC-T cell encounters
breed [tcells tcell] ; the T cells
breed [DCs DC] ; the dendritic cells (DCs)

to setup
clear-all
set-default-shape turtles "circle" ; all turtles will be circles (spheres)
create-tcells 100 [
set color green ; make T cell green
setxyz random-xcor random-ycor random-zcor ; put T cell at random location
]
create-DCs 2 [
set size 2 ; make DC of size 2 (twice that of T cells)
set color red ; make DC red
setxyz random-xcor random-ycor random-zcor
]
  set dt 0.5 ; 0.5 min per time step
set ds 8 ; 8 um per patch
set tcell-step 16 / ds * dt ; (16 um/min)*(1 patch/8 um)*(0.5 min/time step)
end 

to go
move-tcells ; move T cell movement commands into a function
identify-DCbound-tcells ; new function to identify DC-bound T cells
update-link-status ; new function to update DC-T cell links
plotxy ticks nDCmeet
  tick-advance dt
end 

to move-tcells ; function for T cell motion
ask tcells [
right random-normal 0 90
roll-right random-normal 0 90
forward tcell-step
]
end 

to identify-DCbound-tcells ; function to identify DC-bound T cells
ask DCs [
create-links-to tcells with [ color != blue ] in-radius 2 [
      set nDCmeet nDCmeet + 1
set color red ; make the link red
set tDCfree 3 ; bound for 3 minutes
ask end2 [ set color blue ] ; make the linked T cell blue
]
]
end 

to update-link-status ; function to update the DC-T cell links
ask links [
set tDCfree tDCfree - dt ; update time remaining for link
if tDCfree < 0 [ ; if tDCfree has elapsed
ask end2 [ set color green ] ; set T cell to its green colour
die ; kill the link (delete it)
]
]
end 



There is only one version of this model, created 7 months ago by Haeden Graewe.

Attached files

File Type Description Last updated
T Cell Movement in Lymph nodes.png preview Preview for 'T Cell Movement in Lymph nodes' 7 months ago, by Haeden Graewe Download

This model does not have any ancestors.

This model does not have any descendants.