Define Individuals
Identify who the participants are and what state they possess - such as position, health status, speed, and resource levels.
Agent-based modeling doesn't start with aggregate equations. Instead, it defines "how each individual perceives, acts, and interacts". When these simple rules run simultaneously, emergent phenomena like congestion, diffusion, aggregation, and propagation emerge.
The key to ABM isn't writing aggregate formulas first. It's defining each individual's rules clearly, then letting them interact together.
Start by giving each individual a set of local rules, then let the system evolve on its own. The model's explanatory power comes from how these local rules combine into macro-level outcomes.
Identify who the participants are and what state they possess - such as position, health status, speed, and resource levels.
Each agent makes decisions based only on itself and its immediate neighbors, not the entire system.
The system updates individual states at each time step. Contacts and feedback between agents accumulate over time.
Diffusion speed, peak size, clustering patterns, and final equilibrium all emerge naturally from individual behaviors.
We use "infection spreading during movement" to demonstrate ABM: The rules are simple, but the results are complex - this is ABM's most important insight.
Each dot is an agent. You're not adjusting an "aggregate infection rate" - you're adjusting population size, movement speed, contact radius, and infection probability.
Once the model starts running, interpretations based on current state will appear here.
If the key isn't averages but "who meets whom, who acts first, and how rules interact", ABM is often more natural than aggregate models.
When participants have behavioral, informational, or spatial differences, an "average person" isn't sufficient.
Spread, traffic, collaboration, market choices, and collective behavior often depend on local contact networks, not global averages.
Phenomena like congestion, clustering, synchronization, diffusion, and differentiation are well-suited for agent-based modeling.