Tugas Simulasi Sistem Industri KHAERUL MULUK - D22116312
Tugas Simulasi Sistem Industri KHAERUL MULUK - D22116312
Tugas Simulasi Sistem Industri KHAERUL MULUK - D22116312
EXERCISES
1. Consider a batch manufacturing process in which a machine processes jobs in batches of three units.
The process starts only when there are three or more jobs in the buffer in front of the machine.
Otherwise, the machine stays idle until the batch is completed. Assume that job interarrival times are
uniformly distributed between 2 and 8 hours, and batch service times are uniformly distributed
between 5 and 15 hours. Assuming the system is initially empty, simulate the system manually for
three batch service completions and calculate the following statistics:
• Average number of jobs in the buffer (excluding the batch being served
• Probability distribution of number of jobs in the buffer (excluding the batch being served)
• Machine utilization
• Average job waiting time (time in buffer)
• Average job system time (total time in the system, including processing time)
• System throughput (number of departing jobs per unit time)
Approach: After each arrival, schedule the next interarrival time, and when each batch goes into
service, schedule its service completion time. To obtain these quantities, use your calculator to
generate a sequence of random numbers (these are equally likely between 0 and 1, and statistically
independent of each other).
Then transform these numbers as follows:
a. To generate the next random interarrival time, A, generate the next randomnumber U from your
calculator, and set A = 2+6U .
b. To generate the next random batch service time, B, generate the next random number U from your
calculator, and set B=5+10U .If you cannot use random numbers from your calculator, use instead
determin-istic interarrival times, A=5 (the average of 2 and 8), and deterministic service times B=10
(the average of 5 and 15).
Answers:
a. Random interval time
Batch ID Start time End Time service time job wait Job system total
1 18 27 9 13 22
1 18 27 9 7 16
1 18 27 9 0 9
2 28 33 5 8 13
2 28 33 5 5 10
2 28 33 5 0 5
3 39 51 12 9 21
3 39 51 12 4 16
3 39 51 12 0 12
Total 46 124
Avg 8 24,80
• 1.52 Average Number of jobs in the buffer (excluding the batch being served)
• 0.76 Probability distribution of number of jobs in the buffer (excluding the batch being served)
• 49.01% Mechine Utilization
• 8 Average job waiting time (time in buffer)
• 24.80 Average job system time (total time in the system including processing time)
• 0.07 System Throughput (Number of departing jobs per unit of time