Publications des agents du Cirad

Cirad

Crop modeling frameworks interoperability through bidirectional source code transformation

Midingoyi C.A., Pradal C., Enders A., Fumagalli D., Lecharpentier P., Raynal H., Donatelli M., Fanchini D., Athanasiadis I., Porter C., Hoogenboom G., Oliveira F.A.A., Holzworth D., Martre P.. 2023. Environmental Modelling and Software, 168 : 14 p..

DOI: 10.1016/j.envsoft.2023.105790

Recently, we proposed Crop2ML, an open-source modeling framework for exchanging and reusing crop model components between modeling platforms. Here, we present an approach based on reverse engineering to automatically extract and transform meta-information and algorithms of existing crop biophysical models into a platform-independent model component. A search algorithm using Crop2ML concepts, and a many-to-one transformation system were used for producing high-level models. The system consists of parsing the codebase of model components written in different languages using the ANother Tool for Language Recognition (ANTLR) parser generator and processing the generated syntax trees to produce various model implementations. The system was evaluated for three crop model components provided by the BioMA, SIMPLACE, and DSSAT platforms. We demonstrated the extensibility of our approach with the STICS, OpenAlea, and SiriusQuality modeling platforms. CyMLTx is a significant contribution towards the interoperability of crop modeling platforms and the reuse of model components beyond programming languages.

Mots-clés : modélisation des cultures; modélisation; interopérabilité; système de culture; modèle mathématique; plante de culture; modèle de simulation

Documents associés

Article (a-revue à facteur d'impact)

Agents Cirad, auteurs de cette publication :