Agents, rules and environments
Agent-based modelling begins with individual entities, gives each a set of rules and lets interactions produce system-level outcomes. It is useful when local decisions, different behaviours or adaptation matter. A model should explain what each agent knows, how it chooses, whom it can interact with and how its state changes over time.
A simple example is a pedestrian model. Each agent can move toward an exit, avoid nearby people and adjust speed when space becomes crowded. The rules are modest, but their interaction may create queues, lanes or bottlenecks. Those patterns depend on assumptions about visibility, personal space and route choice; they should not be treated as universal human behaviour.
Specify the rules before running the model
Calibration can make a simulation resemble observed data, but resemblance alone does not validate its mechanism. Test alternative rules, vary uncertain parameters and report the spread across repeated runs. The most useful result may be a map of which assumptions drive the outcome, not a single forecast. Keep the model small enough that a reader can understand why it behaves as it does.
A practical experiment compares several plausible rule sets rather than tuning one until it produces a desired picture. Check whether the same qualitative result appears across different initial conditions, population sizes and random seeds. If it disappears after a small change, report that sensitivity. The model is then useful for identifying mechanisms worth studying, not for predicting an exact evacuation time.
Build the smallest useful agent model
Suppose three shelves hold different numbers of parcels and six workers each move to the nearest shelf with work remaining. Begin with identical movement speeds and no shared queue. Then introduce a queue and a rule that workers avoid crowded shelves. Track total completion time and the longest wait under each rule.
Record initial shelf contents, worker placement, update order and the random seed. Rules that work for a compact layout may fail when travel distances increase. A change in outcomes is evidence about this toy setup, not a staffing recommendation for a real warehouse.
Further reading
Melanie Mitchell. Complexity: A Guided Tour. Oxford University Press, 2009.
Background on simple rules, adaptation and collective behaviour.