Simulation Lab 2
Simulation Lab 2
Simulation Lab
Demonstration problem
2.
a) Add a second machine to which all parts go immediately after exiting the first
machine for a separate kind of processing (for example, the first machine is drilling and
the second machine is washing). Processing times at the second machine are
independent of those from the first machine but drawn from the same distribution as for
the first machine. Gather all the statistics as before, plus the time in queue, queue
length, and utilization at the second machine.
Solution:
Process Model Diagram
Report:
Questions:
• The average waiting time in queue of parts that enter service at the washing process during the
simulation:
Replication 1 2 3 4 5
Washing .47086 .90070 .89455 .70084 1.6784
Drilling 1.6101 1.5623 7.7201 1.8019 3.9851
• The maximum waiting time in queue of parts that enter service at the washing machine during the
simulation:
Replication 1 2 3 4 5
Washing 3.7591 6.0575 5.8962 3.8066 7.4257
Drilling 12.919 7.8811 29.312 9.1022 22.583
• The time-average number of parts waiting in the queue (again, not counting any part in service at
the washing machine).
Replication 1 2 3 4 5
Washing .07259 .17263 .18264 .13433 .40588
Drilling .25158 .29945 1.6295 .34537 .98110
• The maximum number of parts that were ever waiting in the queue.
Replication 1 2 3 4 5
Washing 1 3 2 1 2
Drilling 4 2 9 3 8
• The average and maximum total time in system of parts that finish being processed on both drill
and washing machine and leave.
Average
Replication 1 2 3 4 5
8.7339 9.1884 15.193 9.2487 12.168
Maximum
Replication 1 2 3 4 5
22.574 15.814 35.542 17.890 30.785
• The utilization, defined as the proportion of time it is busy during the simulation. (average)
Replication 1 2 3 4 5
Washing .49545 .64056 .65973 .65220 .79670
Drilling .53290 .64367 .68388 .64078 .77230
b)
Immediately after the second machine, there is a pass/fail inspection that takes a
constant 4.5 minutes to carry out and has and 75% chance of a passing result; queueing
is possible for the single inspector, and the queue is first-in, first-out. All parts exit the
system regardless of whether they pass the test. Count the number that fail and the
number that pass, and gather statistics on the time in queue, queue length, and
utilization at the inspection centre.
Solution:
Process Model Diagram:
Report:
Questions:
1)- Number of parts that Pass and Fail: 74 and 23 out of 103 resp.
2)-Time in Queue: 26.013
3)-Queue Length: Number in Queue (Drill+ Wash+ Inspect) = 3.22146
4)- Utilization at Inspection Centre:0.91864
Practice Problems:
1)-
Process Model Diagram:
Report:
Comparison:
When the failed parts are not sent back and rewashed-
1)-Time in Queue: 26.013
2)-Queue Length: Number in Queue (Drill+ Wash+ Inspect) = 3.22146
3)- Utilization at Inspection Centre:0.91864
2)-
Process Model Diagram:
Report:
Questions:
Failed Parts: 11
Passes Parts: 78
Time in Queue: 45.781
Length in Queue: 7.06059
Utilization at Inspection Center: 0.933