From reusable building blocks to domain libraries: Organising ecological knowledge in individual-based models, as illustrated with GoFish, a library for migratory fish
Individual-based models (IBMs) encode decades of ecological theory and domain expertise, but this knowledge is rarely reused because models are typically built as question-specific monoliths that leave behavioural rules embedded in project-specific code. Reusable Building Blocks (RBBs) address this by making ecological processes independently documented, implemented and tested for reuse across applications. The next step in individual-based ecology is to organise related RBBs into domain libraries that preserve their scientific independence, while providing the shared conventions for composition. Domain libraries can connect individual RBBs, complete models and community repositories, allowing ecological knowledge to accumulate across applications. We define a domain as the focal phenomenon a library is built to explain, contained within the system in which it is built to study. We illustrate the concept with GoFish, a behavioural library built to explain methylmercury exposure in migratory fish in estuaries, co-developed through a participatory workshop. From this experience, we derive a sequence of steps that modellers can follow to build domain libraries for their own systems. GoFish coordinates twelve RBBs through a shared variable schema, documented read–write interfaces, dependency-based scheduling rules and expert judgement of compatibility and has been downloaded over 600 times since its release.
Authors
- Joseph Dello Russo (ORCID: https://orcid.org/0009-0004-8460-7981)
- Kaylyn Zipp (ORCID: https://orcid.org/0009-0008-0621-8285)
- Todd M. Swannack (ORCID: https://orcid.org/0000-0003-4261-9621)
- Vanessa M. Quintana
- Kimberly D. Huguenard (ORCID: https://orcid.org/0000-0001-6285-3082)
Institutions
- Oak Ridge Institute for Science and Education (US)
- University of Maine (US)
- U.S. Army Engineer Research and Development Center (US)
Publication Details
- Journal
- Individual-based Ecology
- Published
- 2026-12-02
- DOI
- https://doi.org/10.3897/ibe.2.215163
- Primary Topic
- Scientific Computing and Data Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00