CSDMS 2023: Patterns and Processes Across Scales

Integrating Agent-Based Models into Landlab via pyNetLogo

Matthew Rossi

University of Colorado, Boulder, United States

Agent-Based Models (ABMs) can provide important insights into the nonlinear dynamics that emerge from the interactions of individual agents. While ABMs are commonly used in the social and ecological sciences, this rules-based modeling approach has not been widely adopted in the Surface Dynamics Modeling community. In this clinic, I will show how to build mixed models that utilize ABMs for some processes (e.g., forest dynamics and soil production) and numerical solutions to partial differential equations for other processes (e.g., hillside sediment transport). Specifically, I will introduce participants to pyNetLogo, a library that enables coupling between NetLogo ABMs and Python-based Landlab components. While active developers in either the NetLogo or Landlab communities will find this clinic useful, experience in both programming languages is not needed.

Please acknowledge the original contributors when you are using this material. If there are any copyright issues, please let us know ( and we will respond as soon as possible.

Of interest for:
  • Marine Working Group
  • Terrestrial Working Group
  • Coastal Working Group
  • Education and Knowledge Transfer (EKT) Working Group
  • Cyberinformatics and Numerics Working Group
  • Hydrology Focus Research Group
  • Chesapeake Focus Research Group
  • Critical Zone Focus Research Group
  • Human Dimensions Focus Research Group
  • Geodynamics Focus Research Group
  • Ecosystem Dynamics Focus Research Group
  • Coastal Vulnerability Initiative
  • Continental Margin Initiative
  • Artificial Intelligence & Machine Learning Initiative
  • Modeling Platform Interoperability Initiative
  • River Network Modeling Initiative