M/M/c Model in OpenSIMPLY
The blocks Generator, Queue, Selector and Server are required to describe the model of this system.
In this example, the Selector block is introduced to distribute entities.
In Delphi and Free Pascal, these blocks are represented by the TGenerator, TQueue, TSelector and TServer classes, respectively.
The Generator and Server blocks are described in the
M/M/1/1 model example,
the Queue block is described in the
M/M/1 queue model example.
In the model under consideration, the
Selector block is introduced.
Selector block
The Selector block distributes entities arriving at its input among the outputs (connection points) according to a specified
connection rule.
The block scans the connected outputs to find an idle one.
For example, the rule may be to find the first available idle block (FirstIdleConnection rule) or
to select one randomly among all idle blocks (RandomConnection rule).
The outputs are connected to the blocks.
In this example these are the Server blocks.
A block can be idle or busy.
If there are at least two idle blocks, the connection rule determines which output should be connected to the input to pass the entity.
Download executable model of the
M/M/c queue as an ideal call center.