The first question you will be asked is which times (interarrival times
and/or service times) now need to be randomly generated. Although priorities
now are involved, the logic used in answering this question is basically
the same as illustrated in the first simulation demo without priorities.
This logic is summarized below for whichever of the two kinds of events
have just occurred at the new Current Time. |
An Arrival Occurs (Either Type of Customer)
-
Always generate an interarrival time (for the same type of
customer). This is needed to determine when the next arrival of this type
will occur.
-
Generate a service time (for the same type of customer) only if
the customer immediately entered service upon arrival. This is needed to
determine when the next service completion for this server will occur.
|
A Service Completion Occurs
-
Never generate an interarrival time.
-
If a customer from the queue started service after the service completion,
then a service time for this customer needs to be generated. This
is needed to determine when the next service completion for this server
will occur.
|