NetLogo banner

Home
Download
Help
Forum
Resources
Extensions
FAQ
NetLogo Publications
Contact Us
Donate

Models:
Library
Community
Modeling Commons

Beginners Interactive NetLogo Dictionary (BIND)
NetLogo Dictionary

User Manuals:
Web
Printable
Chinese
Czech
Farsi / Persian
Japanese
Spanish

  Donate

NetLogo Models Library:
Code Examples/Extensions Examples/ls

(back to the library)

Model Interactions Example

[screen shot]

Note: If you download the NetLogo application, every model in the Models Library is included.

WHAT IS IT?

This is a code example for showing interactions between models in a LevelSpace model system. It shows how the temperature in the Climate Change model can be programmed to influence the grass regrowth time in the Wolf Sheep Predation model.

HOW IT WORKS

The model creates a Wolf Sheep Predation child model and a Climate Change child model. It then sets up the Climate Change model and runs it until it is stable. Finally, this model runs both the Wolf Sheep Predation and Climate Change model, and changes the speed at which grass regrows in the Wolf Sheep Predation model based on the current temperature in the Climate Change model.

HOW TO USE IT

Click SETUP to create the two models, and GO to run the models.

You can now modify the various values in the Climate Change model's window, and observe how they affect the dynamics of the ecosystem.

THINGS TO TRY

Try to dramatically change the temperature in the Climate Change model. How quickly do you see a change in the ecosystem?

Try to slowly change the temperature in the Climate Change model. Are there any critical thresholds for the amount of CO2 in the model system?

EXTENDING THE MODEL

Animals produce greenhouse gases. Try to modify the model so the animals in the ecosystem somehow introduce greenhouse gases in the Climate Change model.

The amount of grass in the Wolf Sheep Predation model could affect the albedo in the Climate Change model. Try to implement that in the code.

NETLOGO FEATURES

This model uses LevelSpace to build a small model-system of two models, and then have them affect each other.

RELATED MODELS

See the Model Visualizer and Plotter Example and the Parent Model Example.

(back to the NetLogo Models Library)