Simulation
Simulation
Pseudo-Random Numbers
Simulation Bec. computer program generates random numbers for mapping, numbers aren’t truly generated in
- representation of real system random fashion.
- employed management science techniques. - However, using standard statistical tests, numbers can show to appear drawn from random
- used to model random processes that are too complex to be solved by analytical methods. process. (Pseudo-random numbers)
- begins by mathematical statement of the problem. In Excel, value can be obtained for probabilistic input that is normally distributed using:
Some input values for a simulation model are constants and are referred to as the parameters of
the model. =NORMINV(RAND(),Mean, Standard Deviation)
Arrive Overbooking
- OBJ: determine # of reservation an airline should accept for particular fight
- Simulation model- developed relating profit for flight to probabilistic input, # of passenger w/
reservation who show up, & controllable input, # of reservation accepted for flight
Inventory Policy
- OBJ: choose inventory policy that provide good customer service at a reasonable cost. They make a $.04 profit per postage stamp. The vending machine holds 230 stamps & it costs $4.00 in
- A Model- developed relating 2 output measures, total inventory cost & service level, to labor to fill the machine. They will fill the machine at the beginning of every 5th day. Conduct a 20-day
probabilistic inputs, (eg. product demand & delivery lead time from vendors), and simulation & determine expected profit per day. Assume machine must filled on the first day.
controllable inputs, (eg. order quantity and the reorder point)
- For each setting of the controllable inputs, possible values would be generated for the
probabilistic inputs, & resulting cost & service levels would be computed
Waiting lines
- OBJ: determine waiting times for customers at a bank’s automated teller machine (ATM).
- A model- developed relating customer waiting times to probabilistic inputs (eg. customer
arrivals & service times, & controllable input, # of ATM machines installed.
o Mark Koff is a specialist at repairing large metal-cutting machines that use laser technology. His
repair territory consists of the cities of Austin, San Antonio, & Houston. His day-to-day repair
assignment locations can be modeled as a Markov process. The transition matrix is shown below
Based on Probability distribution, expected price change per trade can calcu by: (Price change x RF)
Repeat the simulation w/
= (.08)(-3/8)+ (.04)(-1/4)+ (.16)(-1/8)+ (.40)(0)+ (.20)(1/8)+ (.06)(1/4)+ (.04)(3/8)+ (.02)(1/2) = 0.005 Mark currently in Austin.
Use FF:
Expected Price Range: 23 + 0.005 = 23.05 .13, .08, .60, .13, .68, .40, .40, .27,
. 23, .64, .36, .56, .25, .88, .18, .74
Inventory Example: Supermarket
o Supermarket installed postage stamp vending machine. Based 1 month operation, it estimates
number of postage stamps sold per day: Compare % w/ those found in
HOUSTON.
Time Relationships
o After having passports & visas checked, passengers next proceed to 2 nd customs official who does - Time a passenger begins service by the passport inspector
baggage inspections. Passengers form a single waiting line w/ official inspecting baggage on a 1 st
come, 1st served basis. The time required for baggage inspection follows probability distribution = (Time the previous passenger started passport service)
shown below. + (Time of previous passenger's passport service)
= (Time customer begins service with baggage inspector) + (Time required for baggage
inspection)
Computer Implementation
Spreadsheet Add-Ins
- The use of spreadsheets for simulation has grown rapidly in recent years.
- Two popular spreadsheet add-in packages are Crystal Ball and @Risk.
- Spreadsheets are generally limited to smaller, less complex systems.
Advantages of Using Simulation o The management of Manufacturing Company is considered in introduction of a new product. The
Ability to gain insights into model solution w/c may be impossible to attain through other fixed cost to begin production of the product is $30,000. The variable cost for the product is
techniques. expected to be between $16 and $24, w/ most likely value of $20 per unit. The product will sell for
Once simulation has developed, it provides convenient experimental laboratory to perform "what if" $50 per unit. Demand for the product is expected to range from 300 to 2100 units, w/ 1200 units the
and sensitivity analysis. most likely demand.
Disadvantages of Using Simulation a. Develop the profit model for this product.
A large amount of time may be required to develop the simulation. b. Provide the best-case, worst-case, & best-case analysis
c. Discuss why simulation would be desirable
There is no guarantee that the solution obtained will actually be optimal.
Simulation is, in effect, a trial-and-error method of comparing different policy inputs.
It does not determine if some input which was not considered could have provided a better solution
for the model.
ANOTHER EXAMPLE
o To generate leads for new business, Investment Services offers free financial planning seminars at
major hotels in Florida. Attendance is limited to 25 individuals per seminar. Each seminar costs
Gustin $3500, & average 1st year commission for each new account is $5000. Historical data
collected over the past 4 years show that the # of new accounts opened at a seminar varies from
no accounts opened to a maximum of 6 accounts opened according to the ff probability distribution: