In this paper, we present a methodology for describing crop models that combines agronomic knowledge with formal descriptions typical of computer science. Our aim is to provide crop modeling researchers with a formal methodology, supported by automatic tools, enabling the simulation of biological systems at different scales, from individual plants to entire populations, under heterogeneous growth conditions. To validate our approach, we used the well-known tomato model TOMGRO as a case study, rewriting it in the formal language of Discrete-Time Hybrid Automata (DTHA). We then automatically generated a correct-by-construction software version of the model, scalable to grids of multiple plants, as an executable program simulating plant growth under different microclimatic conditions. We tested the scalability of this approach for increasing grid sizes ranging from 9 to 1600 plants, and reported experimental data on the time required to synthesize and run the simulation program.
A formal approach to crop modeling: Automatic code generation and grid simulation using finite state automata
Elia Brentarolli
;Davide Quaglia;Luca Benvenuti;Tiziano Villa;
2026-01-01
Abstract
In this paper, we present a methodology for describing crop models that combines agronomic knowledge with formal descriptions typical of computer science. Our aim is to provide crop modeling researchers with a formal methodology, supported by automatic tools, enabling the simulation of biological systems at different scales, from individual plants to entire populations, under heterogeneous growth conditions. To validate our approach, we used the well-known tomato model TOMGRO as a case study, rewriting it in the formal language of Discrete-Time Hybrid Automata (DTHA). We then automatically generated a correct-by-construction software version of the model, scalable to grids of multiple plants, as an executable program simulating plant growth under different microclimatic conditions. We tested the scalability of this approach for increasing grid sizes ranging from 9 to 1600 plants, and reported experimental data on the time required to synthesize and run the simulation program.| File | Dimensione | Formato | |
|---|---|---|---|
|
1-s2.0-S0168169926009658-main.pdf
solo utenti autorizzati
Licenza:
Copyright dell'editore
Dimensione
2.27 MB
Formato
Adobe PDF
|
2.27 MB | Adobe PDF | Visualizza/Apri Richiedi una copia |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.



