Luke
 

A lightweight dataflow-based software framework for building forest simulators

Lempinen-etal-2025-A-lightweight_dataflow-based_software.pdf
Lempinen-etal-2025-A-lightweight_dataflow-based_software.pdf - Publisher's version - 2.02 MB
How to cite: Tapio Lempinen, Lauri Mehtätalo, Annika Kangas, Tero Heinonen, Paulo Borges, Jari Vauhkonen, A lightweight dataflow-based software framework for building forest simulators, Environmental Modelling & Software, Volume 194, 2025, 106661, ISSN 1364-8152, https://doi.org/10.1016/j.envsoft.2025.106661.

Tiivistelmä

Simulators are critical tools for decision-making in forest management. We propose a dataflow-based model linking approach to increase the flexibility and modularity of forest simulator software while maintaining high computational efficiency. Our approach dynamically constructs a data model and model chains for simulation based on a model library, enabled treatments, and requested output variables. Models are framework- and language-independent pure functions, described through metadata in a domain-specific language. A case study with three model libraries demonstrates the applicability and efficiency of our approach. We observed a 96% speedup compared to an unoptimized real-world model implementation, while 95% of our code (measured by lines) was framework-independent and reusable. We observed a 15% slowdown compared to an optimized hand-written C implementation of a simpler model. We conclude that dataflow-based model linking can be used to build flexible and modular simulation software with a small runtime overhead.

ISBN

OKM-julkaisutyyppi

A1 Alkuperäisartikkeli tieteellisessä aikakauslehdessä

Julkaisusarja

Environmental modelling and software

Volyymi

194

Numero

Sivut

Sivut

11 p.

ISSN

1364-8152
1873-6726