Servers
Description

This block serves one entity for a period of time, and then attempts to output the entity through the OUT port. If the OUT port is blocked, then the entity stays in this block until the port becomes unblocked. If an entity in this block is scheduled to time out, then it might depart prematurely via the optional TO port. For an example that uses the TO port of a queue block in the same way, see Use Timeouts to Limit Entity Queueing Time (директория R2013a>SimEvents>Modeling>Entity Management>Timeout Modeling).
You specify the service time, which is the duration of service, via a parameter, attribute, or signal, depending on the Service time from parameter value. The block determines the service time for an entity upon its arrival. Service times are assumed to be specified in seconds.
| Note: If you specify the service time via an event-based signal, be sure that its updates occur before the entity arrives. For common problems and troubleshooting tips, see Unexpected Use of Old Value of Signal (директория R2013a>SimEvents>Troubleshooting in SimEvents>Common Problems in SimEvents Models).
|
The block permits preemption if you select Permit preemption based on attribute. In this case, an entity in the server can depart early via the P port. Preemption occurs only if attributes of the current entity and the entity attempting to arrive satisfy specified criteria. For details, see Preempt an Entity in a Server (директория R2013a>SimEvents>Modeling>Queuing).
When the block does not permit preemption, the IN port is unavailable whenever this block stores an entity. In this case, the IN port becomes available when the entity departs.
Ports