Advanced Simulation & Modeling
ASSIGNMENT - 1
Discrete Event Modeling & Simulation
Total Marks: 25
Aims and Objectives
This is the first assignment on Discrete Event Modeling & Simulation. In this assignment, you will
learn the discrete event technique.
Please note that the above number is only indicative and should be regarded as an average amount
of time for all students. You may require significantly more or less time depending on personal
circumstances, e.g. knowledge and understanding to the relevant subject topics, experience of the
software used, and level of programming skills. Please do prepare to use more time outside the
officially arranged sessions.
Report Requirement
1. Compress the folder representing your model. Name the compressed file YourRollNo.zip.
Make sure that your “zipping” preserves the folder structure.
2. Take screen shots of the Output Analyzer windows showing the confidence intervals and
place them in a Word file. Name the Word file YourRollNo.doc
3. Upload the both files on your HELP Account.
Note that you should copy and paste the code and results in the text format as much as possible.
Screenshots as the output results are only acceptable for the exceptional cases.
A fast food restaurant serves its customers as a multiple-server multiple-line queuing system (See
the picture on next page). A first-come-first-serve queue forms in front of each of the three cashiers.
An arriving customer joins the end of the shortest queue. No jockeying is allowed (i.e., after joining
a queue, the customer cannot jump to another queue). The arriving customer who finds six
customers waiting in each line balks away and goes somewhere else for service. After the customer
is served, he or she goes to the eating area with a probability of 0.8. What happens in the eating
area is beyond the scope of our study and we assume that the customer exits from the system
through the eating area. With the remaining probability of 0.2, the customer leaves the system
through the exit door.
The random variables are characterized as given in Table 1. All values are given in seconds.
Table 1. Probabilistic characterization of random phenomena
Random Variable Probability Parameters
Distribution
Interarrival times of customers Location = 0, Scale = 15.0
Exponential
Cashier service time Location = 0, Scale = 40.0
Exponential
Walk times from entrance to queue 1 Min = 2, Max = 3
Uniform
Walk times from entrance to queue 2 Uniform Min = 2.5, Max = 3.5
Walk times from entrance to queue 3 Min = 3, Max = 4
Uniform
Walk times from entrance to exit Min = 1.5, Max = 2.5
Uniform
Walk times from cashier 1 to exit Min = 3, Max = 4
Uniform
Walk times from cashier 2 to exit Min = 4, Max = 5
Uniform
Walk times from cashier 3 to exit Min = 5, Max = 6
Uniform
Walk times from cashier 1 to eating area exit Min = 4, Max = 5
Uniform
Walk times from cashier 2 to eating area exit Uniform Min = 5, Max = 6
Walk times from cashier 3 to eating area exit Min = 6, Max = 7
Uniform
Walk times from one wait spot to another Constant 2 seconds
Build a visual simulation model in AnyLogic, conduct experiments, and construct confidence
intervals for the following performance measures of interest:
1. Utilization of each cashier
2. Average waiting time of customers in the whole system (from entry to exit) excluding the
balking customers
3. Average number of customers in the whole system excluding the balking customers