Towards reusable building blocks for agent-based modelling and theory development - INRAE - Institut national de recherche pour l’agriculture, l’alimentation et l’environnement Access content directly
Journal Articles Environmental Modelling and Software Year : 2024

Towards reusable building blocks for agent-based modelling and theory development

Matthias Meyer
Nicholas Roxburgh
Christian Troost


Highlights: • Reusable Building Blocks (RBBs) are effective in software development but are underrepresented in agent-based modelling. • RBBs describe individual mechanisms or processes, distinguishing them from modules that represent entire subsystems. • We present a first website that demonstrates how a RBB template and repository can be organized. • Examples of RBBs are provided to illustrate the concept, fostering discussion and encouraging further refinement. Abstract: Despite the increasing use of standards for documenting and testing agent-based models (ABMs) and sharing of open access code, most ABMs are still developed from scratch. This is not only inefficient, but also leads to ad hoc and often inconsistent implementations of the same theories in computational code and delays progress in the exploration of the functioning of complex social-ecological systems (SES). We argue that reusable building blocks (RBBs) known from professional software development can mitigate these issues. An RBB is a submodel that represents a particular mechanism or process that is relevant across many ABMs in an application domain, such as plant competition in vegetation models, or reinforcement learning in a behavioural model. RBBs need to be distinguished from modules, which represent entire subsystems and include more than one mechanism and process. While linking modules faces the same challenges as integrating different models in general, RBBs are “atomic” enough to be more easily re-used in different contexts. We describe and provide examples from different domains for how and why building blocks are used in software development, and the benefits of doing so for the ABM community and to individual modellers. We propose a template to guide the development and publication of RBBs and provide example RBBs that use this template. Most importantly, we propose and initiate a strategy for community-based development, sharing and use of RBBs. Individual modellers can have a much greater impact in their field with an RBB than with a single paper, while the community will benefit from increased coherence, facilitating the development of theory for both the behaviour of agents and the systems they form. We invite peers to upload and share their RBBs via our website - preferably referenced by a DOI (digital object identifier obtained e.g. via Zenodo). After a critical mass of candidate RBBs has accumulated, feedback and discussion can take place and both the template and the scope of the envisioned platform can be improved.
Fichier principal
Vignette du fichier
1-s2.0-S1364815224000641-main.pdf (2.2 Mo) Télécharger le fichier
Origin Publication funded by an institution

Dates and versions

hal-04519752 , version 1 (25-03-2024)




Uta Berger, Andrew Bell, C. Michael Barton, Emile Chappin, Gunnar Dreßler, et al.. Towards reusable building blocks for agent-based modelling and theory development. Environmental Modelling and Software, 2024, 175, pp.106003. ⟨10.1016/j.envsoft.2024.106003⟩. ⟨hal-04519752⟩
25 View
11 Download



Gmail Mastodon Facebook X LinkedIn More