MATLAB SIMEVENTS RELEASE NOTES Guia do Utilizador Página 96

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 114
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 95
5 Designing Paths for Entities
5-6
The topics listed below illustrate the use of the Output Switch block.
Topic Features of Example
“Select the First Available Server” on page
5-6
First port that is not blocked
switching criterion
“Use an Attribute to Select an Output Port”
on page 5-8
Attribute-based switching, where the
attribute value is random
“Model a Packet Switch” on page 5-16 Attribute-based switching in conjunction
with a Path Combiner block
“Queue Selection Using a Switch” online Switching according to a computation that
occurs upon entity arrivals
To learn about design considerations when you switch according to an input signal, see
“Use Signals To Route Entities” in the SimEvents user guide documentation. To learn
about all supported switching criteria, see the online reference page for the Output
Switch block.
Select the First Available Server
In this example, entities arriving at the Output Switch block depart through the first
entity output port that is not blocked, as long as at least one entity output port is not
blocked. An everyday example of this approach is a single queue of people waiting for
service by one of several bank tellers, cashiers, call center representatives, etc. Each
person in the queue wants to advance as soon as possible to the first available service
provider without preferring one over another.
You can implement this approach by setting the Switching criterion parameter in the
Output Switch block to First port that is not blocked.
Vista de página 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 113 114

Comentários a estes Manuais

Sem comentários