Public API Index

This is a task-oriented index of supported names exported by Cropbox. Deprecated compatibility aliases are intentionally omitted. “Advanced” means that ordinary crop-model scripts rarely need the name, not that it is private.

Modeling and configuration

NameRoleReference
@systemdeclare a system typeDeclarations and Configuration
Systemcommon abstract system typeSystem
@config, Configbuild and store configurationDeclarations and Configuration
parameterslist configurable valuesInspection
Controllermake a composed system executableSystems and Composition
Contextcarry configuration and shared runtime stateModel Execution
Clock, Calendarelapsed and civil timeModel Execution
instanceconstruct and initialize a systemSimulation
update!perform one manual updateSimulation

Simulation, analysis, and visualization

NameRoleReference
simulate, simulate!run fresh or existing systemsSimulation
evaluatecompare observations and estimatesSimulation
calibratesearch parameter boundsSimulation
visualize, visualize!visualize existing data or simulation resultsVisualization
manipulateadd interactive parameter widgetsVisualization
look, @look, diveinspect declarations and instancesInspection

Values, units, and equations

NameRoleReference
valueunwrap a state or supported wrapperValues and Units
nounitpass a state magnitude without its unitValues and Units
unitfy, deunitfyattach, convert, strip, or parse unitsValues and Units
u"..."Unitful unit string macroBuilt-in Model Components
±Normal sampling specificationConfigure Models and Scenarios
residual equality for solver behaviorsBehaviors and Tags
wrappass a state object as a dependency (advanced)Behaviors and Tags

Dynamic structures

NameRoleReference
producerequest dynamic child constructionDynamic Hierarchies
Gathertraversal state and output storeDynamic Hierarchies
gather!, visit!dispatch and walk a model hierarchyDynamic Hierarchies

Reusable systems and re-exports

NameRoleReference
GrowingDegreethreshold temperature responseBuilt-in Model Components
BetaFunctionasymmetric normalized temperature responseBuilt-in Model Components
Q10FunctionQ10 temperature multiplierBuilt-in Model Components
DataFrameStore, DayStore, DateStore, TimeStore, TableStoreindexed tabular inputsBuilt-in Model Components
Date, Datesre-exported Dates namesBuilt-in Model Components
ZonedDateTime, tz"..."re-exported TimeZones namesBuilt-in Model Components

Documented object index

The generated index below links docstrings included in the reference pages. Some exported helpers are described manually above because their implementation does not yet carry a standalone docstring.