# Package nl.tudelft.simulation.examples.dsol.mm1queue

Single-server queuing system.

Consider a single-server queuing system for which the interarrival times are independent and identically distributed. A customer who arrives and finds the server idle enters service immediately. The service time of the server is again an independent and identically distributed random variable. A customer who enters and finds the server busy joins the end of a single queue. Upon completing service for a customer, the server chooses a customer from the queue in a first-in first-out (FIFO) manner.

The MM1 examples illustrated in this package start with a simulator in "empty-and-idle" state. At t=0 we begin with waiting for the first arrival which will occur after the first arrival time. We simulate the system until a fixed number of customers (n) have completed their delays in queue. To measure the performance of this system, we will look at estimates of 3 quantities. First we will estimate the expected average delay in queue of the n customers completing their service during the simulation. This time delay is represented as d(n).
From a system based viewpoint we are going to look at the average number of entities in the queue q(n) and to the average utilization of the server u(n).

Copyright (c) 2002-2019 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://simulation.tudelft.nl/dsol/3.0/license.html.

Author:
  Peter Jacobs, Alexander Verbraeck

Class Summary
Class | Description
--- | ---
Customer | A truly basic customer for the DSOL framework.
MM1QueueModel | The M/M/1 example as published in Simulation Modeling and Analysis by A.M.
MM1QueueSwingApplication | Copyright (c) 2002-2019 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands.
MM1QueueSwingApplication.MM1QueuePanel | copyright (c) 2002-2018 Delft University of Technology.
Release | The Seize is an extended Seize block which computes the servicetime.
Seize | The Seize is an extended Seize block whic sets delay times on arriving customers..