Beruflich Dokumente
Kultur Dokumente
Spreadsheet Based
Monte Carlo Simulation
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
How to organize the spreadsheet
Automated experimentation with different input parameters
When
Suggested Problems
Divide the number of times each output occurs by the number of times the procedure is followed
to get the likelihood of each output
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
How to organize the spreadsheet
Automated experimentation with different input parameters
When
Suggested Problems
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
How to organize the spreadsheet
Automated experimentation with different input parameters
When
Suggested Problems
Expense accounts
Monthly rental expense of $80,000
Monthly labor expense of $700,000
Monthly contract labor expense uniformly distributed between $0 and $200,000
Let's answer these questions using a spreadsheet based Monte Carlo Simulation
How do you get the data table to generate new random numbers?
What do you specify for your column input cell?
Replicate single sample a large number of times using rows or data tables
Compute summary statistics
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
How to organize the spreadsheet
Automated experimentation with different input parameters
When
Suggested Problems
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
How to organize the spreadsheet
Automated experimentation with different input parameters
When
Suggested Problems
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
How to organize the spreadsheet
Automated experimentation with different input parameters
When
Suggested Problems
We could then try to run this simulation black box with several different times at which the
loading dock would turn away trucks
Generating (pseudo) random uniformly and continuously distributed service times in Excel
The minimum minutes per truck value is stored in a range named Min_Minutes_Per_Truck
The maximum minutes per truck value is stored in a range named Max_Minutes_Per_Truck
Enter the Excel formula Min_Minutes_Per_Truck + (Max_Minutes_Per_Truck
Min_Minutes_Per_Truck) * rand()
We could then test that approach against the previous approach to see which is better
The advantages of the first approach also apply to this approach
Simulate all 4 pens at a time - compute average and stddev of total cost
When trying a lot of values for both quantities make sure that the reorder point is less than or
equal to reorder up to point
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
For models with time based events (e.g. arrivals, failures, . . .):
I often use one row per event or one row per pair of events
(for single server queuing models each row has arrival and service completion
For customer demand/inventory type models (including overbooking):
Can use one row per time period
Can use one row per customer
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
How to organize the spreadsheet
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
How to organize the spreadsheet
Automated experimentation with different input parameters
When
Suggested Problems
When
Monte Carlo spreadsheet simulation should be considered when:
It is necessary to compute characterize results of a random process
When it would be hard to do so more directly
When the process can be readily modeled in an understandable way in a spreadsheet
Sub Topics
Concept
Approach
Example
Repetition
Optimization
Examples
How to organize the spreadsheet
Automated experimentation with different input parameters
When
Homework problems