Selected Examples |
Another variant on batch arrivals has
batch size as a random variable.
A simple extension to the previous model
provides this alternative.
Figure 10.8: Batch Arrivals
Figure 10.8 shows two components added to the
model of Figure 10.7: a Modifier
labeled "capacity"
and a Trigger labeled "Set Capacity."
The capacity Modifier samples a uniform random variable
on the interval and sets it in the capacity attribute
on the transaction in the Arrival Process.
The Set Capacity Trigger then sets the capacity of the
Batch Source Sampler to that value.
Then, the Start Trigger starts the Batch Source
arrivals as before.
Compare the LinePlot labeled "Number in the Queue" in this model to the previous example. Here, in addition to the timing of the discrete jumps in queue length, the size of the discrete jumps in queue length is random.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.