Professional Documents
Culture Documents
Monte Carlo Simulation
Monte Carlo Simulation
What is simulation?
To simulate is to imitate.
Simulation involves developing a model of a real
phenomenon and then experimenting. A given
system is imitated and the variables and
constants associated with it are manipulated in
the artificial environment to examine the
behavior of the system.
There are 4 phases of a simulation process Definition of problem and statement of objective.
Construction of appropriate model.
Experimentation with model created
Evaluation of results of simulation
Used
Steps From
Random numbers
A random number generator (often abbreviated
as RNG) is a computational or physical device
designed to generate a sequence of numbers or
symbols that lack any pattern, i.e. appear RANDOM.
Hardware-based systems for random number
generation are widely used, but often fall short of this
goal, though they may meet some of the statistical
tests for randomness intended to ensure that they do
not have any easily discernible patterns.
Methods for generating random results have existed
since ancient times, including dice, coin flipping, the
shuffling of playing cards, and many other
techniques.
Trial
no.
1
2
3
4
5
6
7
8
9
10
Rando
m no.
40
92
47
01
60
05
69
79
09
66
Simulated Trial
demand/da no.
y
42
51
42
25
42
25
42
42
25
42
11
12
13
14
15
Rando
m no.
77
69
45
18
93
Simulated
demand/
day
42
42
42
33
51
Advantages of simulation
Disadvantages of simulation
Does
Example
A company manufactures 30 units per day. The sale
of these items depends on demand which has the
following distribution.
Sales
Distribution
27 0.10
28 0.15
29 0.20
30 0.35
31 0.15
32 0.05
The production cost and sale price of each unit are
Rs. 40 and Rs. 50 respectively. Any unsold product is
to be disposed off at a net loss of Rs.15 per unit.
There is a penalty of Rs. 5 per unit if the demand is
not met.
Day
R.N
Estimated
sales
1
2
3
4
5
6
7
8
9
10
10
99
65
99
95
01
79
11
16
20
28
32
30
32
32
27
30
28
28
28
30 units
29 units
28*10-2*15=250
30*10-2*5=290
30*10=300
290
290
225
300
250
250
250
28*10-1*15=265
29*10-3*5=275
29*10-1*5=285
275
275
240
285
265
265
265
Assignment
Navguide corporation , a small electronic firm,
manufactures a navigational instrument used on
sailboats. Demand for the instrument is probabilistic,
and a review of past records has yielded the weekly
demand distribution as shown in table 1.
Navguide is considering the purchase of a
sophisticated industrial robot to be used in the
assembly of the instrument. Three different robots
are being considered, each having different
capacities, production efficiencies, and purchase
costs. Table 2 summarizes the no. of instruments
that could be manufactured each week on a regular
time & overtime basis, the expected production cost
per unit , and the overhead costs. Given that
Navguide sells the instrument for $ 1,800,
TABLE 1
Demand
Probability
10
0.10
20
0.14
30
0.26
40
0.24
50
0.18
60
0.08
TABLE 2
Regular time
capacity(units)/week
Overtime cap.
(units)/ week
Regular time
cost/unit
Overtime cost/unit
Overhead cost/week
Robot 1
30
Robot 2
40
30
40
$1,200
$1,100
$1,600
$10,000
$1,450
$15,000
Random Numbers: 44, 46, 85, 99, 09, 95, 22, 87, 64,
50.
Demand Probabilit
y
Cumulative
probability
Montecarlo
no. range
10
0.10
0.10
00-09
20
0.14
0.24
10-23
30
0.26
0.50
24-49
40
0.24
0.74
50-73
50
0.18
0.92
74-91
60
0.08
1.00
92-99
Cost(Robot1)
Robot2
30
(1200*30)+10,000=46,000
48,000
30
46,000
48,000
50
(1200*30)+(1600*20)+10,000=78,000
73,500
60
(1200*30)+(1600*30)+10,000=94,000
88,000
10
(1200*10)+10,000=22,000
26,000
60
94,000
88,000
20
(1200*20)+10,000=34,000
37,000
50
78,000
73,500
40
36000+16000+10,000=62,000
59,000
10
40
62,000
59,000