This model is very simple: there are two Poisson sources that send packets to a
FIFO queue. The queue has a limited buffer with size equal to 10. We use a
vector state variable with 10 positions to represent the buffer of the queue.
Each position of the buffer stores the id of the source which generates
the packet. When the service event triggers, the packet in the first position of
the queue is served and all other packets are shifted. The model is shown in
Figure .
It is important to note that with this kind of feature we are able to implement a service discipline which is a function of the type of packet in the queue.
The description of the objects is shown in Figures
and
Guilherme Dutra Gonzaga Jaime 2010-10-27