Skip to Main content Skip to Navigation
Journal articles

Reuse of process-based models: automatic transformation into many programming languages and simulation platforms

Abstract : The diversity of plant and crop process-based modeling platforms in terms of implementation language, software design, and architectural constraints limits the reusability of the model components outside the platform in which they were originally developed, making model reuse a persistent issue. To facilitate the intercomparison and improvement of process-based models and the exchange of model components, several groups in the field joined to create the Agricultural Model Exchange Initiative (AMEI). AMEI proposes a centralized framework for exchanging and reusing model components. It provides a modular and declarative approach to describe the specification of unit models and their composition. A model algorithm is associated with each model specification, which implements its mathematical behavior. This paper focuses on the expression of the model algorithm independently of the platform specificities, and how the model algorithm can be seamlessly integrated into different platforms. We define CyML, a Cython-derived language with minimum specifications to implement model component algorithms. We also propose CyMLT, an extensible source-to-source transformation system that transforms CyML source code into different target languages such as Fortran, C#, C++, Java and Python, and into different programming paradigms. CyMLT is also able to generate model components to target modeling platforms such as DSSAT, BioMA, Record, SIMPLACE and OpenAlea. We demonstrate our reuse approach with a simple unit model and the capacity to extend CyMLT with other languages and platforms. The approach we present here will help to improve the reproducibility, exchange and reuse of process-based models.
Complete list of metadata

Cited literature [68 references]  Display  Hide  Download

https://hal.inrae.fr/hal-02962262
Contributor : Dominique Fournier <>
Submitted on : Friday, October 9, 2020 - 9:47:16 AM
Last modification on : Friday, May 28, 2021 - 8:12:33 AM

File

Midingoyi-ISP-2020-manuscript-...
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

Cyrille Ahmed Midingoyi, Christophe Pradal, Ioannis Athanasiadis, Marcello Donatelli, Andreas Enders, et al.. Reuse of process-based models: automatic transformation into many programming languages and simulation platforms. in silico Plants, Oxford Academic, 2020, 2 (1), pp.diaa007. ⟨10.1093/insilicoplants/diaa007⟩. ⟨hal-02962262⟩

Share

Metrics

Record views

179

Files downloads

158