Learning Path

Start with the Quick Start. It takes one model from a declaration to a simulation, a graph, and a comparison between scenarios. Continue with Logistic Growth below. If you'd rather run a published crop model before writing equations, start with the Garlic Growth Model: one growing season, from packaged weather to a graph of leaf and bulb dry mass.

Build a model, one step at a time

Follow these tutorials in order. Each is self-contained: run its code blocks from the top, even if you have already run another tutorial.

TutorialNew ideaResult to read
Logistic GrowthCompare a simulated state with example measurements.Observation points on the biomass curve and the root mean square error (RMSE).
Weather-driven PhenologySupply dated weather data and accumulate thermal time.Development under changing temperature.
Predator–Prey ModelCouple two changing states and extend a model with a mixin.The interaction between prey and predator populations.

After these tutorials, use Configure Models and Scenarios to organize experiments, or Evaluate and Calibrate Models when observations are available.

Choose a model study

The remaining tutorials are applications, not prerequisites for using Cropbox. Choose one that matches your work:

  • Garlic Growth Model: run a whole plant, then follow leaf development, compare planting dates, or examine individual organs.
  • Leaf Gas Exchange: vary CO₂ or light and read the photosynthetic response of a leaf.
  • Root System Architecture: grow a maize root system, view its branching structure, and summarize root length by depth.
  • SimpleCrop: trace how weather, canopy growth, and biomass are connected in a small teaching model from the DSSAT materials.
  • Soil Water Transport: hydraulic properties and water movement through a layered profile.

Models and Resources collects the model repositories, talks, and workshop notebooks. Each study explains its inputs and links the relevant publications.

Look up details when needed

The Reference is a dictionary, not the next lesson. Follow a link from an example when you need the exact syntax, all supported arguments, return values, or additional plotting forms. You do not need to read it from beginning to end before running a model.