This page was automatically generated by NetLogo 3D Preview 5. Questions, problems? Contact feedback@ccl.northwestern.edu.
The applet requires Java 1.4.1 or higher. It will not run on Windows 95 or Mac OS 8 or 9. Mac users must have OS X 10.2.6 or higher and use a browser that supports Java 1.4. (Safari works, IE does not. Mac OS X comes with Safari. Open Safari and set it as your default web browser under Safari/Preferences/General.) On other operating systems, you may obtain the latest Java plugin from Sun's Java site.
In order for this to work, this file, your model file (Pillars3D.nlogo), and the file NetLogoLite.jar must all be in the same directory. (You can copy NetLogoLite.jar from the directory where you installed NetLogo.)
On some systems, you can test the applet locally on your computer before uploading it to a web server. It doesn't work on all systems, though, so if it doesn't work from your hard drive, please try uploading it to a web server.
You don't need to include everything in this file in your page. If you want, you can just take the HTML code beginning with <applet> and ending with </applet>, and paste it into any HTML file you want. It's even OK to put multiple <applet> tags on a single page.
If NetLogoLite.jar and your model are in different directories, you must modify the archive= and value= lines in the HTML code to point to their actual locations. (For example, if you have multiple applets in different directories on the same web server, you may want to put a single copy of NetLogoLite.jar in one central place and change the archive= lines of all the HTML files to point to that one central copy. This will save disk space for you and download time for your users.)
created with NetLogo
view/download model file: Pillars3D.nlogo
This program simulates the Deneubourg model of how termites coordinate their behavior to construct pillars in their nests.
The Deneubourg model is a system of three differential equations relating the following quantities, which are two-dimensional fields.
P = amount of deposited cement with still active pheromone,
H = concentration of cement pheromone in air,
C = density of termites laden with cement.
In addition, a parameter Phi defines the rate at which laden termites arrive throughout the space. The system is dfined by the following partial differential equations:
dP / dt = C_transfer_rate C - P_transfer_rate P,
dH / dt = P_transfer_rate P - H_decay_rate H + H_diff_rate div H,
dC / dt = Phi - C_transfer_rate C + C_diff_rate div C - C_mobility div (C grad H).
Furthermore, this simulation tracks the cumulative cement (with or without pheromone) deposited in a location. This is defined by the equation:
d cement / dt = C_transfer_rate C.
SETUP initializes the P, H, and C fields to small random values.
RUN runs the simulator.
The parameters of the simulation are defined by the sliders P_TRANSFER_RATE, H_DECAY_RATE, H_DIFF_RATE, C_DEPOSITION_RATE, C_TRANSFER_RATE, C_MOBILITY, and PHI.
SHOW_FIELD allows the user to choose which field to display. The P, H, and C fields are displayed on the groundplane where diffusion takes place. If "cement" is selected, then the cumulative cement is shown by the height of the brown pillars in the Z direction. This will be more apparent if you rotate the view to an oblique perspective.
If the simulation is running, the displayed field will change as soon as SHOW_FIELD is changed. If the simulation is not running, then the displayed field can be changed by clicking UPDATE (after SHOW_FIELD has been changed).
The simulation quickly converges to a state in which the P, H, and C fields are approximately the same (subject to differing diffusion rates, etc.).
With certain parameter settings (such as the defaults), a small number of well-spaces pillars forms. With ther settings you get no pillars or a very dense forrest of pillars.
A certain amount of cement accumulates between the pillars. Why is this?
Explore the parameters that lead to the formation of (more or less) equally spaced pillars, as found in wasp nests? Which controls the number of pillars? Which their spacing? Begin by varying a single parameter; then try varying them in various combinations.
The model does not account for the depletion of material from which the termites make cement with active pheromone. How would you add this?
The diffusion of H and C (which models the wandering of the termites) are implemented with the "diffuse" command. The other derivatives (div and grad) are approximated by subtracting the values on neighboring patches.
This section could give the names of models in the NetLogo Models Library or elsewhere which are of related interest.
Implemented 2007-09-27 by B.J. MacLennan.
To refer to the original model in academic publications, please use: MacLennan, B.J. (2007). Pillars 3D model. http://www.cs.utk.edu/~mclennan/Classes/420/NetLogo3D/Pillars3D.html. Department of Electrical Engineering and Computer Science, University of Tennessee, Knoxville.
In other publications, please use: Copyright 2007 Bruce MacLennan. All rights reserved. See http://www.cs.utk.edu/~mclennan/Classes/420/Copyright.html for terms of use.