- Introduced by
- Hybridization formalized by multiple authors; Siebers & Aickelin, Lagergren & Buckley among key contributors
- Year
- 2000s
- Type
- Hybrid simulation paradigm
- Family
- Simulation / optimization
What does it do?
Agent-based discrete-event simulation (AB-DES) is a hybrid method in which autonomous agents, each with attributes, state and decision rules, operate inside an event-driven engine.
The simulation clock advances only to the timestamps of scheduled events, so state changes keep their exact timing while individual decisions stay heterogeneous. It suits systems in which both individual choices and the sequence of process steps affect the outcome.
The intuition behind the method
Some systems are too complex for either agent-based modeling or discrete-event simulation alone. A hospital, for example, has patients and staff who make autonomous choices (agent behavior), but also a strict sequence of service events (triage, treatment, discharge) that must be tracked precisely (discrete events). AB-DES lets modelers represent both: agents carry personal attributes and decision rules, while the event queue schedules and processes state transitions in chronological order. This allows collective effects and process bottlenecks to be studied in the same model.
History
Discrete-event simulation and agent-based modeling developed as separate traditions. Agent-based modeling grew out of early models of segregation and cooperation, such as those associated with Schelling and Axelrod. The hybrid combination is documented in Lagergren and Buckley (2010), the primary cited reference on this page. AnyLogic is a platform that supports combined agent-based and discrete-event modeling.
When to use it
Choose AB-DES when the system contains heterogeneous actors whose decisions change outcomes (for example, staff who choose which patient to treat next, or customers who switch routes) and when process stages have definite timing that must be tracked. Typical settings include healthcare pathways, supply chains, emergency response, and manufacturing cells. Do not use it when agents are homogeneous and only the process matters, since standard DES is then sufficient, or when interactions are purely emergent with no event-driven sequencing, where pure ABM is sufficient. It is also a poor choice when neither agent behavior nor event timing data are available, because too many parameters would remain unconstrained.
Limitations and considerations
- Design and implementation are more involved than in pure ABM or pure DES, because two modeling layers must be specified and kept consistent.
- Both agent-rule parameters and event-time distributions must be calibrated; if either data source is missing, the corresponding parameters are weakly identified.
- Run time grows with the agent population and with fine event granularity, which can limit the number of scenarios that can be explored.
- Verification and validation require expertise in both paradigms, since errors can arise in the event logic or in the agent rules.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Agent decisions can depend on the state of the system at the moment an event fires, so a rule such as choosing the next available service can be tested against the exact event sequence.
- Process timing is kept exact: state changes occur at event timestamps rather than at fixed ticks.
- Behavioral rules and process parameters can be varied separately in scenario analysis, which is easier to organise when the model has an explicit agent layer and an explicit event layer.
- The pairing suits sociotechnical systems in which staff or customer decisions interact with fixed institutional schedules.
Applications
- Hospital patient flow modeling where staff behavior and treatment queues interact
- Supply chain disruption analysis combining supplier decision-making with shipment event schedules
- Emergency evacuation planning with heterogeneous pedestrian agents and event-triggered exits
- Manufacturing cell simulation with worker skill heterogeneity and machine event queues
- Urban transportation systems with driver behavior and signal event control
- Policy evaluation in social services where case worker decisions interact with scheduled appointments
How it works
How it works
Define the system boundary: identify which entities will be modeled as agents (with attributes, state, and decision rules) and which processes will be modeled as discrete events (instantaneous state changes scheduled on a global event calendar). Clarify what questions the simulation must answer.
Design the dual-layer architecture. The agent layer specifies agent types, attributes, behaviors, and interaction protocols. The event layer specifies event types, triggering conditions, and the global event calendar structure. Define how agents generate, consume, and react to events.
Specify agent decision logic: rule sets, utility functions, or behavioral heuristics that govern how each agent selects actions when an event occurs or at scheduled intervals. Agent heterogeneity is encoded here, allowing different agents of the same type to behave differently based on their internal state.
Initialize the global event calendar with seed events. At each simulation step, the engine extracts the earliest event, advances simulation time to that event's timestamp, identifies the affected agent(s), and invokes the relevant agent decision rules. Agents may schedule new events as a result.
Run the simulation for the desired number of replications or until a stopping criterion is met, and fix that criterion before the runs begin. Discard output from an initial warm-up period; its length is chosen by inspecting the transient in the output rather than fixed in advance, and only the data after it are used when steady behavior is the target. Collect trajectory data: event histories, agent state timelines, and aggregate statistics. Use multiple independent replications, each started from its own random number stream, so that output estimates and their variability can be assessed.
Analyze output data using statistical methods: compute means and confidence intervals across replications, perform sensitivity analysis on key parameters, visualize agent flow through the event network, and compare alternative policy scenarios. Validate the model against real-world data before drawing conclusions.
Common pitfalls
- Mixing simulation time with real time: event timestamps must sit on one consistent clock, or event orderings will be logically wrong.
- Over-specifying agent rules that cannot be calibrated, when a simpler behavioral assumption would answer the question.
- Reading output before the warm-up period ends: early results reflect the initial event calendar and agent states rather than steady behavior, which matters when steady-state behavior is the target.
- Relying on a single run: stochastic output varies between replications, so conclusions should rest on several independent replications.
Frequently asked questions
How does AB-DES differ from pure agent-based modeling?
Pure agent-based models are often run with fixed time steps, and emergent behavior is read from the resulting trajectories. AB-DES instead keeps a global event calendar and advances the clock only to the next event time. This is efficient when activity is sparse and keeps the exact timing of state changes, which matters when the order of process steps is part of the question.
What software tools support AB-DES?
AnyLogic is a commercial platform that supports agent-based, discrete-event, and system dynamics modeling within one tool, which is why this page uses it as the main example. Other agent-based toolkits such as Repast Simphony and MASON may require custom event scheduling; check their documentation for the features you need.
How many replications are needed?
A pilot of roughly 10 to 30 replications is a common rule of thumb for estimating output variance; the number needed then follows from the confidence interval width required. A single run gives little information about the variability of stochastic output, so several independent replications are needed.
When should I choose pure DES over AB-DES?
Choose pure DES when entities can be treated as homogeneous (all patients, all customers, all parts behave identically) and individual decision logic is not needed. AB-DES adds complexity that is only justified when behavioral heterogeneity meaningfully affects system-level outcomes.
Is AB-DES suitable for real-time decision support?
Generally no — AB-DES models are calibrated and validated offline. Some fast, simplified AB-DES models can run quickly enough for near-real-time scenario testing, but full-scale models are typically used for planning and policy analysis rather than live operational control.
Related methods
Sources
Lagergren, J. H., & Buckley, E. (2010). A hybrid approach to simulation: Combining agent-based and discrete event simulation. Proceedings of the 2010 Winter Simulation Conference, pp. 170–181. IEEE.
Open publication referenceAgent-based model. Wikipedia.
Open publication reference