《风险管理软件CrystalBall操作指南(英文版).docx》由会员分享,可在线阅读,更多相关《风险管理软件CrystalBall操作指南(英文版).docx(13页珍藏版)》请在三一办公上搜索。
1、Monte-Carlo Simulation with Crystal BallTo run a simulation using Crystal Ball:1. Setup SpreadsheetBuild a spreadsheet that will calculate the performance measure (e.g., profit) in terms of the inputs (random or not). For random inputs, just enter any number.2. Define Assumptionsi.e., random variabl
2、esDefine which cells are random, and what distribution they should follow.3. Define Forecasti.e., output or performance measureDefine which cell(s) you are interested in forecasting (typically the performance measure, e.g., profit).4. Choose Number of TrialsSelect the number of trials. If you would
3、later like to generate the Sensitivity Analysis chart, choose “Sensitivity Analysis” under Options in Run Preferences.5. Run SimulationRun the simulation. If you would like to change parameters and re-run the simulation, you should “reset” the simulation (click on the “Reset Simulation” button on th
4、e toolbar or in the Run menu) first.6. View ResultsThe forecast window showing the results of the simulation appears automatically after (or during) the simulation. Many different results are available (frequency chart, cumulative chart, statistics, percentiles, sensitivity analysis, and trend chart
5、). The results can be copied into the worksheet.Crystal Ball Toolbar:DefineDefineRunStartResetForecastTrendAssumptionsForecastPreferencesSimulationSimulationWindowChartWalton Bookstore Simulation with Crystal BallRecall the Walton Bookstore example: It is August, and they must decide how many of nex
6、t years nature calendars to order. Each calendar costs the bookstore $7.50 and is sold for $10. After February, all unsold calendars are returned to the publisher for a refund of $2.50 per calendar. Suppose Walton predicts demand will be somewhere between 100 and 300 (discrete uniform).Demand = d Un
7、iform100, 300Order Quantity= Q (decision variable)Revenue= $10 * Min(Q, d)Cost= $7.50 * QRefund= $2.50 * Max(Qd, 0)Profit= Revenue Cost + RefundStep #1 (Setup Spreadsheet)Walton Bookstore Simulation with Crystal BallStep #2 (Define Assumptionsi.e., random variables)Select the cell that contains the
8、random variable (B17) color code (blue):and click on the “Define Assumptions” button in toolbar (or in the Cell menu):Select type of distribution:Provide parameters of distributions: Walton Bookstore Simulation with Crystal BallStep #3 (Define Forecasti.e., output)Select the cell that contains the o
9、utput variable to forecast (F17):click on the “Define Forecast” button in toolbar (or in the Cell menu),and fill in the Define Forecast dialogue box.Step #4 (Choose Number of Trials)Click on the “Run Preferences” button in toolbar (or in the Run menu):and select the number of trials to run.Walton Bo
10、okstore Simulation with Crystal BallStep #5 (Run Simulation)Click on the “Start Simulation” button in toolbar (or Run in the Run menu):Step #6 (View Results)The results of the simulation can be viewed in a variety of different ways (frequency chart, cumulative chart, statistics, and percentiles). Ch
11、oose different options under the View menu in the forecast window.The results can be copied into a worksheet or Word document (choose Copy under the Edit menu in the simulation output window.Using Trend Charts to Find the Impact of Order Quantity on Potential ProfitDefine several forecast cells (G14
12、:G18) for several possible order quantities (Q=100, 150, 200, 250, 300). Use the same random order quantity for each to compare them more equally (i.e., one assumption cell for demandC14with the rest set equal to C14).After running the simulation, choose “Open Trend Chart” in the Run menu. This char
13、t gives “certainty bands” for the forecast cells. 10% of the time, the project duration will fall within the inner band (light blue), 25% of the time within the 2nd band (red), 50% of the time within the third band (green), and 90% of the time within the outside band (dark blue).Project ManagementGl
14、obal OilGlobal Oil is planning to move their credit card operation to Des Moines, Iowa from their home office in Dallas. The move involves many different divisions within the company. Real estate must select one of three available office sites. Personnel has to determine which employees from Dallas
15、will move, how many new employees to hire, and who will train them. The systems group and treasurers office must organize the new operating procedure and make financial arrangements. The architects will have to design the interior space, and oversee needed structural improvements. Each site is an ex
16、isting building with sufficient open space, but office partitions, computer facilities, furnishings, and so on, must all be provided.A complicating factor is that there is an interdependence of activities. In other words, some parts of the project cannot be started until other parts are completed. F
17、or example, Global cannot construct the interior of an office before it has been designed. Neither can it hire new employees until it has determined its personnel requirements.The necessary activities and their necessary predecessors (due to interdependence) are listed below. Three estimates are mad
18、e for the completion time of each activitythe minimum time, most likely time, and maximum time.ImmediateTime Estimates (days)ActivityDescriptionPredecessorMinimumMost LikelyMaximumASelect Office Site212121BCreate Org. & Fin. Plan202530CDetermine Personnel Req.B152030DDesign FacilityA, C202842EConstr
19、uct FacilityD404866FSelect Personnel to MoveC121212GHire New EmployeesF202532HMove Key EmployeesF282828ITrain New PersonnelE, G, H101524Global Oil Simulation with Crystal BallStep #1 (Setup Spreadsheet)Step #2 (Define Assumptionsi.e., random variables)Each of the random activity times (B, C, D, E, G
20、, and I) is assumed to follow the triangular distribution.Global Oil Simulation with Crystal BallStep #3 (Define Forecasti.e., output)Cell J15 is the forecast cell: Step #4 (Choose Number of Trials)500 trials were run. In addition, Sensitivity Analysis was enabled in the Options of the Run Preferenc
21、es dialogue box. This allows for the generation of sensitivity analysis results later.Step #5 (Run Simulation)Step #6 (View Results)Additional Results Available with Crystal BallSlide the triangles below the histograms to determine the probability that the output (project duration) is less than a ce
22、rtain value (e.g., a deadline), greater than a certain value, or between any two values (by sliding both triangles).Alternatively, you can type in values for the lower bound or upper bound to determine the probability. You can also type in a probability (in “Certainty”), and it will determine the ra
23、nge that has that probability.There is a 79% chance the project will be completed within 150 days. There is a 2.4% chance that the project will take more than 160 days.Sensitivity ChartChoose “Open Sensitivity Chart” in the Run menu. Note that this chart is only available if you selected the “Sensit
24、ivity Analysis” option under Run Preferences. This chart gives an indication as to which random variables (activity times) have the greatest impact on the output cell (project completion time).Variability in activity E has the greatest impact on overall project duration, followed by activity D, C, I
25、, and B. Variability in activity G has almost no impact. Fitting a DistributionCrystal Ball can be used to “fit” a distribution to data.The following data has been collected for the previous 100 phone calls to a mail-order house:(80 rows have been hidden)Fitting Data to a DistributionUsing Crystal Ball to fit data to a distribution1.Select a spreadsheet cell.2.Choose Define Assumption.3.Click the Fit button, then select the source of the fitted data.4.Click the Next button, then select the distributions to try to fit.5.Click OK.Interarrival TimeService Time