SMS 3450 Simulation Modelling
SMS 3450 Simulation Modelling
a) List the circumstances under which simulation is the appropriate tool and circumstances
under which simulation is not the appropriate tool. (8 marks)
b) Differentiate between the following
(i) Deterministic and stochastic model
(ii) Static and dynamic simulation model (4 marks)
c) What do you mean by verification and validation of a simulation model? (2 marks)
d) Draw a flow chart diagram of steps involved in a simulation study. (6 marks)
e) Explain why optimization via simulation is difficult. (4 marks)
f) State the properties of a good Arithmetic Number generator. (6 marks)
IAT 0 1 1 6 3 7 5 2 4 1
ST(min) 4 2 5 4 1 5 4 1 4 3
c) Use the linear congruential method to generate random numbers given that
X 0 = 27, a = 8, c = 47 and m = 100 (6 marks)
a) The time between arrivals at a drive through widow of a fast food restaurant follows the
distribution below. The service time distribution is also given in the table. Use the
random numbers provided to simulate the activities of the first four arrivals. Assume that
the window opens at 11:00 am and that the first arrival is after this based on the first
inter-arrival time.
Time between Arrivals Probability Service Time Probability
1 0.2 1 0.3
2 0.3 2 0.5
3 0.3 3 0.2
4 0.2
a) A farmer has 10 acres of agricultural land and is cultivating tomatoes on the entire land.
Due to fluctuation in water availability the yield per acre differs. The probability
distribution yields are given below. The farmer is interested to know the yield for the
next 12 months if the same water availability exists. Generate 12 random numbers and
simulate the average yield given in the following table. (3 marks)
Yield of tomatoes per acre (kg) Probability
200 0.15
220 0.25
240 0.35
260 0.13
280 0.12
b) Due to fluctuating market price, the price per kg of tomatoes varies from Ksh 5.00 to Ksh
10 per kg. The probability of price variations is given in the table below. Simulate the
price for next 12 months to determine the revenue per acre. Also find the average
revenue per acre.
c) Consider the grocery store with one checkout counter. The time between arrival and
service times are given in the following table.
Required:
i) Prepare a simulation table (6 marks)
ii) Find the average waiting time for customers. (8 marks)
a) Charles, who is a barber, has found out that he can shave on average 4 customers per
hour. The arrival rate of customers averages 3 customers per hour. Required:
(i) The proportion of time that Charles is idle. (2 marks)
(ii) The probability that a customer receives immediate service upon arrival.
(2 marks)
(iii) Average number of customers in the queuing system. (3 marks)
(iv) Average time a customer spends in the queuing system. (3 marks)
b) Analyze the merits and demerits of simulation technique. (10 marks)