Modeling and Simulation
Simulating a Random
Service Time
1
Simulating a Random Service Time
• In this module, we shall
see how we can
simulate a Random
service time
2
The Problem
• We want to simulate a set
of discrete values from
continuous variables.
• Callers are assigned 3
different times with
different probabilities.
• 3 with a probability of
30%
• 6 with a probability of
45%
• 10 with a probability of
25%
3
Type of Simulation: Monte Carlo Simulation
• There are no events
• No clock times being
tracked
4
Description: Solution
• The spreadsheet example
converts the continuous
number to discrete using
cumulative probability
5
Simulation
6
Summary
• In this module, we have
examined how we can
use Excel VBA functions
to simulate a discrete
distribution.
• The key idea is to assign
limits based on
cumulative probability
for each value