Model Gallery
These packages demonstrate different Cropbox workflows. Their biological parameters and model-specific APIs belong to their own repositories; this manual focuses on the Cropbox concepts shared across them.
LeafGasExchange.jl
Coupled C₃/C₄ photosynthesis, stomatal conductance, and leaf energy balance. Useful for response curves, factorial environmental sweeps, nonlinear solvers, and observation-based parameter work. Start with the Leaf Gas Exchange tutorial.
The plants2020 companion repository contains the notebook, data, and rendered output distributed with the original Plants study. Use it to reproduce that publication; use the tutorial above for the current package API.
Garlic.jl
A process-based hardneck garlic model integrating phenology, weather, radiation, gas exchange, carbon balance, organ morphology, and biomass. It demonstrates large-system composition and dynamic leaves. Start with the Garlic tutorial.
SimpleCrop.jl
A compact modular crop model with phenology, canopy growth, partitioning, weather input, irrigation, and a soil-water balance. It is the executable model in the SimpleCrop tutorial.
Cropbox layered-soil test model
Cropbox itself contains a multi-layer soil-water example used by the framework test suite. It combines pedotransfer functions, layer storage, hydraulic heads, and surface, inter-layer, and lower-boundary fluxes. The Soil Water Transport tutorial runs that implementation directly and explains its current scope.
CropRootBox.jl
A dynamic root system architecture model inspired by CRootBox. It demonstrates stochastic parameters, dynamic production, geometry, custom output collection, and VTK/STL export. Start with Root System Architecture.
Additional historical model
Cabbage.jl is a Cropbox port of the pycabbage model.
This repository is retained because it documents how Cropbox has been used, but its code may target an older Cropbox or Julia release. Check its project files before reusing an example in a new environment.
Talks
Workshops and courses
The Cropbox organization hosts workshop repositories covering small growth models, photosynthesis, phenology, model integration, SIMPLE, Garlic, and other crop applications:
- Cropbox Workshop 2025
- Cropbox Workshop 2022 (Korea)
- Cropbox Workshop 2022 (Taiwan)
- Cropbox Workshop 2021
- KSAFM 2020 Cropbox Tutorial
- UW SEFS 508 Plant Modeling
Workshop notebooks are valuable worked examples but may target older package versions. Use the workflow and scientific explanation, then verify current syntax against this manual and the model's tests.