Cropbox: a declarative crop modelling framework
Abstract We introduce Cropbox, a novel modelling framework that supports various aspects of crop modelling in a unique yet concise style. Building a crop model can be easily riddled with technical details looking trivial at first but later becoming major obstacles that hamper the whole development o...
Saved in:
Published in | in silico plants Vol. 5; no. 1 |
---|---|
Main Authors | , |
Format | Journal Article |
Language | English |
Published |
UK
Oxford University Press
01.01.2023
|
Subjects | |
Online Access | Get full text |
ISSN | 2517-5025 2517-5025 |
DOI | 10.1093/insilicoplants/diac021 |
Cover
Loading…
Summary: | Abstract
We introduce Cropbox, a novel modelling framework that supports various aspects of crop modelling in a unique yet concise style. Building a crop model can be easily riddled with technical details looking trivial at first but later becoming major obstacles that hamper the whole development or application process. This is particularly the case when implementing models from scratch without relying on an established framework. Cropbox adopts a declarative approach providing a domain-specific language to reduce technical debt and assist modellers to focus on high-level abstraction formed by relations between variables and enclosing systems, rather than tinkering with low-level implementation details. The syntax of Cropbox framework is based on the Julia programming language and is deliberately constrained to avoid unintended side effects caused by common mistakes while its architecture remains open to extension. We highlight key capabilities of the framework through case studies featuring a leaf gas-exchange model and a whole-plant simulation model. We also illustrate potential extensions for supporting functional-structural plant modelling by demonstrating a 3D root architectural model as an example. |
---|---|
Bibliography: | ObjectType-Article-1 SourceType-Scholarly Journals-1 ObjectType-Feature-2 content type line 14 |
ISSN: | 2517-5025 2517-5025 |
DOI: | 10.1093/insilicoplants/diac021 |