
Select Departure Path Using Output Switch
5-7
This deterministic model creates one entity every second and attempts to advance the
entity to one of two servers. The two servers have different service times, both greater
than 1 second. The server with the longer service time becomes available less frequently
and has a smaller throughput. The FIFO Queue block stores entities while both servers
are busy. After any server becomes available, an entity in the queue advances to the
Output Switch, which outputs that entity to that server.
The Output Switch block also outputs a signal containing the index of the entity output
port through which the most recent entity departure occurred. The Signal Scope block
plots the values of this signal. You can see from the plot that, compared to the first
server, the second server processes more entities because its service time is shorter.
Kommentare zu diesen Handbüchern