1 Introduction

In recent years, multi-state systems are attracting more and more attention since many real-world systems are composed of multi-state components that have various effects on the performance of the entire system with different performance levels and failure modes. As mentioned by Lisnianski et al. (2010), there are many multi-state systems in practice, such as a power supply system consisting of generating and transmitting facilities (each generating unit can function at different levels of capacity), a wireless communication system consisting of transmission stations (each station can have a different number of subsequent stations covered in its range), a task processing system (for example, a control system, a data processing system or a manufacturing system) and many others. Tools or methods that contribute to modeling of multi-state systems include, but are not limited to, stochastic processes such as Markov and semi-Markov processes, statistical analysis, universal generating function methods, combined methods, coherent system theory, multidimensional spectra and multi-state signature, and many different kinds of algorithms (Lisnianski et al. 2010; Lisnianski and Frenkel 2011; Natvig 2011). Recently, research on multi-state systems is being carried out extensively as can be seen in Yi and Cui (2017), Yi et al. (2018), Barbu and Vergne (2019), Wu et al.(2019).

For multi-state systems, the concept of state aggregation was first presented by Burke and Rosenblatt (1957) based on the assumption that an experimenter can only observe a derived process Y (n) = f(X(n)) rather than the underlying stochastic process X(n). (Note that the derived process may no longer be Markov or semi-Markov processes after the state aggregation.) The problem of state aggregation subsequently received great attention in the area of single ion channel in biology. As we know, there are plenty of channels on cell membrane for materials like ions to get through. Biologists are always interested in the behaviors (open, closed) of those ion channels, especially single ones. However, experimental data can only show current levels of electricity of a single ion channel, which is not sufficient for describing the underlying mechanism since behaviors with the same current level are not distinguishable from the data. Colquhoun and Hawkes (1977, 1981, 1982) proposed a general aggregated Markov process model, which changed the way biologists dealt with experimental data on single ion channels. Compared with traditional Markov process, state space of the aggregated Markov process is divided into different subsets according to the performance levels of the system, which make the model more general by taking indistinguishable states into consideration. For systems with no indistinguishable state, the aggregated Markov processes will degenerate to traditional Markov processes. Since then, many generalizations and extensions have been discussed in the area of single ion channel (Hawkes et al. 1990; Ball 1997; The and Timmer 2006).

Aggregated stochastic processes also have important applications and developments in the context of reliability. Rubino and Sericola (1989) first discussed the reliability of an aggregated stochastic process and also presented an application of a fault-tolerant system with several buffer states. Cui et al. (2007) investigated aggregated Markov processes by considering history-dependent states (changeable states whose performances depend on the immediately preceding state of the system evolution process), and derived reliability indices such as availability. Hawkes et al. (2011) studied the evolution of aggregated Markov processes under alternative environments and obtained results for the system availability and probability distributions for uptimes. Liu et al. (2014) developed an aggregated Markov process model with repair time omission, and derived reliability indices such as availability, interval reliability and interval unreliability. Cui et al. (2016) considered aggregated stochastic processes with cyclic multiple mission periods, and obtained closed-form solutions for some reliability indices and sojourn time distributions. Recently, aggregated stochastic processes have also been used in the study of new reliability indices (Yi et al. 2018), phase-type models (Wu et al. 2020) and balanced systems (Fang and Cui 2021).

Most of existing research on aggregated stochastic processes are for continuous time systems, but there are also plenty of discrete-time systems in practice; for example, data obtained from laboratory experiments are often discrete-time ones. The discussions on discrete-time aggregated stochastic processes are far few as compared to those on continuous ones. For example, Yi et al. (2018) developed a discrete-time semi-Markov aggregated process, and discussed some stochastic properties and reliability measures. Yi and Cui (2017) considered a discrete-time second-order aggregated semi-Markov system, and derived some distributions and availabilities of the system. Actually, the calculation issue is much more complex for continuous-time aggregated stochastic processes when it comes to the essential step of inverse Laplace transform. In this paper, we consider discrete-time aggregated semi-Markov systems since semi-Markov processes break the memoryless requirement of Markov processes. That is quite reasonable in practice; see Limnios and Oprisan (2003) for a review of semi-Markov processes and to Janssen and Manca (2006), Barbu and Limnios(2008, 2004) for additional related discussions. Also, second-order aggregated semi-Markov systems are considered since evolutions of many real-world systems depend not only on their present states, but also on some previous states; see (D’Amico et al. 2013; 2015a, b) for more discussions on higher-order Markov and semi-Markov models and related applications to wind speed prediction.

Some basic assumptions in this paper are similar to those in Yi and Cui (2017) and Yi et al. (2018); for example, states of the system are divided into three subsets \({\mathscr{A}},{\mathscr{B}},{\mathscr{D}}\) corresponding to perfect functioning states, imperfect functioning states and failure states, respectively; a working period is defined as a duration that the system is in functioning states (including perfect functioning states and imperfect functioning states), which starts from the moment of transition to a perfect functioning state from a failure state directly or through some imperfect functioning states, and ends at the moment of transition from a perfect functioning state to a failure state directly or through some imperfect functioning states; and a failure period is the duration of time between two consecutive working periods. As mentioned above, in this paper, we define the split of state space and working/failure periods in a traditional way so that any misunderstanding caused by the complexity of modeling can be avoided to some extent and that the method developed can also be discussed in clear terms. For practical systems whose state space is divided into more subsets and whose working periods/failure periods are defined in a different way, the results developed here can be generalized without much technical difficulty, and so the related discussions are omitted in this paper for brevity.

In the field of reliability, counting processes are often used to describe the arrivals and repairs of different types of shocks, which do impact greatly on the performance of the system in different ways. Moreover, properties of counting processes are attracting increasing attention both theoretically and practically (Howard 1964, 1971; Mode and Peckins 1988), and possible applications can be found in such diverse areas as queuing theory, wireless communication systems, software error detection, health science and many others (Badía and Sangüesa 2017; Michael and Eutichia 2020; Nuel 2019). For a discrete-time semi-Markov process with finite state space, Csenki (1995) derived a closed-form expression for the cumulative distribution function of the number of visits to a subset of its state space, and explained that this number served as an useful tool for analyzing dependability characteristics. Based on a continuous-time semi-Markov model with finite state space, Votsi et al. (2012) estimated the expected number of earthquake occurrences with a real data set from Northern Aegean Sea in Greece. In their work, model states were classified by earthquake magnitude, and fault orientation was also taken into account. For general time-homogeneous Markov processes with general state space, Landriault et al. (2017) presented an unified approach for the first passage time of their drawdown/drawup processes.

For continuous-time Markov process, Cui et al. (2021) considered the split of state space into m ordered subsets and then studied counting processes of one-step increasing/equivalent/decreasing transitions with durations longer/shorter than a pre-specified threshold. In the present work, we consider first- and second-order discrete-time semi-Markov processes with finite state space \({\Omega } = {\mathscr{A}} \cup {\mathscr{B}} \cup {\mathscr{D}}\). Transitions from states in \({\mathscr{D}}\) to states in \({\mathscr{A}} \cup {{\mathscr{B}}}\) or from states in \({\mathscr{B}}\) to states in \({\mathscr{A}}\) are called one-step increasing transitions as they correspond to repairs of the system. Transitions from states in \({\mathscr{A}}\) to states in \({\mathscr{B}} \cup {\mathscr{D}}\) or from states in \({\mathscr{B}}\) to states in \({\mathscr{D}}\) are called one-step decreasing transitions as they correspond to degradations of the system. Also, other transitions from subset \({\mathscr{A}}\) or \({{\mathscr{B}}}\) or \({\mathscr{D}}\) to themselves are called one-step equivalent transitions. Here, we are interested in all three different kinds of transitions in working periods and failure periods, which leads to the following counting processes:

  1. (1)

    Let \({{N_{I}^{W}}}(n),{N_ E^{W}}(n),{N_ D^{W}}(n)\) be the number of one-step increasing transitions, one-step equivalent transitions and one-step decreasing transitions in working periods by time n, respectively;

  2. (2)

    Let \({{N_{I}^{F}}}(n),{N_ E^{F}}(n),{N_ D^{F}}(n)\) be the number of one-step increasing transitions, one-step equivalent transitions and one-step decreasing transitions in failure periods by time n, respectively;

  3. (3)

    Let NW(n),NF(n),N(n) be the number of all one-step transitions in working periods, in failure periods and in all of them by time n, respectively. This means \(N^{W}(n)={{N_{I}^{W}}}(n)+{N_ E^{W}}(n)+{N_ D^{W}}(n),N^{F}(n)={{N_{I}^{F}}}(n)+{N_ E^{F}}(n)+{N_ D^{F}}(n)\) and N(n) = NW(n) + NF(n).

It is not easy to investigate counting processes defined above since whether a system is in a working period or a failure period depends not only on its present state, but also on history of its previous states. However, it is of great interest to consider this problem since transitions, including ones-step increasing/equivalent/decreasing ones, have different costs and benefits in working periods and failure periods. Applications of this paper can be found in many fields, including seismology, reliability, biology, finance and many others. For example, as in Votsi et al. (2012), the occurrences of earthquake can be modeled by a first-order semi-Markov model, and states of the system can be divided into three subsets according to magnitudes (eg. \({\mathscr{A}}\) for [0,4.4], \({\mathscr{B}}\) for [4.5,5.9] and \({\mathscr{D}}\) for [6.0,10.0]). Consider the fact that earthquakes with magnitudes greater than a given threshold (4.4, say) will lead to some financial loss and earthquakes with magnitudes greater than another given threshold (5.9, say) will lead to serious casualties, we can use the concepts of working period and failure period introduced before to distinguish whether there is risk of life for human beings in different periods. Then, we are interested in the counting processes for one-step increasing/equivalent/decreasing in the two types of periods, respectively, since losses in them are not estimated in the same degree of importance and we need different post-earthquake reconstruction strategies for them.

Take a generating unit as another example, as in Billinton and Allan (1996), in which performance rates (namely, the power generating capacities) can be 50 MW (perfect functioning), 30 MW (imperfect functioning) and 0 MW (failure), respectively, which means the state space can be divided into subsets \({\mathscr{A}}\), \({\mathscr{B}}\) and \({\mathscr{D}}\) mentioned above. Considering the fact that each sojourn in the failure subset \({\mathscr{D}}\) will cause serious economic losses, machine damage and long shutdown period, the generating unit system is regarded to be in good condition only when it functions perfectly or imperfectly without any breakdown into failure states. Then, we can use the concepts of working period and failure period introduced before to distinguish whether the system is in a good condition or not. Besides, state changes cause different results when the system is in different conditions, and we are therefore interested in the counting processes mentioned before to evaluate possible maintenance costs and machine damage losses in different system conditions.

The rest of this paper is organized as follows. In Sections 2 and 3, stochastic properties of related counting processes are discussed for first- and second-order discrete-time aggregated semi-Markov processes, respectively; formulas for some distributions, joint distributions, expectations, generating functions and joint generation functions are presented by their Z-transforms. Illustrative examples are presented in Section 4 to explain the results established in preceding sections and to give some intuitive understanding of the results. Some extended discussions on related reliability measures are considered in Section 5. Finally, some conclusions and related discussions are made in Section 6.

2 First-order Discrete-Time Semi-Markov System

Consider the time-homogenous first-order semi-Markov chain {Z(n),n = 0,1,…}, as in Yi et al. (2018), with discrete time and finite state space Ω = {1,…,kΩ}. The state that the system jumps to at the k th transition time Sk is denoted by Jk (k = 1,2,…), and the initial state at time S0 = 0 is denoted by J0. Let X0 = 0, and the sojourn time in state Jk− 1 between the (k − 1)th and k th transitions be expressed as Xk = SkSk− 1 (k = 1,2,…). Then, the semi-Markov kernel of the related Markov renewal chain can be defined as follows:

$$ \begin{array}{@{}rcl@{}} &&{\boldsymbol{Q}}(n): = {({Q_{ij}}(n))_{{k_{\Omega} } \times {k_{\Omega} }}}\\ &= &{(P\left\{ {{J_{l + 1}} = j,{X_{l + 1}} = {S_{l + 1}} - {S_{l}} = n {\text{|}} {J_{l}} = i} \right\})_{{k_{\Omega} } \times {k_{\Omega} }}}\\ &= &{(P\left\{ {{J_{1}} = j,{X_{1}} = {S_{1}} - {S_{0}} = n {\text{|}} {J_{0}} = i} \right\})_{{k_{\Omega} } \times {k_{\Omega} }}}. \end{array} $$

With the state space Ω divided into three subsets \({\mathscr{A}},{\mathscr{B}}\) and \({\mathscr{D}}\), the semi-Markov kernel can be divided correspondingly as follows:

$${\boldsymbol{Q}}(n) = \left( {\begin{array}{*{20}{c}} {{{\boldsymbol{Q}}_{\mathscr{AA}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{AB}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{AD}}}(n)}\\ {{{\boldsymbol{Q}}_{\mathscr{BA}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{BB}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{BD}}}(n)}\\ {{{\boldsymbol{Q}}_{\mathscr{DA}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{DB}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{DD}}}(n)} \end{array}} \right).$$

Here, the subsets \({\mathscr{A}},{\mathscr{B}}\) and \({\mathscr{D}}\) consist of perfect functioning states, imperfect functioning states and failure states, respectively. Besides, there are \({k_{{\mathscr{A}}}}\), \({k_{{\mathscr{B}}}}\) and \({k_{{\mathscr{D}}}}\) states in the subsets \({\mathscr{A}},{\mathscr{B}}\) and \({\mathscr{D}}\), respectively, namely, \({\mathscr{A}} = \{ 1, {\ldots } ,{k_{{\mathscr{A}}}}\} ,{\mathscr{B}} = \{ {k_{{\mathscr{A}}}} + 1, {\ldots } ,{k_{{\mathscr{A}}}} + {k_{{\mathscr{B}}}}\}\) and \({\mathscr{D}} = \{ {k_{{\mathscr{A}}}} + {k_{{\mathscr{B}}}} + 1, {\ldots } ,{k_{{\mathscr{A}}}} + {k_{{\mathscr{B}}}} + {k_{{\mathscr{D}}}}\} \).

As in the discussions in Yi et al. (2018), sojourns in subset \({\mathscr{B}}\) contribute to working periods if and only if the system is in \({\mathscr{A}}\) right before it enters \({\mathscr{B}}\) and right after it leaves \({\mathscr{B}}\), which implies that they contribute to failure periods otherwise. Obviously, sojourns in subset \({\mathscr{A}}\) contribute to working periods and sojourns in subset \({\mathscr{D}}\) contribute to failure periods. For studying properties of the semi-Markov system, a new stochastic process {Y (n),n = 0,1,…} is defined as follows:

$$ \begin{array}{@{}rcl@{}} Y(n) = \left\{ {\begin{array}{*{20}{c}} {1,{\text{~~~the~system~is~in~a~working~period~at~time~}}n,}\\ {0,{\text{~~~the~system~is~in~a~failure~period~at~time~}}n.~~~} \end{array}} \right. \end{array} $$

Note that Y (n) is a right-continuous function, which means its value at a transition time depends on whether the sojourn after transition contributes to a working period or not. Besides, a transition is said to be in a working period if the system is in a working period when the transition starts, and in a failure period if the system is in a failure period when the transition starts.

Denote the conditional probability that the system stays in subset X in time interval [0,n) and jumps to state j in another subset Y at time n, given the initial state i in subset X at time 0, by \(g_{ij}^{XY}(n)\), where \((X,Y) \in \{ ({\mathscr{A}},{\mathscr{B}}),({\mathscr{A}},{\mathscr{D}}),({\mathscr{B}},{\mathscr{A}}),({\mathscr{B}},{\mathscr{D}}),({\mathscr{D}},{\mathscr{A}}),({\mathscr{D}},{\mathscr{B}})\} \); that is,

$$ \begin{array}{@{}rcl@{}} g_{ij}^{XY}(n) = P\{ {S_{l}} = n,{J_{l}} = j,{J_{0}}, {\ldots} ,{J_{l - 1}} \in X\left| {{J_{0}} = i} \right.\} ,i \in X,j \in Y, \end{array} $$

where no self-transition is allowed.

In matrix form, let us denote

$${\boldsymbol{G}}(n) = \left( {\begin{array}{*{20}{c}} {{0}}&{{{\boldsymbol{G}}_{\mathscr{AB}}}(n)}&{{{\boldsymbol{G}}_{\mathscr{AD}}}(n)}\\ {{{\boldsymbol{G}}_{\mathscr{BA}}}(n)}&{{0}}&{{{\boldsymbol{G}}_{\mathscr{BD}}}(n)}\\ {{{\boldsymbol{G}}_{\mathscr{DA}}}(n)}&{{{\boldsymbol{G}}_{\mathscr{DB}}}(n)}&{{0}} \end{array}} \right),$$

where \({{\boldsymbol {G}}_{XY}}(n) = {\left ({g_{ij}^{XY}(n),i \in X,j \in Y} \right )_{{k_{X}} \times {k_{Y}}}}\), kX and kY denote the numbers of states in subsets X and Y, respectively, and 0 is a zero matrix of suitable dimension, whose elements are all 0. Define I as an unit matrix of suitable dimension, and the Z-transform of GXY(n) can be represented as \({\boldsymbol {G}}_{XY}^{*}(z) = {[{ {I}} - {\boldsymbol {Q}}_{XX}^{*}(z)]^{- 1}}{\boldsymbol {Q}}_{XY}^{*}(z)\); see Yi et al. (2018) for the proof.

For this first-order semi-Markov system, there are 9 different types of transitions to be considered for Z(n), namely, transitions \({\mathscr{A}} \to {\mathscr{A}},{\mathscr{A}} \to {\mathscr{B}},{\mathscr{A}} \to {\mathscr{D}},{\mathscr{B}} \to {\mathscr{A}},{\mathscr{B}} \to {\mathscr{B}},{\mathscr{B}} \to {\mathscr{D}},{\mathscr{D}} \to {\mathscr{A}},{\mathscr{D}} \to {\mathscr{B}}\) and \({\mathscr{D}} \to {\mathscr{D}}\). Obviously, transitions from \({\mathscr{B}}\) to \({\mathscr{A}}\) (\({\mathscr{B}} \to {\mathscr{A}}\)) are one-step increasing transitions in working periods if and only if the system is in subset \({\mathscr{A}}\) before it enters subset \({\mathscr{B}}\), and they are one-step increasing transitions in failure periods if and only if the system is in subset \({\mathscr{D}}\) before it enters subset \({\mathscr{B}}\). To identify the two different cases of transitions, namely, to identify whether a transition is in a working period or in a failure period when it is from subset \({\mathscr{B}}\), we define a new semi-Markov chain {Z0(n),n = 0,1,…} with state space \({{\Omega }_{0}} = {\mathscr{A}} \cup {{\mathscr{B}}_{1}} \cup {{\mathscr{B}}_{2}} \cup {{\mathscr{D}}}\), where

$$ \begin{array}{@{}rcl@{}} &&\mathscr{A} = \{ 1, {\ldots} ,{k_{\mathscr{A}}}\} ,{\mathscr{B}_{1}} = \{ {k_{\mathscr{A}}} + 1, {\ldots} ,{k_{\mathscr{A}}} + {k_{\mathscr{B}}}\} ,\\ &&{\mathscr{B}_{2}} = \{ {k_{\mathscr{A}}} + {k_{\mathscr{B}}} + 1, {\ldots} ,{k_{\mathscr{A}}} + 2{k_{\mathscr{B}}}\} ,\\ &&{\mathscr{D}} = \{ {k_{\mathscr{A}}} + 2{k_{\mathscr{B}}} + 1,{\ldots} ,{k_{\mathscr{A}}} + 2{k_{\mathscr{B}}} + {k_{\mathscr{D}}}\} . \end{array} $$

Note that subsets \({{\mathscr{B}}_{1}}\) and \({{\mathscr{B}}_{2}}\) can be regarded as a “copy” of subset \({\mathscr{B}}\). The most important property of Z0(n) is that Z0(n) = Z(n) for \(Z(n) \in {\mathscr{A}}\) or \(Z(n) \in {{\mathscr{B}}}\) with the system being in subset \( {\mathscr{A}}\) beforing entering subset \( {\mathscr{B}}\), and \({Z_{0}}(n) = Z(n) + {k_{{\mathscr{B}}}}\) for \(Z(n) \in {\mathscr{D}}\) or \(Z(n) \in {{\mathscr{B}}}\) with the system being in subset \( {\mathscr{D}}\) beforing entering subset \( {\mathscr{B}}\), which makes it possible to identify whether the system is in a working period or in a failure period when the system state Z(n) is in subset \({\mathscr{B}}\). Then, the new semi-Markov kernel and its Z-transform can be presented as follows:

$$ \begin{array}{@{}rcl@{}} &&{\boldsymbol{D}}(n) = \left( {\begin{array}{*{20}{c}} {{{\boldsymbol{Q}}_{\mathscr{AA}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{AB}}}(n)}&{\textbf{\textit{0}}}&{{{\boldsymbol{Q}}_{\mathscr{AD}}}(n)}\\ {{{\boldsymbol{Q}}_{\mathscr{BA}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{BB}}}(n)}&{\textbf{\textit{0}}}&{{{\boldsymbol{Q}}_{\mathscr{BD}}}(n)}\\ {{{\boldsymbol{Q}}_{\mathscr{BA}}}(n)}&{\textbf{\textit{0}}}&{{{\boldsymbol{Q}}_{\mathscr{BB}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{BD}}}(n)}\\ {{{\boldsymbol{Q}}_{\mathscr{DA}}}(n)}&{\textbf{\textit{0}}}&{{{\boldsymbol{Q}}_{\mathscr{DB}}}(n)}&{{{\boldsymbol{Q}}_{\mathscr{DD}}}(n)} \end{array}} \right),\\ &&{{\boldsymbol{D}}^{*}}(z) = \left( {\begin{array}{*{20}{c}} {{\boldsymbol{Q}}_{\mathscr{AA}}^{\text{*}}(z)}&{{\boldsymbol{Q}}_{\mathscr{AB}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{AD}}^{\text{*}}(z)}\\ {{\boldsymbol{Q}}_{\mathscr{BA}}^{\text{*}}(z)}&{{\boldsymbol{Q}}_{\mathscr{BB}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{BD}}^{\text{*}}(z)}\\ {{\boldsymbol{Q}}_{\mathscr{BA}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{BB}}^{\text{*}}(z)}&{{\boldsymbol{Q}}_{\mathscr{BD}}^{\text{*}}(z)}\\ {{\boldsymbol{Q}}_{\mathscr{DA}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{DB}}^{\text{*}}(z)}&{{\boldsymbol{Q}}_{\mathscr{DD}}^{\text{*}}(z)} \end{array}} \right). \end{array} $$

Assume that the initial probability vector of Z0(n) can be denoted as \({ {\pi }} = ({ {\pi }}_{{\mathscr{A}}}, { {\pi }}_{{\mathscr{B}}_{1}}, { {\pi }}_{{\mathscr{B}}_{2}}\), \({ {\pi }}_{{\mathscr{D}}})\) \(= ({\pi }_{1}, {\ldots } , {\pi }_{{k_{{\mathscr{A}}}} + {2 k_{{\mathscr{B}}}}+ {k_{{\mathscr{D}}}}})\), where πi = P{Z0(0) = i}, for \(i = 1, \ldots , {k_{{\mathscr{A}}}} + {2k_{{\mathscr{B}}}}+ {k_{{\mathscr{D}}}}\), is the probability that the initial state of Z0(n) is state i. To investigate the transition rules, some notations for one-step increasing/equivalent/decreasing transitions in working/failure periods are defined as follows:

$$ \begin{array}{@{}rcl@{}} &{{\boldsymbol{P}}_ I^{W}}(z) = \left( {\begin{array}{*{20}{c}} {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {{\boldsymbol{Q}}_{\mathscr{BA}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}} \end{array}} \right), &{{\boldsymbol{P}}_ I^{F}}(z) = \left( {\begin{array}{*{20}{c}} {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {{\boldsymbol{Q}}_{\mathscr{BA}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {{\boldsymbol{Q}}_{\mathscr{DA}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{DB}}^{\text{*}}(z)}&{\textbf{\textit{0}}} \end{array}} \right),\\ &{{\boldsymbol{P}}_ E^{W}}(z) = \left( {\begin{array}{*{20}{c}} {{\boldsymbol{Q}}_{\mathscr{AA}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{BB}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}} \end{array}} \right), &{{\boldsymbol{P}}_ E^{F}}(z) = \left( {\begin{array}{*{20}{c}} {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{BB}}^{\text{*}}(z)}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{DD}}^{\text{*}}(z)} \end{array}} \right), \end{array} $$
$$ \begin{array}{@{}rcl@{}} {{\boldsymbol{P}}_ D^{W}}(z) = \left( {\begin{array}{*{20}{c}} {\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{AB}}^{\text{*}}(z)}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{AD}}^{\text{*}}(z)}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}} \end{array}} \right), &&{{\boldsymbol{P}}_ D^{F}}(z) = \left( {\begin{array}{*{20}{c}} {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{BD}}^{\text{*}}(z)}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{{\boldsymbol{Q}}_{\mathscr{BD}}^{\text{*}}(z)}\\ {\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}}&{\textbf{\textit{0}}} \end{array}} \right). \end{array} $$

Note that \({{\boldsymbol {P}}_ I^{W}}(z) + {{\boldsymbol {P}}_ E^{W}}(z) + {{\boldsymbol {P}}_ D^{W}}(z) + {{\boldsymbol {P}}_ I^{F}}(z) + {{\boldsymbol {P}}_ E^{F}}(z) + {{\boldsymbol {P}}_ D^{F}}(z) = {{\boldsymbol {D}}^{*}}(z)\). In addition, let

$$ \begin{array}{@{}rcl@{}} &&{{{D}}_ X^{W}}(z) = {{{D}}^{*}}(z) - {{{P}}_ X^{W}}(z), {{{D}}_ X^{F}}(z) = {{{D}}^{*}}(z) - {{{P}}_ X^{F}}(z), X \in \{I,E,D\},\\ &&{{{P}}_{XY}^{W}}(z) = {{{P}}_ X^{W} }(z) + {{{P}}_ Y^{W}}(z), {{{P}}_{XY}^{F}}(z) = {{{P}}_ X^{F} }(z) + {{{P}}_ Y^{F}}(z), (X,Y) \in \{(I,E),(I,D),(E,D)\},\\ &&{{{D}}_{XY}^{W}}(z) = {{{D}}^{*}}(z) - {{{P}}_{XY}^{W}}(z), {{{D}}_{XY}^{F}}(z) = {{{D}}^{*}}(z) - {{{P}}_{XY}^{F}}(z), (X,Y) \in \{(I,E),(I,D),(E,D)\}. \end{array} $$

Further, let \({{ {P}}^{W}}(z) = {{ {P}}_ I^{W}}(z) + {{ {P}}_ E^{W}}(z) + {{ {P}}_ D^{W}}(z)\), \({{ {P}}^{F}}(z) = {{ {P}}_ I^{F}}(z) + {{ {P}}_ E^{F}}(z) + {{ {P}}_ D^{F}}(z)\) and

$$ \begin{array}{@{}rcl@{}} {{P}}(z) &=& z{(z - 1)^{- 1}}\left( {\begin{array}{*{20}{c}} {{{{u}}_{\mathscr{A}}} - {{Q}}_{\mathscr{A}}^{\text{*}}(z)}\\ {{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{\text{*}}(z)}\\ {{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{\text{*}}(z)}\\ {{{{u}}_{\mathscr{D}}} - {{Q}}_{\mathscr{D}}^{\text{*}}(z)} \end{array}} \right)\\ &=& z{(z - 1)^{- 1}}\left( {\begin{array}{*{20}{c}} {{{{u}}_{\mathscr{A}}} - [{{Q}}_{\mathscr{AA}}^{\text{*}}(z){{{u}}_{\mathscr{A}}} + {{Q}}_{\mathscr{AB}}^{\text{*}}(z){{{u}}_{\mathscr{B}}} + {{Q}}_{\mathscr{AD}}^{\text{*}}(z){{{u}}_{\mathscr{D}}}]}\\ {{{{u}}_{\mathscr{B}}} - [{{Q}}_{\mathscr{BA}}^{\text{*}}(z){{{u}}_{\mathscr{A}}} + {{Q}}_{\mathscr{BB}}^{\text{*}}(z){{{u}}_{\mathscr{B}}} + {{Q}}_{\mathscr{BD}}^{\text{*}}(z){{{u}}_{\mathscr{D}}}]}\\ {{{{u}}_{\mathscr{B}}} - [{{Q}}_{\mathscr{BA}}^{\text{*}}(z){{{u}}_{\mathscr{A}}} + {{Q}}_{\mathscr{BB}}^{\text{*}}(z){{{u}}_{\mathscr{B}}} + {{Q}}_{\mathscr{BD}}^{\text{*}}(z){{{u}}_{\mathscr{D}}}]}\\ {{{{u}}_{\mathscr{D}}} - [{{Q}}_{\mathscr{DA}}^{\text{*}}(z){{{u}}_{\mathscr{A}}} + {{Q}}_{\mathscr{DB}}^{\text{*}}(z){{{u}}_{\mathscr{B}}} + {{Q}}_{\mathscr{DD}}^{\text{*}}(z){{{u}}_{\mathscr{D}}}]} \end{array}} \right), \end{array} $$

where \({{ {u}}_{{\mathscr{A}}}},{{ {u}}_{{\mathscr{B}}}},{{ {u}}_{{\mathscr{D}}}}\) are column vectors of dimension \({k_{{\mathscr{A}}}},{k_{{\mathscr{B}}}},{k_{{\mathscr{D}}}}\), respectively, whose elements are all ones.

Then, the distributions of counting processes \({N_ I^{W}}(n),{N_ E^{W}}(n),{N_ D^{W}}(n)\) are presented in Theorem 2.1 for the one-step increasing/equivalent/decreasing transitions in working periods together with the distribution of their summation NW(n).

Theorem 2.1

Denote the distributions of counting processes \({N_ X^{W}}(n),X \in \{I,E,D\}\) and NW(n) in working periods by

$${\phi_{X }^{W}}(n,k): = P\{ {N_ X^{W}}(n) = k\},{\text{~~~~}} {\phi}^{W}(n,k): = P\{ {N^{W}}(n) = k\},$$

for k = 0,1,…. Then, they can be given by their Z-transforms as follows:

$$ \begin{array}{@{}rcl@{}} {\phi_ X^{W*}}(z,k) =& {\pi} {\{ {[{{I}} - {{{D}}_ X^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ X^{W}}(z)\}^{k}}{[{{I}} - {{{D}}_ X^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z).\\ {\phi^{W*}}(z,k) =& {\pi} {\{ {[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}{{\boldsymbol{P}}^{W}}(z)\}^{k}}{[{{I}} - {{\boldsymbol{P}}^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z). \end{array} $$

Proof

The proof can be presented for \({N_ I^{W}}(n),{N_ E^{W}}(n),{N_ D^{W}}(n),{N^{W}}(n)\), respectively, in (1)-(4) as follows. (1) For counting process \({N_ I^{W}}(n)\), denote the conditional probability \({\phi _{I, i}}(n,k): = P\{ {N_ I^{W}}(n) = k\left | {{Z_{0}}(0) = i} \right .\} \) by \({\phi _{I, i}^{Y}}(n,k)\) when iY, namely, when the initial state i of semi-Markov process Z0(n) is in subset \(Y \in \{{\mathscr{A}}, {\mathscr{B}}_{1}, {\mathscr{B}}_{2},{\mathscr{D}}\}\). Specifically, for \(i \in {\mathscr{A}}\), there are four cases to consider: □

Case 1: The system stays in state i in interval [0,n], which means the first transition from state i happens at time u (u = n + 1,n + 2,…);

Case 2: The system jumps to another state j (ji) in subset \({\mathscr{A}}\) at time u (u = 1,…,n) from the initial state \(i \in {\mathscr{A}}\), which is a one-step equivalent transition in a working period that will not contribute to \({N_ I^{W}}(n)\);

Case 3: The system jumps to state j in subset \({\mathscr{B}}\) at time u (u = 1,…,n) from the initial state \(i \in {\mathscr{A}}\), which is a one-step decreasing transition in a working period that will not contribute to \({N_ I^{W}}(n)\);

Case 4: The system jumps to state j in subset \({\mathscr{D}}\) at time u (u = 1,…,n) from the initial state \(i \in {\mathscr{A}}\), which is also a one-step decreasing transition in a working period that will not contribute to \({N_ I^{W}}(n)\).

Then, due to the conditional independence of events, for \(i \in {\mathscr{A}}\), we have

$$ \begin{array}{@{}rcl@{}} {\phi_{I, i}^{\mathscr{A}}}(n,0) &=& \sum\limits_{j \in {\Omega} /\{ i\} } {\sum\limits_{u = n + 1}^{\infty} {{Q_{ij}}(u)} } + \sum\limits_{j \in \mathscr{A}/\{ i\mathscr{\} }} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^{\mathscr{A}}}(n - u,0)} } \\ &&+ \sum\limits_{j \in {\mathscr{B}_{1}}} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^{\mathscr{B}_{1}}}(n - u,0)} }+ \sum\limits_{j \in \mathscr{D}} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^ \mathscr{D}}(n - u,0)} } ,\\ {\phi_{I, i}^ \mathscr{A}}(n,k)& = &\sum\limits_{j \in \mathscr{A}/\{ i\mathscr{\} }} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^ \mathscr{A}}(n - u,k)} } + \sum\limits_{j \in {\mathscr{B}_{1}}} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^{\mathscr{B}_{1}}}(n - u,k)} } \\ && + \sum\limits_{j \in \mathscr{D}} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^ \mathscr{D}}(n - u,k)} } , \text{{~~~~}} k \ge 1. \end{array} $$

Upon taking the Z-transform, we have

$$ \begin{array}{@{}rcl@{}} \phi_{I, i}^{\mathscr{A}*}(z,0) &=& z{(z - 1)^{- 1}}[1 - \sum\limits_{j \in {\Omega} /\{ i\} } {Q_{ij}^{*}(z)} ] + \sum\limits_{j \in \mathscr{A}/\{ i\mathscr{\} }} {Q_{ij}^{*}(z)\phi_{ I, j}^{\mathscr{A}*}(z,0)} \\ && + \sum\limits_{j \in {\mathscr{B}_{1}}} {Q_{ij}^{*}(z)\phi_{I, j}^{\mathscr{B}_{1}*}(z,0)} + \sum\limits_{j \in \mathscr{D}} {Q_{ij}^{*}(z)\phi_{I, j}^{\mathscr{D}*}(z,0)} ,\\ \phi_{I, i}^{\mathscr{A}*}(z,k) &=& \sum\limits_{j \in \mathscr{A}/\{ i\mathscr{\} }} {Q_{ij}^{*}(z)\phi_{I, j}^{\mathscr{A}*}(z,k)} + \sum\limits_{j \in {\mathscr{B}_{1}}} {Q_{ij}^{*}(z)\phi_{I, j}^{\mathscr{B}_{1}*}(z,k)} \\ &&+ \sum\limits_{j \in \mathscr{D}} {Q_{ij}^{*}(z)\phi_{I, j}^{\mathscr{D}*}(z,k)} ,\text{{~~~~}}k \ge 1. \end{array} $$

In matrix form, these formulas can be expressed as

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ I^{\mathscr{A}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{A}}} - {{Q}}_{\mathscr{A}}^{\text{*}}(z)] + {{Q}}_{\mathscr{AA}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{A}}(z,0) + {{Q}}_{\mathscr{AB}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{B}_{1}}(z,0) \\ &&+ {{Q}}_{\mathscr{AD}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{D}}(z,0),\\ {{\varPhi} }_ I^{\mathscr{A}}(z,k)& = & {{Q}}_{\mathscr{AA}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{AB}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{B}_{1}}(z,k) + {{Q}}_{\mathscr{AD}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1. \end{array} $$

As in the above discussion, for \(i \in {{\mathscr{B}}_{1}}\), we also have four cases to consider, and the only difference is that the transition from \(i \in {{\mathscr{B}}_{1}}\) to \(j \in {\mathscr{A}}\) will contribute to \({N_ I^{W}}(n)\). This means

$$ \begin{array}{@{}rcl@{}} {\phi_{I, i}^{\mathscr{B}_{1}}}(n,0) &=& \sum\limits_{j \in {\Omega} } {\sum\limits_{u = n + 1}^{\infty} {{Q_{ij}}(u)} } + \sum\limits_{j \in {\mathscr{B}_{1}}} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^{\mathscr{B}_{1}}}(n - u,0)} } + \sum\limits_{j \in \mathscr{D}} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^{\mathscr{D}}}(n - u,0)} } ,\\ {\phi_{I, j}^{\mathscr{B}_{1}}}(n,k) &= &\sum\limits_{j \in \mathscr{A}/\{ i\mathscr{\} }} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^{\mathscr{A}}}(n - u,k - 1)} } + \sum\limits_{j \in {\mathscr{B}_{1}}} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^{\mathscr{B}_{1}}}(n - u,k)} } \\ &&+ \sum\limits_{j \in \mathscr{D}} {\sum\limits_{u = 1}^{n} {{Q_{ij}}(u){\phi_{I, j}^{\mathscr{D}}}(n - u,k)} } ,\text{{~~~~}}k \ge 1. \end{array} $$

Then, we obviously have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ I^{{\mathscr{B}_{1}}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{*}(z)] + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ I^{\mathscr{B}_{1}}(z,0) + {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ I^{\mathscr{D}}(z,0),\\ {{\varPhi} }_ I^{{\mathscr{B}_{1}}}(z,k) &=& {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ I^{\mathscr{A}}(z,k - 1) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ I^{{\mathscr{B}_{1}}}(z,k) + {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ I^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1. \end{array} $$

Similarly, for \(i \in {{\mathscr{B}}_{2}}\), we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ I^{{\mathscr{B}_{2}}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{*}(z)] + {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ I^{\mathscr{A}}(z,0) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ I^{\mathscr{B}_{1}}(z,0) \\ &&+ {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ I^{\mathscr{D}}(z,0),\\ {{\varPhi} }_ I^{{\mathscr{B}_{2}}}(z,k) &=& {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ I^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ I^{\mathscr{B}_{2}}(z,k) + {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ I^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1, \end{array} $$

and for \(i \in {\mathscr{D}}\), we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ I^{\mathscr{D}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{D}}} - {{Q}}_{\mathscr{D}}^{\text{*}}(z)] + {{Q}}_{\mathscr{DA}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{A}}(z,0) + {{Q}}_{\mathscr{DB}}^{\text{*}}(z){{\varPhi} }_ I^{{\mathscr{B}_{2}}}(z,0)\\ &&+ {{Q}}_{\mathscr{DD}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{D}}(z,0),\\ {{\varPhi} }_ I^{\mathscr{D}}(z,k) &= & {{Q}}_{\mathscr{DA}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{DB}}^{\text{*}}(z){{\varPhi} }_ I^{{\mathscr{B}_{2}}}(z,k) + {{Q}}_{\mathscr{DD}}^{\text{*}}(z){{\varPhi} }_ I^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1. \end{array} $$

From all the above expressions, with \( {{\varPhi } }_{I}^{W}(z,k) = \left ({\begin {array}{*{20}{c}} { {{\varPhi } }_{I}^{{\mathscr{A}}}(z,k)}\\ { {{\varPhi } }_{I}^{{{\mathscr{B}}_{1}}}(z,k)}\\ { {{\varPhi } }_{I}^{{{\mathscr{B}}_{2}}}(z,k)}\\ { {{\varPhi } }_{I}^{{\mathscr{D}}}(z,k)} \end {array}} \right )\), we can conclude that

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ I^{W} (z,0) &=& {\boldsymbol{P}}(z) + {{{D}}_ I^{W}}(z){{\varPhi} }_ I^{W} (z,0) = {[{{I}} - {{{D}}_ I^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ {{\varPhi} }_ I^{W} (z,k) &=& {{\boldsymbol{P}}_ I^{W}}(z){{\varPhi} }_ I^{W} (z,k - 1) + {{{D}}_ I^{W}}(z){{\varPhi} }_ I^{W} (z,k)\\ &= &{[{{I}} - {{{D}}_ I^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ I^{W}}(z){{\varPhi} }_ I^{W} (z,k - 1)\\ &= &{\{ {[{{I}} - {{{D}}_ I^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ I^{W}}(z)\}^{k}}{{\varPhi} }_ I^{W} (z,0)\\ &= &{\{ {[{{I}} - {{{D}}_ I^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ I^{W}}(z)\}^{k}}{[{{I}} - {{{D}}_ I^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z),\text{{~~~~}} k \ge 1. \end{array} $$

This means that the distribution \({\phi _ I^{W}}(n,k),k=0,1,\ldots ,\) of counting process \({{N_{I}^{W}}(n)}\) can be given by its Z-transform as

$${\phi_ I^{W*}}(z,k) = {\pi} {\{ {[{{I}} - {{{D}}_ I^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ I^{W}}(z)\}^{k}}{[{{I}} - {{{D}}_ I^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z).$$

(2) The detailed discussions and associated notations for \({N_{E}^{W}}(n)\) are similar to (1), and are therefore omitted. For \(i \in {\mathscr{A}},\) based on the conditional independence of events, we have

$$ \begin{array}{@{}rcl@{}} &&{{\varPhi} }_ E^{\mathscr{A}}(z,0) = z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{A}}} - {{Q}}_{\mathscr{A}}^{*}(z)] + {{Q}}_{\mathscr{AB}}^{*}(z){{\varPhi} }_ E^{\mathscr{B}_{1}}(z,0)+ {{Q}}_{\mathscr{AD}}^{*}(z){{\varPhi} }_ E^{\mathscr{D}}(z,0),\\ &&{{\varPhi} }_ E^{\mathscr{A}}(z,k) = {{Q}}_{\mathscr{AA}}^{*}(z){{\varPhi} }_ E^{\mathscr{A}}(z,k - 1) + {{Q}}_{\mathscr{AB}}^{*}(z){{\varPhi} }_ E^{\mathscr{B}_{1}}(z,k) + {{Q}}_{\mathscr{AD}}^{*}(z){{\varPhi} }_ E^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1; \end{array} $$

for \(i \in {{\mathscr{B}}_{1}}\), we have

$$ \begin{array}{@{}rcl@{}} &&{{\varPhi} }_ E^{\mathscr{B}_{1}}(z,0) = z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{*}(z)] + {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ E^{\mathscr{A}}(z,0) + {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ E^{\mathscr{D}}(z,0),\\ &&{{\varPhi} }_ E^{\mathscr{B}_{1}}(z,k) = {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ E^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ E^{\mathscr{B}_{1}}(z,k - 1) + {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ E^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1; \end{array} $$

for \(i \in {{\mathscr{B}}_{2}}\), we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ E^{\mathscr{B}_{2}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{*}(z)] + {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ E^{\mathscr{A}}(z,0) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ E^{\mathscr{B}_{2}}(z,0) \\ &&+ {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ E^{\mathscr{D}}(z,0),\\ {{\varPhi} }_ E^{\mathscr{B}_{2}}(z,k) &=& {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ E^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ E^{\mathscr{B}_{2}}(z,k) + {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ E^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1; \end{array} $$

for \(i \in {\mathscr{D}}\), we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ E^{\mathscr{D}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{D}}} - {{Q}}_{\mathscr{D}}^{*}(z)] + {{Q}}_{\mathscr{DA}}^{*}(z){{\varPhi} }_ E^{\mathscr{A}}(z,0) + {{Q}}_{\mathscr{DB}}^{*}(z){{\varPhi} }_ E^{\mathscr{B}_{2}}(z,0) \\ &&+ {{Q}}_{\mathscr{DD}}^{*}(z){{\varPhi} }_ E^{\mathscr{D}}(z,0),\\ {{\varPhi} }_ E^{\mathscr{D}}(z,k) &= & {{Q}}_{\mathscr{DA}}^{*}(z){{\varPhi} }_ E^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{DB}}^{*}(z){{\varPhi} }_ E^{\mathscr{B}_{2}}(z,k) + {{Q}}_{\mathscr{DD}}^{*}(z){{\varPhi} }_ E^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1. \end{array} $$

Then, similar to (1), the distribution \({\phi _ E^{W}}(n,k),k=0,1,\ldots ,\) of counting process \({{N_{E}^{W}}(n)}\) can be given by its Z-transform as

$$ \begin{array}{@{}rcl@{}} {\phi_ E^{W*}} (z,k) = {\pi} {\{ {[{{I}} - {{{D}}_ E^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ E^{W}}(z)\}^{k}}{[{{I}} - {{{D}}_ E^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z). \end{array} $$

(3) The detailed discussions and associated notations for \({N_{D}^{W}}(n)\) are similar to (1), and are therefore omitted. For \(i \in {\mathscr{A}}\), based on the conditional independence of events, we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ D^{\mathscr{A}}(z,0)& =& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{A}}} - {{Q}}_{\mathscr{A}}^{*}(z)] + {{Q}}_{\mathscr{AA}}^{*}(z){{\varPhi} }_ D^{\mathscr{A}}(z,0),\\ {{\varPhi} }_ D^{\mathscr{A}}(z,k) &= & {{Q}}_{\mathscr{AA}}^{*}(z){{\varPhi} }_ D^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{AB}}^{*}(z){{\varPhi} }_ D^{{\mathscr{B}_{1}}}(z,k - 1) + {{Q}}_{\mathscr{AD}}^{*}(z){{\varPhi} }_ D^{\mathscr{D}}(z,k - 1),\text{{~~~~}} k \ge 1; \end{array} $$

for \(i \in {{\mathscr{B}}_{1}}\), we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ D^{\mathscr{B}_{1}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{*}(z)] + {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ D^{\mathscr{A}}(z,0) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ D^{\mathscr{B}_{1}}(z,0)\\ &&+ {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ D^{\mathscr{D}}(z,0) ,\\ {{\varPhi} }_ D^{\mathscr{B}_{1}}(z,k) &=& {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ D^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ D^{\mathscr{B}_{1}}(z,k) + {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ D^{\mathscr{D}}(z,k) ,\text{{~~~~}} k \ge 1; \end{array} $$

for \(i \in {{\mathscr{B}}_{2}}\), we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ D^{\mathscr{B}_{2}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{*}(z)] + {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ D^{\mathscr{A}}(z,0) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ D^{\mathscr{B}_{2}}(z,0) \\ &&+ {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ D^{\mathscr{D}}(z,0),\\ {{\varPhi} }_ D^{\mathscr{B}_{2}}(z,k) &= & {{Q}}_{\mathscr{BA}}^{*}(z){{\varPhi} }_ D^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{BB}}^{*}(z){{\varPhi} }_ D^{\mathscr{B}_{2}}(z,k) + {{Q}}_{\mathscr{BD}}^{*}(z){{\varPhi} }_ D^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1; \end{array} $$

for \(i \in {\mathscr{D}}\), we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_ D^{\mathscr{D}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{D}}} - {{Q}}_{\mathscr{D}}^{*}(z)] + {{Q}}_{\mathscr{DA}}^{*}(z){{\varPhi} }_ D^{\mathscr{A}}(z,0) + {{Q}}_{\mathscr{DB}}^{*}(z){{\varPhi} }_ D^{\mathscr{B}_{2}}(z,0) \\ &&+ {{Q}}_{\mathscr{DD}}^{*}(z){{\varPhi} }_ D^{\mathscr{D}}(z,0),\\ {{\varPhi} }_ D^{\mathscr{D}}(z,k) &= & {{Q}}_{\mathscr{DA}}^{*}(z){{\varPhi} }_ D^{\mathscr{A}}(z,k) + {{Q}}_{\mathscr{DB}}^{*}(z){{\varPhi} }_ D^{\mathscr{B}_{2}}(z,k) + {{Q}}_{\mathscr{DD}}^{*}(z){{\varPhi} }_ D^{\mathscr{D}}(z,k),\text{{~~~~}} k \ge 1. \end{array} $$

Then, similar to (1), the distribution \({\phi _ D^{W}}(n,k),k=0,1,\ldots ,\) of counting process \({{N_{D}^{W}}(n)}\) can be given by its Z-transform as

$$ \begin{array}{@{}rcl@{}} \phi_ D^{W*} (z,k) ={\pi} {\{ {[{{I}} - {{{D}}_ D^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ D^{W}}(z)\}^{k}}{[{{I}} - {{\boldsymbol{P}}_ D^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z). \end{array} $$

(4) The detailed discussions and associated notations for NW(n) are similar to (1), and are therefore omitted. For \(i \in {\mathscr{A}}\), based on the conditional independence of events, we have

$$ \begin{array}{@{}rcl@{}} {{{\varPhi} }^{\mathscr{A}}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{A}}} - {{Q}}_{\mathscr{A}}^{*}(z)],\\ {{{\varPhi} }^{\mathscr{A}}}(z,k) &= & {{Q}}_{\mathscr{AA}}^{*}(z){{{\varPhi} }^{\mathscr{A}}}(z,k - 1) + {{Q}}_{\mathscr{AB}}^{*}(z){{{\varPhi} }^{\mathscr{B}_{1}}}(z,k - 1) + {{Q}}_{\mathscr{AD}}^{*}(z){{{\varPhi} }^{\mathscr{D}}}(z,k - 1),\text{{~}} k \ge 1; \end{array} $$

for \(i \in {{\mathscr{B}}_{1}}\), we have

$$ \begin{array}{@{}rcl@{}} {{{\varPhi} }^{\mathscr{B}_{1}}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{*}(z)] + {{Q}}_{\mathscr{BD}}^{*}(z){{{\varPhi} }^{\mathscr{D}}}(z,0),\\ {{{\varPhi} }^{\mathscr{B}_{1}}}(z,k)& =& {{Q}}_{\mathscr{BA}}^{*}(z){{{\varPhi} }^{\mathscr{A}}}(z,k - 1) + {{Q}}_{\mathscr{BB}}^{*}(z){{{\varPhi} }^{\mathscr{B}_{1}}}(z,k - 1) + {{Q}}_{\mathscr{BD}}^{*}(z){{{\varPhi} }^{\mathscr{D}}}(z,k),\text{{~~~~}} k \ge 1; \end{array} $$

for \(i \in {{\mathscr{B}}_{2}}\), we have

$$ \begin{array}{@{}rcl@{}} {{{\varPhi} }^{\mathscr{B}_{2}}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{B}}} - {{Q}}_{\mathscr{B}}^{*}(z)] + {{Q}}_{\mathscr{BA}}^{*}(z){{{\varPhi} }^{\mathscr{A}}}(z,0) + {{Q}}_{\mathscr{BB}}^{*}(z){{{\varPhi} }^{{\mathscr{B}_{2}}}}(z,0) \\ &&+ {{Q}}_{\mathscr{BD}}^{*}(z){{{\varPhi} }^{\mathscr{D}}}(z,0),\\ {{{\varPhi} }^{{\mathscr{B}_{2}}}}(z,k) &=& {{Q}}_{\mathscr{BA}}^{*}(z){{{\varPhi} }^{\mathscr{A}}}(z,k) + {{Q}}_{\mathscr{BB}}^{*}(z){{{\varPhi} }^{{\mathscr{B}_{2}}}}(z,k) + {{Q}}_{\mathscr{BD}}^{*}(z){{{\varPhi} }^{\mathscr{D}}}(z,k),\text{{~~~~}} k \ge 1; \end{array} $$

for \(i \in {\mathscr{D}}\), we have

$$ \begin{array}{@{}rcl@{}} {{{\varPhi} }^{\mathscr{D}}}(z,0) &= &z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{D}}} - {{{Q}}_{\mathscr{D}}}(z)] + {{Q}}_{\mathscr{DA}}^{*}(z){{{\varPhi} }^{\mathscr{A}}}(z,0) + {{Q}}_{\mathscr{DB}}^{*}(z){{{\varPhi} }^{\mathscr{B}_{2}}}(z,0) \\ &&+ {{Q}}_{\mathscr{DD}}^{*}(z){{{\varPhi} }^{\mathscr{D}}}(z,0),\\ {{{\varPhi} }^{\mathscr{D}}}(z,k) &= & {{Q}}_{\mathscr{DA}}^{*}(z){{{\varPhi} }^{\mathscr{A}}}(z,k) + {{Q}}_{\mathscr{DB}}^{*}(z){{{\varPhi} }^{\mathscr{B}_{2}}}(z,k) + {{Q}}_{\mathscr{DD}}^{*}(z){{{\varPhi} }^{\mathscr{D}}}(z,k),\text{{~~~~}} k \ge 1 . \end{array} $$

Then, similar to (1), the distribution ϕW(n,k),k = 0,1,…, of counting process NW(n) can be given by its Z-transform as

$$ \begin{array}{@{}rcl@{}} \phi^{W*}(z,k) = {\pi}{\{ {[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}{}{{\boldsymbol{P}}^{W}}(z)\}^{k}}{[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z). \end{array} $$

As in Theorem 2.1, the distributions of counting processes \({N_ I^{F}}(n),{N_ E^{F}}(n),{N_ D^{F}}(n)\) are presented in Theorem 2.2 for the one-step increasing/equivalent/decreasing transitions in failure periods together with the distribution of their summation NF(n).

Theorem 2.2

Denote the distributions of counting processes \({N_ X^{F}}(n),X \in \{I,E,D\}\), and NF(n) in failure periods by

$${\phi_ X^{F}}(n,k): = P\{ {N_ X^{F}}(n) = k\},{\text{~~~~}} {\phi^{F}}(n,k): = P\{ {N^{F}}(n) = k\},$$

for k = 0,1,…. Then, they can be given by Z-transforms as follows:

$$ \begin{array}{@{}rcl@{}} {\phi_ X^{F*}}(z,k) =& {\pi} {\{ {[{{I}} - {{{D}}_ X^{F}}(z)]^{- 1}}{{\boldsymbol{P}}_ X^{F}}(z)\}^{k}}{[{{I}} - {{{D}}_ X^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z).\\ {\phi^{F*}}(z,k) =& {\pi} {\{ {[{{I}} - {{\boldsymbol{P}}^{W}}(z)]^{- 1}}{{\boldsymbol{P}}^{F}}(z)\}^{k}}{[{{I}} - {{\boldsymbol{P}}^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z). \end{array} $$

Proof

The proof is similar to Theorem 2.1, and is therefore not presented here for conciseness. □

With the results presented in Theorems 2.1 and 2.2, expectations and generating functions of these derived counting processes are derived in Theorem 2.3.

Theorem 2.3

(1) The Z-transforms of expectations of \({N_ X^{W}}(n), {N_ X^{F}}(n), X \in \{ I , E , D \}\), and NW(n),NF(n) are as follows:

$$ \begin{array}{@{}rcl@{}} &&{E^{\text{*}}}[{{N_{X}^{W}}}(z)] = z{(z - 1)^{- 1}}{{\pi}}{[{{I}} - {{{D}}^{*}}(z)]^{- 1}}{{\boldsymbol{P}}_{X}^{W}}(z){{{u}}_{{{\Omega}_{0}}}},\\ &&{E^{\text{*}}}[{{N_{X}^{F}}}(z)] = z{(z - 1)^{- 1}}{{\pi}}{[{{I}} - {{{D}}^{*}}(z)]^{- 1}}{{\boldsymbol{P}}_{X}^{F}}(z){{{u}}_{{{\Omega}_{0}}}},\\ &&{E^{\text{*}}}[{N^{W}}(z)] = z{(z - 1)^{- 1}}{{\pi}}{[{{I}} - {{{D}}^{*}}(z)]^{- 1}}{{\boldsymbol{P}}^{W}}(z){{{u}}_{{{\Omega}_{0}}}},\\ &&{E^{\text{*}}}[{N^{F}}(z)] = z{(z - 1)^{- 1}}{{\pi}}{[{{I}} - {{{D}}^{*}}(z)]^{- 1}}{{\boldsymbol{P}}^{F}}(z){{{u}}_{{{\Omega}_{0}}}}, \end{array} $$

where \({{ {u}}_{{{\Omega }_{0}}}} = {(\underbrace {1, {\ldots } ,1}_{{k_{{\mathscr{A}}}} + 2{k_{{\mathscr{B}}}} + {k_{{\mathscr{D}}}}})^{T}}\); (2) The Z-transforms of the generating functions of \({N_ X^{W}}(n), {N_ X^{F}}(n), X \in \{ I , E , D \}\), and NW(n),NF(n) are as follows:

$$ \begin{array}{@{}rcl@{}} &&{h}_{X}^{W*}(z,x) ={{\pi}} {[{{I}} - {{\boldsymbol{P}}_{X}^{W}}(z)x - {{{D}}_{X}^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ &&{h}_{X}^{F*}(z,x) ={{\pi}} {[{{I}} - {{\boldsymbol{P}}_{X}^{F}}(z)x - {{{D}}_{X}^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ &&{{h}^{W*}}(z,x) ={{\pi}} {[{{I}} - {{\boldsymbol{P}}^{W}}(z)x - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ &&{{h}^{F*}}(z,x) ={{\pi}} {[{{I}} - {{\boldsymbol{P}}^{F}}(z)x - {{\boldsymbol{P}}^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z). \end{array} $$

Proof

We only consider \(N_{I}^{W}(n)\) since the results for other cases can be established similarly.

(1) Expectation of \(N_{I}^{W}(n)\) is \(E[N_{I}^{W}(n)] = { {\pi } {E}}[N_{I}^{W}(n)],\) where \({ {E}}[N_{I}^{W}(n)]= \sum \limits _{k = 1}^{\infty } {k {{\varPhi } }_{I}^{W}(n,k)}\), can be given by its Z-transform as follows:

$$ \begin{array}{@{}rcl@{}} &&{{{E}}^{\text{*}}}[{{N_{I}^{W}}}(z)]= \sum\limits_{k = 1}^{\infty} {k{{{\varPhi} }_ I^{W} }(z,k)}\\ &=& \sum\limits_{k = 1}^{\infty} {k[{{\boldsymbol{P}}_ I^{W}}(z){{\varPhi} }_ I^{W}(z,k - 1) + {{{D}}_ I^{W}}(z){{\varPhi} }_ I^{W}(z,k)]} \\ &=& {{\boldsymbol{P}}_ I^{W}}(z)[\sum\limits_{k = 1}^{\infty} {(k - 1){{\varPhi} }_ I^{W}(z,k - 1)} + \sum\limits_{k = 1}^{\infty} {{{\varPhi} }_ I^{W}(z,k - 1)} ] + {{{D}}_ I^{W}}(z)\sum\limits_{k = 1}^{\infty} {k{{\varPhi} }_ I^{W}(z,k)} \\ &=& {{\boldsymbol{P}}_ I^{W}}(z)\{ {{{E}}^{*}}[{N_ I^{W}}(z)] + z{(z - 1)^{- 1}}{{{u}}_{{{\Omega}_{0}}}}\} + {{{D}}_ I^{W}}(z){{{E}}^{*}}[{N_ I^{W}}(z)]\\ &=& z{(z - 1)^{- 1}}{[{{I}} - {{\boldsymbol{P}}_ I^{W}}(z) - {{{D}}_ I^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ I^{W}}(z){{{u}}_{{{\Omega}_{0}}}}\\ &=& z{(z - 1)^{- 1}}{[{{I}} - {{{D}}^{*}}(z)]^{- 1}}{{\boldsymbol{P}}_ I^{W}}(z){{{u}}_{{{\Omega}_{0}}}}; \end{array} $$

(2) Generating function of \(N_{I}^{W}(n)\) is \({h_ I ^W}(n,x) = { {\pi }}{{ {h}}_ I ^W}(n,x),\) where \({{ {h}}_ I ^W}(n,x) = \sum \limits _{k = 0}^{\infty }{ {{\varPhi } }_{I}^{W}(n,k){x^k}}\), can be given by its Z-transform as follows:

$$ \begin{array}{@{}rcl@{}} &&{{h}}_ I^{W*}(z,x) = {{\varPhi} }_ I^{W}(z,0) + \sum\limits_{k = 1}^{\infty} {{{\varPhi} }_ I^{W}(z,k){x^{k}}} \\ &=& {{\varPhi} }_ I^{W}(z,0) + \sum\limits_{k = 1}^{\infty} {[{{\boldsymbol{P}}_ I^{W}}(z){{\varPhi} }_ I^{W}(z,k - 1) + {{{D}}_ I^{W}}(z){{\varPhi} }_ I^{W}(z,k)]{x^{k}}}\\ &=& {{\varPhi} }_ I^{W}(z,0) + {{\boldsymbol{P}}_ I^{W}}(z)x\sum\limits_{k = 1}^{\infty} {{{\varPhi} }_ I^{W}(z,k - 1){x^{k - 1}}} + {{{D}}_ I^{W}}(z)[\sum\limits_{k = 0}^{\infty} {{{\varPhi} }_ I^{W}(z,k){x^{k}}} - {{\varPhi} }_ I^{W}(z,0)]\\ &=& [{{\boldsymbol{P}}_ I^{W}}(z)x + {{{D}}_ I^{W}}(z)]{{h}}_ I^{W*}(z,x) + [{{I}} - {{{D}}_ I^{W}}(z)]{{\varPhi} }_ I^{W}(z,0)\\ &=& {[{{I}} - {{\boldsymbol{P}}_ I^{W}}(z)x - {{{D}}_ I^{W}}(z)]^{- 1}}[{{I}} - {{{D}}_ I^{W}}(z)]{{\varPhi} }_ I^{W}(z,0)\\ &=& {[{{I}} - {{\boldsymbol{P}}_ I^{W}}(z)x - {{{D}}_ I^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z).\\ \end{array} $$

Then, some joint distributions of \(N_{I}^{W}(n),{N_ E ^W}(n),{N_ D ^W}(n)\) are presented in Theorem 2.4, and similarly some joint distributions of \({N_ I ^F}(n),{N_ E ^F}(n),{N_ D ^F}(n)\) are presented in Theorem 2.5. □

Theorem 2.4

Denote the joint distribution of \(N_{I}^{W}(n),{N_ E ^W}(n),{N_ D ^W}(n)\) and the joint distributions of \({N_ X ^W}(n),{N_ Y ^W}(n), (X,Y) \in \{(I,E),(I,D),(E,D)\}\), by

$$ \begin{array}{@{}rcl@{}} &&{\phi^{W}}(n,{k_{1}},{k_{2}},{k_{3}}): = \{ {N_ I^{W}}(n) = {k_{1}},{N_ E^{W}}(n) = {k_{2}},{N_ D^{W}}(n) = {k_{3}}\}, \\ &&{\phi_{XY}^{W}}(n,{k_{1}},{k_{2}}): = \{ {N_ X^{W}}(n) = {k_{1}},{N_ Y^{W}}(n) = {k_{2}}\}, \end{array} $$

for k1,k2,k3 ∈{0,1,…}. Then, they can be given by their Z-transforms as

$$ \begin{array}{@{}rcl@{}} &{\phi^{W*}}(z,{k_{1}},{k_{2}},{k_{3}}): = {{\pi}{{\varPhi} }^{W}(z,{k_{1}},{k_{2}},{k_{3}})} , &{\phi_{XY}^{W*}}(z,{k_{1}},{k_{2}}): = {{\pi}{{\varPhi} }_{XY}^{W}(z,{k_{1}},{k_{2}})} , \end{array} $$

where, for ΦW(z,k1,k2,k3), we have

$$ \begin{array}{@{}rcl@{}} {{{\varPhi} }^{W}}(z,0,0,0) &=& {{\pi}[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ {{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}},{k_{3}}) &=& {{\pi}[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}[{{\boldsymbol{P}}_ I^{W}}(z){{{\varPhi} }^{W}}(z,{k_{1}} - 1,{k_{2}},{k_{3}}) + {{\boldsymbol{P}}_ E^{W}}(z){{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}} - 1,{k_{3}})\\ & &+ {{\boldsymbol{P}}_ D^{W}}(z){{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}},{k_{3}} - 1)], {\text{~~~~~}} (k_{1},k_{2},k_{3}) \ne (0,0,0), \end{array} $$

and for \( {{\varPhi } }_{XY}^W(z,{k_1},{k_2})\), we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_{XY}^{W}(z,0,0) &=& {[{{I}} - {{{D}}_{XY}^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ {{\varPhi} }_{XY }^{W}(z,{k_{1}},{k_{2}}) &=& {[{{I}} - {{{D}}_{XY}^{W}}(z)]^{- 1}}[{{\boldsymbol{P}}_ X^{W}}(z){{\varPhi} }_{XY}^{W}(z,{k_{1}} - 1,{k_{2}}) +{{\boldsymbol{P}}_ Y^{W}}(z){{\varPhi} }_{XY}^{W}(z,{k_{1}},{k_{2}} - 1)],\\ &&(k_{1},k_{2}) \ne (0,0). \end{array} $$

Proof

Take ϕW(n,k1,k2,k3) as an example. Then, as in Theorem 2.1, we have

$$ \begin{array}{@{}rcl@{}} {{{\varPhi} }^{W}}(z,0,0,0)&=& {\boldsymbol{P}}(z) + {{\boldsymbol{P}}^{F}}(z){{{\varPhi} }^{W}}(z,0,0,0)= {[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ {{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}},{k_{3}})&=&{{\boldsymbol{P}}^{F}}(z){{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}},{k_{3}}) + {{\boldsymbol{P}}_ I^{W}}(z){{{\varPhi} }^{W}}(z,{k_{1}} - 1,{k_{2}},{k_{3}})\\ &&+ {{\boldsymbol{P}}_ E^{W}}(z){{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}} - 1,{k_{3}}) + {{\boldsymbol{P}}_ D^{W}}(z){{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}},{k_{3}} - 1)\\ &=& {[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}[{{\boldsymbol{P}}_ I^{W}}(z){{{\varPhi} }^{W}}(z,{k_{1}} - 1,{k_{2}},{k_{3}}) \\ &&+ {{\boldsymbol{P}}_ E^{W}}(z){{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}} - 1,{k_{3}})+ {{\boldsymbol{P}}_ D^{W}}(z){{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}},{k_{3}} - 1)], \end{array} $$

which completes the proof. □

Theorem 2.5

Denote the joint distribution of \({N_ I ^F}(n),{N_ E ^F}(n),{N_ D ^F}(n)\) and the joint distributions of \({N_ X ^F}(n),{N_ Y ^F}(n), (X,Y) \in \{(I,E),(I,D),(E,D)\}\), by

$$ \begin{array}{@{}rcl@{}} &&{\phi^{F}}(n,{k_{1}},{k_{2}},{k_{3}}): = \{ {N_ I^{F}}(n) = {k_{1}},{N_ E^{F}}(n) = {k_{2}},{N_ D^{F}}(n) = {k_{3}}\}, \\ &&{\phi_{XY}^{F}}(n,{k_{1}},{k_{2}}): = \{ {N_ X^{F}}(n) = {k_{1}},{N_ Y^{F}}(n) = {k_{2}}\}, \end{array} $$

for k1,k2,k3 ∈{0,1,…}. Then, they can be given by their Z-transforms as

$$ \begin{array}{@{}rcl@{}} &{\phi^{F*}}(z,{k_{1}},{k_{2}},{k_{3}}): = {{\pi}{{\varPhi} }^{F}(z,{k_{1}},{k_{2}},{k_{3}})} , &{\phi_{XY}^{F*}}(z,{k_{1}},{k_{2}}): = {{\pi}{{\varPhi} }_{XY}^{F}(z,{k_{1}},{k_{2}})} , \end{array} $$

where, for ΦF(z,k1,k2,k3), we have

$$ \begin{array}{@{}rcl@{}} {{{\varPhi} }^{F}}(z,0,0,0) &=& {{\pi}[{{I}} - {{\boldsymbol{P}}^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ {{{\varPhi} }^{F}}(z,{k_{1}},{k_{2}},{k_{3}}) &=& {{\pi}[{{I}} - {{\boldsymbol{P}}^{W}}(z)]^{- 1}}[{{\boldsymbol{P}}_ I^{F}}(z){{{\varPhi} }^{F}}(z,{k_{1}} - 1,{k_{2}},{k_{3}}) + {{\boldsymbol{P}}_ E^{F}}(z){{{\varPhi} }^{F}}(z,{k_{1}},{k_{2}} - 1,{k_{3}})\\ & &+ {{\boldsymbol{P}}_ D^{F}}(z){{{\varPhi} }^{F}}(z,{k_{1}},{k_{2}},{k_{3}} - 1)], {\text{~~~~~}} (k_{1},k_{2},k_{3}) \ne (0,0,0), \end{array} $$

and for \( {{\varPhi } }_{XY}^F(z,{k_1},{k_2})\), we have

$$ \begin{array}{@{}rcl@{}} {{\varPhi} }_{XY}^{F}(z,0,0) &=& {[{{I}} - {{{D}}_{XY }^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ {{\varPhi} }_{XY }^{F}(z,{k_{1}},{k_{2}}) &=& {[{{I}} - {{{D}}_{XY}^{F}}(z)]^{- 1}}[{{\boldsymbol{P}}_ X^{F}}(z){{\varPhi} }_{XY}^{F}(z,{k_{1}} - 1,{k_{2}}) +{{\boldsymbol{P}}_ Y^{F}}(z){{\varPhi} }_{XY}^{F}(z,{k_{1}},{k_{2}} - 1)],\\ &&(k_{1},k_{2}) \ne (0,0){.} \end{array} $$

Proof

The proof is similar to that of Theorem 2.4, and is therefore not presented here for the sake of conciseness. □

Based on the results in Theorems 2.4 and 2.5, the joint generating functions of \(N_{I}^{W}(n)\), \({N_ E ^W}(n),{N_ D ^W}(n)\) and \({N_ I ^F}(n),{N_ E ^F}(n),{N_ D ^F}(n)\) are presented next in Theorem 2.6.

Theorem 2.6

  1. (1)

    The joint generating function of \(N_{I}^{W}(n),{N_ E ^W}(n),{N_ D ^W}(n)\) can be given by its Z-transform as gW(z,x1,x2,x3) = πgW(z,x1,x2,x3), where

    $${{{g}}^{W*}}(z,{x_{1}},{x_{2}},{x_{3}}) = {[{{I}} - {{\boldsymbol{P}}^{F}}(z) - {{\boldsymbol{P}}_ I^{W}}(z){x_{1}} - {{\boldsymbol{P}}_ E^{W}}(z){x_{2}} - {{\boldsymbol{P}}_ D^{W} }(z){x_{3}}]^{- 1}}{\boldsymbol{P}}(z);$$
  2. (2)

    The joint generating function of \({N_X^W}(n),{N_Y^W}(n),(X,Y) \in \{ (I , E ),(I , D ),(E , D )\}\), can be given by its Z-transform as \({g_{XY}^{W*}}(z,{x_1},{x_2})= { {\pi }}{{ {g}}_{XY}^{W*}}(z,{x_1},{x_2})\), where

    $${{g}}_{XY}^{W*}(z,{x_{1}},{x_{2}}) = {[{{I}} - {{{D}}_{XY}^{W}}(z) - {{\boldsymbol{P}}_{X}^{W}}(z){x_{1}} - {{\boldsymbol{P}}_{Y}^{W}}(z){x_{2}}]^{- 1}}{\boldsymbol{P}}(z);$$
  3. (3)

    The joint generating function of \({N_ I ^F}(n),{N_ E ^F}(n),{N_ D ^F}(n)\) can be given by its Z-transform as gF(z,x1, x2,x3) = πgF(z,x1,x2,x3), where

    $${{{g}}^{F*}}(z,{x_{1}},{x_{2}},{x_{3}}) = {[{{I}} - {{\boldsymbol{P}}^{W}}(z) - {{\boldsymbol{P}}_ I^{F}}(z){x_{1}} - {{\boldsymbol{P}}_ E^{F}}(z){x_{2}} - {{\boldsymbol{P}}_ D^{F} }(z){x_{3}}]^{- 1}}{\boldsymbol{P}}(z);$$
  4. (4)

    The joint generating function of \({N_X^F}(n),{N_Y^F}(n),(X,Y) \in \{ (I , E ),(I , D ),(E , D )\}\), can be given by its Z-transform as \(g_{XY}^{F*}(z,{x_1},{x_2}) = { {\pi }}{ {g}}_{XY}^{F*}(z,{x_1},{x_2})\), where

    $${{g}}_{XY}^{F*}(z,{x_{1}},{x_{2}}) = {[{{I}} - {{{D}}_{XY}^{F}}(z) - {{\boldsymbol{P}}_{X}^{F}}(z){x_{1}} - {{\boldsymbol{P}}_{Y}^{F}}(z){x_{2}}]^{- 1}}{\boldsymbol{P}}(z).$$

Proof

Take (1) as an example. Then, as in Theorem 2.3, we have

$$ \begin{array}{@{}rcl@{}} &&{{{g}}^{W*}}(z,{x_{1}},{x_{2}},{x_{3}}) = \sum\limits_{{k_{1}},{k_{2}},{k_{3}} = 0}^{\infty} {{{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}},{k_{3}})x_{1}^{{k_{1}}}x_{2}^{{k_{2}}}x_{3}^{{k_{3}}}} \\ &=& {{{\varPhi} }^{W}}(z,0,0,0) + {[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}[{{\boldsymbol{P}}_ I^{W}}(z)\sum\limits_{{k_{1}},{k_{2}},{k_{3}} = 0}^{\infty} {{{{\varPhi} }^{W}}(z,{k_{1}} - 1,{k_{2}},{k_{3}})x_{1}^{{k_{1}}}x_{2}^{{k_{2}}}x_{3}^{{k_{3}}}} \\ &&+ {{\boldsymbol{P}}_ E^{W}}(z)\sum\limits_{{k_{1}},{k_{2}},{k_{3}} = 0}^{\infty} {{{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}} - 1,{k_{3}})x_{1}^{{k_{1}}}x_{2}^{{k_{2}}}x_{3}^{{k_{3}}}} \\ &&+ {{\boldsymbol{P}}_ D^{W}}(z)\sum\limits_{{k_{1}},{k_{2}},{k_{3}} = 0}^{\infty} {{{{\varPhi} }^{W}}(z,{k_{1}},{k_{2}},{k_{3}} - 1)x_{1}^{{k_{1}}}x_{2}^{{k_{2}}}x_{3}^{{k_{3}}}} ]\\ &=& {[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z) + {[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}[{{\boldsymbol{P}}_ I^{W}}(z){x_{1}} + {{\boldsymbol{P}}_ E^{W}}(z){x_{2}} + {{\boldsymbol{P}}_ D^{W}}(z){x_{3}}]{{{g}}^{W*}}(z,{x_{1}},{x_{2}},{x_{3}})\\ &=& {[{{I}} - {{\boldsymbol{P}}^{F}}(z) - {{\boldsymbol{P}}_ I^{W}}(z){x_{1}} - {{\boldsymbol{P}}_ E^{W}}(z){x_{2}} - {{\boldsymbol{P}}_ E^{W}}(z){x_{3}}]^{- 1}}{\boldsymbol{P}}(z). \end{array} $$

3 Second-Order Discrete-Time Semi-Markov System

Consider the time-homogenous second-order semi-Markov chain {Z(n),n = 0,1,…}, as in Yi and Cui (2017), with discrete time and finite state space Ω = {1,…,kΩ}. The state that the system jumps to at the k th transition time Sk is denoted by Jk (k = 1,2,…), and the system enters the initial recorded state J0 at time S0 = 0 from a known state J− 1. Let X0 = 0, and the sojourn time in state Jk− 1 between the (k − 1)th and k th transitions can be expressed as Xk = SkSk− 1 (k = 1,2,…). Then, the second-order (in state) semi-Markov kernel of the related second-order (in state) semi-Markov chain can be defined as \({{ {Q}}}(n): = {({Q_{{i^{\text {*}}}j^{\text {*}}}}(n))_{{k_{{{\Omega }^2}}} \times {k_{{{\Omega }^2}}}}}\), where Ω2 = {(i,j) : i,j ∈Ω} is the state space whose elements are state pairs (Jk− 1,Jk) = (i,j) of the original chain \(\{ {J_k},k = 0,1, {\ldots } ,\infty \} \) and

$$ \begin{array}{@{}rcl@{}} &&{{Q}_{{i^{\text{*}}}{j^{\text{*}}}}}(n) = {{Q}_{ik,hj}}(n)\\ &=& P\left\{ {{{J}_{l}} = h,{{J}_{l + 1}} = j,{{X}_{l + 1}} = n {\text{|}} {{J}_{l - 1}} = i,{{J}_{l}} = k} \right\}\\ &=& P\left\{ {{{J}_{0}} = h,{{J}_{1}} = j,{{X}_{1}} = n {\text{|}} {{J}_{- 1}} = i,{{J}_{0}} = k} \right\} \\ &=& P\left\{ {{{J}_{1}} = j,{{X}_{1}} = n {\text{|}} {{J}_{- 1}} = i,{{J}_{0}} = k} \right\}{1_{\{ h = k\} }}. \end{array} $$

With the state space Ω divided into three subsets \({\mathscr{A}},{\mathscr{B}}\) and \({\mathscr{D}}\), the second-order (in state) semi-Markov kernel can be divided correspondingly as follows:

Here again, the subsets \({\mathscr{A}},{\mathscr{B}}\) and \({\mathscr{D}}\) consist of perfect functioning states, imperfect functioning states and failure states, respectively. Besides, there are \({k_{{\mathscr{A}}}},{k_{{\mathscr{B}}}}\) and \({k_{{\mathscr{D}}}}\) states in the subsets \({\mathscr{A}},{\mathscr{B}}\) and \({\mathscr{D}}\), respectively, namely, \({\mathscr{A}} = \{ 1, {\ldots } ,{k_{{\mathscr{A}}}}\} ,{\mathscr{B}} = \{ {k_{{\mathscr{A}}}} + 1, {\ldots } ,{k_{{\mathscr{A}}}} + {k_{{\mathscr{B}}}}\} ,{\mathscr{D}} = \{ {k_{{\mathscr{A}}}} + {k_{{\mathscr{B}}}} + 1, {\ldots } ,{k_{{\mathscr{A}}}} + {k_{{\mathscr{B}}}} + {k_{{\mathscr{D}}}}\} \).

As in Section 2, sojourns in subset \({\mathscr{B}}\) contribute to working periods if and only if the system is in \({\mathscr{A}}\) right before it enters \({\mathscr{B}}\) and right after it leaves \({\mathscr{B}}\), which implies that they contribute to failure periods otherwise. Obviously, sojourns in subset \({\mathscr{A}}\) contribute to working periods and sojourns in subset \({\mathscr{D}}\) contribute to failure periods. For discussing the properties of the semi-Markov system, a new stochastic process {Y (n),n = 0,1,…} is defined as follows:

$$ \begin{array}{@{}rcl@{}} Y(n) = \left\{ {\begin{array}{*{20}{c}} {1,{\text{~~~the~system~is~in~a~working~period~at~time~}}n,}\\ {0,{\text{~~~the~system~is~in~a~failure~period~at~time~}}n.~~~} \end{array}} \right. \end{array} $$

Note that Y (n) is a right-continuous function, which means its value at a transition time depends on whether the sojourn after transition contributes to a working period or not. Besides, a transition is said to be in a working period if the system is in a working period when the transition starts, and in a failure period if the system is in a failure period when transition starts.

Denote the conditional probability that the system stays in subset Y in time interval [0,n) and jumps to state j in another subset Z at time n, given the initial state i in subset X at time − 1 and state k in subset Y at time 0, where

$$ \begin{array}{@{}rcl@{}} (X,Y,Z) \in &&\{ (\mathscr{A},\mathscr{B},\mathscr{A}),(\mathscr{A},\mathscr{B},\mathscr{D}),(\mathscr{A},\mathscr{D},\mathscr{A}),(\mathscr{A},\mathscr{D},\mathscr{B}),(\mathscr{B},\mathscr{A},\mathscr{B}),(\mathscr{B},\mathscr{A},\mathscr{D}),\\ &&(\mathscr{B},\mathscr{D},\mathscr{A}),(\mathscr{B},\mathscr{D},\mathscr{B}),(\mathscr{D},\mathscr{A},\mathscr{B}),(\mathscr{D},\mathscr{A},\mathscr{D}),(\mathscr{D},\mathscr{B},\mathscr{A}),(\mathscr{D},\mathscr{B},\mathscr{D})\} , \end{array} $$

by \(g_{ik,hj}^{XY,YZ}(n)\). This implies, for iX,k,hY,jZ, we have

$$ g_{ik,hj}^{XY,YZ}(n) = P\{ { J_{l - 1}} = h,{ J_{l}} = j,{ S_{l}} = n,{ J_{1}},{ J_{2}}, {\ldots} ,{ J_{l - 1}} \in Y\left| {{{ J}_{- 1}} = i,{{ J}_{0}} = k} \right.\} ,$$

where no self-transition is allowed.

In matrix form, denote \({{{ {G}}}_{XY,YZ}}(n) = {\left ({ g_{ik,hj}^{XY,YZ}(n),i \in X,k,h \in Y,j \in Z} \right )_{{k_X}{k_Y} \times {k_Y}{k_Z}}}\), where kX,kY,kZ denote the numbers of states in subsets X,Y,Z, respectively, and denote 0 as a matrix whose elements are all 0 of suitable dimension. Then, as mentioned in Yi and Cui (2017), the Z-transform of GXY,Y Z(n) can be represented as

$${{ {G}}}_{XY,YZ}^{*}(z) = {{ {Q}}}_{XY,YY}^{*}(z){[{{I}} - {{ {Q}}}_{{Y^{2}},{Y^{2}}}^{*}(z)]^{- 1}}{{ {Q}}}_{YY,YZ}^{*}(z) + {{ {Q}}}_{XY,YZ}^{*}(z),$$

where I is an unit matrix of suitable dimension. As in the discussion in Section 2, we then have a new semi-Markov chain {Z0(n),n = 0,1,…} with state space \({ {\Omega } _0} = {\mathscr{A}} \cup {{\mathscr{B}}_1} \cup {{\mathscr{B}}_2} \cup {{\mathscr{D}}}\) and the semi-Markov kernel in Z-transform as

Assume that the initial probability vector of Z0(n) can be denoted by

$$ \begin{array}{@{}rcl@{}} {{\pi }} = ({{\pi }}_{\mathscr{A}^{2}}, {{\pi }}_{\mathscr{AB}_{1}}, {{\pi }}_{\mathscr{AD}}, {{\pi }}_{{\mathscr{B}_{1}}{\mathscr{A}}},{{\pi }}_{\mathscr{B}_{1}^{2}},{{\pi }}_{{\mathscr{B}_{1}}{\mathscr{D}}}, {{\pi }}_{{\mathscr{B}_{2}}{\mathscr{A}}},{{\pi }}_{\mathscr{B}_{2}^{2}},{{\pi }}_{{\mathscr{B}_{2}}{\mathscr{D}}},{{\pi }}_{\mathscr{DA}}, {{\pi }}_{\mathscr{DB}_{2}}, {{\pi }}_{\mathscr{D}^{2}}), \end{array} $$

where its element πi,k = P{Z0(− 1) = i,Z0(0) = k} is the probability that the initial state pair of Z0(n) is (i,k). To investigate the transition rules, some notations are defined for one-step increasing/equivalent/decreasing transitions in working/failure periods as follows:

Note that \({{\boldsymbol {P}}_ I ^W}(z) + {{\boldsymbol {P}}_ E ^W}(z) + {{\boldsymbol {P}}_ D ^W}(z) + {{\boldsymbol {P}}_ I ^F}(z) + {{\boldsymbol {P}}_ E ^F}(z) + {{\boldsymbol {P}}_ D ^F}(z) = {{ {D}}^{*}}(z)\). In addition, let

$$ \begin{array}{@{}rcl@{}} {{{D}}_ X^{W}}(z) = {{{D}}^{*}}(z) - {{\boldsymbol{P}}_ X^{W}}(z), {{{D}}_ X^{F}}(z) = {{{D}}^{*}}(z) - {{\boldsymbol{P}}_ X^{F}}(z), X \in \{I,E,D\},\\ {{\boldsymbol{P}}_{XY}^{W}}(z) = {{\boldsymbol{P}}_ X^{W} }(z) + {{\boldsymbol{P}}_ Y^{W}}(z), {{\boldsymbol{P}}_{XY}^{F}}(z) = {{\boldsymbol{P}}_ X^{F} }(z) + {{\boldsymbol{P}}_ Y^{F}}(z), (X,Y) \in \{(I,E),(I,D),(E,D),\\ {{{D}}_{XY}^{W}}(z) = {{{D}}^{*}}(z) - {{\boldsymbol{P}}_{XY}^{W}}(z), {{{D}}_{XY}^{F}}(z) = {{{D}}^{*}}(z) - {{\boldsymbol{P}}_{XY}^{F}}(z), (X,Y) \in \{(I,E),(I,D),(E,D)\}. \end{array} $$

Further, let \({{\boldsymbol {P}}^W}(z) = {{\boldsymbol {P}}_ I ^W}(z) + {{\boldsymbol {P}}_ E ^W}(z) + {{\boldsymbol {P}}_ D ^W}(z)\), \({{\boldsymbol {P}}^F}(z) = {{\boldsymbol {P}}_ I ^F}(z) + {{\boldsymbol {P}}_ E ^F}(z) + {{\boldsymbol {P}}_ D ^F}(z)\) and

where \({{ {u}}_{XY}},X,Y \in \{ {\mathscr{A}},{\mathscr{B}},{\mathscr{D}}\},\) are column vectors of dimension kXkY whose elements are all ones.

Then, the distributions of counting processes \({ N_ I ^W}(n),{ N_ E ^W}(n),{ N_ D ^W}(n)\) are presented in Theorem 3.1 for the one-step increasing/equivalent/decreasing transitions in working periods together with the distribution of their summation NW(n).

Theorem 3.1

Denote the distributions of counting processes \({N_ X ^W}(n),X \in \{I,E,D\}\), and NW(n) in working periods by

$${\phi_{X }^{W}}(n,k): = P\{ {N_ X^{W}}(n) = k\},{\text{~~~~}} {\phi}^{W}(n,k): = P\{ {N^{W}}(n) = k\},$$

for k = 0,1,…. Then, they can be given by their Z-transforms as follows:

$$ \begin{array}{@{}rcl@{}} {\phi}_ X^{W*} (z,k) &= {{\pi}}{\{ {[{{I}} - {{{D}}_ X^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ X^{W}}(z)\}^{k}}{[{{I}} - {{{D}}_ X^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z),\\ {\phi}^{W*} (z,k) &= {{\pi}} {\{ {[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}{{\boldsymbol{P}}^{W} }(z)\}^{k}}{[{{I}} - {{\boldsymbol{P}}^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z), \end{array} $$

Proof

Take \({\phi }_ I ^W (n,k)\) as an example. Then, the proof is similar to that of Theorem 2.1. Consider the initial state pair (Z0(− 1),Z0(0)) = (i,k), for \(i \in {\mathscr{A}}\) and \(k \in {\mathscr{A}}\). Then, we have

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{\mathscr{ A A}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ A A}}} - {{ {Q}}}_{\mathscr{ A A}}^{\text{*}}(z)] + {{ {Q}}}_{{{\mathscr{ A}}^{2}},{{\mathscr{ A}}^{2}}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ A A}}(z,0)\\ &&+ {{ {Q}}}_{\mathscr{ A A},\mathscr{ A B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,0) + {{ {Q}}}_{\mathscr{ A A},\mathscr{ A D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A D}}(z,0),\\ {{{\varPhi}} }_ I^{\mathscr{ A A}}(z,k) &=& {{ {Q}}}_{{{\mathscr{ A}}^{2}},{{\mathscr{ A}}^{2}}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ A A}}(z,k) + {{ {Q}}}_{\mathscr{ A A},\mathscr{ A B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,k) \\ &&+ {{ {Q}}}_{\mathscr{ A A},\mathscr{ A D}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ A D}}(z,k); \end{array} $$

for \(i \in {\mathscr{A}}\) and \(k \in {{\mathscr{B}}_1},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,0)& =& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ A B}}} - {{ {Q}}}_{\mathscr{ A B}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ A B},\mathscr{ B B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}{{\mathscr{ B}}_{1}}}(z,0) \\ &&+ {{ {Q}}}_{\mathscr{ A B},\mathscr{ B D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}\mathscr{ D}}(z,0),\\ {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,k) &=& {{ {Q}}}_{\mathscr{ A B},\mathscr{ B A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}\mathscr{ A}}(z,k - 1) + {{ {Q}}}_{\mathscr{ A B},\mathscr{ B B}}^{\text{*}}(z){{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}{{\mathscr{ B}}_{1}}}(z,k)\\ &&+ {{ {Q}}}_{\mathscr{ A B},\mathscr{ B D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}\mathscr{ D}}(z,k); \end{array} $$

for \(i \in {\mathscr{A}}\) and \(k \in {\mathscr{D}},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{\mathscr{ A D}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ A D}}} - {{ {Q}}}_{\mathscr{ A D}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ A D},\mathscr{ D A}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ D A}}(z,0)\\ &&+ {{ {Q}}}_{\mathscr{ A D},\mathscr{ D B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,0) + {{ {Q}}}_{\mathscr{ A D},\mathscr{ D D}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ D D}}(z,0),\\ {{{\varPhi}} }_ I^{\mathscr{ A D}}(z,k) &= & {{ {Q}}}_{\mathscr{ A D},\mathscr{ D A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D A}}(z,k) + {{ {Q}}}_{\mathscr{ A D},\mathscr{ D B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,k) \\ &&+ {{ {Q}}}_{\mathscr{ A D},\mathscr{ D D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D D}}(z,k); \end{array} $$

for \(i \in {{\mathscr{B}}_1}\) and \(k \in {\mathscr{A}},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}\mathscr{ A}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ B A}}} - {{ {Q}}}_{\mathscr{ B A}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ B A},\mathscr{ A A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A A}}(z,0)\\ &&+ {{ {Q}}}_{\mathscr{ B A},\mathscr{ A B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,0)+ {{ {Q}}}_{\mathscr{ B A},\mathscr{ A D}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ A D}}(z,0),\\ {{{\varPhi}}}_ I^{{{\mathscr{ B}}_{1}}\mathscr{ A}}(z,k) &=& {{ {Q}}}_{\mathscr{ B A},\mathscr{ A A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A A}}(z,k) + {{ {Q}}}_{\mathscr{ B A},\mathscr{ A B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,k)\\ &&+ {{ {Q}}}_{\mathscr{ B A},\mathscr{ A D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A D}}(z,k); \end{array} $$

for \(i \in {{\mathscr{B}}_1}\) and \(k \in {{\mathscr{B}}_1},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}{{\mathscr{ B}}_{1}}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ B B}}} - {{ {Q}}}_{\mathscr{ B B}}^{\text{*}}(z)] + {{ {Q}}}_{{{\mathscr{ B}}^{2}},{{\mathscr{ B}}^{2}}}^{\text{*}}(z){{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}{{\mathscr{ B}}_{1}}}(z,0)\\ &&+ {{ {Q}}}_{\mathscr{ B B},\mathscr{ B D}}^{\text{*}}(z){{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}\mathscr{ D}}(z,0),\\ {{{\varPhi}}}_ I^{{{\mathscr{ B}}_{1}}{{\mathscr{ B}}_{1}}}(z,k) &=& {{ {Q}}}_{\mathscr{ B B},\mathscr{ B A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}\mathscr{ A}}(z,k - 1) + {{ {Q}}}_{{{\mathscr{ B}}^{2}},{{\mathscr{ B}}^{2}}}^{\text{*}}(z){{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}{{\mathscr{ B}}_{1}}}(z,k)\\ &&+ {{ {Q}}}_{\mathscr{ B B},\mathscr{ B D}}^{\text{*}}(z){{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}\mathscr{ D}}(z,k); \end{array} $$

for \(i \in {{\mathscr{B}}_1}\) and \(k \in {\mathscr{D}},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{1}}\mathscr{ D}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ B D}}} - {{ {Q}}}_{\mathscr{ B D}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ B D},\mathscr{ D A}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ D A}}(z,0)\\ &&+ {{ {Q}}}_{\mathscr{ B D},\mathscr{ D B}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,0)+ {{ {Q}}}_{\mathscr{ B D},\mathscr{ D D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D D}}(z,0),\\ {{{\varPhi}}}_ I^{{{\mathscr{ B}}_{1}}\mathscr{ D}}(z,k)& =& {{ {Q}}}_{\mathscr{ B D},\mathscr{ D A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D A}}(z,k) + {{ {Q}}}_{\mathscr{ B D},\mathscr{ D B}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,k) \\ &&+ {{ {Q}}}_{\mathscr{ B D},\mathscr{ D D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D D}}(z,k); \end{array} $$

for \(i \in {{\mathscr{B}}_2}\) and \(k \in {\mathscr{A}},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}\mathscr{ A}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ B A}}} - {{ {Q}}}_{\mathscr{ B A}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ B A},\mathscr{ A A}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ A A}}(z,0)\\ &&+ {{ {Q}}}_{\mathscr{ B A},\mathscr{ A B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,0) + {{ {Q}}}_{\mathscr{ B A},\mathscr{ A D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A D}}(z,0),\\ {{{\varPhi}}}_ I^{{{\mathscr{ B}}_{2}}\mathscr{ A}}(z,k) &=& {{ {Q}}}_{\mathscr{ B A},\mathscr{ A A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A A}}(z,k) + {{ {Q}}}_{\mathscr{ B A},\mathscr{ A B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,k)\\ &&+ {{ {Q}}}_{\mathscr{ B A},\mathscr{ A D}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ A D}}(z,k); \end{array} $$

for \(i \in {{\mathscr{B}}_2}\) and \(k \in {{\mathscr{B}}_2},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}{{\mathscr{ B}}_{2}}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ B B}}} - {{ {Q}}}_{\mathscr{ B B}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ B B},\mathscr{ B A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}\mathscr{ A}}(z,0)\\ &&+ {{ {Q}}}_{{{\mathscr{ B}}^{2}},{{\mathscr{ B}}^{2}}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}{{\mathscr{ B}}_{2}}}(z,0) + {{ {Q}}}_{\mathscr{ B B},\mathscr{ B D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}\mathscr{ D}}(z,0),\\ {{{\varPhi}}}_ I^{{{\mathscr{ B}}_{2}}{{\mathscr{ B}}_{2}}}(z,k) &=& {{ {Q}}}_{\mathscr{ B B},\mathscr{ B A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}\mathscr{ A}}(z,k) + {{ {Q}}}_{{{\mathscr{ B}}^{2}},{{\mathscr{ B}}^{2}}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}{{\mathscr{ B}}_{2}}}(z,k) \\ &&+ {{ {Q}}}_{\mathscr{ B B},\mathscr{ B D}}^{\text{*}}(z){{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}\mathscr{ D}}(z,k); \end{array} $$

for \(i \in {{\mathscr{B}}_2}\) and \(k \in {\mathscr{D}},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}\mathscr{ D}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ B D}}} - {{ {Q}}}_{\mathscr{ B D}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ B D},\mathscr{ D A}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ D A}}(z,0) \\ &&+ {{ {Q}}}_{\mathscr{ B D},\mathscr{ D B}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,0) + {{ {Q}}}_{\mathscr{ B D},\mathscr{ D D}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ D D}}(z,0) ,\\ {{{\varPhi}}}_ I^{{{\mathscr{ B}}_{2}}\mathscr{ D}}(z,k) &=& {{ {Q}}}_{\mathscr{ B D},\mathscr{ D A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D A}}(z,k) + {{ {Q}}}_{\mathscr{ B D},\mathscr{ D B}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,k) \\ &&+ {{ {Q}}}_{\mathscr{ B D},\mathscr{ D D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D D}}(z,k); \end{array} $$

for \(i \in {\mathscr{D}}\) and \(k \in {\mathscr{A}},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{\mathscr{ D A}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ D A}}} - {{ {Q}}}_{\mathscr{ D A}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ D A},\mathscr{ A A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A A}}(z,0) \\ &&+ {{ {Q}}}_{\mathscr{ D A},\mathscr{ A B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,0) + {{ {Q}}}_{\mathscr{ D A},\mathscr{ A D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A D}}(z,0) ,\\ {{{\varPhi}}}_ I^{\mathscr{ D A}}(z,k) &= & {{ {Q}}}_{\mathscr{ D A},\mathscr{ A A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A A}}(z,k) + {{ {Q}}}_{\mathscr{ D A},\mathscr{ A B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A}{{\mathscr{ B}}_{1}}}(z,k) \\ &&+ {{ {Q}}}_{\mathscr{ D A},\mathscr{ A D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ A D}}(z,k); \end{array} $$

for \(i \in {\mathscr{D}}\) and \(k \in {{\mathscr{B}}_2},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,0)& =& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ D B}}} - {{ {Q}}}_{\mathscr{ D B}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ D B},\mathscr{ B A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}\mathscr{ A}}(z,k) \\ &&+ {{ {Q}}}_{\mathscr{ D B},\mathscr{ B B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}{{\mathscr{ B}}_{2}}}(z,0) + {{ {Q}}}_{\mathscr{ D B},\mathscr{ B D}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ B D}}(z,0),\\ {{{\varPhi}}}_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,k) &=& {{ {Q}}}_{\mathscr{ D B},\mathscr{ B A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}\mathscr{ A}}(z,k) + {{ {Q}}}_{\mathscr{ D B},\mathscr{ B B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{{{\mathscr{ B}}_{2}}{{\mathscr{ B}}_{2}}}(z,k) \\ &&+ {{ {Q}}}_{\mathscr{ D B},\mathscr{ B D}}^{\text{*}}(z){{{\varPhi}} }_ I^{\mathscr{ B D}}(z,k); \end{array} $$

for \(i \in {\mathscr{D}}\) and \(k \in {\mathscr{D}},\)

$$ \begin{array}{@{}rcl@{}} {{{\varPhi}} }_ I^{\mathscr{ D D}}(z,0) &=& z{(z - 1)^{- 1}}[{{{u}}_{\mathscr{ D D}}} - {{ {Q}}}_{\mathscr{ D D}}^{\text{*}}(z)] + {{ {Q}}}_{\mathscr{ D D},\mathscr{ D A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D A}}(z,0) \\ &&+ {{ {Q}}}_{\mathscr{ D D},\mathscr{ D B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,0) + {{ {Q}}}_{{{\mathscr{ D}}^{2}},{{\mathscr{ D}}^{2}}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D D}}(z,0),\\ {{{\varPhi}}}_ I^{\mathscr{ D D}}(z,k) &=& {{ {Q}}}_{\mathscr{ D D},\mathscr{ D A}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D A}}(z,k) + {{ {Q}}}_{\mathscr{ D D},\mathscr{ D B}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D}{{\mathscr{ B}}_{2}}}(z,k) \\ &&+ {{ {Q}}}_{{{\mathscr{ D}}^{2}},{{\mathscr{ D}}^{2}}}^{\text{*}}(z) {{{\varPhi}} }_ I^{\mathscr{ D D}}(z,k). \end{array} $$

From all the above expressions, as in the proof of Theorem 3.1, the distribution \({\phi _ I^W}(n,k),k=0,1,\ldots ,\) of counting process \({N_I ^W(n)}\) can be given by its Z-transform as

$$ \begin{array}{@{}rcl@{}} {\phi_ I^{W*}}(z,k) = {\pi} {\{ {[{{I}} - {{{D}}_ I^{W}}(z)]^{- 1}}{{\boldsymbol{P}}_ I^{W}}(z)\}^{k}}{[{{I}} - {{{D}}_ I^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z). \end{array} $$

As in Theorem 3.1, the distributions of counting processes \({ N_ I ^F}(n),{ N_ E ^F}(n),{ N_ D ^F}(n)\) are presented in Theorem 3.2 for the one-step increasing/equivalent/decreasing transitions in failure periods together with the distribution of their summation NF(n).

Theorem 3.2

Denote the distributions of counting processes \({N_ X ^F}(n),X \in \{I,E,D\}\), and NF(n) in failure periods by

$${\phi_ X^{F}}(n,k): = P\{ {N_ X^{F}}(n) = k\},{\text{~~~~}} {\phi^{F}}(n,k): = P\{ {N^{F}}(n) = k\},$$

for k = 0,1,…. Then, they can be given by their Z-transforms as follows:

$$ \begin{array}{@{}rcl@{}} {\phi_ X^{F*}}(z,k) =& {\pi} {\{ {[{{I}} - {{{D}}_ X^{F}}(z)]^{- 1}}{{\boldsymbol{P}}_ X^{F}}(z)\}^{k}}{[{{I}} - {{{D}}_ X^{F}}(z)]^{- 1}}{\boldsymbol{P}}(z).\\ {\phi^{F*}}(z,k) =& {\pi} {\{ {[{{I}} - {{\boldsymbol{P}}^{W}}(z)]^{- 1}}{{\boldsymbol{P}}^{F}}(z)\}^{k}}{[{{I}} - {{\boldsymbol{P}}^{W}}(z)]^{- 1}}{\boldsymbol{P}}(z). \end{array} $$

Proof

The proof is similar to that of Theorem 3.1, and is therefore not presented here for the sake of conciseness. □

Furthermore, other theorems in Section 2 can all be presented here in the same form, but are omitted for brevity.

4 Illustrative Eexamples

To illustrate and verify the results established in the preceding sections, two examples are presented here. In Example 4.1. we consider the case when a power generating system follows a time-homogenous first-order semi-Markov chain. To accommodate that future states of the system may depend not only on its present state, but also on its immediately preceding state, in Example 4.2, we consider the case when it follows a time-homogenous second-order semi-Markov chain.

Example 1

Consider a power generating system that follows a time-homogenous first-order semi-Markov chain {Z(n),n = 0,1,…} with state space \({\Omega } = {\mathscr{A}} \cup {\mathscr{B}} \cup {\mathscr{D}}\), where \({\mathscr{A}} = \{ 1\} \), \({\mathscr{B}} = \{ 2,3\} \) and \({\mathscr{D}} = \{ 4\} \) consist of a perfect functioning state (with a power generating capacity of 50 MW), two imperfect functioning states (with the power generating capacity of 30 MW and different functioning modes) and a failure state (with a power generating capacity of 0 MW), respectively. Assume that the system starts from state 1 at time 0 and the semi-Markov kernel can then be presented as follows:

$${{Q}}(n) = \left( {\begin{array}{*{20}{c}} {{{{Q}}_{\mathscr{AA}}}(n)}&{{{{Q}}_{\mathscr{AB}}}(n)}&{{{{Q}}_{\mathscr{AD}}}(n)}\\ {{{{Q}}_{\mathscr{BA}}}(n)}&{{{{Q}}_{\mathscr{BB}}}(n)}&{{{{Q}}_{\mathscr{BD}}}(n)}\\ {{{{Q}}_{\mathscr{DA}}}(n)}&{{{{Q}}_{\mathscr{DB}}}(n)}&{{{{Q}}_{\mathscr{DD}}}(n)} \end{array}} \right) = \left( {\begin{array}{*{20}{c}} 0&\vline& {0.1 \times {{0.8}^{n}}}&{0.4 \times {{0.6}^{n}}}&\vline& 0\\ {0.4 \times {{0.2}^{n}}}&\vline& 0&{0.1 \times {{0.8}^{n}}}&\vline& {2 \times {{0.2}^{n}}}\\ {0.2 \times {{0.6}^{n}}}&\vline& {0.1 \times {{0.8}^{n}}}&0&\vline& {0.2 \times {{0.6}^{n}}}\\ 0&\vline& {4.5 \times {{0.1}^{n}}}&{2 \times {{0.2}^{n}}}&\vline& 0 \end{array}} \right).$$

For this system, a working period is defined as a period of time that the system is in perfect/imperfect functioning states which starts with a sojourn in the perfect functioning state and ends with a sojourn in the perfect functioning state, and a failure period is defined as a period of time between two consecutive working periods. Then, the expected numbers of one-step increasing transitions, one-step equivalent transitions, one-step decreasing transitions and all one-step transitions in working periods and in failure periods in time interval [0,n] are all plotted in Fig. 1, respectively, for n = 0,…,30. The comparisons of all one-step transitions in working periods and in failure periods are displayed in Fig. 2.

Fig. 1
figure 1

a \(N_{I}^{W}(n)\) (Curve 1), \({N_ E ^W}(n)\) (Curve 2), \({N_ D ^W}(n)\) (Curve 3), NW(n) (Curve 4) (Left); b \({N_ I ^F}(n)\) (Curve 1), \({N_ E ^F}(n)\) (Curve 2), \({N_ D ^F}(n)\) (Curve 3), NF(n) (Curve 4) (Right)

Fig. 2
figure 2

NW(n) (Curve 1), NF(n) (Curve 2), N(n) (Curve 3)

As seen in Fig. 1a, \(E[N_{I}^{W}(n)],E[{N_ E ^W}(n)],E[{N_ D ^W}(n)],E[N^W(n)]\) are all increasing functions of n. Besides, it is seen that

$$ \begin{array}{@{}rcl@{}} &&E[{N_ I^{W}}(0)] \approx E[{N_ E^{W}}(0)] \approx E[{N_ D^{W}}(0)] \approx E[N^{W}(0)] \approx 0,\\ &&E[{N_ I^{W}}(n)] + E[{N_ E^{W}}(n)] + E[{N_ D^{W}}(n)] \approx E[N^{W}(n)]. \end{array} $$

Similarly, in Fig. 1b, \(E[{N_ I ^F}(n)],E[{N_ E ^F}(n)],E[{N_ D ^F}(n)],E[N^F(n)]\) are also increasing functions of n, and it is seen that

$$ \begin{array}{@{}rcl@{}} &&E[{N_ I^{F}}(0)] \approx E[{N_ E^{F}}(0)] \approx E[{N_ D^{F}}(0)] \approx E[N^{F}(0)] \approx 0,\\ &&E[{N_ I^{F}}(n)] + E[{N_ E^{F}}(n)] + E[{N_ D^{F}}(n)] \approx E[N^{F}(n)]. \end{array} $$

In Fig. 2, E[N(n)] = E[NW(n)] + E[NF(n)] is almost a linear increasing function of n. Also, E[NW(n)] > E[NF(n)] for n = 1,…,11 and E[NW(n)] < E[NF(n)] for n = 12,13,…, which is reasonable since the system is in a working state at first.

Suppose an one-step increasing transition corresponds to 3 units of maintenance costs in a working period and 5 units of maintenance costs in a failure period, an one-step equivalent transition corresponds to no loss and no cost no matter which period it is in, and an one-step decreasing transition corresponds to 2 units of machine damage losses in a working period and 10 units of machine damage losses in a failure period. Then, the expected total costs needed in intervals [0,10), [10,20) and [20,30) can be evaluated as follows:

$$ \begin{array}{@{}rcl@{}} S(0,10)&=&3E[{N_ I^{W}}(10)]+5E[{N_ I^{F}}(10)]+2E[{N_ D^{W}}(10)]+10E[{N_ D^{F}}(10)]\\ &\approx &3 \times 0.3002 + 5 \times 0.7928 + 2 \times 1.2134 + 10 \times 0.7937\\ &\approx &15.2284,\\ S(10,20)&=&3E[{N_ I^{W}}(20)]+5E[{N_ I^{F}}(20)]+2E[{N_ D^{W}}(20)]+10E[{N_ D^{F}}(20)]-S(0,10)\\ &\approx & 3 \times 0.4991 + 5 \times 1.9939+2 \times 1.7131 + 10 \times 1.7210 - 15.2284\\ &\approx & 16.8746,\\ S(20,30)&=&3E[{N_ I^{W}}(30)]+5E[{N_ I^{F}}(30)]+2E[{N_ D^{W}}(30)]+10E[{N_ D^{F}}(30)]-S(0,10)-S(10,20)\\ &\approx & 3 \times 0.6724 + 5 \times 3.2113 + 2 \times 2.1859 + 10 \times 2.6416 - 15.2284 - 16.8746\\ &\approx &16.7585, \end{array} $$

which means the expected total costs in interval [10,20) is a little more than in interval [20,30) and also more than in interval [0,10).

Example 2

Consider a power generating system that follows a time-homogenous second-order (in state) semi-Markov chain \(\{ Z(n),n = 0,1, \ldots , \infty \}\) with state space \( {\Omega } = {\mathscr{A}} \cup {\mathscr{B}} \cup {\mathscr{D}}\), where \({\mathscr{A}} = \{ 1\} \), \({\mathscr{B}} = \{ 2,3\} \) and \({\mathscr{D}} = \{ 4\} \) consist of a perfect functioning state (with a power generating capacity of 50 MW), two imperfect functioning states (with the power generating capacity of 30 MW and different functioning modes) and a failure state (with a power generating capacity of 0 MW), respectively. Assume that the system jumps to state 2 from state 1 at time 0 and the second-order (in state) semi-Markov kernel can then be presented as follows:

For this system, a working period is defined as a period of time that the system is in perfect/imperfect functioning states which starts with a sojourn in the perfect functioning state and ends with a sojourn in the perfect functioning state, and a failure period is defined as a period of time between two consecutive working periods. Then, the expected numbers of one-step increasing transitions, one-step equivalent transitions, one-step decreasing transitions and all one-step transitions in working periods and in failure periods in time interval [0,n] are plotted in Fig. 3, respectively, for n = 0,…,30. The comparisons of all one-step transitions in working periods and in failure periods are displayed in Fig. 4.

Fig. 3
figure 3

a \({ N_ I ^W}(n)\) (Curve 1), \({ N_ E ^W}(n)\) (Curve 2), \({ N_ D ^W}(n)\) (Curve 3), NW(n) (Curve 4) (Left); b \({ N_ I ^F}(n)\) (Curve 1), \({ N_ E ^F}(n)\) (Curve 2), \({ N_ D ^F}(n)\) (Curve 3), NF(n) (Curve 4) (Right)

Fig. 4
figure 4

NW(n) (Curve 1), NF(n) (Curve 2), N(n) (Curve 3)

As seen in Fig. 3, \(E[{ N_ I ^W}(n)],E[{ N_ E ^W}(n)],E[{ N_ D ^W}(n)],E[ N^W(n)]\) are all increasing functions of n, and \(E[{ N_ I ^F}(n)],E[{ N_ E ^F}(n)],E[{ N_ D ^F}(n)],E[ N^F(n)]\) are also increasing functions of n. Besides, it is seen that

$$ \begin{array}{@{}rcl@{}} &&E[{ N_ I^{W}}(0)] \approx E[{ N_ E^{W}}(0)] \approx E[{ N_ D^{W}}(0)] \approx E[N^{W}(0)] \approx 0,\\ &&E[{ N_ I^{F}}(0)] \approx E[{ N_ E^{F}}(0)] \approx E[{ N_ D^{F}}(0)] \approx E[N^{F}(0)] \approx 0,\\ &&E[{ N_ I^{W}}(n)] + E[{ N_ E^{W}}(n)] + E[{ N_ D^{W}}(n)] \approx E[ N^{W}(n)],\\ &&E[{ N_ I^{F}}(n)] + E[{ N_ E^{F}}(n)] + E[{ N_ D^{F}}(n)] \approx E[ N^{F}(n)]. \end{array} $$

In Fig. 4, E[N(n)] = E[NW(n)] + E[NF(n)] is almost a linear increasing function of n. Also, we have E[NW(n)] > E[NF(n)] for n = 1,…,16 and E[NW(n)] < E[NF(n)] for n = 17,18,…, which is reasonable since the system is in a working period in the beginning.

Suppose an one-step increasing transition corresponds to 3 units of maintenance costs in a working period and 5 units of maintenance costs in a failure period, an one-step equivalent transition corresponds to no loss and no cost no matter which period it is in, and an one-step decreasing transition corresponds to 2 units of machine damage losses in a working period and 10 units of machine damage losses in a failure period. Then, the expected total costs needed in intervals [0,10), [10,20) and [20,30) can be evaluated as follows:

$$ \begin{array}{@{}rcl@{}} S(0,10)&=&3E[{N_ I^{W}}(10)]+5E[{N_ I^{F}}(10)]+2E[{N_ D^{W}}(10)]+10E[{N_ D^{F}}(10)]\\ &\approx &3 \times 0.5839 + 5 \times 1.0004 + 2 \times 0.8702 + 10 \times 0.6984\\ &\approx &15.4781,\\ S(10,20)&=&3E[{N_ I^{W}}(20)]+5E[{N_ I^{F}}(20)]+2E[{N_ D^{W}}(20)]+10E[{N_ D^{F}}(20)]-S(0,10)\\ &\approx & 3 \times 0.8541 + 5 \times 2.2860 + 2 \times 1.9210 + 10 \times 1.3758 - 15.4781\\ &\approx & 16.1142,\\ S(20,30)&=&3E[{N_ I^{W}}(30)]+5E[{N_ I^{F}}(30)]+2E[{N_ D^{W}}(30)]+10E[{N_ D^{F}}(30)]-S(0,10)-S(10,20)\\ &\approx & 3 \times 1.1138 + 5 \times 3.5957 + 2 \times 2.9739 + 10 \times 2.0509 - 15.4781 - 16.1142\\ &\approx &16.1844, \end{array} $$

which means the expected total costs needed in interval [20,30) is a little more than in interval [10,20) and also more than in interval [0,10).

5 Extended Discussions on Related Reliability Measures

The key step in Sections 2 and 3 is to define a new first/second-order semi-Markov chain {Z0(n),n = 0,1,…} based on the orginal first-/second-order semi-Markov chain {Z(n),n = 0,1,…} to distinguish whether the system is in a working period or a failure period. In this section, some extended discussions are presented to obtain reliability measures for the two semi-Markov systems in Sections 2 and 3.

As in Yi et al. (2018) and Yi and Cui (2017) , reliability measures such as reliability, point availability and interval availability can be definded for the first-/second-order semi-Markov system in Sections 2 and 3 by correspongding stochastic process {Y (n),n = 0,1,…} as follows:

  1. (1)

    Reliability: the probability that the system is always in working periods before time n, namely,

    $$R(n) = P\{Y(1) = {\dots} =Y(n) = 1\};$$
  2. (2)

    Point availability: the probability that the system is in a working period at time n, namely,

    $$A(n) = P\{Y(n) = 1\};$$
  3. (3)

    Interval availability: the probability that the system is always in working periods in time interval [a,b], namely,

    $$A[a,b] = P\{Y(a) = {\dots} = Y(b)= 1\};$$

In existing research like Yi et al. (2018) and Yi and Cui (2017), explicit formulas of these reliability measures have been given by an analysis of possible transitions. Here, with the new first-/second-order semi-Markov chain {Z0(n),n = 0,1,…} defined in Sections 2 and 3, they can be presented in a new and simple way. Assume that the first-/second-order semi-Markov system is at the beginning of a working period at time 0. Then, smiliar to the discussions in Yi et al. (2018), reliability R(n) of the system can be given by its Z-transform as

$${R^{*}}(z) = \frac{z}{{z - 1}}{{\pi }}[{{{u}}_{{{\Omega}_{0}}}} - {{G}}_{WF}^{*}(z){{{u}}_{{{\Omega}_{0}}}}],$$

with \({ {\pi }}, {{ {u}}_{{\Omega _0}}}, {\boldsymbol {P}}^W(z), {\boldsymbol {P}}^F(z)\) as defined in Sections 2 and 3 and

$${{G}}_{WF}^{*}(z) = {[{{I}} - {\boldsymbol{P}}^{W}(z)]^{- 1}}{\boldsymbol{P}}^{F}(z).$$

Point availability A(n) of the original system can be given by its Z-transform as

$${A^{*}}(z) = {{{\pi }}}{[{{I}} - {{G}}_{WF}^{*}(z){{G}}_{FW}^{*}(z)]^{- 1}}{{{R}}^{*}}(z),$$

where \({ {G}}_{FW}^{*}(z) = {[{ {I}} - {\boldsymbol {P}}^F(z)]^{- 1}}{\boldsymbol {P}}^W(z)\) and

$${{{R}}^{*}}(z) = \frac{z}{{z - 1}}[{{{u}}_{{{\Omega}_{0}}}} - {{G}}_{WF}^{*}(z){{{u}}_{{{\Omega}_{0}}}}].$$

Interval availability A[a,b] of the original system can be given in a recursive way as A[a,b] = πA[a,b], where

$${{A}}[a,b] = {{R}}(b) + \sum\limits_{u = 0}^{a} {{{{f}}_{WF}}(u){{A}}[a - u,n - u]}, $$

and fWF(u) can be given by its Z-transform as \({ {f}}_{WF}^{*}(u) = { {G}}_{WF}^{*}(z){ {G}}_{FW}^{*}(z)\).

With the disucssions in this section and in Sections 2 and 3, some optimization problems can be considered to obtain best reliability performance under constraints like costs and benifits of transitions, which may be useful in practice. Note that this method can also be applied to other reliability measures in a similar way, and definitions of working/failure periods can also be considered in different ways by changing the split of state spaces or by taking issues such as time interval omission into consideration.

6 Conclusions

In this paper, we have defined several kinds of derived counting processes for first- and second-order discrete-time aggregated semi-Markov systems; for example, one-step increasing/equivalent/decreasing transitions in working/failure periods. Stochastic properties of these counting process are studied, and related distributions, joint distributions, expectations, generating functions and joint generation functions are derived and presented in their Z-transforms. Some numerical examples are finally presented to illustrate the established results. Extended discussions on related reliability measures have also been made. Applications of the results developed in this work can be found in seismology, reliability, biology, finance and others fields. In the future, some other indices and their properties can be considered for semi-Markov systems, and further results can be presented for new high-order models as well.