DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall DISCRETE EVENT SIMULATION SIMULATION Chapter 10 Part 2.

Slides:



Advertisements
Similar presentations
Fathom Overview Workshop on using Fathom in School Improvement Planning (SIP)
Advertisements

Chapter 18 If mathematical analysis is too difficult, we can try each possibility out on paper. That way we can find which alternative appears to work.
Microsoft Office XP Microsoft Excel
Excel Tutorial 1 Getting Started with Excel
Advanced Microsoft Word Hosted by Jared Hoffman Topics Keyboard Shortcuts Customizing Toolbars and Menus Auto Format & Auto Correct Tabs Inserting Pictures.
104 Phase 1 Model Features: u Imported background u Scale the drawing u Multiple resources u Multiple Routes u Entity Name and Graphic Change u Service.
Introduction to Excel 2007 Part 2: Bar Graphs and Histograms February 5, 2008.
Exit Microsoft Outlook Skills Using Categories for Sorting, Filtering and Creating Group Oklahoma Department of Corrections Training Administration.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
1 SIMULATION – PART I Introduction to Simulation and Its Application to Yield Management For this portion of the session, the learning objectives are:
Automating Tasks With Macros
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 5 1 Microsoft Office Excel 2003 Tutorial 5 – Working With Excel Lists.
Introduction to Arena A Simple Simulation. Model1 We examine a simple model: parts arrive at a server, are served, and depart the system. There will be.
Textbook: Applied Simulation, modeling and Analysis using FlexSim
Monté Carlo Simulation MGS 3100 – Chapter 9. Simulation Defined A computer-based model used to run experiments on a real system.  Typically done on a.
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms Psych 209.
FIRST COURSE Excel Lecture. XP 2 Introducing Excel Microsoft Office Excel 2007 (or Excel) is a computer program used to enter, analyze, and present quantitative.
Graduate Program in Engineering and Technology Management
XP New Perspectives on Integrating Microsoft Office XP Tutorial 1 1 Integrating Microsoft Office XP Tutorial 1 – Integrating Word and Excel.
DECISION MODELING WITH
Slide - 1 Dr Terry Hinton 6/9/05UniS - Based on Slides by Micro Analysis & Design An example of a Simulation Simulation of a bank: Three tasks or processes:
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
XP 1 Microsoft Office Excel 2003 Tutorial 3 – Working With Excel Lists.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
Intro to Arena A Second Simulation.
Operations management using System Dynamics Part II.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
1 QUEUES. 2 Definition A queue is a linear list in which data can only be inserted at one end, called the rear, and deleted from the other end, called.
Database Systems Microsoft Access Practical #2 Making Forms and Reports Nos 215.
1 Extend is a simulation tool to create models quickly, with all the blocks you need and without even having to type an equation. You can use a series.
LINKS TO OBJECTIVES Multiple Worksheets Multiple Worksheets Move, Copy and Paste Cells Move, Copy and Paste Cells Split into Windows Freeze Panes Range.
WS09-1 VND101, Workshop 09 MSC.visualNastran 4D Exercise Workbook Belted Cylinder.
DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker DISCRETE EVENT SIMULATION SIMULATION Chapter 10 Part.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 1 1 Integrating Microsoft Office XP Tutorial 1 – Integrating Word and Excel.
Arena Simulation Language. Simulation with ArenaChapter 3 – A Guided Tour Through ArenaSlide 2 of 58 The Create Flowchart Module “Birth” node for entities.
Processing Lab 2 – Geometry Bryce Hutchinson Objectives: Add a dictionary Gain a better understanding of header issues Display geometry correctly Visualize.
Using the AccuGlobe Software with the IndianaMap Using the AccuGlobe Software.
Basic & Advanced Reporting in TIMSNT ** Part Three **
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
First Model. Description In this model we will look at the process of manufacturing three types of products in a factory. In our simulation model, we.
Simulink Simulink is a graphical extension to MATLAB for modeling and simulation of systems. In Simulink, systems are drawn on screen as block diagrams.
DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker DISCRETE EVENT SIMULATION SIMULATION Chapter 10 Part.
This tutorial will talk you through a very basic workbench queueing simulation. The queueing system modelled is of customers entering an infinite capacity.
Simulation Chapter 16 of Quantitative Methods for Business, by Anderson, Sweeney and Williams Read sections 16.1, 16.2, 16.3, 16.4, and Appendix 16.1.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
Extracting Information from an Excel List The purpose of creating a database, or list in Excel, is to be able to manipulate the data elements in ways that.
Progress and Outcome Measures - Part 3 Progress and Outcome Measures Part 3, Slide 1Copyright © 2004, Jim Schwab, University of Texas at Austin.
When you first enter the Automation Rules process, there may be no rules listed. In that case the view may appear as shown below and you will have three.
Second Model: “Model2”. What You Will Learn  How to build a simple layout  How to connect ports for routing flowitems  How to detail and enter data.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Introduction to Simulation Chapter 12. Introduction to Simulation  In many spreadsheets, the value for one or more cells representing independent variables.
Prepared by Lloyd R. Jaisingh
Monte Carlo Simulation
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Getting Started .Cont The Basic Process Panel
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms
Model 4-2: The Enhanced Electronic Assembly and Test System
New Perspectives on Microsoft
Model 4-2: The Enhanced Electronic Assembly and Test System
Presentation transcript:

DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall DISCRETE EVENT SIMULATION SIMULATION Chapter 10 Part 2

EXAMPLE 4 – HERVIS CAR RENTAL MODEL REVISITED Based on the previous results, Hervis came up with an idea of pulling some of the car service people off the car lot to staff more rental stations whenever the queue of customers became large. In this way, the staffing of the rental stations would increase to three or even four clerks whenever a peak in customer demand occurred. To model this dynamic change in behavior in Extend, we would need a way to alter the value in the Maximum Number in Activity field of the Activity, Multiple block dialog during the simulation.

To do this, double-click the Queue, FIFO block to display its dialog window. For explanations, click on the Help button. The L value output connector reads out the queue length throughout the simulation run. The C connector can be used to input a capacity value that overrides the number recorded in the Maximum Number in Activity field.

What is needed is a way to convert the L value from the Queue, FIFO block into the desired number of rental stations and feed that dynamic number into the C connector of the Activity, Multiple block during the simulation. Extend’s Conversion Table block is similar to Excel’s VLOOKUP in that it will map the input L values to the output C values.

To open the Conversion Table block, click on GENERIC.lix - Math - Conversion Table.

Connect the L value output connector of the Queue, FIFO block to the Conversion Table’s input connector. Next, connect the Conversion Table’s output connector to the C value of the Activity, Multiple block.

The text box shows Hervis’ proposed decision rule for increasing the number of rental station clerks.

Double-click on the Conversion Table block to open its dialog window. Choose Stepped under the Table is: option. A value of 4 for y out is assigned to values of x in greater than 6. This places a cap on the maximum number of rental clerks. Click on the Run Simulation icon. These values ( for x in and for y out) represent the proposed decision rule.

Here is the resulting graph. Remember, results will differ due to the random effects.

Now, compare the following results for the Queue, FIFO block: 2 Clerks Up to 4 Clerks during peak periods

Compare the following results for the Activity, Multiple block: 2 Clerks Up to 4 Clerks during peak periods

To verify these results, we could run the simulation many more times. However, it would be difficult to compare each set of results. Extend’s Queue Stats block, will collect queuing statistics from multiple runs of a simulation model. Using this, we can systematically assess the influence of the model’s inherent randomness on a performance measure. Open this block by going to the Library – Open Library menu and choosing Stats.lrx from the resulting dialog.

Now, open the Queue Stats block and place it anywhere in the Extend model window.

Double-click on the Queue Stats block to open its dialog window: To tabulate the results of multiple runs, select the Append new updates and Update at end of simulation options.

Now, go to Run – Simulation Setup dialog and change the Number of runs to say, 20. This instructs Extend to make 20 independent runs of the model, tabulating the queuing statistics from each run into the Queue Stats block. Clicking on the Run Simulation icon will now cause the model to automatically run 20 times.

After starting the simulation, a status bar and small graph will appear on the bottom of the screen, from which you can monitor the progress of the simulations.

After the runs are finished, double-click on the Queue Stats block to open the dialog and review the results. These results confirm that increasing the number of clerks will not help the model.

Clicking on the Confidence Interval button in this dialog will further summarize the results giving 95% confidence intervals.

EXAMPLE 5 – FINAL HERVIS CAR RENTAL MODEL Now, return to the original 2 clerk rental station policy.

Instead of increasing the number of clerks at the rental station, let’s consider serving only two types of customers: Those who desire smaller compact cars (Economy cars) Those who desire larger, more powerful cars (Deluxe cars) Assume that 70% of customers will opt for economy cars and the balance for deluxe cars. The challenge is to decide how many of each type of car to have available at the beginning of the week to avoid car shortages during the week and ultimately customer dissatisfaction.

Past data on car rentals shows: Economy car customers rent their car for between one and two days. Deluxe car customers rent their cars typically for two days plus or minus a half day. Since the time interval for economy car rentals is fairly evenly distributed, we can approximate the distribution as being Uniform. For deluxe car renters, a Normal distribution for the rental times is a good fit to the data, with a standard deviation of ½ a day.

We will use Extend’s Hierarchical blocks to minimize visual complexity. This will allow us to create models made up of submodels (logical groupings of Extend blocks). To do this, select all of the blocks except the Executive and Exit blocks and choose the Make Selection Hierarchical item on the Model menu.

A dialog will appear in which you can specify a name for the new super-block. Enter the name and click on Make H-Block to create the super-block.

You can double-click on the super-block to expand it into a new window and add a label.

Now, begin building the expanded model in place of the original Exit block, so that customers flowing out of the Rental Office submodel will enter the rental car lot of the simulated model. Delete the Exit block in the Extend model and add two new blocks: This block uses an Empirical Table to assign a 0 value (to signify an economy car rental) with probability.7 and a 1 value (deluxe car rental) with probability.3. This block splits the stream of customers to one of two output connectors based upon the value present at its Select connector. Input Random Number block Select DE Output block

To insert the Input Random Number block, go to Library – GENERIC.lix – Inputs/Outputs – Input Random Number.

Double-click on this icon to open the respective dialog. Choose Empirical Table as the Distribution. Specify the values which signify whether an economy or deluxe car is rented and the respective probabilities. Give the block a label.

To insert the Select DE Output block, go to Library – DE.lix – Routing – Select DE Output.

Double-click on this icon to open the respective dialog. The incoming customer is directed to the top (“a” connector) output if the random number at its Select connector is 0 and is directed to the bottom (“b” connector) output if the random number at its Select connector is 1.

A Resource Pool is a variable that indicates how many of a named constrained resource (e.g., Deluxe cars) are available. Connect the blocks accordingly: Now, introduce a Resource Pool block from the DE.lix library,

Double click on the Resource Pool block to open its dialog window. Initialize the resource pool of Deluxe Cars to 100, based on the weekly maximum demand for deluxe cars.

Insert a special form of a queuing block, a Queue, Resource Pool block (from DE.lix – Queues).

The item is then released and the count in the pool is decremented, thus in effect, a deluxe car is assigned to the customer. Note that the Resource Pool block is a globally accessible variable, tracking the number of deluxe cars on hand in this case, and has no drawn connections to other bocks. The Queue, Resource Pool block will hold items (deluxe car customers) until the specified number of Resource Pool units from the Deluxe Cars pool are available (one in this case).

Now that a deluxe customer has received a deluxe car, we must model the rental interval until it is returned. We will do this using the Activity, Multiple block and a new Input Random Number block. Specify a normal distribution with a mean of 2 days (2880 minutes) and standard dev. of.5 days (720 minutes).

The capacity of the Activity, Multiple block defaults to a large number, 1000, to assure that no items would be stopped from entering this block.

After the rental time random delay, the car is returned to the deluxe car pool to be available for re-renting by the Release Resource Pool block (from the DE.lix – Resources menu).

Now, model the economy car customers similar to the deluxe car customers. Add another Resource Pool block and set the initial capacity to 140.

Add another Queue, Resource Pool block to assign economy cars from the pool, if available.

Next, add an Activity, Multiple block, Input Random Number block and a Release Resource Pool block to return the economy car to its pool.

Finally, insert an Exit (4) block (from DE.lix – Routing menu) to allow both streams of customer types to exit the model.

To preserve customer goodwill, let’s implement a policy of upgrading an economy car to receive a deluxe car, if possible, in the event no economy cars are available. Open the Queue, Resource Pool block’s dialog window for the economy car. Specify Car Type under pool name: by clicking on the edit field and entering it in the resulting dialog.

Extend will start at the top of the Pool name list and attempt to assign a car from the Economy Car pool. If that pool is empty, it will go to the Deluxe Car pool and assign a deluxe car if available. Otherwise, it will hold the customer until one of either car type becomes available. During the simulation run, economy car customers assigned a car from one of the two pools will have the name of that pool carried with them as a Car Type attribute for later reference.

In the Release Resource Pool block, the returned rental car is credited to whatever pool name was used earlier and carried by the attribute Car Type. The Input Random Number block shows the random rental time (from 1440 to 2880 minutes) from a Uniform distribution, for an economy car customer.

Now, to complete the model, add Queue Stats (from STATS.lrx), Help (from GENERIC.lix - Inputs/Outputs) and Plotter, Discrete Event (from PLOTTER.lix) blocks. An Activity Stats block (from STATS.lrx) has been added to record statistics for the Activity delay blocks just as the Queue Stats block does for the Queue blocks.

After running the simulation (with initial resource pools of 140 economy cars and 100 deluxe cars), double click on the Plotter, Discrete Event block to view the graph below: This line represents the number of Economy cars being rented during the week. This line represents the number of Deluxe cars being rented during the week. This is the number of Economy Car customers arriving on the lot to find it empty of any car to rent. This is the number of Deluxe Car customers arriving on the lot to find it empty of deluxe cars.

The graph indicates (by the thick line traces) that the initial car pool sizes are grossly inadequate for customer demands. The Queue Stats and Activity Stats windows confirm this conclusion. For example, after 20 simulation runs, the 95% confidence interval for the average wait by a deluxe car customer was minutes.

In order to improve on the wait time in this model, we need to increase the pool size. Let’s experimentally increase each pool’s initial size by about 15%, increasing the Deluxe Cars pool to 115 and the Economy cars pool to 160 and the re-run the simulation.

This increase in pool size shows much improvement as illustrated by the average and maximum wait time.

In order to reduce the maximum wait time, change the initial resource pools to 170 Economy Cars and 125 Deluxe Cars and re-run the simulation. These results are even better. It seems though, that waiting times may be sensitive to small underestimates in the distributions’ parameter assumptions and that much more simulation analysis is needed.