This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: EE 465 : Homework 8 Solutions 1. Let the state be the idle server. The corresponding CTMC is shown in Figure 1. 1 2 3 2 1 3 2 1 3 Figure 1: The balance equations are ( 2 + 3 ) P 1 = 1 P 2 + 1 P 3 ( 1 + 3 ) P 1 = 2 P 2 + 2 P 3 P 1 + P 2 + P 3 = 1 P 1 = 1 2 + 3 ( P 2 + P 3 ) P 1 (1 + 2 + 3 1 ) = 1 P 1 = 1 1 + 2 + 3 and P 2 = 2 1 + 2 + 3 and P 3 = 3 1 + 2 + 3 2. This model is mathematically equivalent to the M/M/1 queue with finite capacity k . The pro duced items constitute the arrivals to the queue and the arriving customers constitute the service, i.e. if we take the state of the system to be the number of items presently available, then we just have the model of section 8.3.2. (a) The proportion of customers that go away emptyhanded is equal to P , the proportion of time there are no items on the shelves. From section 8.3.2, we have: P = 1 / 1 ( / ) k +1 (b) W = L a = L (1 P k ) Again, by using the results obtained in section 8.3.2, we have L = 1 + k ( / ) k +1 ( k + 1)( / ) k / (  )(1 ( / ) k +1 ) P k = ( / ) k (1 / ) 1 ( / ) k +1 Substituting these values in the equation for W , one gets the answer. (c) The average number of items in stock is L , given in part (b) (d) The state space is J such that n J k . The state is J,J 0, when there are J items in stock and no waiting customers; and it is J,J 0, when there are no items in stock and J waiting customers. The state transition diagram is shown in Figure 2.waiting customers....
View
Full
Document
This note was uploaded on 08/05/2009 for the course EE 465 taught by Professor Chow during the Fall '04 term at USC.
 Fall '04
 Chow

Click to edit the document details