Neha Patil (Editor)

NetLogo

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Designed by
  
Uri Wilensky

OS
  
Cross-platform (JVM)

Typing discipline
  
dynamic

NetLogo

Paradigm
  
multi-paradigm: educational, procedural, agent-based, simulation

First appeared
  
1999; 18 years ago (1999)

Stable release
  
6.0.0 / December 20, 2016; 3 months ago (2016-12-20)

NetLogo is an agent-based programming language and integrated modeling environment.

Contents

About

NetLogo was designed, in the spirit of the Logo programming language, to be "low threshold and no ceiling". It teaches programming concepts using agents in the form of turtles, patches, links and the observer. NetLogo was designed for multiple audiences in mind, in particular: teaching children in the education community, and for domain experts without a programming background to model related phenomena. Many scientific articles have been published using NetLogo.

The NetLogo environment enables exploration of emergent phenomena. It comes with an extensive models library including models in a variety of domains, such as economics, biology, physics, chemistry, psychology, system dynamics. NetLogo allows exploration by modifying switches, sliders, choosers, inputs, and other interface elements. Beyond exploration, NetLogo allows authoring of new models and modification of existing models.

NetLogo is freely available from the NetLogo website. It is in use in a wide variety of educational contexts from elementary school to graduate school. Many teachers make use of NetLogo in their curricula.

NetLogo was designed and authored by Uri Wilensky, director of Northwestern University's Center for Connected Learning and Computer-Based Modeling.

Books

A number of books have been published about NetLogo.

Books available in print include:

  • Steven F. Railsback; Volker Grimm (2011). Agent-Based and Individual-Based Modeling: A Practical Introduction. Cambridge: Princeton University Press. ISBN 978-0-691-13674-5. 
  • David O'Sullivan; George L.W. Perry (2013). Spatial Simulation: Exploring Pattern and Process. Wiley-Blackwell. ISBN 978-1-119-97079-8. 
  • Nigel Gilbert; Klaus G. Troitzsch (2005). Simulation for the Social Scientist, Second Edition. London: McGraw Hill. ISBN 978-0-335-21600-0. 
  • Uri Wilensky; William Rand (2015). An introduction to agent-based modeling: Modeling natural, social and engineered complex systems with NetLogo. Cambridge: MIT Press. ISBN 978-0-262-73189-8. 
  • Britt Anderson (2014). Computational Neuroscience and Cognitive Modeling. London: Sage. ISBN 978-1-4462-4930-7. 
  • Books available online include:

  • José M. Vidal (2010). Fundamentals of Multiagent Systems Using NetLogo.
  • Online courses

    Several massive open online courses are currently being offered that use NetLogo for assignments and/or demonstrations:

  • Introduction to Complexity (Melanie Mitchell, Santa Fe Institute)
  • Social Network Analysis (Lada Adamic, University of Michigan – this course is not yet available).
  • Model Thinking (Scott E. Page, University of Michigan)
  • Technical foundation

    NetLogo is free and open source software, under a GPL license. Commercial licenses are also available. It is written in Scala and Java and runs on the Java Virtual Machine. At its core is a hybrid interpreter/compiler that partially compiles user code to JVM bytecode.

    NetLogo Web is a version that runs on JavaScript, instead of the JVM, so models may be run in a web browser. It does not have all features of the desktop version.

    Examples

    A simple multiagent model in NetLogo is the Wolf-Sheep Predation model, which is shown in the screenshot above. It models the population growth of a predator/prey system over time. It has the following characteristics:

  • There are two breed of turtles, called sheep and wolves.
  • Sheep and wolves move randomly and have limited energy.
  • Wolves and sheep lose energy by moving. If a wolf or sheep has zero energy, it dies.
  • Sheep gain energy by eating grass.
  • Wolves gain energy by eating sheep.
  • Both wolves and sheep can reproduce, sharing energy with their offspring.
  • HubNet

    HubNet is a technology that uses NetLogo to run participatory simulations in the classroom. In a participatory simulation, a whole group of users takes part in enacting the behavior of a system. Using an individual device, such as a networked computer or Texas Instruments graphing calculator, each user acts as a separate, independent agent. One example of a HubNet activity is "Tragedy of the Commons", which models the economic problem called tragedy of the commons.

    References

    NetLogo Wikipedia