Abstract
There is little research concerning comparisons and combination of System Dynamics Simulation (SDS) and Agent Based Simulation (ABS). ABS is a paradigm used in many levels of abstraction, including those levels covered by SDS. We believe that the establishment of frameworks for the choice between these two simulation approaches would contribute to the simulation research. Hence, our work aims for the establishment of directions for the choice between SDS and ABS approaches for immune system-related problems. Previously, we compared the use of ABS and SDS for modelling agents' behaviour in an environment with no movement or interactions between these agents. We concluded that for these types of agents it is preferable to use SDS, as it takes up less computational resources and produces the same results as those obtained by the ABS model. In order to move this research forward, our next research question is: if we introduce interactions between these agents will SDS still be the most appropriate paradigm to be used? To answer this question for immune system simulation problems, we will use, as case studies, models involving interactions between tumour cells and immune effector cells. Experiments show that there are cases where SDS and ABS can not be used interchangeably, and therefore, their comparison is not straightforward.
Introduction
In the field of biological simulation, researchers primarily rely on two paradigms: System Dynamics Simulation (SDS) and Agent-Based Simulation (ABS). SDS is a top-down approach that utilizes differential equations to model populations as continuous "stocks" and "flows." It assumes a homogeneous environment where changes occur smoothly over time. In contrast, ABS is a bottom-up approach where individual "agents" (such as cells) follow specific rules. This allows for the capture of heterogeneity and stochasticity but comes at a significantly higher computational cost.
While previous research suggested that SDS is superior for modeling static agents due to its efficiency, this paper investigates whether that advantage holds when agents interact. Specifically, we examine the complex "predator-prey" relationship between tumor cells and immune effector cells to determine if these two simulation methods remain interchangeable in dynamic biological contexts.
Methodology
To compare the two paradigms, we implemented two distinct categories of mathematical models:
1. One-Equation Models
We utilized three classic growth models: Logistic, von Bertalanffy, and Gompertz. In the SDS implementation, these were represented as ordinary differential equations (ODEs). In the ABS implementation, individual tumor cell agents were programmed to reproduce or die based on probabilities derived directly from the same ODE parameters.
2. Two-Equation Models (The Kuznetsov Model)
This model introduces the interaction between tumor cells ($T$) and effector immune cells ($E$). It accounts for several biological processes:
- Cell proliferation and natural death.
- The "killing" of tumor cells by immune cells.
- The influx of new immune cells (representing treatment or natural recruitment).
To account for the inherent randomness in agent-based modeling, the ABS versions were run 50 times, and the mean results were compared against the deterministic outputs of the SDS models.
Data and Parameters
This study relies on established mathematical parameters from biological literature rather than external datasets. Specifically, the Kuznetsov Model parameters—including cell death rates, proliferation constants, and treatment efficacy—were sourced from the landmark 1994 study by Kuznetsov et al. Four distinct scenarios were simulated by varying parameters such as the tumor death rate ($b$), effector cell apoptosis ($d$), and treatment intensity ($s$).
Key Insights
The Discrete vs. Continuous Divide
A fundamental difference emerged regarding population extinction. In SDS, a population can dwindle to a infinitesimal fraction (e.g., 0.00001) and eventually "rebound." In an ABS, once the number of agents reaches zero, the population is extinct. This makes ABS more biologically realistic for small populations, as it captures the "threshold" of survival that continuous calculus-based models often overlook.
Computational Constraints
The study highlighted a "Memory Wall" for aggressive growth models. In the Gompertz model, tumor populations can theoretically reach magnitudes of $10^{64}$. While SDS handles this as a simple numerical value, an ABS would require an impossible amount of memory to track every individual cell agent. This reinforces the necessity of SDS for high-population, macro-level modeling.
Stochasticity at Low Numbers
In the Logistic model, ABS results often failed to match SDS predictions. With low initial agent counts, the random chance of death occasionally outweighed reproduction, causing the simulated tumor to vanish before it could establish itself—a nuance missed by the fluid-like assumptions of SDS.
Results and Discussion
The comparison yielded mixed results depending on the complexity of the model:
- One-Equation Success: For von Bertalanffy and Gompertz models, SDS and ABS produced similar trajectories, provided the populations remained within a computationally manageable range.
- Two-Equation Divergence: In the interaction models, the paradigms often disagreed. In "Scenario 3," SDS predicted a classic predator-prey oscillation. However, the ABS version frequently saw the immune cells die off while tumor cells fluctuated randomly, failing to replicate the expected cyclical trend.
- Model Constraints: Attempts to force the ABS to match SDS (e.g., by preventing populations from dropping below 1) improved steady-state alignment but failed to reconcile the differences in the simulation's overall trajectory.
Conclusion and Future Work
The findings demonstrate that SDS and ABS are not always interchangeable, particularly when stochasticity and low cell counts are factors. While SDS is efficient for large-scale populations, ABS provides a more granular look at the risks of extinction and individual cell behavior.
Future research will focus on:
- Expanding to models with three or more equations (adding chemical signals or additional cell types).
- Developing "native" ABS models that rely on biological rules rather than trying to mimic existing ODEs.
- Establishing a formal framework to guide researchers in choosing the appropriate simulation paradigm based on the biological scale and the importance of stochastic events.
Summary updated