Directory UMM :Data Elmu:jurnal:O:Operations Research Letters:Vol26.Issue3.Apr2000:
                                                                                Operations Research Letters 26 (2000) 137–147
www.elsevier.com/locate/orms
A correlated M= G= 1-type queue with randomized server repair
and maintenance modes
David Perrya , M.J.M. Posnerb; ∗
b Department
a Department of Statistics, The University of Haifa, Haifa, 31905, Israel
of Mechanical and Industrial Engineering, University of Toronto, 5 King’s College Road, Toronto, ONT,
Canada M5S 3G8
Received 1 June 1998; received in revised form 1 August 1999
Abstract
We consider a single machine, subject to breakdown, that produces items to inventory, continuously and uniformly.
While the machine is working (an ON period), there is a deterministic net
ow into the buer. There are also two dierent
types of OFF periods; one is a repair operation initiated after a breakdown, and the other is a preventive maintenance
operation. The length of an OFF period depends on the length of the preceding ON period. During OFF periods there
is a uniform out
ow from the inventory buer. The buer content process can then be described as a
uid model. The
main tool employed in determining its steady-state law exploits an equivalence relationship between the buer content
process and the virtual waiting time process of a special single-server queue in which the interarrival times and the service
requirements depend on each other. We present an appropriate cost function and provide an optimization scheme illustrated
c 2000 Elsevier Science B.V. All rights reserved.
by some numerical results.
Keywords: Production=inventory; Correlated
uid queues; Repair; Maintenance; On=o unreliable machine; Level
crossings
1. Introduction
In this paper, we study a special type of manufacturing problem incorporating machine reliability and
maintenance. Items are produced continuously and uniformly by a single machine that is subject to breakdown.
During a machine ON time there is a deterministic net
ow into the inventory buer at rate ¿ 0, where
is the production rate minus the demand rate. If a failure now occurs before some time a˜ has elapsed, then a
machine repair operation will start; this is an OFF time of type 1. However, if a failure does not occur before
time a,
˜ then the controller stops production to initiate a preventive maintenance (PM) action; this is an OFF
∗ Corresponding author. Fax: +1-416-978-3453.
E-mail address: [email protected] (M.J.M. Posner)
c 2000 Elsevier Science B.V. All rights reserved.
0167-6377/00/$ - see front matter
PII: S 0 1 6 7 - 6 3 7 7 ( 9 9 ) 0 0 0 6 7 - X
138
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
time of type 2. During an OFF time of either type 1 or type 2, there is a deterministic demand generating
a linear out
ow from the inventory buer at rate , whenever the buer level is positive. However, negative
inventory is not allowed, so that during OFF times there will be neither in
ow nor out
ow whenever the
system is empty.
In the context of such a model framework, we attempt to maximize the net revenue accumulation rate
with respect to the decision variable a,
˜ namely, how long we should permit the machine to operate before
initiating PM. The net revenue function will incorporate revenue from production, holding costs, penalty cost
for unsatised demands, and repair and maintenance costs. Each component is determined in accordance with
the steady-state distribution of the buer contents.
Our model can be interpreted either as a certain queueing model with dependence between an interarrival
time and the preceding service request, or as a
uid=production model with a two-state random environment.
The two models are directly related in the sense that the steady-state law of the buer contents in the
uid
interpretation can be expressed in terms of the workload in the queueing interpretation. As a stochastic model,
the
uid interpretation may be more natural than the queueing one; however, the queueing interpretation
enables us to locate the problem in the general setting of queueing models and to use well-established
tools and results from queueing theory for the solution. The analysis is based on the fact (cf. [13]) that the
conditional steady-state buer content distribution, given that it is positive, is independent of the in
ow rate .
Thus, by setting =∞, we generate a sample path in which the ON periods are deleted and are represented by
upward jumps, while the OFF periods are then glued together. The resulting process can be interpreted as the
workload process of a certain single-server queue in which customers arrive with a service request at a single
server. Service requests of successive customers are independent and identically distributed random variables
having a general distribution (corresponding to the general failure time distribution of the ON time). Upon
arrival, the service request is registered. If the service request is less than a = a,
˜ then, the next interarrival
time corresponds to an OFF period of type 1; otherwise, the service time becomes exactly equal to a (is cut
o at a), and the next interarrival time corresponds to an OFF time of type 2.
At rst glance it is not easy to see that the
uid production=inventory model and the queueing model are
equivalent (in the sense that they have the same conditional steady-state laws). Kella and Whitt [13] were
the rst to prove it for a generalized version of the GI=G=1 queue (in which the interarrival times and service
times are not necessarily independent); however, they did not focus on the equivalence between the queueing
system and the production=inventory model.
The
uid production=inventory model is perhaps better motivated from the operational modeling point of
view. However, the queueing interpretation, which is of independent interest due to the correlation feature,
is better motivated from the stochastic analysis point of view. This interdependence feature will lead to the
development of a new and original adaptation of level-crossing theory [8], which will augment the applications
already presented by Perry and Posner [16–18]. For related works in production and manufacturing using
uid
models see [14,15,7,21,19]. A detailed survey on replacement policies and preventive maintenance models can
be found in [1,20].
We are unaware of any studies that explore queueing systems with correlation between interarrival times and
preceding service times, as characterized in the present paper. However, there has been some work in which
there is correlation between an interarrival time and the following service time. For example, Conolly [4]
and Conolly and Hadidi [5] considered an M=M=1 queue in which the service time and the preceding interarrival time are linearly related; Conolly and Choo [6] extended this relationship to encompass a bivariate
exponential distribution, and expressed the waiting time density in a series of partial fraction terms. For
the same model, Hadidi [9] showed that the waiting times are hyperexponentially distributed, and later
[10] he examined the sensitivity of the waiting time distribution to the value of the correlation coecient.
Jacobs [11] obtained heavy trac results for the waiting time in queues with sequences of ARMA correlated,
negative-exponentially distributed interarrival and service times. Boxma and Combe [3] and Borst et al. [2],
respectively considered two variants of a single-server queue in which the service time of each customer
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
139
depends on the length of the preceding interarrival interval; here the dependence structure corresponds to a
situation where work arrives at a gate which is opened at exponentially distributed intervals.
The paper is organized as follows. In Section 2 we describe the dynamics of the production=inventory
model and develop the structure of the associated queueing model. In Section 3, we introduce the relationship
between the buer content process and the queueing process. In Section 4, we analyze the stationary law of
the queueing system. In Section 5 we present the cost function and provide an optimization scheme, leading
to some numerical results.
2. Model dynamics
Let {Z(t): t¿0} be the buer content level process. Then, the sample paths of Z(t) are continuous and
piecewise linear with Z(t)¿0. In order to derive the dynamics governing the evolution of Z(t) we rst dene
an articial net input contents process Y (t). The process Y (t) has the same properties as Z(t) except that
negative inventory is allowed; that is, during ON times the in
ow accumulates at rate ¿ 0 and during OFF
times the out
ow is released at rate ¿ 0.
We now introduce the following notation: Tn+1 = Tn + Un+1 + Dn+1 ; n¿0; T0 = 0, where Un and Dn are ON
times and OFF times, respectively. Here Tn is the onset time of the nth ON period. The process {Y (t): t¿0}
is then dened by Y (0) = 0, and
(
Tn 6t ¡ Tn + Un+1 ;
Y (Tn ) + (t − Tn );
Y (t) =
Y (Tn ) + · Un+1 − (t − Tn − Un+1 ); Tn + Un+1 6t ¡ Tn+1 :
Finally, the buer content process {Z(t): t¿0} is obtained by applying a re
ection map to the process Y (t),
so that Z(t) = Y (t) − min[0; inf 06s6t Y (s)] (refer to Fig. 1).
We now construct the process {V (t): t¿0} by deleting the ON times and then gluing together the OFF
−
times of the Z(t) process. Formally, we dene T˜ n+1 = T˜ n +Dn+1 ; n=0; 1; : : : ; with T˜ 0 =0, and Y˜ (t)= Y˜ (T˜ n )+
Un+1 − (t − T˜ n ); T˜ n 6t ¡ T˜ n+1 , with Y˜ (0) = 0. Then, V (t = Y˜ (t) − min[0; inf 06s6t Y˜ (s)].
Note that Un and Dn are the same for both Z(t) and V (t). However, unlike in Z(t), the sample paths
of V (t) are not continuous; V (t) is in fact a right-continuous jump process with left-hand limits. These are
depicted in Fig. 1, where it is clear that V (t) is a queueing model analogue of Z(t) in which the jump sizes
(services times) are bounded by a = a˜ · , and the subsequent exponential interarrival process (repair [with
mean 0−1 ] or preventive maintenance time [with mean 1−1 ]) is governed by whether or not the preceding
jump was less than a. Clearly, then, optimization with respect to a˜ or a are equivalent.
3. The relationship between Z(t) and V (t)
Assume that Z(t) is a regenerative process (so that V (t) is also a regenerative process), and dene BZ =
inf {t ¿ 0: Z(t) = 0} and BV = inf {t ¿ 0: V (t) = 0}. Here, BZ and BV are the busy periods (busy cycles minus
idle periods) associated with the processes Z(t) and V (t), respectively. Also, let B0 = BZ − BV . In words, BV
is the total amount of OFF time in a busy cycle during which the inventory level (buer content) is always
positive, and B0 is the total amount of ON time during that busy cycle. Let N be the number of ON times
during a cycle.
By the denition of the model, we have
Z NX
−1
1{Tn +Un+1 6t¡Tn+1 } dt
BV =
BZ n=0
140
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
Fig. 1. A typical sample function of Z(t) and corresponding realization of V (t).
and
B0 =
Z
N
−1
X
1{Tn 6t¡Tn +Un+1 } dt:
BZ n=0
Let FZ (x) = limt→∞ P(Z(t)6x) and FV (x) = limt→∞ P(V (t)6x), with Z = FZ (0) and V = FV (0). Then,
F˜ Z (x) = [FZ (x) − Z ]=[1 − Z ] and F˜ V (x) = [FV (x) − V ]=[1 − V ] are the steady-state conditional distributions
of Z(t) and V (t) given that the respective systems are not empty.
We now want to show that F˜ Z (x) = F˜ V (x) for all x ¿ 0. By renewal theory,
R
R
R
E BV 1{Z(t)6x} dt + E B0 1{Z(t)6x} dt
E BZ 1{Z(t)6x} dt
˜
F Z (x) =
(3.1)
=
EBZ
EBZ
and
F˜ V (x) =
E
R
BV
1{Z(t)6x} dt
EBV
;
(3.2)
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
141
since both Z(t) and V (t) decrease at the same rate . It follows by a simple geometric argument that, with
probability 1,
Z
Z
1{Z(t)6x} dt; x ¿ 0:
(3.3)
1{Z(t)6x} dt =
B0
BV
Setting x = ∞ in (3.3) we thereby obtain B0 = (=)BV , and, since B0 = BZ − BV , it follows that
EBZ = 1 +
EBV :
(3.4)
Substituting (3.3) and (3.4) into (3.1) we see that the right-hand side of (3.1) is the same as the right-hand
side of (3.2). Thus, F˜ Z (x) = F˜ V (x) (even if the interarrival times and the service times associated with the
virtual waiting time process, V (t), are not independent). This equality relation was also obtained by Kella
and Whitt [13] and later generalized by Kaspi et al. [12], but using a dierent approach.
4. The stationary law of Z(t) and V (t)
Let G˜ be the distribution of the ON time of a machine in the
uid production–inventory model, and let G
be the distribution of the service requirement in the associated queueing model. Then, it is straightforward to
˜
˜ a)
see that G(x=)
= G(x); and in particular, 1 − G(
˜ = 1 − G(a) is the probability that the machine ON time
[service requirement] is truncated at a[a].
˜
The only situation for which explicit formulas can be obtained is the case where both repair times and
preventive maintenance times are exponential. In this case, the associated queueing system is a special version
of a single-server queue with Markovian arrivals. We therefore assume that the repair time is exponentially
distributed (0 ) and preventive maintenance is exponentially distributed (1 ). Then, the associated queueing
system has the following properties. The service requirement has distribution G, and each arriving customer
species his service requirement at his moment of arrival. If this service requirement is less than a, then the
next interarrival time is exponentially distributed (0 ). Otherwise, if his service requirement is at least a, then
it is truncated to a, and the next interarrival time is exponentially distributed (1 ). The T˜ n ’s are the arrival
times of customers in that queueing system. If for some n; T˜ n+1 − T˜ n is exponentially distributed (0 ), then,
for all T˜ n 6t ¡ T˜ n+1 , we say that the status of the system at time t is {0}. Alternatively, if T˜ n+1 − T˜ n is
exponentially distributed (1 ), then, for all T˜ n 6t ¡ T˜ n+1 , we say that the status at time t is {1}. We can
then dene the status process at time t by
(
1 if the status is {1} at time t;
J (t) =
0 if the status is {0} at time t:
Note that the interarrival times in that queueing system are independent but they are not identically distributed.
Also, the service requirements are i.i.d.; however, an interarrival time depends on the preceding service
requirement.
We now apply level-crossing theory to compute the stationary density of V (t). We rst observe that the
two-dimensional process {V (t); J (t): t¿0} is a Markov process in which the state space of V (t) is continuous
on [0; ∞) and J (t) is either 0 or 1. Furthermore, we assume that conditions for stationarity prevail, so that
the limiting distributions of V (t); J (t) and Z(t) are given, respectively, by those of V; J , and Z.
In order to compute the law of the Markov process {V (t); J (t)} in steady state, we separate it according
to the status process J (t). Then, we construct the Volterra integrals according to its generator. In our previous works a theoretical perspective was emphasized; in this study we focus more on the intuitive aspect.
Accordingly, we partition the Borel -eld of the state space for each 06x ¡ ∞ into four types of disjoint
subsets: Ex {0} = {[0; x); {0}}; E x {0} = {[x; ∞); {0}}; Ex {1} = {[0; x); {1}}, and E x {1} = {[x; ∞); {1}}. The
142
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
generator (or the innitesimal transition rate) of the Markov process {V (t); J (t)} asserts simply that Ex {0}
can be reached (in a small interval of time) only from E x {0} ∪ Ex {1}. By level-crossing theory, the transition
rate of E x {0} → Ex {0} is the improper density f0 (x) which is the long-run average number of downcrossings
of level x per unit time by V (t), while the status of the system is {0}. Also, to analyze the transition rate of
Ex {1} → Ex {0}, we distinguish between two cases:
Rx
(i) x6a. As with the Pollaczek–Khintchine formula, the transition rate is 1 0 G(x − !) dF1 (!), where, by
PASTA [22], F1 (!) is the improper steady-state distribution of V when the status of the system is {1}.
Rx
R x−a
(ii) x ¿ a. The transition rate is 1 0 G(a) dF1 (!) + 1 x−a G(x − !) dF1 (!).
Similarly, to leave the set Ex {0} we distinguish between the same two cases:
Rx
(i) x6a. The transition rate is 0 0 [1 − G(x − !)] dF0 (!), where F0 (!) is the improper steady-state distribution of V when the status of the system is {0}.
R x−a
Rx
(ii) x ¿ a. The transition rate is 0 0 [1 − G(a)] dF0 (!) + 0 x−a [1 − G(x − !)] dF0 (!).
In an analogous manner, if x6a; ExR{1} can be reached from E x {1} with transition rate f1 (x); as well, the tranx
sition rate of Ex {1} → E x {1} is 1 0 dF1 (!). If x ¿ a; Ex {1} can be reached from E x {1} ∪ Ex {0} with tranR x−a
R x−a
sition rate f1 (x)+0 0 [1−G(a)] dF0 (!). Finally, the transition rate out of Ex {1} is 1 0 G(a) dF1 (!)+
Rx
1 x−a dF1 (!).
To summarize the above discussion, we now present the resulting Volterra integrals obtained by this
level-crossing analysis:
Z x
Z x
f0 (x) + 1
[1 − G(x − !)] dF0 (!); x6a;
(4.1)
G(x − !) dF1 (!) = 0
0
0
f0 (x) + 1
Z
x−a
G(a) dF1 (!) + 1
0
=0
Z
Z
G(x − !) dF1 (!)
x−a
x−a
[1 − G(a)] dF0 (!) + 0
0
f1 (x) = 1
x
Z
x
[1 − G(x − !)] dF0 (!);
(4.2)
x ¿ a:
x−a
Z
x
Z
x−a
dF1 (!);
(4.3)
x6a;
0
f1 (x) + 0
0
[1 − G(a)] dF0 (!) = 1
Z
0
x−a
G(a) dF1 (!) + 1
Z
x
dF1 (!);
x ¿ a:
(4.4)
x−a
Associated boundary equations are fi (0) = i fi ; i = 0; 1, where fi = Fi (0), and the normalizing condition
is F0 + F1 = 1, where
R a Fi ≡ Fi (∞). Observe that with this terminology a necessary and sucient condition
for stationarity is [ 0 [1 − G(x)] d x]−1 ¿ 0 F0 + 1 F1 .
The set of Eqs. (4.1) – (4.4) together with the boundary equations and normalizing condition provide the
unique solution for the stationary law of V (t). However, for any choice of G(·), even exponential, the structure
of the solution is exceedingly complex, and consequently, of limited utility. Accordingly, we construct a numerical computational approach in the appendix which is applicable for all (feasible) choices of G(·); (refer to
Fig. 2 for a typical realization of f for exponential G(·)) the resulting solution will then be employed in the
next section in the formulation of a cost function to be optimized with respect to the decision variable a.
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
143
Fig. 2. A typical density for Z for the case: −1 = 2; a = 0:41; 0−1 = 1; 1−1 = 0:5.
5. Cost function and optimization
From the numerical solution carried out in the appendix, various functionals can be determined which bear
directly on the construction of a cost function to be investigated in this section. The main functionals required
are Z ≡ Pr(Z = 0); V ≡ Pr(V = 0); EV and EZ. To obtain these, we must compute the various busy and
idle periods for Z and V as BZ ; IZ , and BV ; IV , respectively.
We rst note that
EIZ
(5.1)
Z =
EBZ + EIZ
and
EIV
V =
;
(5.2)
EBV + EIV
in which it is clear that
EIZ = EIV :
(5.3)
By renewal theory, the expected length of an idle period in V is determined by
EIV =
f1 (0)
f0 + f 1
f0 (0)
1
1
+
=
;
f0 (0) + f1 (0) 0
f0 (0) + f1 (0) 1
0 f0 + 1 f1
(5.4)
using fi (0) = i fi ; i = 0; 1, where, invoking level-crossing theory, the ratio fi (0)=[f0 (0) + f1 (0)] is the
probability that an idle period of type i is initiated, and 1=i is the corresponding length of this idle period.
Furthermore, since a mean cycle time is given by 1=[f0 (0) + f1 (0)] = 1=[0 f0 + 1 f1 ], it follows that
EBV =
1 − f0 − f1
;
0 f0 + 1 f1
(5.5)
144
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
Table 1
Optimal values a? for parameter set: = 20; = 100; h = 0:1; RPR = 1; KSH = 1:5; KDT = 5; KF = 75
Case 1: 0−1 = 0:6; 1−1 = 1
Case 2: 0−1 = 1; 1−1 = 0:5
−1
a?
R(a? )
−1
e
z
−1
a?
R(a? )
−1
e
z
0.25
0.50
0.75
1.00
1.50
2.00
2.50
3.00
3.50
0.22
0.39
0.51
0.59
0.67
0.70
0.72
0.72
0.73
−55:12
−5:16
19:15
33:25
48:00
55:00
58:79
61:06
62:54
0.17
0.31
0.43
0.51
0.61
0.66
0.69
0.70
0.71
0.23
0.40
0.53
0.61
0.69
0.71
0.73
0.73
0.74
0.35
0.19
0.13
0.10
0.07
0.06
0.06
0.06
0.06
0.25
0.50
0.75
1.00
1.50
2.00
2.50
3.00
3.50
0.13
0.25
0.33
0.37
0.41
0.41
0.41
0.41
0.41
−51:29
0:00
25:99
41:30
57:21
64:35
67:99
70:05
71:31
0.11
0.22
0.30
0.35
0.39
0.40
0.40
0.41
0.41
0.18
0.35
0.49
0.59
0.71
0.75
0.77
0.79
0.79
0.41
0.23
0.14
0.10
0.06
0.05
0.04
0.04
0.04
Case 3: 0−1 = 1; 1−1 = 2
Case 4: 0−1 = 2; 1−1 = 1
−1
a?
R(a? )
−1
e
z
−1
a?
R(a? )
−1
e
z
0.50
1.00
1.50
2.00
2.50
3.00
3.50
0.78
1.06
1.18
1.22
1.27
1.29
1.30
−19:65
19:47
34:62
42:09
46:22
48:82
50:56
0.44
0.75
0.94
1.05
1.13
1.18
1.22
0.37
0.55
0.61
0.63
0.66
0.66
0.67
0.22
0.12
0.10
0.09
0.08
0.08
0.08
0.50
1.00
1.50
2.00
2.50
3.00
3.50
0.47
0.72
0.79
0.80
0.79
0.78
0.77
−32:90
15:88
37:11
47:88
53:87
57:49
59:83
0.35
0.59
0.70
0.74
0.75
0.75
0.75
0.22
0.42
0.55
0.62
0.66
0.69
0.70
0.36
0.19
0.12
0.09
0.08
0.07
0.07
using (5.4). Also,
Z =
1+
f0 + f1
[1 − f0 −
f1 ]
(5.6)
and V = f0 + f1 are easily conrmed.
Because of the demonstrated equivalence between F˜ Z and F˜ V , we have fZ (x)=[1 − Z ] = fV (x)=[1 −
V (x)]; x ¿ 0, whence fZ (x)=fV (x) = [1 + =]={1 + =[1 − f0 − f1 ]}EZ=EV .
The optimization with respect to a will be carried out for a net expected revenue accumulation rate which
includes the following functional components:
(i) Production revenue: Production yields revenue of RPR per unit produced. The production rate is + ,
and the portion of time that the system is ON is given by the ratio of ON time (EB0 ) to cycle time
(EBZ + EIZ ). Since EB0 = EBZ − EBV , then using (3.4) and (5.3), we have the net production revenue rate
as RPR ( + )(=)(1 − f0 − f1 )=[1 + (=)(1 − f0 − f1 )].
(ii) Linear holding cost: The holding cost rate is hEZ, where h is holding cost per unit time per item held
in inventory.
(iii) Shortage cost: A cost of KSH is imposed for each demand arising during stockout. The corresponding
cost rate is KSH Z = KSH (f0 + f1 )=[1 + (=)(1 − f0 − f1 )].
(iv) Repair and PM costs: A down machine incurs an ongoing cost of KDT per unit time for repair and
maintenance, while a breakdown incurs an additional cost of KF . The number of failures per unit time is 0 F0
and the portion of time the system is OFF is given by the ratio of OFF time (EBV + EIV ) to cycle time
(EBZ +EIZ ). As in (i) above, the net repair and PM cost rate is given by KF 0 F0 +KDT =[1+(=)(1−f0 −f1 )].
The maximization of the net revenue is practically implemented via a grid search over values of a, in which
the required model values are obtained from the numerical procedure of the appendix. A number of sample
145
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
problems were considered, with the results, and optimal values a? Rof a, summarized in Table 1. In the table,
a
−1
= 0 [1−G(t)] dt, for G exponential (), and
the mean eective operating time of the machine is given by e
= (0 F0 + 1 F1 )=e is the analogue of the utilization factor for the associated queueing model. Re
ection
upon the results presented illustrates sensitivity with respect to changes in mean repair time (Cases 1 and
4) or mean PM time (Cases 2 and 3) as the mean time to failure, −1 , varies. Of course, as −1 increases
beyond a? , the model stabilizes in the sense that well beyond a? we expect PM almost exclusively.
Acknowledgements
We wish to thank O.J. Boxma for his careful reading of the manuscript and for providing useful comments
and suggestions. Also, the nancial support of the Natural Sciences and Engineering Research Council of
Canada under grant OGP0004374 is gratefully appreciated.
Appendix Numerical solution
Dene densities fi (x) ≡ fir (r = 0; 1; : : : ; ), where fir ≡ fi (r), in which is chosen so that a = N,
with N arbitrary, but large. In addition, Gr ≡ G(r) with G r = 1 − Gr and fi (i = 0; 1) are the zero-level
probability masses (system idleness). Rewriting the main equations (4.1) – (4.4) gives
f0n + 1
n−1
X
Gn−r f1r + 1 Gn f1 − 0
n−N
X
f1r GN + 1 GN f1 + 1
n−N
X
f0r − 0 G N f0 − 0
n−1
X
Gn−r f1r
n
X
n
X
G n−r f0r = 0;
(A.2)
n¿N;
n−N
0
f1n − 1
(A.1)
n ¡ N;
r=n−N
r=0
−0 G N
G n−r f0r − 0 G n f0 = 0;
0
r=0
f0n + 1
n
X
f1r − 1 f1 = 0;
(A.3)
n6N;
0
f1n + 0 G N
n−N
X
f0r + 0 G N f0 − 1 GN
0
n−N
X
0
f1r − 1 GN f1 − 1
n
X
f1r = 0;
n¿N
(A.4)
r=n−N
and fi0 = i fi , i = 0; 1. Finally, another relation between F0 and F1 can be found from F0 + F1 = 1. We
observe, for example, that the rate of generating transitions out of preventive maintenance (PM) is balanced
leading to
by the entry rate into PM. Thus, 1 F1 G(a) = 0 F0 G(a),
F1 =
0 G(a)
;
1 G(a) + 0 G(a)
(A.5)
and, using normality,
F 0 = 1 − F1 =
1 G(a)
:
1 G(a) + 0 G(a)
(A.6)
146
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
From (A.1) and (A.2), for n = 1; 2; : : : ; N , we can write the recursions
(
)
n−1
n−1
X
X
1
f0n =
0
G n−r − 1 Gn f1 − 1
Gn−r f1r + 0 G n f0 ;
1 − 0
0
1
f1n =
1 − 1
(
1
n−1
X
f1r + 1 f1
0
Dene the column vectors gn = [f0n
the vector recursive equation,
n−1
X
gn =
(A.7)
0
An−r gr + An g;
)
(A.8)
:
f1n ]′ and g = [f0
f1 ]′ . Then, (A.7) and (A.8) can be restructured as
n = 1; 2; : : : ; N
(A.9)
r=0
with
g0 =
"
0 0
0 1
#
g
and
0 G k
−1 Gk
 1 − 0 1 − 0
Ak = 
1
0
1 − 1
:
The same procedure can also be applied to Eqs. (A.3) and (A.4), leading to the vector recursion,
gn = A0
n−N
X
gr +
n−1
X
An−r gr + A0 g;
n = N + 1; N + 2; : : : ;
(A.10)
r=n−N
r=0
in which
A0 = 
0 G N −1 GN
1 − 0 1 − 0
−0 G N 1 GN
1 − 1 1 − 1
:
Now, dene matrices Hn ; n = 0; 1; 2; : : : ; such that gn = Hn g.
By making this substitution in (A.9) and
(A.10), we can nd these matrices from the resulting matrix recursions:
 n−1
X
An−r Hr + An ;
n = 1; 2; : : : ; N;
 r=0
Hn =
n−N
n−1
X
 0X
A
H
+
An−r Hr + A0 ; n = N + 1; N + 2; : : : ;
r
r=0
in which
H0 =
"
0 0
0 1
#
:
r=n−N
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
147
By numerical integration, we have the total probabilities of the system being in status 0 and 1 given by
" #
∞
X
F0
gr =
;
g +
F1
r=0
where F0 and F1 are given in (A.5) and (A.6). Using gr = Hr g,
this converts into the unique solution for g
as
#−1 " #
"
∞
X
F0
Hr
:
g = I +
F1
r=0
With g known, all gr are now determined, and hence the entire distribution is specied.
References
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]
[21]
[22]
F. Beichelt, A unifying treatment of replacement policies with minimal repair, Naval Res. Logist. 40 (1993) 51–67.
S.C. Borst, O.J. Boxma, M.B. Combe, An M=G=1 queue with customer collection, Stochast. Models 9 (1993) 341–371.
O.J. Boxma, M.B. Combe, The correlated M=G=1 queue, AEU 47 (1993) pp. 330 –335.
B.W. Conolly, The waiting time for a certain correlated queue, Oper. Res. 15 (1968) 1006–1015.
B.W. Conolly, N. Hadidi, A correlated queue, J. Appl. Probab. 6 (1969) 122–136.
B.W. Conolly, Q.H. Choo, The waiting time process for a generalized correlated queue with exponential demand and service, SIAM
J. Appl. Math. 37 (1979) 263–275.
A.G. De-Kok, H.C. Tijms, F.A. Van der Duyn Schouten, Approximations for the single product production inventory problem with
compound Poisson demand and service level constraints, Adv. Appl. Probab. 16 (1984) 378–401.
B.T. Doshi, Level crossing analysis of queues, in: U.N. Bhat, I.V. Basawa (Eds.), Queueing and Related Models, Clarendon Press,
Oxford (1992) pp. 3–33.
N. Hadidi, Queues with partial correlation, SIAM J. Appl. Math. 40 (1981) 467–475.
N. Hadidi, Further results on queues with partial correlation, Oper. Res. 33 (1985) 203–209.
P.A. Jacobs, Heavy trac results for single server queues with dependent (EARMA) service and interarrival times, Adv. Appl.
Probab. 12 (1980) 517–529.
H. Kaspi, O. Kella, D. Perry, Dam processes with state dependent batch sizes and intermittent production process with state dependent
rates, Questa 24 (1– 4) (1996) 37–57.
O. Kella, W. Whitt, A storage model with a two-state random environment, Oper. Res. 40 (1992) S257–S262.
R.R. Meyer, M.H. Rothkopf, S.A. Smith, Reliability and inventory in a production–storage system, Management Sci. 25 (1979)
799–807.
R.R. Meyer, M.H. Rothkopf, S.A. Smith, Erratum to reliability and inventory in a production–storage system, Management Sci. 29
(1983) 1346.
D. Perry, M.J.M. Posner, Control of production=inventory systems with various production rates, Stochast. Models 6 (1990) 99–117.
D. Perry, M.J.M. Posner, Determining the control limit policy in a replacement model with linear restoration, Oper. Res. Lett. 10
(1991) 335–341.
D. Perry, M.J.M. Posner, An (S − 1; S) inventory system with xed shelf life and constant leadtime, Oper. Res. 46 (1998) S65–S71.
W. Stadje, Level-crossing properties of the risk process, Math. Oper. Res. 23 (1998) 576–584.
C. Valdez-Flores, R.M. Feldman, A survey of preventive maintenance models for stochastically deteriorating single-unit systems,
Naval Res. Logist. 36 (1989) 419–446.
S.G. Vanneste, F.A. Van der Duyn Schouten, Maintenance optimization of a production system with buer capacity, European J.
Oper. Res. 82 (1995) 323–338.
R.W. Wol, Stochastic Modeling and the Theory of Queues, Prentice-Hall, Englewood Clis, NJ, 1989.
                                            
                www.elsevier.com/locate/orms
A correlated M= G= 1-type queue with randomized server repair
and maintenance modes
David Perrya , M.J.M. Posnerb; ∗
b Department
a Department of Statistics, The University of Haifa, Haifa, 31905, Israel
of Mechanical and Industrial Engineering, University of Toronto, 5 King’s College Road, Toronto, ONT,
Canada M5S 3G8
Received 1 June 1998; received in revised form 1 August 1999
Abstract
We consider a single machine, subject to breakdown, that produces items to inventory, continuously and uniformly.
While the machine is working (an ON period), there is a deterministic net
ow into the buer. There are also two dierent
types of OFF periods; one is a repair operation initiated after a breakdown, and the other is a preventive maintenance
operation. The length of an OFF period depends on the length of the preceding ON period. During OFF periods there
is a uniform out
ow from the inventory buer. The buer content process can then be described as a
uid model. The
main tool employed in determining its steady-state law exploits an equivalence relationship between the buer content
process and the virtual waiting time process of a special single-server queue in which the interarrival times and the service
requirements depend on each other. We present an appropriate cost function and provide an optimization scheme illustrated
c 2000 Elsevier Science B.V. All rights reserved.
by some numerical results.
Keywords: Production=inventory; Correlated
uid queues; Repair; Maintenance; On=o unreliable machine; Level
crossings
1. Introduction
In this paper, we study a special type of manufacturing problem incorporating machine reliability and
maintenance. Items are produced continuously and uniformly by a single machine that is subject to breakdown.
During a machine ON time there is a deterministic net
ow into the inventory buer at rate ¿ 0, where
is the production rate minus the demand rate. If a failure now occurs before some time a˜ has elapsed, then a
machine repair operation will start; this is an OFF time of type 1. However, if a failure does not occur before
time a,
˜ then the controller stops production to initiate a preventive maintenance (PM) action; this is an OFF
∗ Corresponding author. Fax: +1-416-978-3453.
E-mail address: [email protected] (M.J.M. Posner)
c 2000 Elsevier Science B.V. All rights reserved.
0167-6377/00/$ - see front matter
PII: S 0 1 6 7 - 6 3 7 7 ( 9 9 ) 0 0 0 6 7 - X
138
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
time of type 2. During an OFF time of either type 1 or type 2, there is a deterministic demand generating
a linear out
ow from the inventory buer at rate , whenever the buer level is positive. However, negative
inventory is not allowed, so that during OFF times there will be neither in
ow nor out
ow whenever the
system is empty.
In the context of such a model framework, we attempt to maximize the net revenue accumulation rate
with respect to the decision variable a,
˜ namely, how long we should permit the machine to operate before
initiating PM. The net revenue function will incorporate revenue from production, holding costs, penalty cost
for unsatised demands, and repair and maintenance costs. Each component is determined in accordance with
the steady-state distribution of the buer contents.
Our model can be interpreted either as a certain queueing model with dependence between an interarrival
time and the preceding service request, or as a
uid=production model with a two-state random environment.
The two models are directly related in the sense that the steady-state law of the buer contents in the
uid
interpretation can be expressed in terms of the workload in the queueing interpretation. As a stochastic model,
the
uid interpretation may be more natural than the queueing one; however, the queueing interpretation
enables us to locate the problem in the general setting of queueing models and to use well-established
tools and results from queueing theory for the solution. The analysis is based on the fact (cf. [13]) that the
conditional steady-state buer content distribution, given that it is positive, is independent of the in
ow rate .
Thus, by setting =∞, we generate a sample path in which the ON periods are deleted and are represented by
upward jumps, while the OFF periods are then glued together. The resulting process can be interpreted as the
workload process of a certain single-server queue in which customers arrive with a service request at a single
server. Service requests of successive customers are independent and identically distributed random variables
having a general distribution (corresponding to the general failure time distribution of the ON time). Upon
arrival, the service request is registered. If the service request is less than a = a,
˜ then, the next interarrival
time corresponds to an OFF period of type 1; otherwise, the service time becomes exactly equal to a (is cut
o at a), and the next interarrival time corresponds to an OFF time of type 2.
At rst glance it is not easy to see that the
uid production=inventory model and the queueing model are
equivalent (in the sense that they have the same conditional steady-state laws). Kella and Whitt [13] were
the rst to prove it for a generalized version of the GI=G=1 queue (in which the interarrival times and service
times are not necessarily independent); however, they did not focus on the equivalence between the queueing
system and the production=inventory model.
The
uid production=inventory model is perhaps better motivated from the operational modeling point of
view. However, the queueing interpretation, which is of independent interest due to the correlation feature,
is better motivated from the stochastic analysis point of view. This interdependence feature will lead to the
development of a new and original adaptation of level-crossing theory [8], which will augment the applications
already presented by Perry and Posner [16–18]. For related works in production and manufacturing using
uid
models see [14,15,7,21,19]. A detailed survey on replacement policies and preventive maintenance models can
be found in [1,20].
We are unaware of any studies that explore queueing systems with correlation between interarrival times and
preceding service times, as characterized in the present paper. However, there has been some work in which
there is correlation between an interarrival time and the following service time. For example, Conolly [4]
and Conolly and Hadidi [5] considered an M=M=1 queue in which the service time and the preceding interarrival time are linearly related; Conolly and Choo [6] extended this relationship to encompass a bivariate
exponential distribution, and expressed the waiting time density in a series of partial fraction terms. For
the same model, Hadidi [9] showed that the waiting times are hyperexponentially distributed, and later
[10] he examined the sensitivity of the waiting time distribution to the value of the correlation coecient.
Jacobs [11] obtained heavy trac results for the waiting time in queues with sequences of ARMA correlated,
negative-exponentially distributed interarrival and service times. Boxma and Combe [3] and Borst et al. [2],
respectively considered two variants of a single-server queue in which the service time of each customer
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
139
depends on the length of the preceding interarrival interval; here the dependence structure corresponds to a
situation where work arrives at a gate which is opened at exponentially distributed intervals.
The paper is organized as follows. In Section 2 we describe the dynamics of the production=inventory
model and develop the structure of the associated queueing model. In Section 3, we introduce the relationship
between the buer content process and the queueing process. In Section 4, we analyze the stationary law of
the queueing system. In Section 5 we present the cost function and provide an optimization scheme, leading
to some numerical results.
2. Model dynamics
Let {Z(t): t¿0} be the buer content level process. Then, the sample paths of Z(t) are continuous and
piecewise linear with Z(t)¿0. In order to derive the dynamics governing the evolution of Z(t) we rst dene
an articial net input contents process Y (t). The process Y (t) has the same properties as Z(t) except that
negative inventory is allowed; that is, during ON times the in
ow accumulates at rate ¿ 0 and during OFF
times the out
ow is released at rate ¿ 0.
We now introduce the following notation: Tn+1 = Tn + Un+1 + Dn+1 ; n¿0; T0 = 0, where Un and Dn are ON
times and OFF times, respectively. Here Tn is the onset time of the nth ON period. The process {Y (t): t¿0}
is then dened by Y (0) = 0, and
(
Tn 6t ¡ Tn + Un+1 ;
Y (Tn ) + (t − Tn );
Y (t) =
Y (Tn ) + · Un+1 − (t − Tn − Un+1 ); Tn + Un+1 6t ¡ Tn+1 :
Finally, the buer content process {Z(t): t¿0} is obtained by applying a re
ection map to the process Y (t),
so that Z(t) = Y (t) − min[0; inf 06s6t Y (s)] (refer to Fig. 1).
We now construct the process {V (t): t¿0} by deleting the ON times and then gluing together the OFF
−
times of the Z(t) process. Formally, we dene T˜ n+1 = T˜ n +Dn+1 ; n=0; 1; : : : ; with T˜ 0 =0, and Y˜ (t)= Y˜ (T˜ n )+
Un+1 − (t − T˜ n ); T˜ n 6t ¡ T˜ n+1 , with Y˜ (0) = 0. Then, V (t = Y˜ (t) − min[0; inf 06s6t Y˜ (s)].
Note that Un and Dn are the same for both Z(t) and V (t). However, unlike in Z(t), the sample paths
of V (t) are not continuous; V (t) is in fact a right-continuous jump process with left-hand limits. These are
depicted in Fig. 1, where it is clear that V (t) is a queueing model analogue of Z(t) in which the jump sizes
(services times) are bounded by a = a˜ · , and the subsequent exponential interarrival process (repair [with
mean 0−1 ] or preventive maintenance time [with mean 1−1 ]) is governed by whether or not the preceding
jump was less than a. Clearly, then, optimization with respect to a˜ or a are equivalent.
3. The relationship between Z(t) and V (t)
Assume that Z(t) is a regenerative process (so that V (t) is also a regenerative process), and dene BZ =
inf {t ¿ 0: Z(t) = 0} and BV = inf {t ¿ 0: V (t) = 0}. Here, BZ and BV are the busy periods (busy cycles minus
idle periods) associated with the processes Z(t) and V (t), respectively. Also, let B0 = BZ − BV . In words, BV
is the total amount of OFF time in a busy cycle during which the inventory level (buer content) is always
positive, and B0 is the total amount of ON time during that busy cycle. Let N be the number of ON times
during a cycle.
By the denition of the model, we have
Z NX
−1
1{Tn +Un+1 6t¡Tn+1 } dt
BV =
BZ n=0
140
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
Fig. 1. A typical sample function of Z(t) and corresponding realization of V (t).
and
B0 =
Z
N
−1
X
1{Tn 6t¡Tn +Un+1 } dt:
BZ n=0
Let FZ (x) = limt→∞ P(Z(t)6x) and FV (x) = limt→∞ P(V (t)6x), with Z = FZ (0) and V = FV (0). Then,
F˜ Z (x) = [FZ (x) − Z ]=[1 − Z ] and F˜ V (x) = [FV (x) − V ]=[1 − V ] are the steady-state conditional distributions
of Z(t) and V (t) given that the respective systems are not empty.
We now want to show that F˜ Z (x) = F˜ V (x) for all x ¿ 0. By renewal theory,
R
R
R
E BV 1{Z(t)6x} dt + E B0 1{Z(t)6x} dt
E BZ 1{Z(t)6x} dt
˜
F Z (x) =
(3.1)
=
EBZ
EBZ
and
F˜ V (x) =
E
R
BV
1{Z(t)6x} dt
EBV
;
(3.2)
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
141
since both Z(t) and V (t) decrease at the same rate . It follows by a simple geometric argument that, with
probability 1,
Z
Z
1{Z(t)6x} dt; x ¿ 0:
(3.3)
1{Z(t)6x} dt =
B0
BV
Setting x = ∞ in (3.3) we thereby obtain B0 = (=)BV , and, since B0 = BZ − BV , it follows that
EBZ = 1 +
EBV :
(3.4)
Substituting (3.3) and (3.4) into (3.1) we see that the right-hand side of (3.1) is the same as the right-hand
side of (3.2). Thus, F˜ Z (x) = F˜ V (x) (even if the interarrival times and the service times associated with the
virtual waiting time process, V (t), are not independent). This equality relation was also obtained by Kella
and Whitt [13] and later generalized by Kaspi et al. [12], but using a dierent approach.
4. The stationary law of Z(t) and V (t)
Let G˜ be the distribution of the ON time of a machine in the
uid production–inventory model, and let G
be the distribution of the service requirement in the associated queueing model. Then, it is straightforward to
˜
˜ a)
see that G(x=)
= G(x); and in particular, 1 − G(
˜ = 1 − G(a) is the probability that the machine ON time
[service requirement] is truncated at a[a].
˜
The only situation for which explicit formulas can be obtained is the case where both repair times and
preventive maintenance times are exponential. In this case, the associated queueing system is a special version
of a single-server queue with Markovian arrivals. We therefore assume that the repair time is exponentially
distributed (0 ) and preventive maintenance is exponentially distributed (1 ). Then, the associated queueing
system has the following properties. The service requirement has distribution G, and each arriving customer
species his service requirement at his moment of arrival. If this service requirement is less than a, then the
next interarrival time is exponentially distributed (0 ). Otherwise, if his service requirement is at least a, then
it is truncated to a, and the next interarrival time is exponentially distributed (1 ). The T˜ n ’s are the arrival
times of customers in that queueing system. If for some n; T˜ n+1 − T˜ n is exponentially distributed (0 ), then,
for all T˜ n 6t ¡ T˜ n+1 , we say that the status of the system at time t is {0}. Alternatively, if T˜ n+1 − T˜ n is
exponentially distributed (1 ), then, for all T˜ n 6t ¡ T˜ n+1 , we say that the status at time t is {1}. We can
then dene the status process at time t by
(
1 if the status is {1} at time t;
J (t) =
0 if the status is {0} at time t:
Note that the interarrival times in that queueing system are independent but they are not identically distributed.
Also, the service requirements are i.i.d.; however, an interarrival time depends on the preceding service
requirement.
We now apply level-crossing theory to compute the stationary density of V (t). We rst observe that the
two-dimensional process {V (t); J (t): t¿0} is a Markov process in which the state space of V (t) is continuous
on [0; ∞) and J (t) is either 0 or 1. Furthermore, we assume that conditions for stationarity prevail, so that
the limiting distributions of V (t); J (t) and Z(t) are given, respectively, by those of V; J , and Z.
In order to compute the law of the Markov process {V (t); J (t)} in steady state, we separate it according
to the status process J (t). Then, we construct the Volterra integrals according to its generator. In our previous works a theoretical perspective was emphasized; in this study we focus more on the intuitive aspect.
Accordingly, we partition the Borel -eld of the state space for each 06x ¡ ∞ into four types of disjoint
subsets: Ex {0} = {[0; x); {0}}; E x {0} = {[x; ∞); {0}}; Ex {1} = {[0; x); {1}}, and E x {1} = {[x; ∞); {1}}. The
142
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
generator (or the innitesimal transition rate) of the Markov process {V (t); J (t)} asserts simply that Ex {0}
can be reached (in a small interval of time) only from E x {0} ∪ Ex {1}. By level-crossing theory, the transition
rate of E x {0} → Ex {0} is the improper density f0 (x) which is the long-run average number of downcrossings
of level x per unit time by V (t), while the status of the system is {0}. Also, to analyze the transition rate of
Ex {1} → Ex {0}, we distinguish between two cases:
Rx
(i) x6a. As with the Pollaczek–Khintchine formula, the transition rate is 1 0 G(x − !) dF1 (!), where, by
PASTA [22], F1 (!) is the improper steady-state distribution of V when the status of the system is {1}.
Rx
R x−a
(ii) x ¿ a. The transition rate is 1 0 G(a) dF1 (!) + 1 x−a G(x − !) dF1 (!).
Similarly, to leave the set Ex {0} we distinguish between the same two cases:
Rx
(i) x6a. The transition rate is 0 0 [1 − G(x − !)] dF0 (!), where F0 (!) is the improper steady-state distribution of V when the status of the system is {0}.
R x−a
Rx
(ii) x ¿ a. The transition rate is 0 0 [1 − G(a)] dF0 (!) + 0 x−a [1 − G(x − !)] dF0 (!).
In an analogous manner, if x6a; ExR{1} can be reached from E x {1} with transition rate f1 (x); as well, the tranx
sition rate of Ex {1} → E x {1} is 1 0 dF1 (!). If x ¿ a; Ex {1} can be reached from E x {1} ∪ Ex {0} with tranR x−a
R x−a
sition rate f1 (x)+0 0 [1−G(a)] dF0 (!). Finally, the transition rate out of Ex {1} is 1 0 G(a) dF1 (!)+
Rx
1 x−a dF1 (!).
To summarize the above discussion, we now present the resulting Volterra integrals obtained by this
level-crossing analysis:
Z x
Z x
f0 (x) + 1
[1 − G(x − !)] dF0 (!); x6a;
(4.1)
G(x − !) dF1 (!) = 0
0
0
f0 (x) + 1
Z
x−a
G(a) dF1 (!) + 1
0
=0
Z
Z
G(x − !) dF1 (!)
x−a
x−a
[1 − G(a)] dF0 (!) + 0
0
f1 (x) = 1
x
Z
x
[1 − G(x − !)] dF0 (!);
(4.2)
x ¿ a:
x−a
Z
x
Z
x−a
dF1 (!);
(4.3)
x6a;
0
f1 (x) + 0
0
[1 − G(a)] dF0 (!) = 1
Z
0
x−a
G(a) dF1 (!) + 1
Z
x
dF1 (!);
x ¿ a:
(4.4)
x−a
Associated boundary equations are fi (0) = i fi ; i = 0; 1, where fi = Fi (0), and the normalizing condition
is F0 + F1 = 1, where
R a Fi ≡ Fi (∞). Observe that with this terminology a necessary and sucient condition
for stationarity is [ 0 [1 − G(x)] d x]−1 ¿ 0 F0 + 1 F1 .
The set of Eqs. (4.1) – (4.4) together with the boundary equations and normalizing condition provide the
unique solution for the stationary law of V (t). However, for any choice of G(·), even exponential, the structure
of the solution is exceedingly complex, and consequently, of limited utility. Accordingly, we construct a numerical computational approach in the appendix which is applicable for all (feasible) choices of G(·); (refer to
Fig. 2 for a typical realization of f for exponential G(·)) the resulting solution will then be employed in the
next section in the formulation of a cost function to be optimized with respect to the decision variable a.
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
143
Fig. 2. A typical density for Z for the case: −1 = 2; a = 0:41; 0−1 = 1; 1−1 = 0:5.
5. Cost function and optimization
From the numerical solution carried out in the appendix, various functionals can be determined which bear
directly on the construction of a cost function to be investigated in this section. The main functionals required
are Z ≡ Pr(Z = 0); V ≡ Pr(V = 0); EV and EZ. To obtain these, we must compute the various busy and
idle periods for Z and V as BZ ; IZ , and BV ; IV , respectively.
We rst note that
EIZ
(5.1)
Z =
EBZ + EIZ
and
EIV
V =
;
(5.2)
EBV + EIV
in which it is clear that
EIZ = EIV :
(5.3)
By renewal theory, the expected length of an idle period in V is determined by
EIV =
f1 (0)
f0 + f 1
f0 (0)
1
1
+
=
;
f0 (0) + f1 (0) 0
f0 (0) + f1 (0) 1
0 f0 + 1 f1
(5.4)
using fi (0) = i fi ; i = 0; 1, where, invoking level-crossing theory, the ratio fi (0)=[f0 (0) + f1 (0)] is the
probability that an idle period of type i is initiated, and 1=i is the corresponding length of this idle period.
Furthermore, since a mean cycle time is given by 1=[f0 (0) + f1 (0)] = 1=[0 f0 + 1 f1 ], it follows that
EBV =
1 − f0 − f1
;
0 f0 + 1 f1
(5.5)
144
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
Table 1
Optimal values a? for parameter set: = 20; = 100; h = 0:1; RPR = 1; KSH = 1:5; KDT = 5; KF = 75
Case 1: 0−1 = 0:6; 1−1 = 1
Case 2: 0−1 = 1; 1−1 = 0:5
−1
a?
R(a? )
−1
e
z
−1
a?
R(a? )
−1
e
z
0.25
0.50
0.75
1.00
1.50
2.00
2.50
3.00
3.50
0.22
0.39
0.51
0.59
0.67
0.70
0.72
0.72
0.73
−55:12
−5:16
19:15
33:25
48:00
55:00
58:79
61:06
62:54
0.17
0.31
0.43
0.51
0.61
0.66
0.69
0.70
0.71
0.23
0.40
0.53
0.61
0.69
0.71
0.73
0.73
0.74
0.35
0.19
0.13
0.10
0.07
0.06
0.06
0.06
0.06
0.25
0.50
0.75
1.00
1.50
2.00
2.50
3.00
3.50
0.13
0.25
0.33
0.37
0.41
0.41
0.41
0.41
0.41
−51:29
0:00
25:99
41:30
57:21
64:35
67:99
70:05
71:31
0.11
0.22
0.30
0.35
0.39
0.40
0.40
0.41
0.41
0.18
0.35
0.49
0.59
0.71
0.75
0.77
0.79
0.79
0.41
0.23
0.14
0.10
0.06
0.05
0.04
0.04
0.04
Case 3: 0−1 = 1; 1−1 = 2
Case 4: 0−1 = 2; 1−1 = 1
−1
a?
R(a? )
−1
e
z
−1
a?
R(a? )
−1
e
z
0.50
1.00
1.50
2.00
2.50
3.00
3.50
0.78
1.06
1.18
1.22
1.27
1.29
1.30
−19:65
19:47
34:62
42:09
46:22
48:82
50:56
0.44
0.75
0.94
1.05
1.13
1.18
1.22
0.37
0.55
0.61
0.63
0.66
0.66
0.67
0.22
0.12
0.10
0.09
0.08
0.08
0.08
0.50
1.00
1.50
2.00
2.50
3.00
3.50
0.47
0.72
0.79
0.80
0.79
0.78
0.77
−32:90
15:88
37:11
47:88
53:87
57:49
59:83
0.35
0.59
0.70
0.74
0.75
0.75
0.75
0.22
0.42
0.55
0.62
0.66
0.69
0.70
0.36
0.19
0.12
0.09
0.08
0.07
0.07
using (5.4). Also,
Z =
1+
f0 + f1
[1 − f0 −
f1 ]
(5.6)
and V = f0 + f1 are easily conrmed.
Because of the demonstrated equivalence between F˜ Z and F˜ V , we have fZ (x)=[1 − Z ] = fV (x)=[1 −
V (x)]; x ¿ 0, whence fZ (x)=fV (x) = [1 + =]={1 + =[1 − f0 − f1 ]}EZ=EV .
The optimization with respect to a will be carried out for a net expected revenue accumulation rate which
includes the following functional components:
(i) Production revenue: Production yields revenue of RPR per unit produced. The production rate is + ,
and the portion of time that the system is ON is given by the ratio of ON time (EB0 ) to cycle time
(EBZ + EIZ ). Since EB0 = EBZ − EBV , then using (3.4) and (5.3), we have the net production revenue rate
as RPR ( + )(=)(1 − f0 − f1 )=[1 + (=)(1 − f0 − f1 )].
(ii) Linear holding cost: The holding cost rate is hEZ, where h is holding cost per unit time per item held
in inventory.
(iii) Shortage cost: A cost of KSH is imposed for each demand arising during stockout. The corresponding
cost rate is KSH Z = KSH (f0 + f1 )=[1 + (=)(1 − f0 − f1 )].
(iv) Repair and PM costs: A down machine incurs an ongoing cost of KDT per unit time for repair and
maintenance, while a breakdown incurs an additional cost of KF . The number of failures per unit time is 0 F0
and the portion of time the system is OFF is given by the ratio of OFF time (EBV + EIV ) to cycle time
(EBZ +EIZ ). As in (i) above, the net repair and PM cost rate is given by KF 0 F0 +KDT =[1+(=)(1−f0 −f1 )].
The maximization of the net revenue is practically implemented via a grid search over values of a, in which
the required model values are obtained from the numerical procedure of the appendix. A number of sample
145
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
problems were considered, with the results, and optimal values a? Rof a, summarized in Table 1. In the table,
a
−1
= 0 [1−G(t)] dt, for G exponential (), and
the mean eective operating time of the machine is given by e
= (0 F0 + 1 F1 )=e is the analogue of the utilization factor for the associated queueing model. Re
ection
upon the results presented illustrates sensitivity with respect to changes in mean repair time (Cases 1 and
4) or mean PM time (Cases 2 and 3) as the mean time to failure, −1 , varies. Of course, as −1 increases
beyond a? , the model stabilizes in the sense that well beyond a? we expect PM almost exclusively.
Acknowledgements
We wish to thank O.J. Boxma for his careful reading of the manuscript and for providing useful comments
and suggestions. Also, the nancial support of the Natural Sciences and Engineering Research Council of
Canada under grant OGP0004374 is gratefully appreciated.
Appendix Numerical solution
Dene densities fi (x) ≡ fir (r = 0; 1; : : : ; ), where fir ≡ fi (r), in which is chosen so that a = N,
with N arbitrary, but large. In addition, Gr ≡ G(r) with G r = 1 − Gr and fi (i = 0; 1) are the zero-level
probability masses (system idleness). Rewriting the main equations (4.1) – (4.4) gives
f0n + 1
n−1
X
Gn−r f1r + 1 Gn f1 − 0
n−N
X
f1r GN + 1 GN f1 + 1
n−N
X
f0r − 0 G N f0 − 0
n−1
X
Gn−r f1r
n
X
n
X
G n−r f0r = 0;
(A.2)
n¿N;
n−N
0
f1n − 1
(A.1)
n ¡ N;
r=n−N
r=0
−0 G N
G n−r f0r − 0 G n f0 = 0;
0
r=0
f0n + 1
n
X
f1r − 1 f1 = 0;
(A.3)
n6N;
0
f1n + 0 G N
n−N
X
f0r + 0 G N f0 − 1 GN
0
n−N
X
0
f1r − 1 GN f1 − 1
n
X
f1r = 0;
n¿N
(A.4)
r=n−N
and fi0 = i fi , i = 0; 1. Finally, another relation between F0 and F1 can be found from F0 + F1 = 1. We
observe, for example, that the rate of generating transitions out of preventive maintenance (PM) is balanced
leading to
by the entry rate into PM. Thus, 1 F1 G(a) = 0 F0 G(a),
F1 =
0 G(a)
;
1 G(a) + 0 G(a)
(A.5)
and, using normality,
F 0 = 1 − F1 =
1 G(a)
:
1 G(a) + 0 G(a)
(A.6)
146
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
From (A.1) and (A.2), for n = 1; 2; : : : ; N , we can write the recursions
(
)
n−1
n−1
X
X
1
f0n =
0
G n−r − 1 Gn f1 − 1
Gn−r f1r + 0 G n f0 ;
1 − 0
0
1
f1n =
1 − 1
(
1
n−1
X
f1r + 1 f1
0
Dene the column vectors gn = [f0n
the vector recursive equation,
n−1
X
gn =
(A.7)
0
An−r gr + An g;
)
(A.8)
:
f1n ]′ and g = [f0
f1 ]′ . Then, (A.7) and (A.8) can be restructured as
n = 1; 2; : : : ; N
(A.9)
r=0
with
g0 =
"
0 0
0 1
#
g
and
0 G k
−1 Gk
 1 − 0 1 − 0
Ak = 
1
0
1 − 1
:
The same procedure can also be applied to Eqs. (A.3) and (A.4), leading to the vector recursion,
gn = A0
n−N
X
gr +
n−1
X
An−r gr + A0 g;
n = N + 1; N + 2; : : : ;
(A.10)
r=n−N
r=0
in which
A0 = 
0 G N −1 GN
1 − 0 1 − 0
−0 G N 1 GN
1 − 1 1 − 1
:
Now, dene matrices Hn ; n = 0; 1; 2; : : : ; such that gn = Hn g.
By making this substitution in (A.9) and
(A.10), we can nd these matrices from the resulting matrix recursions:
 n−1
X
An−r Hr + An ;
n = 1; 2; : : : ; N;
 r=0
Hn =
n−N
n−1
X
 0X
A
H
+
An−r Hr + A0 ; n = N + 1; N + 2; : : : ;
r
r=0
in which
H0 =
"
0 0
0 1
#
:
r=n−N
D. Perry, M.J.M. Posner / Operations Research Letters 26 (2000) 137–147
147
By numerical integration, we have the total probabilities of the system being in status 0 and 1 given by
" #
∞
X
F0
gr =
;
g +
F1
r=0
where F0 and F1 are given in (A.5) and (A.6). Using gr = Hr g,
this converts into the unique solution for g
as
#−1 " #
"
∞
X
F0
Hr
:
g = I +
F1
r=0
With g known, all gr are now determined, and hence the entire distribution is specied.
References
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]
[21]
[22]
F. Beichelt, A unifying treatment of replacement policies with minimal repair, Naval Res. Logist. 40 (1993) 51–67.
S.C. Borst, O.J. Boxma, M.B. Combe, An M=G=1 queue with customer collection, Stochast. Models 9 (1993) 341–371.
O.J. Boxma, M.B. Combe, The correlated M=G=1 queue, AEU 47 (1993) pp. 330 –335.
B.W. Conolly, The waiting time for a certain correlated queue, Oper. Res. 15 (1968) 1006–1015.
B.W. Conolly, N. Hadidi, A correlated queue, J. Appl. Probab. 6 (1969) 122–136.
B.W. Conolly, Q.H. Choo, The waiting time process for a generalized correlated queue with exponential demand and service, SIAM
J. Appl. Math. 37 (1979) 263–275.
A.G. De-Kok, H.C. Tijms, F.A. Van der Duyn Schouten, Approximations for the single product production inventory problem with
compound Poisson demand and service level constraints, Adv. Appl. Probab. 16 (1984) 378–401.
B.T. Doshi, Level crossing analysis of queues, in: U.N. Bhat, I.V. Basawa (Eds.), Queueing and Related Models, Clarendon Press,
Oxford (1992) pp. 3–33.
N. Hadidi, Queues with partial correlation, SIAM J. Appl. Math. 40 (1981) 467–475.
N. Hadidi, Further results on queues with partial correlation, Oper. Res. 33 (1985) 203–209.
P.A. Jacobs, Heavy trac results for single server queues with dependent (EARMA) service and interarrival times, Adv. Appl.
Probab. 12 (1980) 517–529.
H. Kaspi, O. Kella, D. Perry, Dam processes with state dependent batch sizes and intermittent production process with state dependent
rates, Questa 24 (1– 4) (1996) 37–57.
O. Kella, W. Whitt, A storage model with a two-state random environment, Oper. Res. 40 (1992) S257–S262.
R.R. Meyer, M.H. Rothkopf, S.A. Smith, Reliability and inventory in a production–storage system, Management Sci. 25 (1979)
799–807.
R.R. Meyer, M.H. Rothkopf, S.A. Smith, Erratum to reliability and inventory in a production–storage system, Management Sci. 29
(1983) 1346.
D. Perry, M.J.M. Posner, Control of production=inventory systems with various production rates, Stochast. Models 6 (1990) 99–117.
D. Perry, M.J.M. Posner, Determining the control limit policy in a replacement model with linear restoration, Oper. Res. Lett. 10
(1991) 335–341.
D. Perry, M.J.M. Posner, An (S − 1; S) inventory system with xed shelf life and constant leadtime, Oper. Res. 46 (1998) S65–S71.
W. Stadje, Level-crossing properties of the risk process, Math. Oper. Res. 23 (1998) 576–584.
C. Valdez-Flores, R.M. Feldman, A survey of preventive maintenance models for stochastically deteriorating single-unit systems,
Naval Res. Logist. 36 (1989) 419–446.
S.G. Vanneste, F.A. Van der Duyn Schouten, Maintenance optimization of a production system with buer capacity, European J.
Oper. Res. 82 (1995) 323–338.
R.W. Wol, Stochastic Modeling and the Theory of Queues, Prentice-Hall, Englewood Clis, NJ, 1989.