Midterm for CpE/EE/PEP 345 Modeling and Simulation Stevens Institute of Technology Fall 2003

Similar documents
Chapter III TRANSPORTATION SYSTEM. Tewodros N.

INTRODUCTION AND CLASSIFICATION OF QUEUES 16.1 Introduction

Waiting Line Models. 4EK601 Operations Research. Jan Fábry, Veronika Skočdopolová

Assume only one reference librarian is working and M/M/1 Queuing model is used for Questions 1 to 7.

VARIABILITY PROFESSOR DAVID GILLEN (UNIVERSITY OF BRITISH COLUMBIA) & PROFESSOR BENNY MANTIN (UNIVERSITY OF WATERLOO)

COMPUTATIONAL ANALYSIS OF A MULTI-SERVER BULK ARRIVAL WITH TWO MODES SERVER BREAKDOWN

OPERATING SYSTEMS. Systems and Models. CS 3502 Spring Chapter 03

Textbook: pp Chapter 12: Waiting Lines and Queuing Theory Models

Business Process Management - Quantitative

LOAD SHARING IN HETEROGENEOUS DISTRIBUTED SYSTEMS

Queuing Theory 1.1 Introduction

Chapter 14. Waiting Lines and Queuing Theory Models

2WB05 Simulation Lecture 6: Process-interaction approach

Hamdy A. Taha, OPERATIONS RESEARCH, AN INTRODUCTION, 5 th edition, Maxwell Macmillan International, 1992

Chapter 13. Waiting Lines and Queuing Theory Models

Chapter 7A Waiting Line Management. OBJECTIVES Waiting Line Characteristics Suggestions for Managing Queues Examples (Models 1, 2, 3, and 4)

The Queueing Theory. Chulwon Kim. November 8, is a concept that has driven the establishments throughout our history in an orderly fashion.

An Optimal Service Ordering for a World Wide Web Server

Modeling and Performance Analysis with Discrete-Event Simulation

Global Journal of Advance Engineering Technology and Sciences

Simulation Examples. Prof. Dr. Mesut Güneş Ch. 2 Simulation Examples 2.1

Queuing Models. Queue. System

Prof. John W. Sutherland. March 20, Lecture #25. Service Processes & Systems Dept. of Mechanical Engineering - Engineering Mechanics

Chapter 8 Variability and Waiting Time Problems

PERFORMANCE EVALUATION OF DEPENDENT TWO-STAGE SERVICES

Queueing Theory and Waiting Lines

Queuing Theory. Carles Sitompul

Introduction - Simulation. Simulation of industrial processes and logistical systems - MION40

COMP9334 Capacity Planning for Computer Systems and Networks

QUEUING THEORY APPLICATION AT TICKET WINDOWS IN RAILWAY STATIONS (A STUDY OF THE LAGOS TERMINUS, IDDO, LAGOS STATE, NIGERIA)

BERTHING PROBLEM OF SHIPS IN CHITTAGONG PORT AND PROPOSAL FOR ITS SOLUTION

Queuing CEE 320. Anne Goodchild CEE 320

Queue time and x-factor characteristics for semiconductor manufacturing with small lot sizes

Queuing Theory: A Case Study to Improve the Quality Services of a Restaurant

Analysis of Process Models: Introduction, state space analysis and simulation in CPN Tools. prof.dr.ir. Wil van der Aalst

UNIVERSIDAD COOPERATIVA DE COLOMBIA Bucaramanga Facultad de Ciencias Administrativas y Económicas BUSINESS ADMINISTRATION

Use of Queuing Models in Health Care - PPT

System Analysis and Optimization

Simulating Queuing Models in SAS

REAL-TIME DELAY ESTIMATION IN CALL CENTERS

CS626 Data Analysis and Simulation

Banks, Carson, Nelson & Nicol

Queues (waiting lines)

Application of Mb/M/1 Bulk Arrival Queueing System to Evaluate Key-In System in Islamic University of Indonesia

Organisation Staffing Optimisation Using Deterministic Reneging Queuing Model

An-Najah National University Faculty of Engineering Industrial Engineering Department. System Dynamics. Instructor: Eng.

Slides 2: Simulation Examples

Managing Waiting Lines. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

Determining the Effectiveness of Specialized Bank Tellers

Efficiency of Dynamic Pricing in Priority-based Contents Delivery Networks

Test lasts for 120 minutes. You must stay for the entire 120 minute period.

Staffing of Time-Varying Queues To Achieve Time-Stable Performance

Managing Supply Uncertainty in the Poultry Supply Chain

Mathematical Modeling and Analysis of Finite Queueing System with Unreliable Single Server

Closed-book part (total time for parts I and II: 100 minutes) + 10 minutes for those with roll-over minutes from Test 1.

Performance during heaviest simultaneous UP and DOWN traffic

Queueing and Service Patterns in a University Teaching Hospital F.O. Ogunfiditimi and E.S. Oguntade

WAITING LINE MODELS Introduction

An Exercise In Process Modeling

9.7 Summary. 9.8 Training Cases. 394 Business Process Modeling, Simulation and Design

CSC 553 Operating Systems

Lab: Response Time Analysis using FpsCalc Course: Real-Time Systems Period: Autumn 2015

Uniprocessor Scheduling

Abstract. Introduction

Chapter C Waiting Lines

A Note on Convexity of the Expected Delay Cost in Single Server Queues

Queuing Model to Study the Need of Capacity Expansion at a Food Factory

Numerical investigation of tradeoffs in production-inventory control policies with advance demand information

CH-1. A simulation: is the imitation of the operation of a real-world process WHEN SIMULATION IS THE APPROPRIATE TOOL:

Lecture 6: Offered Load Analysis. IEOR 4615: Service Engineering Professor Whitt February 10, 2015

Motivating Examples of the Power of Analytical Modeling

APPLICABILITY OF INFORMATION TECHNOLOGIES IN PARKING AREA CAPACITY OPTIMIZATION

A Queuing Approach for Energy Supply in Manufacturing Facilities

Operator Scheduling Using Queuing Theory and Mathematical Programming Models

International Journal of Scientific & Engineering Research, Volume 8, Issue 1, January ISSN

Chapter 2 Simulation Examples. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

Pricing with Bandwidth Guarantees for Clients with multi-isp Connections

Harold s Hot Dog Stand Part I: Deterministic Process Flows

and type II customers arrive in batches of size k with probability d k

Examination. Telephone: Please make your calculations on Graph paper. Max points: 100

Robustness to Estimation Errors for Size-Aware Scheduling

Offered Load Analysis for Staffing: e-companion

Modeling Heterogeneous User. Churn and Local Resilience of Unstructured P2P Networks

Application of Queuing Theory to Libraries and Information Centres

INDIAN INSTITUTE OF MATERIALS MANAGEMENT Post Graduate Diploma in Materials Management PAPER 18 C OPERATIONS RESEARCH.

A Simple EOQ-like Solution to an Inventory System with Compound Poisson and Deterministic Demand

FINAL PROJECT AND MARKING SCHEME

Use of Monte Carlo Simulation for Analyzing Queues in a Financial Institution

Lift and Escalators: Lift Traffic Analysis

CS5239 Computer System Performance Evaluation

PERFORMANCE MODELING OF AUTOMATED MANUFACTURING SYSTEMS

An Approach to Predicting Passenger Operation Performance from Commuter System Performance

IEEE TRANSACTIONS ON HUMAN-MACHINE SYSTEMS 1. Fei Gao, Member, IEEE, MaryL.Cummings, Senior Member, IEEE, and Erin Treacy Solovey, Member, IEEE

Business Quantitative Analysis [QU1] Examination Blueprint

Word Count: 3792 words + 4 figure(s) + 4 table(s) = 5792 words

Gang Scheduling Performance on a Cluster of Non-Dedicated Workstations

The Math of Contact Center Staffing

WE consider the dynamic pickup and delivery problem

Module 7:Application of stochastic processes in queueing theory Lecture 30:Examples of application of stochastic processes in Queueing Theory

Population parameters, unlike RVs, are fixed, usually unknown, characteristics of the population.

Transcription:

Midterm for CpE/EE/PEP 345 Modeling and Simulation Stevens Institute of Technology Fall 003 The midterm is open book/open notes. Total value is 100 points (30% of course grade). All questions are equally weighted. Do any 10 of the 1 question. Do more than 10 for extra credit. Some question can be answered in more than one way. Only one answer is required, but extra credit will be given for identifying and explaining alternate answers. 1. The Hoboken Widget Manufacturing Company uses a 5 step process to manufacture widgets, each performed by a different employee. As it happens, the time to complete each step is independent with an exponentially distributed completion time with a mean 1/µ.. Therblig Associates is helping to refine the process and has assumed that the arrival process at the next stage, the testing stage, is a Poisson process. (a) is this assumption correct? (b) prove or disprove the assertion (c) would it make any difference if the entire manufacturing process were carried out by each employee who could complete the process with an exponentially distributed with a mean completion time of 5/µ? [ pts] The assumption is not correct. [5 pts] For the arrival process at the testing stage to be Poisson, the interarrival time would have to be exponentially distributed. Although the individual service times are exponentially distributed, the sum of exponential processes is not exponential. To show this, consider the mean and variance. The exponential with a mean of 1/ µ has variance 1/µ. The mean of the sum is the sum of the means, so the total mean time is 5/µ.. The variance of the sum is the sum of the variances, so the variance of the overall process in 5/µ. However, an exponential process has a variance that is the square of the mean. 5/µ is not the same as (5/ µ). [3 pts] If the 5 employees were working in parallel, each with an exponentially distributed completion time with a mean completion of 5/ µ, the arrival process at the testing station would be Poisson due to the fact that exponentially distributed service times create Poisson arrival processes and the pooling of Poisson processes is Poisson.. Observations of the taxi stand at the Hoboken train station show the following probability mass function. What is the expected number of taxis waiting? Taxis waiting Probability 0.0 1.10.10 3.15 4.30 5.15 6.10 7.05 8.01 9.01 10.01 The expected value (the mean value) is computed by the formula 10 i= 0 i p = 3.9 i

3. The Nawatam DMV office s customer service system is shown by the diagram below. Customers wait in the first queue to be served. A random subset of the customers (10%) are finished after being served by server 1. The rest wait in a second queue to be served by the second server before they can leave. Define an N-tuple that could be use to describe the system state and define the elements. Customer Population, N Random Queue 1 Svr 1 Queue Svr select % 10% [10 pts] This system s state could be defined by the 4-tuple (Q1, S1, Q, S), where Q1 is the number of customers waiting in queue 1, S1 is the state of server 1 (busy/idle), Q is the number of customers waiting in queue, and S is the state of server (busy/idle). The number of customers in the customer population is outside the system and does not enter the system state. Likewise, the random selection of customers to wait in queue or return to the customer population is not part of the system state. 4. A system has an exponentially distributed service time with an average service rate of 10 customers per hour. Customers arrive at the system from two exponentially distributed sources. The first generates an arrival rate of 5 customers per hour. The second could generate arrival rates of, 4, or 6 customers per hour. Find the expected waiting time in the system for each of the arrival rates. [3 points for arrival rates of (7) and 4(9). 4 points for the arrival rate of 6(11)]. First, observe that the exponentially distributed arrival rates can be added to get total arrival rates of 7, 9, and 11 customers per hour. Next, realize that for an arrival rate of 11/hour, the arrival rate exceeds the service rate, so the queue grows without bound and the expected waiting time is infinite. For the other two cases, the expression for the average waiting time is with µ=10 and λ=7, w=1/3. For µ=10 and λ=9, w=1. 1 w = µ λ

5. During a system simulation of a single server queuing system at t=10, the system is in the state (3,1), meaning that 3 customers are in the queue and the server is busy. If the next customer arrival is at t=15, fix the following FEL so that it correctly describes the system. (Depart, 1) (Depart, 16) (Depart, 14) [3 pts]first, the FEL is not in order. [4 pts]there are three departures scheduled, there should be 4 three for customers in the queue and 1 for the customer being served [3 pts]the arrival isn t scheduled. The FEL should look like this (assuming that a departure at t=18 is added to account for the 4 th customer in the system: (Depart, 1) (Depart, 14) (Arrive, 15) (Depart, 16) (Depart, 18) 6. What queueing notation would you use to describe the elevators at first floor in the Howe Center? Assume that the two elevators can carry 15 passengers each, users walk if there are more than 40 people waiting in the lobby, the Stevens staff, guest, and student population equal 5000, the number of resident students is 000, the elevator services 14 floors, and the elevators return to the lobby at completely random intervals. Make reasonable assumptions about any missing information and state your assumptions. [ points for each parameter] This is an M/G//40/5000 queue. We can assume exponential customer arrivals (M). The service time is random (G). There are two servers (elevators). Assume that the number of people who wait in the lobby is the capacity of the system, whether the system or the users enforce the capacity is unimportant the capacity is 40. Assume that the user population is the number of students, staff and guests, so the user population is 5000. The number of resident students, and the number of floors that the elevator stops on are irrelevant. Note: The elevator capacity could be used to describe the number of servers or the service times. I ll accept reasonable discussions about how to deal with the elevator capacity. This part of the problem was intentionally left open to see how you deal with non-obvious problems

7. Twenty percent of the time that Seymour Clearly arrives at the 8 th Street parking lot for his Monday class, he is able to get a parking space. What is the probability that he will not get parking spot more that 3 times during the 14-week semester? [10 pts] Consider this as a Bernoulli trial with a sample size of 14 and p=.. 3 14 x 14 x PX ( 3) = (.) (.8) x= 0 x where 14 14! = x x!(14 x)! =(.8) 14 /0! + (14)*(.)*(.8) 13 /1! + (14)(13)*(.) *(.8) 1 /! + (14)(13)(1)*(.) 3 *(.8) 11 /3! =.698 There was no data to make any statement about what happened on other days, so it would not be correct to use a sample size of 5*14, to account for all days of the week. 8. Busses arrive at the Hoboken terminal with exponentially distributed interarrival times, with an average of 8 busses arriving per hour. What is the probability that 1 busses will arrive between noon and 1:30 pm? If 6 busses arrived between noon and 1:00 pm, does this alter the probability? What if 10 busses arrived between 11 am and noon? [6 pts] Since the interarrival process is exponential, the number of busses arriving in a given interval is Poisson. We can calculate the probability directly from PNt [ () n] t n e λ ( λt) = = where n=1, λ=8 and t=1.5. In this case, the n! probability is.114. If we knew that a given number of busses arrived in a subinterval, we would have to compute the probability for the remainder of the interval in general, we would expect the probability to change. In this case, the problem becomes, what is the probability that 6 busses arrive with t=.5, and λ=8? This probability is.104 [ points for recognizing that the probability changes, 1 extra for computing value]. [ pts] Events outside the interval are independent, so arrivals between 11 and 1 don t matter.

9. The grade distribution on this midterm is hypothesized to have a triangular distribution which can be graphed as shown below. Find the expected value for the grades. What is the mode? P(x) 30 110 x [3 pts] First, find the peak value of P(x) to be able to describe the triangle. Realize that Pxdx ( ) = 1. The peak value, h, is 1/40. [3 pts] Next, express the equation for P(x): 0 x 30 ( x 30) 40 60 30 x Px ( ) = (110 x) x 110 40 0 0 x [1.5 pts] To find the mean value, calculate 30 110 40 60 40 0 x ( x 30) dx+ x (110 x) dx [1.5 pts] finding the value of the integral by whatever means: x 30x 110x x dx dx+ dx dx = 400 400 800 800 110 110 30 30 3 110 3 110 x 30x 110x x + 3400 400 800 3800 30 30 mean value = 76.66 [1 pt] the mode is the value of x with the highest probability:.

10. Given the same overall customer arrival rates and the same average server completion rates, would you expect better average customer waiting time in a pair of parallel M/M/1 queues or a single M/M/ queue? Why? [3 pts] Average customer waiting time is better is the M/M/ queue. [7 pts] In the parallel M/M/1 queues, the pair of single server queues can individually back up behind a single long service time customer, delaying all the customers waiting in that queue. With two servers attending to a single queue in the M/M/ case, the customers are less likely to be delayed, since there are two servers, and waiting customers are unlikely to encounter two long service time customers, both consuming server resources at the same time. [3 pts extra credit] I didn t ask for an analytical explanation, but here is one for extra credit: The average number of customers in the system for the two M/M/1 queues is calculated: If the total customer arrival rate is λ, each queue experiences an arrival rate of λ/. If every server has a service rate m, the average number of customers in λ / λ the system is L = = µ λ / µ λ For the M/M/c case, the queue still sees an overall arrival rate of λ. In this case, with 4µλ ( µ + λ) c=, the average number of customers in the system is: L = (this is µ λ derived by substituting the values for P 0 and ρ into the expression for L for an M/M/c queue, setting c to, and simplifying). Calculating the ratio of L(M/M/1) to L(M/M/), we find that the ratio of the two is λ µ λ µ + λ = 4µλ µ ( µ + λ) µ λ. Obviously, this ratio is always greater than 1. This means that there will always be more customers in the system for an M/M/ system than for an M/M/1 system, with the same arrival rate and server completion times.

11. Print jobs arrive at the Snevets Tech computer center with an exponential distribution having a mean interarrival time of 15 seconds. There are two printers connected to the print server and the print jobs are assigned randomly to the two printers. Both printers have average service times of 0 seconds, but one has a service time that is exponentially distributed, while the other has a service time that is uniformly distributed between 0.01 and 39.99 seconds. Which printer is likely to have the longest average waiting time? What is the average waiting time in the queue for the slower printer? [10 pts] Both printers have the same average service time, so the slower printer is the one with the larger average waiting time. By Little s formula ( LQ = λwq), the waiting time can be expressed in terms of the average number of customers in the system and the customer arrival rate, so the waiting time can be expressed in terms of the coefficient of variation for nonexponential distributions, or Both printers have the same average utilization, w Q ρ 1 + ( cv) L ( 1 ρ ) Q = =. λ λ λ 0 ρ = = =.66 (Note the µ 30 customer arrivals are equally distributed between the two printers, so each experiences an average interarrival time of 30 seconds.) The printer with the uniformly distributed service time has a service time variance of 133.33 seconds, while the printer with the exponentially distributed service time has a variance of 400 seconds, thus the exponential service time printer is the slower one. The waiting time in the queue for the exponential service time printer is ρ µ 1 ρ ( ) 40 seconds. [3 extra credit points] For the printer with uniformly distributed service time, the waiting time in the queue is a factor 1 + ( cv) smaller. In this case, the factor is.667, so the average waiting time in queue for the printer with a uniformly distributed service time is 6.67 seconds. 1. Ignoble Booksellers and Immobile Wireless are the only two stores in a local mall. Ignoble experiences an exponentially distributed customer arrival rate of 0 per hour, while Immobile experiences an exponentially distributed customer arrival rate of 10 per hour. The mall opened at 10 am today and by noon, 5 customers had visited Ignoble, while 40 had visited Immobile. Between noon and 1 pm, which store is expected to receive more customers? How many more? [10 pts]the arrival process is memoryless. The only data of relevance is the number of customers per hour. In the hour between noon and 1 pm, 0 customers are expected to visit Ignoble while 10 are expected to visit Immobile. The difference is 10. or