Example simulation execution The Able Bakers Carhops Problem There are situation where there are more than one service channel. Consider a drive-in restaurant.

Slides:



Advertisements
Similar presentations
Elasticity: Concept & Applications For Demand & Supply.
Advertisements

Mean, Proportion, CLT Bootstrap
6 | 1 Copyright © Cengage Learning. All rights reserved. Independent Demand Inventory Materials Management OPS 370.
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
Lab Assignment 1 COP 4600: Operating Systems Principles Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University of.
Stochastic Inventory Modeling
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
MANAGING INVENTORY IN THE FACE OF UNCERTAINTY The Newsvendor Problem MGT3501.
 1  Outline  terminating and non-terminating systems  analysis of terminating systems  generation of random numbers  simulation by Excel  a terminating.
Relevant Costs for Decision Making. Identifying Relevant Costs Costs that can be eliminated (in whole or in part) by choosing one alternative over another.
Engineering Economic Analysis Canadian Edition
Simulation of multiple server queuing systems
Nur Aini Masruroh Queuing Theory. Outlines IntroductionBirth-death processSingle server modelMulti server model.
Probability Distributions
Simulation with ArenaChapter 2 – Fundamental Simulation Concepts Discrete Event “Hand” Simulation of a GI/GI/1 Queue.
SIMULATION EXAMPLES. SELECTED SIMULATION EXAMPLES 4 Queuing systems (Dynamic System) 4 Inventory systems (Dynamic and Static) 4 Monte-Carlo simulation.
Simulating Single server queuing models. Consider the following sequence of activities that each customer undergoes: 1.Customer arrives 2.Customer waits.
OM&PM/Class 6b1 1Operations Strategy 2Process Analysis 3Lean Operations 4Supply Chain Management 5Capacity Management in Services –Class 6b: Capacity Analysis.
Simulation Examples Continued
Lecture 4 Mathematical and Statistical Models in Simulation.
 1  Outline  simulating GI/G/1 queues  M/M/1 queues  theoretical results of queueing systems  an inventory system  simulation program with an event.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Simulation Pertemuan 13 Matakuliah :K0442-Metode Kuantitatif
Introduction to Management Science
Supply.  The concept of supply is based on voluntary decisions made by producers.  Supply; the amount of a product that would be offered for sale.
Simulation Examples ~ By Hand ~ Using Excel
1 1 Slide © 2005 Thomson/South-Western Chapter 12, Part A Waiting Line Models n Structure of a Waiting Line System n Queuing Systems n Queuing System Input.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 27 Simulation.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Economics Chapter 5: Supply Economics Chapter 5: Supply Supply is the amount of a product that would be offered for sale at all possible prices in the.
MARKETING. Standards… BCS-BE-36: The student demonstrates understanding of the concept of marketing and its importance to business ownership. BCS-BE-36:
Entities and Objects The major components in a model are entities, entity types are implemented as Java classes The active entities have a life of their.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
Example 2.3 An Ordering Decision with Quantity Discounts.
شبیه سازی سیستمهای گسسته-پیشامد جری بنکس – جان کارسن ترجمه هاشم محلوجی.
Simulation Examples and General Principles
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
MATH 3033 based on Dekking et al. A Modern Introduction to Probability and Statistics Slides by Sean Hercus Instructor Longin Jan Latecki Ch. 6 Simulations.
MODELING EXAMPLES Types of model Conceptual Containing components that have not been clearly Identified in terms of theoretic categories such as state,
Chapter 2 Simulation Examples
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
Objectives Analyze costs and expenses to determine break even point Recognize consumer perceptions based on price Consider legal and ethical pricing issues.
Simulation. Inverse Functions Actually, we’ve already done this with the normal distribution.
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.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
1 1 Slide Chapter 12 Waiting Line Models n The Structure of a Waiting Line System n Queuing Systems n Queuing System Input Characteristics n Queuing System.
SIMULATION EXAMPLES. Monte-Carlo (Static) Simulation Estimating profit on a sale promotion Estimating profit on a sale promotion Estimating profit on.
Math 1320 Chapter 1: Linear Functions 1.2 Functions and Models.
EVOLUTION OF INDUSTRIAL ENGINEERING Prof. Dr. Orhan TORKUL Res. Asst. M. Raşit CESUR Res. Asst. Furkan YENER.
 Simulation enables the study of complex system.  Simulation is a good approach when analytic study of a system is not possible or very complex.  Informational,
MODELING AND SIMULATION CS 313 Simulation Examples 1.
Simulation Examples And General Principles Part 2
Introduction to Modeling & Simulation Dr. A. K. Dey Third Lecture
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Slide 1 Percent 7.
Simulation of single server queuing systems
Pricing Products: Understanding Customer Value & Pricing Strategies 10 Principles of Marketing.
© Thomson/South-Western ECONOMIC EDUCATION FOR CONSUMERS Slide 1 Consumer’s Role in the Economy Objectives: By the end of class, students will be able.
Chapter 2 Simulation Examples. Simulation steps using Simulation Table 1.Determine the characteristics of each of the inputs to the simulation (probability.
Modeling and Simulation
Simulation of Inventory Systems EXAMPLE 2: The Newspaper Seller's Problem A classical inventory problem concerns the purchase and sale of newspapers. The.
Simulation of Inventory Systems
Simulation Statistics
Discrete Event Simulation
Modeling and Simulation CS 313
More Explanation of an example in chapter4
DECISION MODELING WITH Prentice Hall Publishers and
COMP60611 Fundamentals of Parallel and Distributed Systems
Discrete Event “Hand” Simulation of a GI/GI/1 Queue
Presentation transcript:

Example simulation execution The Able Bakers Carhops Problem There are situation where there are more than one service channel. Consider a drive-in restaurant where carhops takes orders and bring food to the cars. Cars arrive in the manner shown in Table 3.0. There are 2 carhops- Abu and Bakar. Abu works faster and works better than Bakar. The distribution of their service is as shown in Table 3.1 and Table 3.2.

Example simulation execution The Abu Bakar Carhops Problem Because this system has two service servers, the simulation is more complex. Because Abu is a senior, in this case a simple rule is applied. When both of them (carhops) idle then Abu will get the customer. Please take note that this condition is specifically for this drive-in restaurant and can change according to situation or other applied rules

Arrival queue server1 Service node Departure Figure 3.0 Abu and Bakar Carhops node diagram server2

Arrival Event Server1 Busy ? Unit enters service Unit enters Queue for service Server2 Busy ? Figure 3.1 Arrival Event Yes No Yes

Departure Event Another Unit waiting ? Begin server idle time Remove the waiting unit from the queue Begin servicing the unit YesNo Figure 3.1 Departure Event for each service station

Service Time (minutes) ProbabilityCumulative Probability Random- Digit Assignment Table 3.1 Interarrival Distribution of cars

Service Time (minutes) ProbabilityCumulative Probability Random- Digit Assignment Table 3.2 Service Time Distribution for Abu

Service Time (minutes) ProbabilityCumulative Probability Random- Digit Assignment Table 3.3 Service Time Distribution for Bakar

1. Average waiting time ( minutes ) = total time customer wait in queue (minutes) total numbers of customers == 2. Probability (wait) = Number of customers who wait total numbers of customers ==

3. Probability of idle server = total idle time of server (minutes) total run time of simulation == 4. Average service time (minutes) for each Abu And Bakar = Total service time (minutes) total numbers of customers ==

5. Expected Service time ( minutes ) E(s) = ∞ Σ sp(s) S=0 6. Average time between arrivals (minutes) = Sum of all times between arrival (minutes) Number of arrivals - 1 = =

7. Average waiting time of those who wait ( minutes ) = total time customer wait in queue (minutes) total numbers of customers who wait == 8. Average time customer spends in the system = total time customer spend in system (minutes) total numbers of customers ==

Example simulation execution The newspaper Seller’s Problem: Concern on the purchase and sale of newspaper. The paper seller buys the newspaper for 33 cents each and sells them for 50 cents each. The newspaper not sold for the day will be sold as scrap for 5 cents each. Newspaper can be purchase in bundle of 10 and usually bought in bundle of 50,60 so on. Three type of newdays good, fair and poor with probabilities 0.35,0.45 and The distribution on demand is in Table 3.4. Try to simulate demands for 20 days and recording profits for each Day.

The newspaper Seller’s Problem Profit’s formula = (Revenue from sales) – (cost of newspapers) – (Lost of profit from excess demand) + (salvage from sale of scrap papers)

DemandGoodFairPoor Table 3.4 Distribution of newspaper demands

Type of newspaper day ProbabilityCumulative Probability Random- Digit Assignment Good Fair Poor Table 3.5 Random digits assignment for Type of Newsday

A simple model Let me go through a simple example that clarifies some concepts. Suppose we wish to procure some items for a special store promotion (call them pans). We can buy these pans for RM22 and sell them for RM35. If we have any pans left after the promotion we can sell them to a discounter for RM15. If we run out of special pans, we will sell normal pans, of which we have an unlimited supply, and which cost us RM32. We must buy the special pans in advance. How many pans should we purchase?

Clearly, the answer depends on the demand. We do not know the demand that the promotion will generate. We do have enough experience in this business to have some feel for the probabilities involved. Suppose the probabilities are:

We will attack this problem through simulation. In this model, we have captured uncertainty (demand) in a single random variable. To simulate a possible demand, we will determine a random value. This returns a value between 0 and 1 with a number of nice properties: no value is more likely to occur than another, and two successive values are not correlated.

Suppose I generate the random number.78. How can I generate a demand. Simply assign each demand to a range of values proportional to its probability and determine where the.78 occurs. One possibility is: Looking at the ranges, we see the demand is 11. The demand for.35 is 10 while that for.98 is 13.

How can we use this random demand? Suppose we have decided to procure 10 pans. We could determine the total profit for each of our random demands: the profit for the first is 133, for the second is 130, and 139 for the third. Our estimate for the profit if we order 10 is $134. We could then go on to check the profit if we order a different amount. For instance, if we order 13, our profit is estimated at $

At the end, we would have a guess at the best order quantity, and an estimate of the expected profit. We would not know for certain that we made the right move, but statistical analysis can estimate how far off we might be (by the way, to get statistical significance for this problem, you need roughly 20 runs at each demand level). Note also, for this problem there is an analytic solution.