10 Chapter 6
10 Chapter 6
CHAPTER 6
6.1 INTRODUCTION
further processes like warping, sizing, pirnwinding and weaving which can be
considered as secondary job (vacation) are carried out by the operator. Upon
completion of secondary job, if the number of ring cops available in the queue
reaches atleast the minimum value „a‟, the operator starts service; otherwise,
the operator goes for multiple vacations.
α, β - probabilities that the arrivals are accepted during busy period and
vacation period respectively.
Z(t) = j, if the server is on jth vacation starting from the idle period.
To obtain the system equations, the following state probabilities are defined:
a ≤ i ≤ b, j ≥ 0 (6.1)
j ≥1, n ≥ 0 (6.2)
178
b
−
d
P (x) = − λ Pi,0 (x) + λ (1-α) Pi,0 (x) +
dx i,0
P (0)
m=a m ,i
s(x)
∞
+ 𝑙=1
Q 𝑙,i (0) s(x) ; a ≤ i ≤ b (6.3)
j
−
d
P (x) = −λ Pi,j (x) + λ (1-α) Pi,j (x) + α
dx i,j
Pi,j−k (x)λg k ;
k=1
a ≤ i ≤ b-1, j ≥ 1 (6.4)
j
−
d
P (x) = −λ Pb,j (x) + λ (1-α) Pb,j (x) + α
dx b,j
Pb,j−k (x)λg k
k=1
b ∞
+ Pm ,b+j (0) s(x) + Q 𝑙,b+j (0) s(x) ; j ≥ 1 (6.5)
m =a 𝑙=1
b
−
d
dx
Q1,0 (x) = −λQ1,0 (x) + λ (1-β) Q1,0 (x) + P (0)
m=a m ,0
v(x) (6.6)
b
−
d
dx
Q1,n (x) = −λQ1,n (x) + λ (1-β)Q1,n (x) + P (0)
m=a m ,n
v(x)
n
+β k=1
Q1,n−k (x) λg k ; 1≤ n ≤ a-1 (6.7)
−
d
dx
Q1,n (x) = −λ Q1,n (x) + λ (1-β) Q1,n (x)
n
+β k=1
Q1,n−k (x) λg k ; n ≥ a (6.8)
−
d
dx
Q j,0 (x) = −λ Q j,0 (x) + λ (1-β) Q j,0 (x) + Q j−1,0 (0) v(x) ; j ≥ 2 (6.9)
n
−
d
dx
Q j,n (x) = −λQ j,n (x) + λ (1-β) Q j,n (x) + β Q j,n−k (x) λg k
k=1
−
d
dx
Q j,n (x) = −λ Q j,n (x) + λ (1-β) Q j,n (x)
n
+β Q j,n−k (x) λg k ; n ≥ a, j ≥ 2 (6.11)
k=1
∞ ∞
Pi (z, θ) = j=0 Pi,j (θ) zj and Pi (z, 0) = j=0 Pi,j (0) zj , a ≤ i ≤ b
∞ ∞
Q j (z, θ) = n=0 Q j,n (θ) zn and Q j (z, 0) = n=0 Q j,n (0) zn , j ≥1 (6.12)
∞ ∞
where Pi,j (θ) = 0
e−θx Pi,j x dx and Q j,n (θ) = 0
e−θx Q j,n x dx are
Laplace - stieltjes transforms of Pi,j x and Q j,n x respectively.
b−1 ∞
Then, P(z) = i=a
Pi (z,0) + Pb (z,0) + 𝑙=1
Q 𝑙 (z,0). The
probability generating function is obtained as,
β bi=a
−1
c i z b −z i S α λ−λ X z −1 +
β S α λ−λ X z −1 +
V (β(λ−λ X(z)))−1 a −1 (c z n )
n =0 n
α z b −S α λ−λ X z
P(z) = (6.13)
αβ (λ X(z)−λ) z b − S (α (λ−λ X(z)))
b ∞
where m =a Pm ,i (0) = pi , l=1 Q l,i (0) = qi , and pi + qi = ci
180
ω n + nj=1 ω j b n −j
bn = , n=1,2,…a-1 and 𝜔𝑖 is the probability that „i‟ components
1−ω 0
b−1 b−1
i=a β ci b b − 1 −i i−1 𝑓1 𝑋, 𝑆 + i=a β ci b − i 𝑓2 𝑋, 𝑆
a−1 a−1
+ n=0 β cn 𝑓3 𝑋, 𝑆, 𝑉 − 𝑓4 𝑋, 𝑆, 𝑉 + n=0 α cn 𝑓5 𝑋, 𝑆, 𝑉 − 𝑓6 𝑋, 𝑆, 𝑉
E Q =
2αβλE X T1 2
where,
V2=βλE(V)X‟‟(1) + β2λ2E(V2)[E(X)]2,
f1 X, S = T1 S1 , f2 X, S = T1 S2 -α E(S)S3,
f3 X, S, V = T1 2i V1 S1 + S2 V1 + S1 V2 ,
f4 X, S, V = S3 S1 βE(V),
f5 X, S, V = T1 2i V1 T1 + b b − 1 V1 − V1 S2 + T1 V2 ,
f6 X, S, V = S3 T1 βE(V).
where E(X), E(S), E(S2), E(V), E(V2) are defined in numerical illustration.
Figure 6.1 Simulation modelling of the bulk queueing system with limited
number of admissions and multiple vacations
Flexscript code:
if (content(Queue) >=LowerLimit) {
if (content(Queue) >=UpperLimit) {
thesum.value = 0;
thelist[index][1] = UpperLimit;
inc(thesum, UpperLimit);
openinput(current);
else {
thesum.value = 0;
184
thelist[index][1] = content(Queue);
inc(thesum,content(Queue));
openinput(current);
/***popup:CloseOpenPorts*/
/** \nThe action will be performed if some condition is true (equal to 1).*/
if (condition) {
/** \nAction:
*//***tag:action*//**/closeinput/**list:closeinput~openinput~stopinput~
resumeinput~ closeoutput~openoutput~stopoutput~resumeoutput*/
185
(involved);
/***popup:SetLabel:hasitem=0*/
/**Set Label*/
involved.labels.assert(labelname).value = value;
Run
(Service)
Yes
Secondary job
(Vacation)
Batch size distribution of the arrival is geometric random variable with mean
2 (E(X)=2)
The simulated results are noted for run time: 108665.92 minutes or
75.46 days approx. The simulation process has not taken 75.46 days to run.
The operator can fix the running time and increase the running speed through
the run speed option available in the software where it doesn‟t take longer
time to produce the results. In order to obtain the steady state result, the run
time is fixed as 75 days approximately and validated through 5 replications.
It is possible to generate results within short period (few time units) through
simulation whereas it is tedious to obtain the results analytically.
simulation) also increases. Also, it is clear from the Figure that there is a
slight variation between theoretical and simulation values which is negligible.
Table 6.2 shows the effects of average components in the queue for
various arrival rates (λ) and service rates (μ). As the arrival rate increases, the
average component in the queue (both theoretical and simulation) increases
for all service rates. Also it can be noted that the queue length decreases on
increasing the service rate.
and processing time. When α value increases then the processing time as well
as average component increases.
o When the arrival rate (λ) of the components/ ring cops increases
o When the service rate (µ) of the server increases, the following
effects are seen:
191
server: the average staytime in the server decreases and idle time
of the server increases whereas the processing time decreases.
Figure 6.6 is plotted for the processing time against arrival rate (λ)
for various values of service rate (μ). It depicts that the processing time
increases when the arrival rate increases whereas it decreases when the
service rate increases.
It can also be noted that the threshold value doesn‟t affect the total
number of inputs and outputs of the queue (only slight variations), server,
193
exit1 and exit2. Figure 6.7 shows the effects of threshold value (a) of
components/ ring cops on processing and idle time of the server. The
processing time decreases and idle time increases when the threshold value
increases.
Table 6.2 Arrival rate (λ) and Service rate (µ) Vs Average components in
the queue
(For a=3, b=4, α=0.8, β=1.0, ξ=2.0)
Table 6.4 (a) Arrival rate and Service rate μ=2.5 Vs Performance metrics
(For a=3, b=4, α=0.8, β=1.0, ξ=2.0)
μ=2.5
Arrival Object
rate Average Average Idle Processing
components staytime time time
Source - - - -
Queue 1.627297 1.042316 - -
λ=1.0 Exit1 1.12877 - - -
Server 3.5 0.87523 61851.75 33977.82
Exit2 0.999973 - - -
Source - - - -
Queue 2.139571 1.186083 - -
λ=1.5 Exit1 1.121659 - - -
Server 3.5 0.861244 58025.928 40530.442
Exit2 0.999966 - - -
Source - - - -
Queue 2.903448 1.206744 - -
λ=2.0 Exit1 1.124346 - - -
Server 3.5 0.845487 47522.121 54418.152
Exit2 0.999985 - - -
195
Source - - - -
Queue 4.051664 1.354333 - -
λ=2.5 Exit1 1.127515 - - -
Server 3.5 0.83213 34624.877 64149.256
Exit2 0.999985 - - -
Source - - - -
Queue 6.279874 1.749873 - -
λ=3.0 Exit1 1.123529 - - -
Server 3.5 0.822204 28055.588 90756.224
Exit2 0.999979 - - -
Source-Arrival of components; Exit1-Number of components exit from the system due
to limited number of admissions; Exit2-Number of components exit from the system
after service completion; Nil value in a row represents Not Applicable/Null
196
Table 6.4 (b) Arrival rate and Service rate μ=3.5 Vs Performance metrics
(For a=3, b=4, α=0.8, β=1.0, ξ=2.0)
μ=3.5
Arrival
Object Average Average Idle Processing
rate
components staytime time time
Source - - - -
Queue 1.551313 0.685627 - -
λ=1.0 Exit1 1.135183 - - -
Server 3.5 0.64835 99382.554 17422.8549
Exit2 0.999934 - - -
Source - - - -
Queue 1.916659 0.812792 - -
λ=1.5 Exit1 1.126247 - - -
Server 3.5 0.639585 63673.868 26921.12624
Exit2 0.999977 - - -
Source - - - -
Queue 2.363245 0.908606 - -
λ=2.0 Exit1 1.126531 - - -
Server 3.5 0.628242 74127.818 46975.29605
Exit2 0.999982 - - -
Source - - - -
Queue 3.010476 0.977877 - -
λ=2.5 Exit1 1.123532 - - -
Server 3.5 0.619022 50727.045 46701.52979
Exit2 0.999987 - - -
Source - - - -
Queue 3.761477 1.018018 - -
λ=3.0 Exit1 1.1245 - - -
Server 3.5 0.609291 47142.111 61757.52634
Exit2 0.999981 - - -
Source-Arrival of components; Exit1-Number of components exit from the system due
to limited number of admissions; Exit2-Number of components exit from the system
after service completion; Nil value in a row represents Not Applicable/Null
197
components
Components
components
Processing
Staytime
Average
Average
Object
Time
Time
Idle
a
2 Source - - - - - 309846
Queue 1.88601 0.774156 - - 247967 247967
Exit1 1.124699 - - - 61879 -
Server 6.00 1.047884 38500.62 61933.4 247967 247967
Exit2 0.999983 - - - 247967 -
3 Source - - - - - 310402
Queue 2.11808 0.879221 - - 248287 248283
Exit1 1.126021 - - - 62115 -
Server 6.50 1.059764 49455.45 50774.12 248283 248283
Exit2 0.99997 - - - 248283 -
4 Source - - - - - 310039
Queue 2.481296 1.026926 - - 248123 248123
Exit1 1.122683 - - - 61916 -
Server 7.00 1.067107 57350.9 42893.31 248123 248123
Exit2 0.999978 - - - 248123 -
5 Source - - - - - 311513
Queue 2.927117 1.191185 - - 249408 249408
Exit1 1.12276 - - - 62105 -
Server 7.50 1.079088 62719.14 37664.77 249408 249408
Exit2 0.999977 - - - 249408 -
6 Source - - - - - 308942
Queue 3.343402 1.392999 - - 247261 247261
Exit1 1.125223 - - - 61681 -
Server 8.00 1.084975 67437.39 33119.57 247261 247261
Exit2 0.999957 - - - 247261 -
198
components
Components
components
Processing
Staytime
Average
Average
Object
Time
Time
Idle
a
7 Source - - - - - 309549
Queue 3.897214 1.603049 - - 247521 247521
Exit1 1.123338 - - - 62028 -
Server 8.50 1.087381 70911.3 29814.65 247521 247520
Exit2 0.999959 - - - 247520 -
8 Source - - - - - 310287
Queue 4.383268 1.826062 - - 248166 248159
Exit1 1.124918 - - - 62121 -
Server 9.00 1.093522 73235.16 27619.71 248159 248159
Exit2 0.999957 - - - 248159 -
9 Source - - - - - 309208
Queue 5.040098 2.105447 - - 247186 247178
Exit1 1.124461 - - - 62022 -
Server 9.50 1.088454 75312.85 25666.88 247178 247178
Exit2 0.999959 - - - 247178 -
10 Source - - - - - 309852
Queue 5.839133 2.410098 - - 247694 247690
Exit1 1.12432 - - - 62158 -
Server 10.00 1.087254 76329.81 24715.91 247690 247690
Exit2 0.999959 - - - 247690 -
Source-Arrival of components; Exit1-Number of components exit from the system due
to limited number of admissions; Exit2-Number of components exit from the system
after service completion; Input-Total input to the object at an arbitrary time; Output-
Total output from the object at an arbitrary time; Nil value in a row represents Not
Applicable/No value
199
8
µ=2.0
7
µ=2.5
6 µ=3.0
5 µ=3.5
Average components
1
1 1.5 2 2.5 3
Arrival rate (λ)
μ=3.5
100000
Processing Time (mins)
μ=2.5
80000
60000
40000
20000
0 μ=2.5
1 μ=3.5
1.5
2
2.5
Arrival rate (λ) 3
6.9 CONCLUSION