Unformatted Document Excerpt
Coursehero >>
California >>
USC >>
BUAD 311
Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Management
Session Operations 16: Simulation
Session 16
Operations Management
1
Class Objectives
Generate random numbers.
Develop confidence intervals. Simulate an M/M/1 queue.
Simulate a call center.
The idea is to first set up a simulation for a model with which we are familiar (the M/M/1 queue), and then set up a simulation for a model whose behavior cannot be predicted analytically.
This is TN17, pages 693-716 in your text.
Session 16
Operations Management 2
Generating exponential random numbers
Assume U has a uniform distribution, so P(Uu) = u. (There are many algorithms, and much previous work on how to generate "truly" uniform random numbers.) Suppose we would like to generate an observation of the random variable X, which has an exponential distribution.
P( X x) F ( x) 1 exp( x)
Generate samples of the random variable U, and apply the formula ln(1-U)/(-).
Session 16
Operations Management
3
Why did that work?
ln(1 U ) P u Pln(1 U ) u P(1 U exp( u )) P(U 1 exp( u )) So, the random variable ln(1-U)/(-) has an 1 exp( u )
exponential distribution.
F (u ) P( X u )
4
Session 16
Operations Management
Example
1 2 0.787458 0.432425
3
4
0.380017
0.420585
Uniform random numbers generated in Excel using the command: =RAND().
5
6 7 8 9
0.315984
0.145883 0.818392 0.860034 0.332883
Note: the average of the ten numbers is 0.532. As more uniform random numbers are generated, that will approach 0.5.
5
10
Session 16
0.824931
Operations Management
Example Cont.
Apply the formula ln(1-u)/(-1) to generate samples from an exponential distribution with mean 1 (=1).
1 2 3 4 5 6 7 8 9 10
Session 16
0.787458 0.432425 0.380017 0.420585 0.315984 0.145883 0.818392 0.860034 0.332883 0.824931
1.548617 0.566382 0.478063 0.545737 0.379775 0.157687 1.705904 1.966357 0.404789 1.742576
=ln(1-0.787458)/(-1) Note: the average of the 10 numbers in the 3rd column is 0.950. As more random numbers are generated, this will approach 1.
6
Operations Management
Example Cont.
Apply the formula ln(1-u)/(-2) to generate samples from an exponential distribution with mean (=2).
1 2 3 4 5 6 7 8 9 10
Session 16
0.787458 0.432425 0.380017 0.420585 0.315984 0.145883 0.818392 0.860034 0.332883 0.824931
0.774308 0.283191 0.239032 0.272868 0.189887 0.078843 0.852952 0.983179 0.202395 0.871288
=ln(1-0.787458)/(-2)
Note: the average of the 10 numbers in the 3rd column is 0.475. As more random numbers are generated, this will approach 0.5.
7
Operations Management
What is the general formula?
Suppose we would like to generate samples of a random variable X having cdf F.
Step 1: solve for the inverse cdf F-1, F(F-1(x))=x.
Note that for an exponential random variable, F(x) = 1-exp(x) and F-1(x)=ln(1-x)/(-) so that F(F-1(x))=x.
Step 2: for each sample ui of a uniform random variable, apply the formula F-1(ui).
The numbers F-1(ui) are samples from the distribution F.
Session 16
Operations Management 8
Why does that work?
P F (U ) u Pln(1 U ) u
1
P(1 U exp( u )) P(U 1 exp( u ))
So, the random variable F-1(U) distribution F.
1 exp( u ) F (u ) P( X u )
9
Session 16
Operations Management
How many observations do we need?
Develop a confidence interval.
x / z / 2
Sample mean
n
Standard deviation
Number of observations
P(N(0,1)z)=
P x z / 2 , x z / 2 n n
True mean
Session 16
Operations Management 10
CI for Earlier Example
10 observations from a uniform(0,1) distribution (n=10).
Uniform(0,1) has standard deviation =(1/12)1/2. z/2=1.96 because P(N(0,1)1.96)=0.025.
Sample mean x is 0.532
1 / 12 1 / 12 P 0.532 1.96 ,0.532 1.96 10 10 P 0.353,0.711 0.95
Session 16
Operations Management 11
What does the CI mean?
There is probability 0.95 that the true mean of the distribution (0.5) falls within the interval [0.353,0.711]. In other words, if we were to generate many samples of 10 observations of a uniform(0,1) random number, 95% of those samples would fall within the interval [0.353,0.711].
As we generate more samples, the length of the interval decreases. (Go to Excel spreadsheet.)
Session 16
Operations Management 12
Simulating an M/M/1 Queue
Wn = wait time of nth customer to arrive Sn = service time of nth customer to arrive
Un= interarrival time of nth customer to arrive
Wn nth arrival Un
Sn nth arrival enters service
(n+1)th arrival
Wn 1 max Wn S n U n 1 ,0
Session 16
nth arrival departs; (n+1)th arrival enters service
13
Operations Management
Simulating an M/M/1 Queue
= 0.9 = 1.0
Wait time = /[(-)] = 0.9/0.1=9 (Go to spreadsheet.)
Collect 10 average wait time observations from the spreadsheet: 8.3983, 9.6484, 7.8178, 11.0411, 7.7070, 9.2002, 9.5440, 8.3376, 8.2017, 9.8458 Average wait is: 8.97419
Session 16
Operations Management 14
Simulating an M/M/1 Queue
= 0.9, = 1.0, Wait time = /[(-)] = 0.9/0.1=9
10 average wait time observations from the spreadsheet: 8.3983, 9.6484, 7.8178, 11.0411, 7.7070, 9.2002, 9.5440, 8.3376, 8.2017, 9.8458 Average wait is: 8.974 Standard deviation is: 1.061 CI is: [8.974-1.96*1.061/sqrt(10), 8.974+1.96*1.061/sqrt(10)] = [8.316,9.632] There is 0.95 probability that the true wait time mean is in the interval [8.316,9.632].
Note: CI formula assumes variance is known, so is not quite right.
Session 16
Operations Management 15
Simulating a M/D/1 Queue
= 0.9, = 1.0, Wait time = /[2(-)] = 0.9/0.2=4.5 (formula from page 299 in textbook)
10 average wait time observations from the spreadsheet: 5.0105, 4.1717, 4.1744, 4.2995, 3.8020, 4.2256, 4.3264, 5.0001, 4.7881, 3.8670
Average wait is: 4.367 Standard deviation is: 0.430 CI is: [4.367-1.96*0.43/sqrt(10), 4.367+1.96*0.43/sqrt(10)] [4.10, = 4.63] Note that the wait time decreases as variability decreases.
Session 16
Operations Management 16
More complex simulations
It is often the case that we do not have analytic formulae to tell us process measurements like average customer wait time.
This is when simulations are particularly useful.
We will specify a more complex model, that cannot be analyzed using mathematical formulae, and use simulation to analyze it.
Session 16
Operations Management
17
Call Center Example
There are 4 call types and 4 agent types (not all of whom can answer every call).
Calls arrive and are put on hold (wait in queue) if necessary for an agent. Callers hang-up if they are put on hold for too long. An agent answers his specialized call type if any calls of that type are on hold, and otherwise answers his an optional call type.
If the queue is full, the call is blocked, and the caller receives a busy signal.
Session 16
Operations Management 18
Call Center Example: Agent-Call Matching
Call Type Agent Type Agent Type Agent Type Agent Type 1 2 3 4
1 2 3 4
X
O X
O 0 X X 0
Session 16
Operations Management
19
Call Center Example: Caller Statistics
Call Type Mean Inter-arrival Mean Renege Time (hours) Time (hours) Maximum Length
1 2 3 4
1.2 1.8 4.5 1.6
8 10 20 15
1000 1000 1000 1000
Inter-arrival and reneging times follow an exponential distribution.
Session 16
Operations Management 20
Call Center Example: Agent Statistics
Agent Type Number of Agents Mean Service Time (hours) Standard Dev. Service Time
1 2 3 4
7 8 8 12
10 15 30 12
2.5 2.5 2.5 2.5
Service times follow a lognormal distribution.
Session 16
Operations Management 21
Call Center Example: Questions of Interest
What is the average wait time? What is the utilization of each agent pool?
What percentage of calls are blocked or renege?
(Run Extend simulation, first with animation, then to 100,000 time units, without animation.)
(Note that this Extend demo can be downloaded from: http://www.extendsim.com/prods_demo.html)
ExtendSim OR
Session 16
Operations Management
22
Call Center Example: Questions of Interest
What is the average wait time?
0.4384 hours, or 26 minutes
What is the utilization of each agent pool?
Type 1: 0.816
Type 2: 0.847
Type 3: 0.907
Type 4: 0.767
Session 16
Operations Management
23
Call Center Example: Questions of Interest
What percentage of callers hang up without receiving service/ receive a busy signal?
Type 1 2 B 2061 1366 R 1690 437 Arrivals 81,135 54,550 %B 2.54% 2.50% %R 2.08% 0.80%
3 4
Session 16
526 1565
2587 1838
21,669 61,077
2.43% 2.56%
11.94% 3.01%
24
Operations Management
Call Center Example: Conclusions
Too many type 3 callers are hanging up before reaching an agent.
Utilization of type 3 agents (which can only handle type 3 calls) was high (0.907). Maybe we need to hire more type 3 agents? Or, maybe we can train type 4 agents to also handle type 3 calls, since their utilization was lowest (0.767).
Session 16
Operations Management
25
Call Center Example: Conclusions
Decide on an appropriate strategy. Re-perform simulation, and see the effect of the strategy.
Compare the performance of different strategies.
Then, carry-forth the most cost effective strategy.
This is what happened in the INNOV8 game, at the boardroom, when you were asked about keeping calls in different queues, and outsourcing some of the calls.
Session 16
Operations Management 26
Summary: Major Phases in a Simulation Study
Define problem Construct simulation model Specify values of the variables and parameters
Run the simulation Evaluate results
Validation
Session 16
Propose new experiment
Operations Management
27
Advantages of simulation
Developing the model of a system often leads to a better understanding of the real system. Time can be compressed in simulation; years of experience in the real system can be compressed into seconds or minutes. Simulation does not disrupt ongoing activities of the real system. Simulation is far more general than mathematical models, and can be used where conditions are not suitable for standard mathematical analysis.
Session 16
Operations Management 28
Advantages of simulation (cont.)
Simulation can be used as a game for training experience.
Simulation provides a more realistic replication of a system than mathematical analysis.
Simulation can be used to analyze transient conditions, whereas mathematical techniques usually cannot. Many standard packaged models, covering a wide range of topics, are available commercially.
Simulation answers what-if questions.
Session 16
Operations Management
29
Disadvantages of simulation
Although a great deal of time and effort may be spent to develop a model for a simulation, there is no guarantee that the model will, in fact, provide good answers.
There is no way to prove that a simulation model's performance is completely reliable. Simulation involves numerous repetitions of sequences that are based on randomly generated occurrences. An apparently stable system can, with the right combination of events however unlikely explode.
Session 16
Operations Management
30
Disadvantages of simulation (cont.)
Depending on the system to be simulated, building a simulation model can take anywhere from an hour to 100 worker years. Complicated systems can be very costly and take a long time.
Simulation may be less accurate than mathematical analysis because it is randomly based. If a given system can be represented by a mathematical model, that is better.
A significant amount of computer time may be needed to run complex models.
Session 16
Operations Management
31
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more.
Course Hero has millions of course specific materials providing students with the best way to expand
their education.
Below is a small sample set of documents:
USC - BUAD - 311
Operations ManagementSession 2: Process ManagementSession 2Operations Management1Class Objectives Process Measures Little's LawSession 2Operations Management2Process Measurement: ExampleCustomer places orderRaw MaterialCookAs
USC - BUAD - 311
Operations managementSession 1: Introduction to ProcessesSession 1Operations Management1Operations Management What is operations management?Describe the processes relevant to producing and delivering goods and services.Develop measu
USC - BUAD - 250b
Chapter 12Segment Reporting and DecentralizationDecentralization in OrganizationsBenefits of DecentralizationLower-level managers gain experience in decision-making.Lower-level decision often based on better information. Top management freed to
USC - BUAD - 250b
Chapter 10 Standard CostingStandard Cost Card Variable Production CostA standard cost card for one unit of product might look like this:AStandard Quantity or Hours3.0 lbs. 2.5 hours 2.5 hoursBStandard Price or RateAxBStandard Cost per Un
USC - BUAD - 250b
Chapter 7Variable Costing: A Tool for ManagementOverview of Absorption and Variable CostingThe only cost of driving my car on a 200 mile trip today is $12 for gasoline.Variable CostingMcGraw-Hill/Irwin The McGraw-Hill Companies, Inc., 2003O
USC - BUAD - 250b
Chapter 13Relevant Costs for Decision MakingCost Concepts for Decision MakingA relevant cost is a cost that differs between alternatives.McGraw-Hill/Irwin The McGraw-Hill Companies, Inc., 2003Identifying Relevant CostsCosts that can be eli
USC - ACCT - 250A
Introduction to BUAD 250aUnit 1 Accounting is the language of business. The most significant implication is that business managers need the ability to communicate and think in the accounting medium if managers and enterprises will succeed. Managers
USC - ACCT - 250A
Assumptions, Principles and Conventions: [1000a] Through 1810.Sep. 9, 2007 1. _b_. 2. _f _ 3. _c_ 4. _e_ 5. _a or f_ 6. _J_ 7. _J_ 8. _d_ Assumptions, Principles and Conventions: [1003a] Listed below are some of the assumptions, broad principles and
USC - ACCT - 250A
Midterm 1: Review Outline.Fall 2007 BUAD 250aA equal L plus OE Explain three requirements for assets and liabilities OE comes in two flavors.CC and RE Income Statement elements.explain all four.R, E, G, and L Income 'swims' into RE.really with a clo
USC - BUAD - 311
311 OPERATION MANAGEMENT INFORMATION AND OPERATIONS MANAGEMENT MARSHALL SCHOOL OF BUSINESSTEACHING NOTES ON LINEAR PROGRAMMING1. Introduction: The objective of this class is to present the linear programming model and a software (Excel) tool for s
USC - BUAD - 311
311 OPERATION MANAGEMENT INFORMATION AND OPERATIONS MANAGEMENT MARSHALL SCHOOL OF BUSINESSTEACHING NOTES ON PROCESS ANALYSISBusiness strategy is the determination of the basic long-term goals and objectives of an enterprise, and the adoption of co
USC - BUAD - 311
311 OPERATION MANAGEMENT INFORMATION AND OPERATIONS MANAGEMENT MARSHALL SCHOOL OF BUSINESSTEACHING NOTE ON VARIABILITY AND QUEUESA. Uncertainty: 1. Sources of Uncertainty: Operations are subject to three major sources of uncertainty: (1) Uncertain
USC - BUAD - 311
Practice Questions: Revenue Management1. The Tastebest Ham Company finds that the demand can be roughly approximated as a function of price: Demand = 7 Price Assume the cost of the Company for each package is 1, a. What is the price that maximizes
USC - BUAD - 311
Practice Questions: Revenue Management1. The TasteBest Ham Company finds that the demand can be roughly approximated as a function of price: Demand = 7 Price Assume the cost of the Company for each package is 1, a. What is the price that maximizes
USC - BUAD - 311
Practice Questions: Project Management1. Task A B C D E F G H Immediate Optimistic Most Likely Pessimistic (in weeks) Predecessor(s) 1 5 6 4 5 6 A 5 7 9 A,B 4 8 9 B 2 3 4 C,D 2 5 5 D,E,H 1 2 6 6 9 9 Cost to crash(in weeks) (per week)4.50 5.00 7.0
USC - BUAD - 311
Practice Questions: Project Management1. Task A B C D E F G H Immediate Optimistic Most Likely Pessimistic (in weeks) Predecessor(s) 1 5 6 4 5 6 A 5 7 9 A,B 4 8 9 B 2 3 4 C,D 2 5 5 D,E,H 1 2 6 6 9 9 Cost to crash(in weeks) (per week)4.50 5.00 7.0
USC - BUAD - 311
Name_ Student ID_Section_BUAD-311 Operations Management Sample Final Exam Fall 2007 Open Book, Open Notes, No Lap Tops State all your assumptions clearlyMake sure that you have 6 pages (Including the cover page) Good LuckVERSION A1Section
USC - BUAD - 311
Practice Questions: Process Management1. The Avis Company is a car rental company and is located 3 miles from the Los Angeles airport (LAX). Avis is dispatching a bus from its offices to the airport every 2 min. The average traveling time (a return
USC - BUAD - 311
311 OPERATION MANAGEMENT INFORMATION AND OPERATIONS MANAGEMENT MARSHALL SCHOOL OF BUSINESSTEACHING NOTE ON INVENTORY MANAGEMENTInventory Models with Uncertain Demand: In previous classes we discussed the EOQ model. One of the major assumptions beh
USC - BUAD - 311
Name_ Student ID_Section_BUAD-311 Operations Management Sample Final Exam Fall 2007 Open Book, Open Notes, No Lap Tops State all your assumptions clearlyMake sure that you have 6 pages (Including the cover page) Good LuckVERSION A1Section
Rhode Island - FRN - 101
un anniversaire[1]a birthday[2]le beau-frre[3]brother in law[4]la belle-soeur[5]sister in law[6]le cousin / la cousine[7]cousins[8]les enfants[9]children[10]la femme[11]wife[12]la fille[13]daughter
Rhode Island - ECN - 305
March 4, 2008 Competing traditions Smith: reliance on markets Ricardo/Malthus: class conflict and disequilibrium Utopian socialists: inequality Marx: deficiencies in capitalism Veblen: irrational economic behavior and institutional change Keynes: mar
Rhode Island - ECN - 305
March 4, 2008 Competing traditions Smith: reliance on markets Ricardo/Malthus: class conflict and disequilibrium Utopian socialists: inequality Marx: deficiencies in capitalism Veblen: irrational economic behavior and institutional change Keynes: mar
Rhode Island - ECN - 305
Lecture notes part 3 Competing traditions Smith: reliance on markets Ricardo/Malthus: class conflict and disequilibrium Utopian socialists: inequality Marx: deficiencies in capitalism Veblen: irrational economic behavior and institutional change Key
Rhode Island - ECN - 327
8-1: IntroductionInflation - A sustained upward movement (increase) in the aggregate price level that is shared by most products. - It is a continuous increase in the price level, not a single jump. - Sustained inflation requires a continuous increa
Rhode Island - FRN - 101
Chapitre 3Adjectifsnice1Chapitre 3Adjectifsother2Chapitre 3Adjectifsbeautiful3Chapitre 3Adjectifswhite4Chapitre 3Adjectifsgood5Chapitre 3Adjectifscalm, peaceful6Chapitre 3Adjectifsincluded7Chapitre 3
Rhode Island - PHL - 204
PHL-204 Response Paper # 4 Question 2 In Fukuyama's book Our Posthuman Future, he includes a chapter titled "Neuropharmacology and the Control of Behavior", which addresses the issues that have arisen from the use psychotropic medications to alter on
Rhode Island - GEO - 100
Chapter 3: Plate TectonicsAsthenosphere and Listhosphere:Lithosphere The outer solid layer of the earth. (The earth's crust and uppermost mantle.) It varies in thickness from place to place on the earth. It is thinnest underneath the oceans, where
Rhode Island - FRN - 101
Bonjour1Hello2Bonjour!3Glad to meet you!4Bonsoir, (monsieur/ madame/ mademoiselle).5Good evening, (sir/ ma'am/ miss).6Comment allez-vous?7How are you?8Vous allez bien?9Are you well?10Je vais bien, merci. Et vous?11I'
Rhode Island - GEO - 100
Chapter 1: An Overview of Our Planetary EnvironmentThe Planets:Our sun and its system is a system of circling planets, including the earth are believed to have been formed from a rotating cloud of gas and dust. The formation of our solar system is
Rhode Island - PHL - 204
PHL-204 Response Paper # 3 (Re-Write) Question 10 In the book Our Post Human Future by Francis Fukuyama, he addresses the ideas of the utopias of A Brave New World by Aldous Huxley and 1984 by George Orwell. In each of these two books, a type of utop
Rhode Island - GEO - 100
Chapter 7: Coastal Zones and ProcessesNature of the CoastlineOne factor that influences the geometry of a coastline is plate tectonics. Continental margins can be described as active or passive in a tectonic sense, depending on whether there is or
Rhode Island - GEO - 100
Chapter 11: Soil as a ResourceSoil Defined in different ways for different purposes: - Engineering Geologists define soil very broadly to include all unconsolidated materialoverlying bedrock.- Soil Scientists restrict the term soil to those mate
Rhode Island - ECN - 305
Lecture NotesThe Worldly Philosophers IntroductionWorldly activity: drive for wealth Economics: search for order and meaning of social history Age of economists: last 200 yearsIntroduction Economists: powerful ideas (thus the importance of econom
Rhode Island - GEO - 100
Chapter 2: Rocks and Minerals A First LookElements, Isotopes, and Ions:Nucleus At the center of the atom and contains one or more particles with a + (positive) electrical charge (protons) and usually some particles of similar mass that have no ch
Rhode Island - GEO - 100
Chapter 8: Mass Movements Factors Influencing Slope Stability - Mass Movements occur whenever the downward pull of gravity overcomes theforces (usually frictional) resisting it.- The down-slope pulling tendency causes mass movements.Shearing Stre
Rhode Island - FRN - 101
Chapitre 1: Qui tes-vous?p. 22 26: Introducing YourselfLe verbe tre et les pronoms sujets: tre (to be), can be used to describe yourself and others and to say where someone is from.Conjugation of treSingular Pluralje tu il / elle / on -sui
Rhode Island - ECN - 337
Chapter 2: The Firm and Its CostsCosts are a key determinant of firm behavior such as pricing. You need to understand various types of costs in order to predict a firms behavior.Section 2.1: The Neoclassical FirmTraditional Neoclassical Firm A f
Rhode Island - FRN - 101
Chapitre Prliminairep. 4 7: Greetings, Introductions, and CourtesyUsing tu or vous when greeting someone: Tu is used in farmiliar contexts, such as: o Among friends o Among family o With children o With students your own age Vous is used in forma
Rhode Island - ECN - 337
Chapter 1 : IntroductionThe field of Industrial Organization developed as an offshoot of traditional Microeconomics. o Differs from traditional Microeconomics, as it analyzes the Firms within an industry, rather than the Industry as a whole (Traditi
Rhode Island - FRN - 101
treto beJe suis de.I'm from.VoiciHere isVoilThere isTu connais. ?Do you know. ?africain(e)Africanalgrien(ne)Algerianallemande(e)Germanamricain(e)Americananglais(e)EnglishbelgeBelgianbrsilien(ne)Brazilian