Once again, let's consider a system with a buffer and a processor that are serially connected as shown in Figure 4.1. To avoid collisions of multiple inputs at the processor, the buffer stores inputs while the processor is busy working on previous inputs.
Depending on inter-arrival times of between inputs and
Processor
's processing time, the length of time an input
waits in Buffer
can vary widely. Thus the number of waiting
inputs (queue size) can be a random number.
Recall how we developed the probability that the current state
is equal to a state
in Section 4.1.3.
Let the current state
of Buffer
be defined as the
number of inputs currently waiting in buffer. Then the
probability that the number of waiting parts
is equal to
, where
is a suitably defined subset
of the natural numbers, over an observation time from 0 to
is
The mean or expected value of is defined by