How to Use the Reference

These pages describe Cropbox in detail. Use them to answer a specific question while writing or inspecting a model; they are not a sequence of lessons. For a guided introduction, start with the Quick Start and the Learning Path.

Find the right entry

QuestionReference
How do I read or write a declaration?DSL Syntax
What does a behavior do, and which tags can it use?Behaviors and Tags
How are systems and configurations declared?Declarations and Configuration
How do construction, simulation, evaluation, and calibration work?Simulation API
How do sensitivity methods, bounds, and returned results differ?Sensitivity Analysis API
Which plotting call matches my data and intended comparison?Visualization API
How can I inspect parameters, declarations, and model structure?Inspection API
How do I expose a model over HTTP or use its dashboard?Web API
How do I read values or convert units?Values and Units
How do I traverse a model with growing child systems?Dynamic Hierarchies
Which ready-made components can I reuse?Built-in Model Components

The Public API Index provides an alphabetical docstring index as well as a task-oriented list of exported names.

Read an example with its contract

Reference entries include argument combinations, options, executable examples, their output, and the conditions needed to interpret them correctly. For example, the visualization reference pairs graphical results with expandable terminal output rather than asking you to infer a plot from its call signature.

Code blocks in the same page can share setup. Run them in page order when an example refers to a model or table defined earlier. A signature containing options... is a description of the call, not a complete runnable example.