Title: Cropbox: a declarative crop modelling framework

Journal Article · · in silico Plants

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.

Sponsoring Organization:
USDOE
Grant/Contract Number:
AR0000820
OSTI ID:
1959862
Journal Information:
in silico Plants, Journal Name: in silico Plants Journal Issue: 1 Vol. 5; ISSN 2517-5025
Publisher:
Oxford University PressCopyright Statement
Country of Publication:
United Kingdom
Language:
English

References (61)

WISS a Java Continuous Simulation Framework for Agro-Ecological Modelling book January 2020
FSPM-P: towards a general functional-structural plant model for robust and comprehensive model development journal March 2016
River flow forecasting through conceptual models part I — A discussion of principles journal April 1970
Physiological and environmental regulation of stomatal conductance, photosynthesis and transpiration: a model that includes a laminar boundary layer journal April 1991
Semantics and syntax elements of a unique calculus for modelling of complex ecological systems journal September 1992
Object-oriented ecosystem modelling journal July 1993
ECOBAS — modelling and documentation journal March 2001
Integrating modelling architecture: a declarative framework for multi-paradigm, multi-scale ecological modelling journal February 2001
Modeling ecological and economic systems with STELLA: Part III journal October 2001
Modularity and genericness in plant and ecosystem models journal January 1997
Implementing generic, object-oriented models in biology journal January 1997
Designing an object-oriented structure for crop models journal January 1997
Object-oriented design of a cotton crop model journal January 1997
Modelling ecological and economic systems with STELLA: Part II journal October 1998
Meta-modeling: a knowledge-based approach to facilitating process model construction and reuse journal July 1999
Approaches to modular model development journal November 2001
On approaches and applications of the Wageningen crop models journal January 2003
The DSSAT cropping system model journal January 2003
The ModCom modular simulation system journal January 2003
The Simile visual modelling environment journal January 2003
The Fortran simulation translator, a simulation language journal January 2003
An overview of model integration for environmental applications—components, frameworks and semantics journal March 2004
Making frameworks more useable: using model introspection and metadata to develop model processing tools journal March 2004
Building crop models within different crop modelling frameworks journal November 2012
Towards a new generation of agricultural system data, models and knowledge products: Information and communication technology journal July 2017
25 years of the WOFOST cropping systems model journal January 2019
A universal simulator for ecological models journal January 2013
An architecture for developing service-oriented and component-based environmental models journal November 2004
Can a multi-model ensemble improve phenology predictions for climate change studies? journal October 2017
Sharing knowledge via software components: Models on reference evapotranspiration journal February 2006
Simplifying environmental model reuse journal February 2010
A software engineering perspective on environmental modeling framework design: The Object Modeling System journal January 2013
An open platform to build, evaluate and simulate integrated models of farming and agro-ecosystems journal January 2013
APSIM – Evolution towards a new generation of agricultural systems simulation journal December 2014
Evolution of the STICS crop model to tackle new environmental issues: New formalisms and integration in the modelling and simulation platform RECORD journal December 2014
Plant Modelling Framework: Software for building and running crop models on the APSIM platform journal December 2014
Agricultural production systems modelling and software: Current status and future prospects journal October 2015
A lightweight framework for rapid development of object-based hydrological model engines journal June 2015
APSIM Next Generation: Overcoming challenges in modernising a farming systems model journal May 2018
Crop2ML: An open-source multi-language modeling framework for the exchange and reuse of crop model components journal August 2021
OpenAlea: a visual programming and component-based software platform for plant modelling journal January 2008
A Coupled Model of Photosynthesis, Stomatal Conductance and Transpiration for a Rose Leaf (Rosa hybrida L.) journal March 2003
CRootBox: a structural–functional modelling framework for root systems journal February 2018
A process-based model for leaf development and growth in hardneck garlic (Allium sativum) journal May 2019
CPlantBox, a whole-plant modelling framework for the simulation of water- and carbon-related processes journal January 2020
Reuse of process-based models: automatic transformation into many programming languages and simulation platforms journal January 2020
yggdrasil: a Python package for integrating computational models across languages and scales journal January 2019
Functional–structural plant modelling: a new versatile tool in crop science journal December 2009
What gas exchange data can tell us about photosynthesis: Gas exchange data and photosynthesis journal December 2015
Julia: A Fresh Approach to Numerical Computing journal January 2017
Mixin-based inheritance journal September 1990
The System/360 continuous system modeling program journal December 1968
Makie.jl: Flexible high-performance data visualization for Julia journal September 2021
CropSyst: A Collection of Object‐Oriented Simulation Models of Agricultural Systems journal March 1994
A Design for a Modular, Generic Soil Simulator to Interface with Plant Models journal March 1996
Modeling Temperature Responses of Leaf Growth, Development, and Biomass in Maize with MAIZSIM journal November 2012
Crops In Silico: Generating Virtual Crops Using an Integrative and Multi-scale Modeling Platform journal May 2017
Helios: A Scalable 3D Plant and Environmental Biophysical Modeling Framework journal October 2019
Functional–Structural Plant Models Mission in Advancing Crop Science: Opportunities and Prospects journal December 2021
An Integrative Process-Based Model for Biomass and Yield Estimation of Hardneck Garlic (Allium sativum) journal March 2022
Coupled Gas-Exchange Model for C4 Leaves Comparing Stomatal Conductance Models journal October 2020