A lightweight dataflow-based software framework for building forest simulators

IF 4.6 2区 环境科学与生态学 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Tapio Lempinen , Lauri Mehtätalo , Annika Kangas , Tero Heinonen , Paulo Borges , Jari Vauhkonen
{"title":"A lightweight dataflow-based software framework for building forest simulators","authors":"Tapio Lempinen ,&nbsp;Lauri Mehtätalo ,&nbsp;Annika Kangas ,&nbsp;Tero Heinonen ,&nbsp;Paulo Borges ,&nbsp;Jari Vauhkonen","doi":"10.1016/j.envsoft.2025.106661","DOIUrl":null,"url":null,"abstract":"<div><div>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.</div></div>","PeriodicalId":310,"journal":{"name":"Environmental Modelling & Software","volume":"194 ","pages":"Article 106661"},"PeriodicalIF":4.6000,"publicationDate":"2025-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Environmental Modelling & Software","FirstCategoryId":"93","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1364815225003457","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

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.

Abstract Image

一个轻量级的基于数据流的软件框架,用于构建森林模拟器
模拟器是森林管理决策的重要工具。我们提出了一种基于数据流的模型链接方法,以增加森林模拟器软件的灵活性和模块化,同时保持较高的计算效率。我们的方法基于模型库、启用的处理和请求的输出变量动态构建数据模型和模型链。模型是独立于框架和语言的纯函数,通过特定于领域语言的元数据进行描述。一个包含三个模型库的案例研究证明了我们的方法的适用性和有效性。与未优化的实际模型实现相比,我们观察到96%的加速,而95%的代码(以行数衡量)是框架独立的和可重用的。我们观察到,与一个更简单模型的优化的手写C实现相比,速度降低了15%。我们得出的结论是,基于数据流的模型链接可以用于构建灵活的模块化仿真软件,并且运行时开销很小。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Environmental Modelling & Software
Environmental Modelling & Software 工程技术-工程:环境
CiteScore
9.30
自引率
8.20%
发文量
241
审稿时长
60 days
期刊介绍: Environmental Modelling & Software publishes contributions, in the form of research articles, reviews and short communications, on recent advances in environmental modelling and/or software. The aim is to improve our capacity to represent, understand, predict or manage the behaviour of environmental systems at all practical scales, and to communicate those improvements to a wide scientific and professional audience.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信