Monte Carlo Methods Focus on the Project: Enter mean time between arrivals for variable A in cell B31 of the sheet 1 ATM for the Excel file Queue Focus.xls.

Slides:



Advertisements
Similar presentations
Slide No. 1 Chapter 1, Unit c Relative vs. Absolute Addressing in a Spreadsheet H Spreadsheet Address H Relative Address H Absolute Address H Examples.
Advertisements

Use bold and font size to change the look of the heading.
® Microsoft Office 2010 Excel Tutorial 1: Getting Started with Excel.
Spreadsheet Review Computer Systems Test 50 Points: T/F; MC; Fill in; Loan Am.
Microsoft Office XP Microsoft Excel
Unit 5 Spreadsheets 5.01 Introduction to Spreadsheets.
1 CA202 Spreadsheet Application Combining Data from Multiple Sources Lecture # 6.
SVHS TAKS Scores by Teachers Addressing the Objectives.
L13_2 Microsoft Excel - Formulas, Formatting and Creating Charts * Entering the Titles and Numbers into the Worksheet * Entering Formulas * Entering Formulas.
Microsoft Excel 2010 Chapter 7
Mathematics for Business Decisions, Part 1.5a Managing ATM Queues.
What’s in the Focus file and how do we edit it? Project 2, 115a.
Lab 08 Introduction to Spreadsheets MS Excel
Project 7 Forecasting Values With What-If Analysis: Using Data Tables, Scenarios, Goal Seek, and Solver Jason C. H. Chen, Ph.D. Professor of Management.
Monte Carlo Methods A Monte Carlo simulation creates samples from a known distribution For example, if you know that a coin is weighted so that heads will.
Project 2: ATM’s & Queues
Mathematics for Business Decisions, Part 1.5a Managing ATM Queues.
REVIEW Excel Excel Absolute vs. Relative Address.
® Microsoft Office 2010 Excel Tutorial 1: Getting Started with Excel.
Random Sampling  In the real world, most R.V.’s for practical applications are continuous, and have no generalized formula for f X (x) and F X (x). 
Spreadsheet. Objectives Create a new blank workbook. Create a new blank workbook. Identify user interface elements that you can use to accomplish basic.
Monte Carlo Methods A Monte Carlo simulation creates samples from a known distribution For example, if you know that a coin is weighted so that heads will.
Notes to Teachers: 1.Make sure each student has his/her file open from the previous class “(student name).xlsx”. 2.A vocabulary list is included on last.
Spreadsheets and Marks © Nipawin School Division 2003.
Pairwise Alignment, Part I Constructing the Values and Directions Tables from 2 related DNA (or Protein) Sequences.
 Starting Excel 2003  Using Help  Workbook Management  Cursor Management  Manipulating Data  Using Formulae and Functions  Formatting Spreadsheet.
The AIE Monte Carlo Tool The AIE Monte Carlo tool is an Excel spreadsheet and a set of supporting macros. It is the main tool used in AIE analysis of a.
MS Word – Mail Merge Basic Steps Create Letter/Labels general information Create Excel File with variable Data Link Files through Mail Merge in Word Print.
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Excel Project 1 Creating a Worksheet and an Embedded Chart.
Create a new, blank work book. SUBMIT TRY AGAIN Open the ECDL.xls workbook that is in My Document folder.
Using Advanced Formatting and Analysis Tools. 2 Working with Grouped Worksheets: Grouping Worksheets  Data is entered simultaneously on all worksheets.
Excel Ch 6 Review.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
MS Excel Introduction Short Course Warilla High School April 2008.
Project 2: ATM’s & Queues. ATM’s & Queues  Certain business situations require customers to wait in line for a service Examples:  Waiting to use an.
Excel Introducing Excel Lesson 1. Manage Workbooks Excel is a spreadsheet program Excel is a spreadsheet program It organizes and analyzes data It organizes.
Learning With Computers II (Level Orange) ©2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly.
Using Technology to ease the administration burden CAPS Recording Mark Sheets.
 For this particular example, we will be creating a Light Bulb fundraising sheet.  Columns A-F will be utilized as well as multiple rows, which depends.
1 Microsoft Excel An Introduction to Spreadsheets Lecture 18.
Using PTOManager.co m to create a Student Directory May 4, 2009 L.P.S. VIPS Meeting.
Unit 5 Spreadsheets 5.07 AutoSum Button, Absolute/Relative Cell Reference.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2006 Session Two Alex Fadeev - Link for this PPT:
Monte Carlo Methods Focus on the Project: Now that there are two folders (9am and 9pm) that contain a Queue Focus.xls file, we will create two more folders.
How can we optimize our working in Microsoft Excel?
Understanding Formulae ©. End Next Quit Next If for any reason you want to exit from the test, click the Quit.
Jeopardy Money Whatz that…? Work Out Time Guns and Roses Odds and Ends Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final Jeopardy.
Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.
Using Microsoft® Excel This presentation is designed for Chapter 1, Section 1.2.
Expanded notation, trading and place value. By Elena and Jordan.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
Cell Column Drawing Toolbar Formatting Toolbar Formula Bar Help Box Menu Bar Name Box Rows Standard Toolbar Title Bar Worksheet.
Groups of cells labeled with letters that go up and down (vertical)
EDT321EDT321 1 Summer Session Spreadsheets Using Microsoft Excel.
How to graph your stock project performance vs. the 3 major indexes.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Starter! Get Ready to Learn! ClassworkFriday 10th October 2014 Bags under desks No drinks bottles near electrical equipment Log on to the School Computer.
CORP 2987: Vehicle Accessories Financial Requirements Presented by: Commercial Finance.
MEDUPI Catering PS(M)(R)2012 / AB /01: Financial Requirements Presented by: Commercial Finance Date: Thurs 11 Sept 2014.
Introduction to the MS Excel 2003
Microsoft Excel Basic Skills
Advanced Microsoft Excel
Navya Thum February 13, 2013 Day 7: MICROSOFT EXCEL Navya Thum February 13, 2013.
Assessed to Sale Ratio Worksheet Instructions
Absolute and Relative cell referencing
Intro to Excel CSCI-150.
Using Formulas.
Lab 08 Introduction to Spreadsheets MS Excel
Day 2: Fill Data Automatically in Worksheet Cells
Presentation transcript:

Monte Carlo Methods Focus on the Project: Enter mean time between arrivals for variable A in cell B31 of the sheet 1 ATM for the Excel file Queue Focus.xls.

Monte Carlo Methods Focus on the Project: The formula in cell G35 of the sheet 1 ATM for the Excel file Queue Focus.xls needs to be changed Original: =IF(ISNUMBER(F35),VLOOKUP(RANDBETWEEN(1, 7634 ), Data!$G$45:Data!$H$ 7678,2),"")

Monte Carlo Methods Focus on the Project: Change the numbers indicated to match your data Copy your new formula into cells G36:G194

Monte Carlo Methods Focus on the Project: Note that my simulation (from my posted SampleData.xls) must accommodate 170 customers Drag the information in cells B195:C195 down until the last value in column B is one more than the number of customers (for me, 171)

Monte Carlo Methods Focus on the Project: Drag the information in cells E195:F195 down until the last values are at the same row as the values in columns B and C. Drag the information in cells G195:L195 down until the last values are one row above the values in columns E and F.

Monte Carlo Methods Focus on the Project: The finished columns E through L should look like: Note: columns E and F have one extra cell

Monte Carlo Methods Focus on the Project: Cells Y351 and Y352 should be copied and pasted several times My simulation must accommodate 170 customers (compared to 160 from the original class file) This means I must copy and paste Y351 and Y352 ten times

Monte Carlo Methods Focus on the Project: Cell Y351 is blank, so new cells Y353, Y355, Y357, etc. will also be blank Cell Y352 contained the formula =($F$194<=I35)

Monte Carlo Methods Focus on the Project: Cell Y352 contained the formula =($F$194<=I35) Cell Y354 should have the formula =($F$195<=I35) Cell Y356 should have the formula =($F$196<=I35) Cell Y358 should have the formula =($F$197<=I35) And so on … (Be careful, you must carefully change all of the new formulas)

Monte Carlo Methods Focus on the Project: Finally, we need to modify the formulas in cells N35:S35 N35 contains (# of customers plus 1) =IF(MAX(E35:E 195 )= 161,"Overflow",MAX(E35:E 195 )) (new ending cell in column E)

Monte Carlo Methods Focus on the Project: O35 contains =SUM(J35:J 194 ) (new ending cell in column J) P35 contains =MAX(J35:J 194 ) (new ending cell in column J)

Monte Carlo Methods Focus on the Project: Q35 contains =COUNTIF(K35:K 194,”yes”) (new ending cell in column K) R35 contains =SUM(L35:L 194 ) (new ending cell in column L)

Monte Carlo Methods Focus on the Project: S35 contains =SUM(L35:L 194 ) (new ending cell in column L)

Monte Carlo Methods Focus on the Project: Note: the new formula in the new cells in column L need to be changed: Old formula: (cell L194) =IF(ISNUMBER(F194),DCOUNT($I$34:I193,,Y351:Y352),"")

Monte Carlo Methods Focus on the Project: Cell L194 stays the same, all new cells afterward change Cell L195 orginially: =IF(ISNUMBER(F194),DCOUNT($I$34:I193,,Y352:Y353),"") Cell L195 new: =IF(ISNUMBER(F194),DCOUNT($I$34:I193,,Y353:Y354),"")

Monte Carlo Methods Focus on the Project: Cell L196 orginially: =IF(ISNUMBER(F194),DCOUNT($I$34:I193,,Y353:Y354),"") Cell L196 new: =IF(ISNUMBER(F194),DCOUNT($I$34:I193,,Y355:Y356),"") The remaining values in the next L cell should start with the next odd number and finish with the next even number (i.e., Y357:Y358, then Y359:Y360, etc.)

Monte Carlo Methods Focus on the Project: Now run the simulation One_ATM (Tools, Macro, Macros)

Monte Carlo Methods Focus on the Project: A summary of possible answers to five of the six claims appears in cells: P39 (Max waiting time) S39 (Max number in queue) U39 (Mean waiting time) V39 (Percent delayed) W39 (Mean number in queue)

Monte Carlo Methods Focus on the Project: The final claim (percent irritated) must be answered and will be addressed later. Now modify the worksheet 2 ATMs Note: the following cells must be changed

Monte Carlo Methods Focus on the Project: Cell B30 (Mean arrival time) B195:C195 (Allowable customers – orig. 160 customers) Formulas from cells E194 and F194 need to be copied down

Monte Carlo Methods Focus on the Project: Formulas from cells G194 through Q194 need to be copied down You must fix the formulas in columns G, H and K Column G: =IF(ISNUMBER(F194),VLOOKUP(RANDBETWEEN(1, 7634 ),Data!$G$45: Data!$H$ 7678,2),"") Column H: =IF(ISNUMBER(F194),DCOUNT($J$34:J193,, AG351:AG352 ),"") Column K: =IF(ISNUMBER(F194),DCOUNT($M$34:M193,, AJ351:AJ352 ),"")

Monte Carlo Methods Focus on the Project: Change all formulas in cells S35 through Z35 In cell S35: =IF(MAX(E35:E 195 )= 161,"Overflow",MAX(E35:E 195 )) In cell T35: =SUM(N35:N 194 )

Monte Carlo Methods Focus on the Project: In cell U35: =MAX(N35:N 194 ) In cell V35: =COUNTIF(O35:O 194,"yes") In cell W35: =SUM(P35:P 194 )

Monte Carlo Methods Focus on the Project: In cell X35: =MAX(P35:P 194 ) In cell Y35: =SUM(Q35:Q 194 ) In cell Z35: =MAX(Q35:Q 194 )

Monte Carlo Methods Focus on the Project: Copy down extra cells after AG351:AG352 and AJ351:AJ352 Fix the formulas in the even cells (354, 356, 358, etc.) Run the macro Two_ATMs

Monte Carlo Methods Focus on the Project: A summary of possible answers to five of the six claims appears in cells: U39 (Max waiting time) Z39 (Max present) AB39 (Mean waiting time) AC39 (Percent delayed) AD39 (Mean number in queue)

Monte Carlo Methods Focus on the Project: The final claim (percent irritated) must be answered and will be addressed later. Now modify the worksheet 3 ATMs Note: the following cells must be changed

Monte Carlo Methods Focus on the Project: Cell B30 (Mean arrival time) B195:C195 (Allowable customers – orig. 160 customers) Formulas from cells E194 and F194 need to be copied down

Monte Carlo Methods Focus on the Project: Formulas from cells G194 through T194 need to be copied down You must fix the formulas in columns G, H, K, and N Column G: =IF(ISNUMBER(F194),VLOOKUP(RANDBETWEEN(1, 7634 ),Data!$G$45: Data!$H$ 7678,2),"") Column H: =IF(ISNUMBER(F194),DCOUNT($J$34:J193,, AJ351:AJ352 ),"")

Monte Carlo Methods Focus on the Project: Column K: =IF(ISNUMBER(F194),DCOUNT($M$34:M193,, AM351:AM352 ),"") Column N: =IF(ISNUMBER(F194),DCOUNT($P$34:P193,, AP351:AP352 ),"")

Monte Carlo Methods Focus on the Project: Change all formulas in cells V35 through AC35 In cell V35: =IF(MAX(E35:E 195 )= 161,"Overflow",MAX(E35:E 195 )) In cell W35: =SUM(Q35:Q 194 )

Monte Carlo Methods Focus on the Project: In cell X35: =MAX(Q35:Q 194 ) In cell Y35: =COUNTIF(R35:R 194,"yes") In cell Z35: =SUM(S35:S 194 )

Monte Carlo Methods Focus on the Project: In cell AA35: =MAX(S35:S 194 ) In cell AB35: =SUM(T35:T 194 ) In cell AC35: =MAX(T35:T 194 )

Monte Carlo Methods Focus on the Project: Copy down extra cells after AJ351:AJ352, AM351:AM352, and AP351:AP352 Fix the formulas in the even cells (354, 356, 358, etc.) Run the macro Three_ATMs

Monte Carlo Methods Focus on the Project: A summary of possible answers to five of the six claims appears in cells: X39 (Max waiting time) AC39 (Max present) AE39 (Mean waiting time) AF39 (Percent delayed) AG39 (Mean number in queue)

Monte Carlo Methods Focus on the Project: The final claim (percent irritated) must be answered and will be addressed later. Now modify the worksheet 3 ATMs Serpentine Note: the following cells must be changed

Monte Carlo Methods Focus on the Project: Cell B30 (Mean arrival time) B195:C195 (Allowable customers – orig. 160 customers) Formulas from cells E194 and F194 need to be copied down

Monte Carlo Methods Focus on the Project: Formulas from cells G194 through T194 need to be copied down You must fix the formulas in columns G, H, K, and N Column G: =IF(ISNUMBER(F194),VLOOKUP(RANDBETWEEN(1, 7634 ),Data!$G$45: Data!$H$ 7678,2),"") Column H: =IF(ISNUMBER(F194),DCOUNT($J$34:J193,, AJ351:AJ352 ),"")

Monte Carlo Methods Focus on the Project: Column K: =IF(ISNUMBER(F194),DCOUNT($M$34:M193,, AM351:AM352 ),"") Column N: =IF(ISNUMBER(F194),DCOUNT($P$34:P193,, AP351:AP352 ),"")

Monte Carlo Methods Focus on the Project: Change all formulas in cells V35 through AC35 In cell V35: =IF(MAX(E35:E 195 )= 161,"Overflow",MAX(E35:E 195 )) In cell W35: =SUM(Q35:Q 194 )

Monte Carlo Methods Focus on the Project: In cell X35: =MAX(Q35:Q 194 ) In cell Y35: =COUNTIF(R35:R 194,"yes") In cell Z35: =SUM(S35:S 194 )

Monte Carlo Methods Focus on the Project: In cell AA35: =MAX(S35:S 194 ) In cell AB35: =SUM(T35:T 194 ) In cell AC35: =MAX(T35:T 194 )

Monte Carlo Methods Focus on the Project: Copy down extra cells after AJ351:AJ352, AM351:AM352, and AP351:AP352 Fix the formulas in the even cells (354, 356, 358, etc.) Run the macro Three_ATMs_Serpentine

Monte Carlo Methods Focus on the Project: A summary of possible answers to five of the six claims appears in cells: X39 (Max waiting time) AC39 (Max present) AE39 (Mean waiting time) AF39 (Percent delayed) AG39 (Mean number in queue)

Monte Carlo Methods Focus on the Project: The final claim (percent irritated) must be answered and will be addressed later. Save this document in one folder (do not change the name from Queue Focus.xls)

Monte Carlo Methods Focus on the Project: Summary (9 am) Mean Wait Time Max Wait Time Percent Delayed Mean # in Queue Max # in Queue Percent Irritated 1 ATM % TBD 2 ATMs %7.167TBD 3 ATMs %1.029TBD 3 ATMs Serp %2.331TBD Claims % %

Monte Carlo Methods Focus on the Project: Once you have saved the file in a folder, create a new folder for your 9 pm data Save the Queue Focus.xls file in your new folder

Monte Carlo Methods Focus on the Project: Modify the Queue Focus.xls file for your 9 pm data This only requires a change of the cell B31 (mean arrival) in the worksheet 1 ATM and a change of the cell B30 (mean arrival) in the worksheets 2 ATMs, 3 ATMs, and 3 ATMs Serpentine

Monte Carlo Methods Focus on the Project: Summary (9 pm) Mean Wait Time Max Wait Time Percent Delayed Mean # in Queue Max # in Queue Percent Irritated 1 ATM %0.910TBD 2 ATMs %0.56TBD 3 ATMs %0.06TBD 3 ATMs Serp %0.06TBD Claims % %