Professional Documents
Culture Documents
Módulo F - OM Solutions (8 Edición) - Barry Render y Jay Heizer
Módulo F - OM Solutions (8 Edición) - Barry Render y Jay Heizer
Simulation
342
QUANTITATIVE MODULE F SIMULATION 343
F.S
• If arrivals and unloadings do not follow Poisson/exponential of Kits Frequency Probability Interval
°
At t = 4 RN = 14 so arrivals
Therefore, at the end of 5 minutes two checkouts are
Sales: 8,9, 10,9,9, 9, 8, 8, 10, 10
still busy and one is available.
F.2 Breakdowns RN Interval
F.7 Random number
o 01-50
1 51-80
intervals
2 81-00
01-01
02-16
Breakdowns: 0,0, 0,0, 0, 0,0, 2, 0,2: Proportion = 20% 17-46
47-61
F.3 Here is a table showing the service now: 62-65
66-75
Customer Arrival Service Service Service Time in Time in 76-00
Number Time Time Begins Ends Line System
91 generates demand of 220; 45 and 37 each generate
8:01 6 8:01 8:07 0 6
demand of 140; 65 generates 180; and 51 generates 160.
2 8:06 7 8:07 8:14 1 8
3 8:09 8 8:14 8:22 5 13
Their sum is 840, and their average is 168.
4 8:15 6 8:22 8:28 7 13
5 8:20 6 8:28 8:34 8 14
Third ani val (RN= 27) at I I :06. Service time = 2 (RN = 36).
Leaves at 11 :08.
month.
2 37 6
3 82 8
4 69 7
5 98 8
6 96 8
7 33 6
8 50 6
9 88 8
10 90 8
11 50 6
12 27 6
13 45 6
14 81 8
15 66 7
L' = 105
I=50
Period Inv Num* Demand Sold Inv Sale Order Num Time
1 12 07 1 1 11 0 No
2 11 60 3 3 8 0 No
3 8 77 4 4 4 0 Yes 49 2
4 4 76 4 4 0 0 No
5 0 95 5 0 0 5 No
6 12 51 3 3 9 0 No
7 9 16 2 2 7 0 No
8 7 14 1 1 6 0 Yes 85 3
9 6 59 3 3 3 0 No
10 3 85 4 3 0 1
-
No
I=30 24 48 6
* Random numbers taken from the right-hand colullln of Table F.4, F.14 Heater Probability Random No. Interval
reading top-to-bottolll, in order used . 3 0.02 01-02
Daily order cost = $10.00 x 2/ I 0 = $2.00 4 0.09 03-11
5 0.10 12-21
Daily holding cost = $0.50 x 48/1 0 = $2.40
6 0.15 22-36
Daily stockout cost = $8.00 x 6/ I 0 = $4.80
7 0.25 37-61
$9.20 62-73
8 0.12
The cost is greater ($9.20 vs. $6.(5) than that found with 9 0.12 74-85
the order quantity of 10 units. Note, however, that the short 10 0.10 86-95
time period simulated does not permit a valid analysis of 11 0.05 96-00
either alternative. 1.00
Time between
Arrivals RN Time in Tanning RN
(minutes) Probability Interval Bed (minutes) Probability Interval
5 0.30 01-30 10 0.20 01-20
10 0.25 31-55 15 0.30 21-50
15 0.20 56-75 20 0.40 51-90
20 0.15 76-90 25 0.10 91-00
25 0.10 91-00
The following table shows the use of Table F.4. The 14th
column was used for arrivals and the 8th column was used
for tanning times.
Time Beg Rand Demand Sold End Lost Place Rand Lead
1 14 07 6 6 8 0 Yes 60 2
2 8 77 10 8 0 2 No
3 0 49 9 0 14 9 No
4 14 76 10 10 4 0 Yes 95 4
5 4 51 9 4 0 5 No
6 0 16 7 0 0 7 No
7 0 14 7 0 0 7 No
8 0 85 10 0 14 10 No
9 14 59 9 9 5 0 Yes 85 3
10 5 40 9 5 0 4 No
11 0 42 9 0 0 9 No
12 0 52 9 0 14 9 No
13 14 39 9 9 5 0 Yes 73 2
14 5 89 10 5 0 5 No
15 0 88 10 0 14 10 No
16 14 24 8 8 6 0 Yes 01
17 6 11 7 6 14 1 No
18 14 67 9 9 5 0 Yes 62 2
19 5 51 9 5 0 4 No
20 0 33 8 0 14 8 No
21 14 08 6 6 8 0 Yes 40
22 8 29 8 8 14 0 No
23 14 75 10 10 4 0 Yes 33
24 4 95 -
11 4 -
14 7 No
L 209 112 157 97 16
Time Beg Rand Demand Sold End Lost Place Rand Lead
14 07 6 6 8 0 Yes 60 2
2 8 77 10 8 0 2 No
3 0 49 9 0 21 9 No
4 21 76 10 10 11 0 No
5 11 59 9 9 2 0 Yes 51 2
6 2 16 7 2 0 5 No
7 0 14 7 0 21 7 No
8 21 85 10 10 11 0 No
9 11 59 9 9 2 0 Yes 85 3
10 2 40 9 2 0 7 No
11 0 42 9 0 0 9 No
12 0 52 9 0 21 9 No
13 21 39 9 9 12 0 No
14 12 73 10 10 2 0 Yes 89 3
15 2 88 10 2 0 8 No
16 0 24 8 0 0 8 No
17 0 01 6 0 21 6 No
18 21 11 7 7 14 0 No
19 14 67 9 9 5 0 Yes 62 2
20 5 51 9 5 0 4 No
21 0 03 6 0 21 6 No
22 21 08 6 6 15 0 No
23 15 40 9 9 6 0 Yes 29
24 6 29 8 6 21
-2 No
Sums 201 119 214 82 13
350 QUANTITATIVE MODULE F SIMULATION
F.19 (a) The Appropriate random number table are: Customer Service Times
The table shows that three meals were lost. They would
have been Ala Carte. This is 3 x $3 = $9 per hour and
$18 per day (a day being the IIAM-lpM lunch hour
period). For 20 days. the lost revenue is $360.
(b) If the price of the meals change, the only random number
table that is altered is the Type of Meals Selected. The new
table is:
F.20 Random
Cumulative Number
From To Probability Probability Interval
Initial Exam X-ray Dept. 0.45 0.45 01-45
Operating Room 0.15 0.60 46-60
Observation 0.10 0.70 61-70
Out-Processing 0.30 1.00 71-00
X-Ray Dept. Operating Room 0.10 0.10 01-10
Cast-Fitting 0.25 0.35 11-35
Observation 0.35 0.70 36-70
Out-Processi ng 0.30 1.00 71-00
Operating Room Cast-Fitting 0.25 0.25 01-25
Observation 0.70 0.95 26-95
Out-Processing 0.05 1.00 96-00
Cast-Fitting Observation 0.55 0.55 01-55
X-ray Dept. 0.05 0.60 56-60
Out-Processing 0.40 1.00 61-00
Observation Operating Room 0.15 0.15 01-15
X-ray Dept. 0.15 0.30 16-30
Out -Processi ng 0.70 1.00 31-00
(a) Simulation
Random
Person Number* From To
Person 1 52 Initial Exam Operating Room
37 Operating Room Observation
82 Observation Out-Processing
Person 2 69 Initial Exam Observation
98 Observation Out -Processi ng
Person 3 96 Initial Exam Out -Processi ng
Person 4 33 Initial Exam X-Ray Dept.
60 X-Ray Dept. Observation
88 Observation Out-Processing
Person 5 90 Initial Exam Out-Processi ng
Person 6 50 Initial Exam Operating Room
27 Operating Room Observation
45 Observation Out-Processing
Person 7 81 Initial Exam Out-Processing
Person 8 66 Initial Exam Observation
74 Observation Out-Processing
Person 9 30 Initial Exam X-Ray Dept.
59 X-ray Dept. Observation
67 Observation Out-Processing
Person 10 60 Initial Exam Operating Room
60 Operating Room Observation
80 Observation Out-Processing
0.20 01-20
2 0.25 21-45
3 0.30 46-75
4 0 .15 76-90
5 0.10 91-00
Random Number
0.10 01-10
2 0.15 11-25
3 0.35 26-60
4 0.15 61-75
5 0.15 76-90
6 0.10 91-00
Arrivals Service
Rand Time Till Arrive at Rand Time Wait Time
Num Next Time Num Needed Begin End (Mins)
52 3 1 :03 60 3 1 :03 1:06 0
69 3 1: 12 53 3 1 :14 1: 17 2
98 5 1: 17 69 4 1 :17 1:21 0
67 3 2:00 .[=40
= $56,000
~-::,.;,>
Arrivals Service
Time Teller 1 Teller 2 Wait
Rand Till In At Rand Time Time
Num Next Time Num Req Beg End Beg End (Mins)
(C) Daily
Random Sales Gross Random Ingred.2 Ingred.2 Ingred.
Day Number Price Sales Number Cost/Unit Cost Total 1 Cost Profit
1 52 $350 10,500 37 $40 $1,440 $1,250 $7,810
2 06 300 9,000 66 40 1,440 1,250 6,310
3 50 350 10,500 91 45 1,620 1.250 7,630
4 88 400 12,000 35 40 1,440 1,250 9,310
5 53 350 10,500 32 40 1,440 1,250 7,810
6 30 350 10,500 00 45 1,620 1,250 7,630
7 10 300 9,000 84 45 1,620 1,250 6,130
8 47 350 10,500 57 40 1,440 1,250 7,810
9 99 400 12,000 07 35 1,260 1,250 9,490
Random number intervals for sales price: Random number intervals for cost 2:
01 - 20 = $300 01 - 10=$35
21-70 = $350 11 - 70 = $40
71-00= $400 71 - 00=$45
(d) Expected profit from simulation = $7,770/day
F.28 Monthly Probability Cumulative Random No. Interval Her balance never drops below $400, and she should be
able to balance her account.
350 0.40 0.40 01-40
400 0.20 0.60 41-60
450 0.30 0.90 61-90
500 0.10 1.00 91-00
F.29 MTBF = Mean Time Between Failures For four pens replaced:
(a) Simulation Approach £(MTBF) = 100 x 0.15 + 110 x 0.25 + 120 x 0.35
MTBF Random + 130 x 0.20 + 140 x 0.05 = I 17.5 hours
One Pen Cumulative Number Cost/breakdown = 4 x $8/ pen + $1 OO/repai r = $132
Replaced Probability Probability Interval C" = $132/breakdown -;- I 17.5 hours/breakdown
10 0.05 0.05 01-05 = $1.12/hour
20 0.15 0.20 06-20
30 0.15 0.35 21 - 35 Cost
40 0.20 0.55 36-55
Method Replace One Pen Replace Four Pens
50 0.20 0.75 56-75
60 0.15 0.90 76-90 Simulation $1 .53/hr $1.09/hr
70 0.10 1.00 91-00 Analytical $1.38/hr $1.12/hr
C, 580 $ .
C, = = -= 1.53/hl
These above two tables are used for the random number generation
of alTival and service times to the given distributions. (Random
number lower limits could have started at 0 I, with upper limits
set at 00.)
One Trial
Time Time Time
Cust Rand Arrival Rand Service Arrival Service Service in on Server
No. No. Gap No. Time Time Start End Syst Hold Idle Utilization
Summary for this Trial Run averages: 15.5 12.0 0.15 95.9%
maximums: 34.0 32.0 2.00
0 0
27 2 82 5 2 2 7 5 0 2
2 8 60 4 3 7 11 8 4 0
3 93 6 25 2 9 11 13 4 2 0
4 93 6 36 2 15 15 17 2 0 2
5 65 4 91 6 19 19 25 6 0 2
6 44 3 88 6 22 25 31 9 3 0
7 41 3 23 2 25 31 33 8 6 0
360 QUANTITATIVE MODULE F SIMULATION
The One Trial table (above) contains the actual model of the trial - here, for example, the average and maximum of time in
scenario. The headings are the key to expressing the relationships system (i.e., time "on hold" + time being served), time "on hold ,"
between the various model elements as relatively simple (i.e., time server idle and server utilization. [All times are in minutes].
intuitive) formulas. The relationships need only be expressed once, In order to obtain steady state results the above trial has to he
for customer/caller no. I, are then copied down for as many callers repeated a "sullicient" number of times, where each time the
as are required in the simulation window (here 2 hours). Relevant measures of performance are stored in a summary table, shown
measures of performance have to be chosen and evaluated for each below:
Summary of Trials
Time Time Time Time Time Time
in in Server in in Server
System Queue Idle Utilization System Queue Idle Utilization
Avg: 8,9 5,7 0,40 88.4% Max:
18,0 14,5 4.3 98,1%
trial # trial #
A straightforward way of determining when the various measures callers "hanging up," multiple servers etc., depending upon the
of performance have stabilized is via graphical presentation. level of the class and the students' familiarity with spreadsheets.
Long-term averages can be used to make recommendations
regarding hiring a second reservation agent. Conclusion
For part (b) essentially the above approach is repeated with The application described above, although not exceedingly
the new arrival distribution. complex, is nevertheless considered to be more rea listic than
It is possible to automate the above procedure by using could normally be attempted without resorting to a simulation
macros, although by no means are they necessary or required. model. Even the least "quantitatively oriented" students persevere
(Students with more advanced spreadsheet experience often elect with implementation and experimentation of these models and
to do this spontaneously.) view the experience as highly beneficial. Two reasons are given
for this: first the use, abuse and relevance of modeling in decision
Discussion making is dramatically demonstrated. And second, the time and
A number of items can be addressed in the discussion of the case: energy students spend in acquiring the appropriate spreadsheet
• Reliability of the recommendations, vis a vis the number of skill levels are perceived by them as acquiring an extremely useful
trials, structure of the model, etc. skill, as an in-depth familiarity with a spreadsheet package is now
• Importance of having relevant and meaningful measures of a necessary requirement for a business major.
performance, e.g., average wait times may be low but if The application described above has been successfully used in
their standard deviation is large the maximum times in line the classroom to demonstrate the principles and usefulness of
may be unacceptable. simulation. Clearly many other (i.e., nonqueuing) situations lend
• Labor standard issues: is a utilization of e.g., 95 percent for themselves to be modeled in the same manner. The case can
a human server appropriate or indeed desirable? readily be updatedlrenewed from semester to semester (1) by
• What are the assumptions in the model, e.g., callers do not changing Alabama Airlines to a bank, movie theater, etc., and
"hang up," changeover times are negligible (or included in (2) by changing the alTival interval and service time distributions.
service times), there are no calls in the system at "time Finally, a not insignificant benefit is the popularity amongst
zero" etc. What are the implicationslrestrictions? students of this approach- where they can dramatically
demonstrate for themselves the consequences to various "what if"
The model and simulation can be easily extended to become more
scenarios by amending a few parameters.
realistic by incorporating the various assumptions and simulating
QUANTITATIVE MODULE F SIMULATION 361
Trucks Trucks
Freight Required Required
per day 3 trips/day 25% 3 trips/day
Mo. RN Freight (30 days) 75% Non-containerized 60 tons/tri p Containerized 53 tons/trip
1 63 171,000 5700 4275 24 1425 9
2 88 197,000 6567 4925 27 1642 10
3 55 165,000 5500 4125 23 1375 9
4 69 176,000 5867 4400 24 1467 9
5 13 124,000 4133 3100 17 1033 7
6 17 131,000 4367 3275 18 1092 7
7 36 150,000 5000 3750 21 1250 8
8 81 186,000 6200 4650 26 1550 10
9 84 190,000 6333 4750 26 1583 10
10 63 172,000 5733 4300 24 1433 9
11 70 177,000 5900 4425 25 1475 9
12 06 110,000 3667 2750 15 917 6