Discrete Event Simulation
Discrete Event Simulation
Key Concepts:
Event: A specific occurrence that changes the system state (e.g., arrival of a customer,
machine breakdown).
State Variables: Variables that describe the system at any given time (e.g., number of
customers in a queue).
Clock: Tracks the simulation time.
Event List: A priority queue storing future events in chronological order.
Simulation Model: A representation of the real-world system, including logic and rules
governing event interactions.
Illustration:
Imagine a bank where customers arrive at random intervals and wait for service. The state
changes when a customer arrives or completes service, making DES an effective modeling tool.
Entities represent objects that move through the system, such as customers, machines, or
vehicles. Each entity has attributes, which store information specific to it (e.g., arrival time,
service time).
2.3 Events
Discrete occurrences that trigger system state changes. Common events include:
Events are placed in a future event list and processed in chronological order. The simulation
clock jumps to the next scheduled event rather than progressing in fixed time increments.
To introduce variability, random numbers are used to model uncertain elements such as
interarrival times and service durations.
Illustration:
A flowchart depicting the execution of a DES model, showing event scheduling, event execution,
and clock advancement.
A bank has one teller serving customers. Customers arrive at random intervals and have varying
service times. The goal is to analyze customer waiting times and teller utilization.
Simulation Setup:
Simulation Execution:
8. Conclusion
Discrete Event Simulation is a powerful tool for analyzing and optimizing systems with discrete
events. By modeling real-world processes and testing different scenarios, organizations can
improve efficiency, reduce costs, and enhance decision-making.