Maisyarah Maisyarah; Diaz Alfaridzi; Arif Syafaruddin Gultom; Alda Febriani
This study aims to simulate the M/M/1 queueing system using Python through a Modeling and Simulation approach supported by the Discrete-Event Simulation (DES) method. The objective of the research is to analyze key performance indicators of queueing behavior, including arrival time, service time, waiting time, queue length, and server utilization. The methodology employs DES, which models system behavior based on discrete events such as customer arrivals, service initiation, and service completion. The simulation generates stochastic arrival and service times using Poisson and exponential distributions, respectively. The results indicate that the DES-based M/M/1 simulation accurately reflects theoretical queueing behavior, showing increases in waiting times and queue lengths when arrival rates approach service rates, while server utilization corresponds to system load intensity. The findings demonstrate that DES is an effective approach for analyzing queue performance and can be extended to more complex models such as multi-server systems, priority queues, and predictive simulations using artificial intelligence.