Professional Documents
Culture Documents
DEFINITION:
Measure/estimate performance
Improve operation
Prepare for failures System
Mathematical
Simulation
Analysis
CLASSIFICATION OF SIMULATION MODELS
• Queueing Systems
• Inventory Systems
ADVANTAGES
• By hand
• Spreadsheets
• Programming in General Purpose Languages
• Simulation Languages
• SIMAN
• Simulation Packages
• ARENA, EXTEND, STROBOSCOPE, UM-CYCLONE
COMPONENTS OF A SYSTEM
Resources: what entities compete for
– Entity seizes a resource, uses it, releases it
• Construction of model
• Evaluation of result
COMPONENTS OF A SYSTEM
Variable: A piece of information that reflects some
characteristic of the whole system, not of specific entities
– Entities can access, change some variables
• Interpretation of results
• More runs?
Monte-Carlo Simulation
• Estimate the demand of cement bags for next 10days
Demand 5 6 7 8 9 10 11 12
No . Of days 4 10 16 50 62 38 12 8
Random Numbers
Uniformly distributed numbers in [0,1]
3 :0.20
A - 4 :0.60
5 :0.20
4 :0.20
B - 5 :0.70
6 :0.10
1 :0.15
C A 3 :0.75
5 :0.10
4 :0.30
D B, C 5 :0.50
6 :0.20
3 :0.20
E D 4 :0.55
5 :0.25
4 :0.10
F D 5 :0.80
6 :0.1
1 :0.40
G E, F 2 :0.30
3 :0.20
A B C D E F G
R. Dur R. Dur R. Dur R. Dur R. Dur R. Dur R No Dur
No No No No No No
1
2
3
4
5
Demand 3 4 5 6 7 8 9 10 11 12
Probability 0.02 0.08 0.11 0.16 0.19 0.13 0.10 0.08 0.07 0.06
The ordering cost is found to be Rs80,000/- per order, holding cost is Rs 2000/-
per average inventory, while the average unit shortage cost is Rs 20,000/- per
unit
Assume the re order level to be 20 units, reorder quantity is 40 units and initial
quantity is 30 units
08/12/22 21
Demand Probability Cumulative R. No. Range
5 0.02 0.02 00-01
6 0.05 0.07 02-06
7 0.08 0.15 07-14
8 0.25 0.40 15-39
9 0.31 0.71 40-70
10 0.19 0.90 71-89
11 0.06 0.96 90-95
12 0.04 100 96-99
Determine critical path for 20 simulation runs and
obtain the mean project duration. Compare the result by
determining the expected completion time of the
project.
Activity Preceden 1 2 3 4 5 6
ce
A - 0.2 0.4 0.4
B - 0.3 0.7
E C, D 0.6 0.4
F C, D 0.8 0.2
23
R. No
40 10 8 21 91 16 94 91 10 18 47 7 2 77
1 30 51 22 89 75 48 12 48 41 61 54 69 53
43 2 93 83 21 95 75 12 45 59 6 59 47 81
91 70 19 85 25 22 27 75 89 24 92 90 16 80
18 84 37 56 2 48 32 58 73 98 96 30 61 27
25 74 57 94 41 28 8 87 2 48 17 18 63 25
80 65 81 61 8 4 21 88 69 60 73 10 44 6
35 87 23 85 66 74 53 67 28 15 77 24 88 55
21 61 90 88 72 75 17 59 78 36 49 21 40 90
65 41 10 27 12 87 28 90 41 46 26 50 3 40
22 88 24 53 10 92 44 27 84 20 48 51 99 63
98 29 4 63 65 30 47 78 3 75 38 69 67 95
53 31 24 24 0 28 39 36 85 48 7 36 49 4
24
R. No
40 10 8 21 91 16 94 91 10 18 47 7 2 77
1 30 51 22 89 75 48 12 48 41 61 54 69 53
43 2 93 83 21 95 75 12 45 59 6 59 47 81
91 70 19 85 25 22 27 75 89 24 92 90 16 80
18 84 37 56 2 48 32 58 73 98 96 30 61 27
25 74 57 94 41 28 8 87 2 48 17 18 63 25
80 65 81 61 8 4 21 88 69 60 73 10 44 6
35 87 23 85 66 74 53 67 28 15 77 24 88 55
21 61 90 88 72 75 17 59 78 36 49 21 40 90
65 41 10 27 12 87 28 90 41 46 26 50 3 40
22 88 24 53 10 92 44 27 84 20 48 51 99 63
98 29 4 63 65 30 47 78 3 75 38 69 67 95
53 31 24 24 0 28 39 36 85 48 7 36 49 4
25
• An electric company produces 100 motors a day but the deviation occur owing to many reasons.
The production can be described by following probability distribution. The finished motors are
transported to warehouse by truck with varying capacity. The capacity of truck and their
availability is given by . Determine the average empty space in truck and also motors waiting to
be transported on the basis on 20 runs
Demand 3 4 5 6 7 8 9 10 11 12
Probability 0.02 0.08 0.11 0.16 0.19 0.13 0.10 0.08 0.07 0.06
The ordering cost is found to be Rs80,000/- per order, holding cost is Rs 2000/-
per average inventory, while the average unit shortage cost is Rs 20,000/- per
unit
Assume the re order level to be 20 units, reorder quantity is 40 units and initial
quantity is 30 units
08/12/22 27
#2
A builder has two projects to develop but he lacks fund for
both simultaneously. He can choose either project A and
then B or vice versa. He can choose A first and then stop or
if A is successful invest in B or vice versa. The probability of
success for A is 0.7 and that for B is 0.4. both projects
require an initial investment of Rs20,Crores. If successful
project A will return Rs30 Crores (over Investment) and B
will return Rs50 Crores (over Investment). There will not be
any return in case of failure.
Determine the best strategy.