Download NetLogo 1.1 User Manual
Transcript
NetLogo 1.1 User Manual Let's experiment with their effect on the behavior of the model. • Open Wolf Sheep Predation if it's not open already. • Press "setup" and "go" and let the model run for about a 100 ticks. (Note: there is a readout of the number of ticks right above the plot.) • Stop the model by pressing the "go" button. What happened to the sheep over time? Let's take a look and see what would happen to the sheep if we change a few settings. • Turn the "show−energy?" switch on. • Press "setup" and let the model run for about the same amount of time as before. What did this switch do to the model? Was the outcome the same as your previous run? • Turn the "show−energy?" switch off. • Using the same procedure as above, try out the "grass?" switch. How does this switch affect what happens in the model? The switches in Wolf Sheep Predation demonstrate that sometimes a switch or slider only changes how the model looks, while sometimes the switch or slider actually changes the behavior of model. For example, the "show−energy?" switch only changes what information is displayed, but the "grass?" switch actually makes the model behave differently. Another type of setting is called a slider. Sliders are a different type of setting then a switch. A switch has two values: on or off. A slider has a range of numeric values that can be adjusted. For example, the "initial−sheep" slider has a Tutorial #1: Models 19