Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

Preventive maintenance and replacement is a schedule of planned maintenance and replacement activities in order to prevent system failures. The main objective of preventive maintenance and replacement is to prevent failure occurrences earlier than in reality. This concept says that by replacing old components, the reliability could be kept or improved.

Several misconceptions exist about preventive maintenance and replacement. One of them is that preventive maintenance and replacement is very expensive. This logic shows that planned maintenances are more expensive than the time a component works till its failure and by a corrective maintenance become repaired. It may be true for some components but just costs shouldn’t be compared, also long-term benefits and savings should be considered. For example, without preventive maintenance and replacement, by unplanned failure occurrences, some costs like lost production cost will impose to the system. Also, by increasing in system service effective age, some savings will be brought (http reliawiki com Preventive_Maintenance).

Long-term benefits of preventive maintenance include:

  1. 1.

    Improved system reliability.

  2. 2.

    Decreased cost of replacement.

  3. 3.

    Decreased system downtime.

  4. 4.

    Better spares inventory management.

Long-term costs and benefits comparison usually shows preventive maintenance and replacement superiority.

One of the fundamental questions is that, when preventive maintenance and replacement is effective? The answer is preventive maintenance is a logical choice if, and only if, the following two conditions are met (http reliawiki com Preventive_Maintenance):

  1. 1.

    The component in question has an increasing failure rate. In other words, the failure rate of the component increases with time, implying wear-out. Preventive maintenance of a component that is assumed to have an exponential distribution (which implies a constant failure rate) does not make sense

  2. 2.

    The overall cost of the preventive maintenance action must be less than the overall cost of a corrective action

Modern world has realized the importance of preventive maintenance. So all system types, including conveyers, vehicles, and overhead cranes, have predefined maintenance and replacement schedules to reduce system failure risk. Preventive maintenance and replacement activities usually include inspection, cleaning, lubrication, adjustment, worn components replacement, etc. In addition, in preventive maintenance and replacement, labors can record equipment failures and maintain or replace old components before their failure. An ideal maintenance plan prevents all equipment failures earlier than their occurrence in reality. Regardless of specific systems, preventive maintenance and replacement activities could be divided into two categories: component maintenance and its replacement (Usher et al. 1998).

A simple example of component maintenance is air pressure controlling in a car tires in desirable limits. It’s notable that this task changes the tire age characteristics and if occurs correctly will reduce the failure rate. Replacing a tire with new one is a simple replacement example.

Standby systems are widely used in different industries. For example considering a spare tire for cars, in fact is using a standby system to start up the car after a tire failure. Using standby systems reduce system total costs and cause improvement in reliability level. Outage in steel factories imposes enormous costs to the system for its restart. So, for different parts of this factory, standby systems will be considered. As mentioned before this policy causes earlier system restart after its outage and prevents imposed costs.

In real world, factories consider multi-level maintenances for each system. It’s obvious that different maintenances cause different changes in age characteristics. For example, primary maintenances can be performed on equipment that don’t change its effective age so much. But by equipment overhaul, it will improve deeply and will change to a state like a new equipment.

It is known that preventive maintenance and replacement includes a trade off between costs of conducting maintenance activities and saving costs resulted from the reduction in the overall rate of system failure. Preventive maintenance and replacement scheduling designers must measure these costs separately to minimize total system operating costs. They may like to improve system reliability to highest level and maximize it according to budget constraint.

In this chapter the problem is finding the best sequence of maintenance and replacement activities for each component of the considered system in each period of a specified planning horizon, in order to minimize total cost and maximize system reliability.

Optimization problems, in terms of objective functions and optimization criteria, are dividable into two categories: single objective function problems and multi-objective optimization problems. In single objective optimization problems, a unique performance index improves, so that its minimum or maximum value shows the obtained responses quality completely. But in multi-objective models more than one objective should be optimized. In other words, in this type of problems, several objective functions or operating indexes must be defined and optimized simultaneously.

Multi-objective optimization is one of the known research fields among optimization concepts. Usually, multi-objective optimization known as multicriteria optimization and vector optimization. So far, several methods have been introduced for solving multi-objective optimization problems.

NSGA-II algorithm is one of the most popular and powerful algorithms in solving multi-objective optimization problems and its performance is proofed in solving different problems.

2 Problem Definition

Consider a system consists of N subsystems that are connected to each other in series. Each subsystem is a standby system with two or more components. It means that if the loaded component fails, one of the other standby components become active and the system continues its working. Figure 1 shows the assumed system.

Fig. 1
figure 1

Schematic view of the assumed system

The main purpose of this system modeling is finding a set of maintenance and replacement schedules for the components of each subsystem during the planning horizon to minimize the total system cost and maximize its total reliability.

For this end, it is assumed that component c of subsystem i has an increasing rate of occurrence of failure (ROCOF) ϑ c i (t), in which t ⋅ (t > 0) shows actual time. It is assumed that component failures follow well-known Non-Homogenous Poisson Process (NHPP) with ROCOF given as:

$$ {\vartheta}_i^c(t)={\lambda}_i^c\cdot {\beta}_i^c\cdot {t}^{\beta_i^c-1}\kern0.5em \mathrm{for}\kern0.5em i=1,\dots, N\kern0.5em \mathrm{and}\kern0.5em c=1,\dots, C $$
(1)

Where λ c i and β c i are the characteristic life (scale) and the shape parameters of component i, respectively. It’s notable that NHPP is similar to HPP with this difference that NHPP is a function of time.

As mentioned above, we seek to find a schedule for future maintenance and replacement activities on each component in interval [0, T]. For this purpose, the planning horizon is divided into J separated periods that each period length is equal to T/J. Similar to John Usher assumption, at the end of period j, one of these activities can be performed on each component: do nothing, maintenance, and replacement (Usher et al. 1998). These actions will review deeply as follows. One of the main assumptions of this model is that performing maintenance or replacement activities reduce the age of the components effectively. So that the ROCOF of the component will decrease. For simplicity, it is assumed that these activities perform instantaneously. In other words, the required time for maintenance or replacement is negligible compared to the planning horizon. Although this time is zero, but a cost associated to the maintenance and replacement have been considered. As mentioned above, one of these activities can be performed on each component at the end of a period:

  1. 1.

    Do nothing: In this policy, nothing performs on the component and the component age stays on the state “bad as old.” So the component continues its working without any changes.

  2. 2.

    Maintenance: By maintaining a component, its age changes into a state between “bad as old” and “good as new.” In this model, maintenance action reduces the effective age as a percentage of total lifetime. It’s obvious that by a reduction in a component effective age, the component ROCOF decreases. An important point is that, the percentage of age reduction depends on the maintenance performance. So, multi-level maintenance with different improvement factors can be considered.

  3. 3.

    Replacement: In this case, the component replaces with a new one. So the component effective age drops to zero and the component state will be “good as new.”

3 Effective Age of a Component at the Start of Each Period

3.1 Maintenance

For simplicity, an assumption is considered in which maintenance and replacement actions perform at the end of period j instantaneously. As mentioned above, according to the maintenance type, the age reduction differs. For example, three maintenance levels are defined: primary, intermediate, and moderate maintenance. When a primary maintenance performs, less age reduction occurs with less cost. But by overhauling a component, that component improves effectively with more cost. So:

$$ \begin{array}{l}{X}_{i, j+1}^c={a}_i^k\cdot {X}_{i, j}^{\prime c}\\ {}\mathrm{for}\kern0.5em i=1,\dots, N;\kern0.62em j=1,\dots, T-1; k=1,\dots, K;\\ {} c=1,\dots, C\kern0.5em \mathrm{and}\kern0.5em \left(0\le {a}_i^k\le 1\right)\end{array} $$
(2)

To consider instantaneous changes in system age and its failure rate, X c i,j is defined as the effective age of component c of subsystem i at the start of period j and X ′ c i,j as the effective age of component c of subsystem i at the end of period j. α k i displays an improvement factor. Actually, this factor shows the effectiveness of the maintenance action. When α k i  = 0, the effect of the maintenance action is similar to replacement and the effective age becomes zero. But in the state α k i  = 1, the maintenance effect is similar to do nothing policy with no changes in the component age. It means that, increasing the improvement factor shows the maintenance weaknesses.

As is evident in Fig. 2, maintenance action at the end of period j, creates an instantaneous drop in ROCOF of component c. So by performing a maintenance action on component c of subsystem i at the end of period j, its ROCOF will change from ϑ c i (X ′ c i,j ) to ϑ c i (X c i,j + 1 ).

Fig. 2
figure 2

Effect of period-j maintenance on component ROCOF (Usher et al. 1998)

3.2 Replacement

If component c of subsystem i is replaced with a new one at the end of period j, its effective age at the start of period j + 1 will be:

$$ \begin{array}{l}{X}_{i, j+1}^c=0\\ {}\mathrm{for}\kern0.5em i=1,\dots, N; j=1,\dots, T-1; c=1,\dots, C\end{array} $$
(3)

In other words, system will return to a state “good as new,” in which the component effective age becomes zero like a new component. So the ROCOF of this component drops from ϑ c i (X ′ c i,j ) to ϑ c i (0). Figure 3 shows the replacement effect on the component failure rate.

Fig. 3
figure 3

Effect of period-j replacement on component ROCOF (Usher et al. 1998)

3.3 Do Nothing

If no action performs on a component in period j, that component continues its working without any changes in its effective age and ROCOF. So:

$$ \begin{array}{l}{X}_{i, j+1}^c={X}_{i j}^{\prime c}\\ {}\mathrm{for}\kern0.5em i=1,\dots, N; j=1,\dots, T-1; c=1,\dots, C\end{array}$$
(4)
$$ {\vartheta}_i^c\left({X}_{i, j+1}^c\right)={\vartheta}_i^c\left({X}_{i, j}^{\prime c}\right)\kern0.62em \mathrm{for}\kern0.62em i=1,\dots, N;\kern0.62em c=1,\dots, C $$
(5)

In order to construct a recursive function, which calculate X c i,j according to any of above policies, two binary decision variables m c,k i,j and r c i,j are defined. These two variables represent the maintenance and replacement states on component c of subsystem i at the end of period j.

$$ \begin{array}{c}{m}_{i, j}^{c, k}=1\kern0.5em \mathrm{if}\kern0.5em \mathrm{component}\kern0.5em c\kern0.5em \mathrm{of}\kern0.5em \mathrm{subsystem}\kern0.5em i\kern0.5em \mathrm{maintained}\ \mathrm{in}\ k\mathrm{th}\\ {}\mathrm{level}\ \mathrm{at}\ \mathrm{th}\mathrm{e}\ \mathrm{e}\mathrm{nd}\ \mathrm{of}\ \mathrm{period}\ j;0\kern0.5em \mathrm{otherwise}\end{array}$$
(6)
$$ \begin{aligned}[b]{r}_{i, j}^c&=1\kern0.5em \mathrm{if}\kern0.5em \mathrm{component}\kern0.5em c\kern0.5em \mathrm{of}\kern0.5em \mathrm{subsystem}\kern0.5em i\kern0.5em \mathrm{replace}\ \mathrm{at}\ \mathrm{the}\ \mathrm{end}\ \mathrm{of}\\[-3pt] &\qquad\ \mathrm{period}\ j;0\kern0.5em \mathrm{otherwise}\end{aligned} $$
(7)

Now according to above definitions and equations from Eq. (2) to Eq. (4), a recursive function between X c i,j , X ′ c i,j , m c,k i,j , r c i,j and α k i can be rewritten as below:

$$ \begin{aligned}[b]{X}_{i, j}^c&=\left(1-{r}_{i, j-1}^c\right)\left[{\displaystyle \prod_{k=1}^K\left(1-{m}_{i, j-1}^{c, k}\right)}\right]{X}_{i, j-1}^{\prime c}\nonumber\\ &\quad+\,{\displaystyle \sum_{k=1}^K{m}_{i, j-1}^{c, k}\cdot \left({a}_i^k\cdot {X^{\prime}}_{i, j-1}^c\right)}\nonumber\\ &\quad\ \,\mathrm{for}\kern0.5em i=1,\dots, N; j=2,\dots, T\kern0.62em \mathrm{and}\kern0.62em c=1,\dots, C\end{aligned} $$
(8)

Equation (8) presents a closed form to calculate the effective age of component c of subsystem i at the end of period j, according to maintenance and replacement actions are performed in previous period. In this recursive function if a component is replaced in the previous period, then r c i,j − 1  = 1 and m c,k i,j − 1  = 0, where the result will be X c i,j  = 0. But if a component is maintained in one of maintenance levels, then r c i,j − 1  = 0 and m c,k i,j − 1 for that maintenance level become one where X c i,j  = α k i  ⋅ X ′ c i,j − 1 and the improvement factor of that maintenance will be used. Finally, if certain operation doesn’t perform and the component continues its working and the equation becomes X c i,j  = X ′ c i,j − 1 .

There is a basic assumption that the system starts its working from a completely new state. So the primary lifetime for each component at the start of first period is 0. It is clear that this assumption could be changed according to real system characteristics.

$$ {X}_{i,1}^c=0\kern0.62em \mathrm{for}\kern0.62em i=1,\dots N\kern0.62em \mathrm{and}\kern0.62em c=1,\dots, C $$
(9)

4 Costs Related to Maintenance and Replacement Activities

In this section the costs that are necessary to consider in this model will be analyzed.

4.1 Maintenance Cost

It’s obvious that performing maintenance on a component imposes a cost to the system. So when a maintenance action performs in level k on component c of susbsystem i in a period, the constant maintenance cost M c,k i will add to the total system cost at the end of that period.

$$ \begin{array}{c}{M}_{i, j}={\displaystyle \sum_{c=1}^C{\displaystyle \sum_{k=1}^K{M}_i^{c, k}\cdot {m}_{i, j}^{c, k}}}\\ {}\mathrm{for}\kern0.5em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T\end{array} $$
(10)

4.2 Replacement Cost

Similar to the maintenance cost, when a component is replaced in period j, a constant replacement cost, R c i , that is equal to initial purchase price will add to total cost.

$$ {R}_{i, j}={\displaystyle \sum_{c=1}^c{R}_i^c\cdot {r}_{i, j}^c\kern0.62em \mathrm{for}\kern0.62em i=1,\dots, N\kern0.62em \mathrm{and}\kern0.62em j=1,\dots, T} $$
(11)

4.3 Fixed Cost

Imagine a state in which all components of a subsystem is maintained or replaced at the end of a period. It’s evident that in this state the total system stops working. Since the considered system is a series system of N subsystems, by failing a subsystem the total system will stop working. In this order the system will contact to a cost related to next system setup. In this purpose, fixed cost Z has been considered in a period when all components of a subsystem is maintained or replaced.

$$ \mathrm{Fixed}\kern0.5em \mathrm{cost}={\displaystyle \sum_{j=1}^T\left[ Z\left(1-{\displaystyle \prod_{i=1}^N\left(1-{\displaystyle \prod_{c=1}^c\left({r}_{i, j}^c+{\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}}\right)}\right)}\right)\right]} $$
(12)

As is obvious in Eq. (12), when all components of a subsystem are maintained or replaced in a period, the expression ∏  c c = 1 (r c i,j  + ∑  K k = 1 m c,k i,j ) becomes equal to one and the multiply operation on subsystems becomes 0. Then the fixed cost Z will add to total cost.

Considering this cost has two benefits. First, this cost prevents system stops. Second, when a system stops working at the end of a period, other subsystem’s components can be maintained or replaced also without any changes in fixed cost. Actually, considering this cost helps centralization in maintenance and replacement activities.

So far it has been found that this model is a mixed integer nonlinear programming model (MINLP). For solving this model using meta-heuristic algorithms is undeniable. So because of wide using of genetic algorithm in preventive maintenance and replacement scheduling, an edition of this algorithm is used which is suitable for multi-objective models. This algorithm is non-dominated sorting genetic algorithm (NSGA-II). This algorithm will be checked in the following.

Up to now the problem is defined, the system is analyzed and primary assumptions are set. Now for system modeling three different system approaches for standby systems with different fundamental assumptions are considered.

  • Preventive maintenance and replacement scheduling with failure impossibility assumption

  • Preventive maintenance and replacement scheduling with failure possibility assumption

    • Non-optional switching

    • Optional switching

5 System Modeling

In this section the system that is defined in the second section and is shown in Fig. 1, will be modeled according to above assumptions.

5.1 Preventive Maintenance and Replacement Scheduling with Failure Impossibility Assumption

In this model there is no possibility for components failure during the periods. It means that when a component is loaded at the start of a period must continue its working to the end of that period without any failure. In Fig. 4, the system function is illustrated. As shown in this figure the switching operations perform at the end of the periods not during them. Actually in this approach switching operations perform to maintain or replace the components that are not under load.

Fig. 4
figure 4

Schematic view of a subsystem operation in preventive maintenance and replacement scheduling with failure impossibility assumption

5.1.1 System Configuration

It’s obvious that if a component is under load in a period, its effective age will increase in amount of T/J but if the component wouldn’t be under load in a period, no changes will happen to its age, because each subsystem is cold standby. In the other words, in each period if a component be under load its age increases otherwise no changes will happen to the component age on that period. So for calculating the age of components a binary variable l c i,j is defined which will be equal to one if component c of subsystem i is under load at the start of period j. So:

$$ \begin{aligned}[b]{X}_{i, j}^{\prime c}&={X}_{i, j}^c+{l}_{i, j}^c\cdot T/ J\nonumber\\ &\quad\ \,\mathrm{for}\kern0.5em i=1,\kern0.5em \dots \kern0.5em, N;\kern0.62em j=1,\kern0.62em \dots \kern0.5em, T;\kern0.62em c=1,\kern0.5em \dots \kern0.5em, C\end{aligned}$$
(13)

Another important point is that, in each period and in each subsystem, just one component must be under load. Therefore:

$$ {\displaystyle \sum_{c=1}^C{l}_{i, j}^c}=1\kern0.62em \mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N\kern0.62em \mathrm{and}\kern0.62em j=1,\kern0.5em \dots \kern0.5em, T$$
(14)

For simplicity it is assumed that at the start of first period, first component of each subsystem is under load.

$$ {l}_{i,1}^1=1\kern0.62em \mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N $$
(15)

5.1.2 System Costs

5.1.2.1 Failure Cost

Unplanned failures impose a cost to the system. An important point is that at the start of first period, failures occurrence time is unknown. However, it’s known that if the component has a high ROCOF in a period, the probability of failure occurrence is more, so higher cost must be considered and vice versa when ROCOF in a period is low, less failure cost will yield. Since in each period just one component of each subsystem is under load and switching operation can be done just at the end of period, so failure of loaded component causes system failure. For this reason, the expected number of failures in each period for each subsystem will be calculated. In this chapter J.S. Usher et al. methodology is used where average of failure rate with a fixed cost has been used (Usher et al. 1998). The expected number of failures in component c of subsystem i in period j can be calculated as below:

$$ \begin{aligned}[b] E\left({N}_{i, j}\right)&={\displaystyle \sum_{c=1}^C{l}_{i, j}^c}\cdot {\displaystyle \int_{X_{i, j}^c}^{X_{i, j}^{\prime c}}{\vartheta}_i^c(t) dt}\nonumber\\ &\quad\ \,\mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N; j=1,\kern0.5em \dots \kern0.5em, T\end{aligned} $$
(16)

According to Sect. 2 and by the assumption NHPP for rate of occurrence of failure, expected number of failures in component c of subsystem i in period j will be:

$$ \begin{aligned}[b] E\left({N}_{i, j}\right)&={\displaystyle \sum_{c=1}^C{l}_{i, j}^c}\cdot {\displaystyle \int_{X_{i, j}^c}^{X_{i, j}^{\prime c}}{\lambda}_i^c\cdot {\beta}_i^c\cdot {t}^{\beta_i^c-1} dt}\\ &={\displaystyle \sum_{c=1}^C{l}_{i, j}^c}\cdot\left[{\lambda}_i^c{\left({X}_{i, j}^{\prime c}\right)}^{\beta_i^c}-{\lambda}_i^c{\left({X}_{i, j}^c\right)}^{\beta_i^c}\right]\kern0.5em \\ &\quad\ \,\mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N;\kern0.62em j=1,\kern0.5em \dots \kern0.5em, T\end{aligned} $$
(17)

It is assumed that cost of each failure is F i (a dollar per failure occurrence) which allows the mode to calculate F i,j , where F i,j is failure cost of subsystem i in period j.

$$ \begin{aligned}[b]{F}_{i, j}&={F}_i\cdot {\displaystyle \sum_{c=1}^C{l}_{i, j}^c}.\left[{\lambda}_i^c\left({\left({X}_{i, j}^{\prime c}\right)}^{\beta_i^c}-{\left({X}_{i, j}^c\right)}^{\beta_i^c}\right)\right]\nonumber\\ &\quad\mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N; j=1,\kern0.62em \dots \kern0.5em, T\end{aligned} $$
(18)

So regardless of maintenance or replacement action (that is assumed to occur at the end of period) in period j, there is a cost related to failures which may occur in each period.

5.1.2.2 Switching Cost

If a switching action occurs at the end of period j in subsystem i, then a cost equal to S i would be imposed to the system. Considering this cost is essential to avoid unnecessary switching. Switching operation can be recognized from the changes in binary variable l c i,j . When l c i,j value changes from one to zero or from zero to one means that a switching operation has occurred. So the expression |l c i,j + 1  − l c i,j | will be equal to one if a switching operation occurs. This expression will be equal to one for two components, one the component that becomes loaded and the component that removes from loading state. So using 1/2S i is inevitable.

$$ {S}_{i, j}=\frac{1}{2}{S}_i\cdot \left|{l}_{i, j+1}^c-{l}_{i, j}^c\right|\kern0.62em \mathrm{for}\kern0.62em i=1,\kern0.62em \dots \kern0.5em, N; j=1,\kern0.62em \dots \kern0.5em, T $$
(19)
5.1.2.3 Total Cost

At the start of period j = 1, a set of maintenance, replacement, and do nothing actions for all components of each subsystem in each period must be specified to minimize the total cost. According to different costs definition, the total cost can be written as a simple sum on the costs.

$$ \begin{aligned}[b]\mathrm{Total}\kern0.5em \mathrm{Cost}&={\displaystyle \sum_{i=1}^N{\displaystyle \sum_{j=1}^T\left[{F}_i\cdot {\displaystyle \sum_{c=1}^C{l}_{i, j}^c\cdot \left[{\lambda}_i^c\left({\left({X}_{i, j}^{\prime c}\right)}^{\beta_i^c}-{\left({X}_{i, j}^c\right)}^{\beta_i^c}\right)\right]}\right.}}\nonumber\\ &\quad+\,{\displaystyle \sum_{c=1}^C\left.\left({\displaystyle \sum_{k=1}^K\left({M}_i^{c, k}\cdot {m}_{i, j}^{c, k}\right)+{R}_i^c\cdot {r}_{i, j}^c+\frac{1}{2}{S}_i \cdot \left|{l}_{i, j+1}^c-{l}_{i, j}^c\right|}\right)\right]}\nonumber\\ &\quad+\,{\displaystyle \sum_{j=1}^T\left[ Z\left(1-{\displaystyle \prod_{i=1}^N\left(1-{\displaystyle \prod_{c=1}^C\left({r}_{i, j}^c+{\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}}\right)}\right)}\right)\right]}\end{aligned} $$
(20)

5.1.3 System Reliability

For considering the reliability objective function in this model, the reliability function of subsystem i in period j is defined as Eq. (20) and since the subsystems are series, total reliability could be calculated by multiplying all subsystems in all periods as shown in Eq. (21).

$$ \begin{aligned}[b]{R}_{i, j}&{=}\,{e}^{-\left[\!{\displaystyle {\sum}_{c=1}^C{l}_{i, j}^c{\cdot}{\displaystyle \int_{X_{i, j}^c}^{X_{i, j}^{\prime c}}{\vartheta}_i^c(t) dt}}\!\right]}={e}^{-\left[\!{\displaystyle {\sum}_{c=1}^C l_{i, j}^c{\cdot}\left[\!{\lambda}_i^c\left(\!{\left({X}_{i, j}^{\prime c}\right)}^{\beta_i^c}{-}\,{\left({X}_{i, j}^c\right)}^{\beta_i^c}\!\right)\!\right]}\!\right]}\\ &\quad \mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em N; j=1,\kern0.5em \dots \kern0.5em, T\end{aligned} \vspace*{-1.3pc} $$
(21)
$$ \mathrm{Reliability}={\displaystyle \prod_{i=1}^N{\displaystyle \prod_{j=1}^T{e}^{-\left[{\displaystyle {\sum}_{c=1}^C l_{i, j}^c\cdot \left[{\lambda}_i^c\left({\left({X}_{i, j}^{\prime c}\right)}^{\beta_i^c}-{\left({X}_{i, j}^c\right)}^{\beta_i^c}\right)\right]}\right]}}} $$
(22)

5.2 Preventive Maintenance and Replacement Scheduling with Failure Possibility Assumption

In this model two approaches can be supposed. In first approach, optional switching is not applicable and by a failure in the loaded component, switching operation performs. In second approach, optional switching is considered. It means that two kinds of switching are conceivable, non-optional switching and optional one according to failures and maintenance-replacement plan, respectively. These two approaches will be surveyed in details.

5.2.1 Non-optional Switching

In this approach, when the loaded component breaks down, the switching operation performs and the other component of subsystem has to be loaded. In other words, the component that is under load at the start of a period wouldn’t be under load at the end of that period necessarily. It is obvious that the time of failure occurrence is unknown. It means that we don’t know when a failure occurs so this model deals to a probability which is related to the component failure time. For simplicity just two components are considered for each subsystem as shown in Fig. 5, the switching operations are performed just when a failure occurs. It’s obvious that these failures can occur during a period and its time is unknown.

Fig. 5
figure 5

Schematic view of a subsystem operation in preventive maintenance and replacement scheduling with failure possibility assumption and non-optional switching

5.2.1.1 Components Effective Age

Because of this probability approach, the expected effective age of the components must be calculated. It means that in each period a fraction of each period length, T/J, will add to the component effective age. For controlling the model parameters and proper modeling, a variable is defined, p c i,j , which indicates the probability of component c of subsystem i loading status at the start of period j. It’s clear that sum of these probabilities in each subsystem must be equal to one.

$$ {\displaystyle \sum_{i=1}^n{p}_{i, j}^c=1\kern0.62em \mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N\kern0.62em \mathrm{and}\kern0.62em j=1,\kern0.5em \dots \kern0.5em, T} $$
(23)

By considering two components for each subsystem, Eq. (23) could be rewritten as below:

$$ {p}_{i, j}^1+{p}_{i, j}^2=1\kern0.62em \mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N\kern0.62em \mathrm{and}\kern0.62em j=2,\kern0.5em \dots \kern0.5em, T $$
(24)

An assumption is considered that at the start of first period, the first component of each subsystem is under load. So:

$$ {p}_{i, 1}^1=1\kern0.62em \mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N$$
(25)
$$ {p}_{i, 1}^2=0\kern0.62em \mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N $$
(26)

Now, according to the above definitions, the expected effective age of each component at the end of each period is computable. By considering two components for each subsystem, the first component will be under load at the end of a period in two states. These two states are:

  1. 1.

    First component operates from start to end of a period without any failure.

  2. 2.

    Second component is loaded at the start of a period, but by a failure in that component the related subsystem switches to first component.

It’s evident that reliability of a component shows the probability of its operation without any failure during a period and the complementary of that reliability expresses the failure probability of that component in a period. Now, the expected effective age of that component at the end of period j can be rewritten as a sum of expected effective age of that component at the start of period j and during that period. So the expected effective age of first component of each subsystem can be formulated as below:

$$ \begin{aligned}[b]{X}_{i, j}^{\prime 1}&={X}_{i, j}^{1}+\left[{p}_{i, j}^1\cdot {\mathrm{Reliabilty}}_{i, j}^1+{p}_{i, j}^2\cdot \left(1-{\mathrm{Reliabilty}}_{i, j}^2\right)\right]\cdot T/ J\nonumber\\ &\quad\ \,\mathrm{for}\kern0.62em i=1,\kern0.5em \dots, \kern0.5em N\kern0.62em \mathrm{and}\kern0.62em j=1,\dots \kern0.5em,\kern0.5em T\end{aligned} $$
(27)

Similar to the first component two states of computing the expected effective age for second component of each subsystem are:

  1. 1.

    Second component operates from start to end of a period without any failure.

  2. 2.

    First component is loaded at the start of a period, but by a failure in that component the related subsystem switches to second component.

According to above states the expected effective of the second component of each subsystem can be rewritten as below:

$$ \begin{aligned}[b]{X}_{i, j}^{\prime 2}&={X}_{i, j}^2+\left[{p}_{i, j}^2\cdot {\mathrm{Reliabilty}}_{i, j}^2+{p}_{i, j}^1\cdot \left(1-{\mathrm{Reliabilty}}_{i, j}^1\right)\right]\cdot T/ J\nonumber\\ &\quad\ \,\mathrm{for}\kern0.62em i=1,\kern0.5em \dots, \kern0.5em N\kern0.5em \mathrm{and}\kern0.62em j=1,\dots \kern0.5em,\kern0.5em T\end{aligned} $$
(28)

It should be noted that just one failure is considered for each subsystem in a period. It’s evident that more than one failure in a period in each subsystem causes subsystem and whole system failure finally because two components is considered in each subsystem and maintenance and replacement activities occur at the end of periods.

One of the parameters that should be updated in each period is p c i,j . It’s obvious that in the subsystems with two components, in two states a component will be under load at the start of period j + 1, which are:

  1. 1.

    The component is under load at the start of period j and stays loaded during that period without any failure.

  2. 2.

    The other component is under load at the start of period j, but by a failure, a switching operation performs.

According to expressed points, the probability of first component loading status at the end of period j + 1 will be:

$$ \begin{aligned}[b]{p}_{i, j+1}^1&={p}_{i, j}^1\cdot {\mathrm{Reliabilty}}_{i, j}^1+{p}_{i, j}^2\cdot \left(1-{\mathrm{Reliabilty}}_{i, j}^2\right)\nonumber\\ &\quad\ \,\mathrm{for}\kern0.62em i=1,\kern0.5em \dots, \kern0.5em N\kern0.62em \mathrm{and}\kern0.62em j=1,\dots \kern0.5em,\kern0.5em T-1\end{aligned} $$
(29)

It is clear that because of being two components in each subsystem, and according to Eq. (24), p 2 i,j + 1 is complementary of p 1 i,j + 1 . It means that:

$$ \begin{aligned}[b]{p}_{i, j+1}^2&=1-{p}_{i, j+1}^1\nonumber\\ &\quad\ \,\mathrm{for}\kern0.62em i=1,\kern0.5em \dots, \kern0.5em N\kern0.62em \mathrm{and}\kern0.62em j=1,\dots \kern0.5em,\kern0.5em T-1\end{aligned} $$
(30)
5.2.1.2 System Costs
5.2.1.2.1 Failure Cost

By looking at the foregoing operation periods, the unplanned components failures should be considered. As mentioned before two components are considered for each subsystem in which by a component failure the other one will be loaded. Since the maintenance and replacement operations perform just at the end of periods, if both components of a subsystem fail in a period, the related subsystem and the whole system will fail.

Two approaches can be considered for failure cost. First is calculating the expected failure cost. For this purpose, the subsystem failure probability that is complementary of subsystem reliability is multiplied to constant failure cost F i .

$$ \begin{aligned}[b]{F}_{i, j}&={F}_i\cdot \left(1-{\mathrm{Reliability}}_{i, j}^{SS}\right)\\ &\quad\ \ \mathrm{for}\kern0.62em i=1,\kern0.5em \dots, \kern0.5em N\kern0.62em \mathrm{and}\kern0.62em j=1,\dots \kern0.5em,\kern0.5em T\end{aligned}$$
(31)

In the above equation, Reliability SS i,j shows the reliability of subsystem i in period j. So, its complementary, (1 − Reliability SS i,j ), expresses the failure probability of that subsystem.

Second approach is considering expected failure numbers in a subsystem. It’s obvious that because of being just two components in each subsystem, at most one failure in each subsystem during a period is reasonable. So, when expected failure number is more than one, subsystem fails. At first the expected number of failures in a component should be calculated:

$$ \begin{aligned}[b] &E\left({N}_{i, j}^c\right)={\displaystyle \int_{X_{i, j}^c}^{X_{i, j}^{\prime c}}{\vartheta}_i^c(t) dt}\\ &\quad\ \,\mathrm{for}\kern0.62em i=1,\kern0.5em \dots, \kern0.5em N\kern0.62em \mathrm{and}\kern0.62em j=1,\dots \kern0.5em,\kern0.5em T\kern0.62em \mathrm{and}\kern0.62em c=1,\kern0.5em \dots \kern0.5em, C\end{aligned} $$
(32)

E(N c i,j ) shows the expected number of failures in component c of subsystem i in period j. According to Eq. (1) and by the assumption NHPP for ROCOF, expected number of failures in component c of subsystem i in period j will be:

$$ \begin{aligned}[b] E\left({N}_{i, j}^c\right)&={\displaystyle \int_{X_{i, j}^c}^{X_{i, j}^{\prime c}}{\lambda}_i^c\cdot {\beta}_i^c\cdot {t}^{\beta_i^c-1} dt}=\left[{\lambda}_i^c{\left({X}_{i, j}^{\prime c}\right)}^{\beta_i^c}-{\lambda}_i^c{\left({X}_{i, j}^c\right)}^{\beta_i^c}\right]\\ &\quad\ \,\mathrm{for}\kern0.62em i=1,\kern0.5em \dots, \kern0.5em N\kern0.62em \mathrm{and}\kern0.62em j=1,\dots \kern0.5em,\kern0.5em T\kern0.62em \mathrm{and}\kern0.62em c=1,\kern0.5em \dots \kern0.5em, C\end{aligned} $$
(33)

According to component c loading probability, the expected failure numbers of subsystem i will be:

$$ \begin{aligned}[b] E\left({N}_{i, j}\right)&={\displaystyle \sum_{c=1}^C{p}_{i, j}^c\cdot E\left({N}_{i, j}^c\right)}={\displaystyle \sum_{c=1}^C{p}_{i, j}^c\cdot \left[{\lambda}_i^c{\left({X}_{i, j}^{\prime c}\right)}^{\beta_i^c}-{\lambda}_i^c{\left({X}_{i, j}^c\right)}^{\beta_i^c}\right]}\\ &\quad\ \,\mathrm{for}\kern0.24em i=1,\kern0.5em \dots, N\kern0.62em \mathrm{and}\kern0.62em j=1,\kern0.5em \dots \kern0.5em, T\end{aligned} $$
(34)

As expressed before just one failure in each subsystem is acceptable. So, if the expected failure number is greater than one, failure cost exists. So failure cost of subsystem i in period j will be:

$$ \begin{aligned}[b]{F}_{i, j}&={F}_i\cdot \max \left\{0, E\left({N}_{i, j}\right)-1\right\}\\ &\quad\ \,\mathrm{for}\kern0.62em i=1,\kern0.5em \dots \kern0.5em, N\kern0.62em \mathrm{and}\kern0.62em j=1,\kern0.5em \dots \kern0.5em, T\end{aligned} $$
(35)
5.2.1.2.2 Total Cost

At the start of period j = 1, a set of maintenance and replacement activities should be specified for each component in following periods which minimizes the total cost. According to different costs definitions, the total cost function can be rewritten as below:

$$ \begin{aligned}[b]\mathrm{Total}\kern0.5em \mathrm{Cost}&={\displaystyle \sum_{i=1}^N{\displaystyle \sum_{j=1}^T\Bigg[{F}_i\cdot \left(1-{\mathrm{Reliabilty}}_{i, j}^{SS}\right)}}\\ &\quad\left.+{\displaystyle \sum_{c=1}^C\left({\displaystyle \sum_{k=1}^K\left({M}_i^{c, k}\cdot {m}_{i, j}^{c, k}\right)+{R}_i^c\cdot {r}_{i, j}^c}\right)}\right]\\ &\quad+{\displaystyle \sum_{j=1}^T\left[ Z\left(1-{\displaystyle \prod_{i=1}^N\left(1-{\displaystyle \prod_{c=1}^C\left({r}_{i, j}^c+{\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}}\right)}\right)}\right)\right]}\end{aligned} $$
(36)

Above function calculates the total cost as a sum of component costs in each period according to maintenance and replacement cost, down tie fixed cost and expected system failure cost.

5.2.1.3 System Reliability

In order to calculate the system reliability, at first the reliability of subsystem i in period j should be calculated. It’s notable that each subsystem is a cold standby system. In other words, in this subsystems when a component is in standby mode no changes will happen in its age and failure rate. Charles O. Smith defined a general function for reliability of a standby system with two components (Smith 1976).

$$ {R}_{SS}={R}_1(t)+{Q}_1\left({t}_1\right)\cdot {R}_2\left( t-{t}_1\right)\kern1em 0\le {t}_1\le t $$
(37)

Above expression shows that the reliability of a standby system is composed of two parts. First part, R 1(t), is related to a case in which the first component is active from time 0 to t without any failure. But the second part, Q 1(t 1)⋅R 2(tt 1), represents the state in which first component breaks down in time t 1 and the second component continues its operation from t 1 to t. In the following, each subsystem reliability will be surveyed in details.

In the above equation, R c (t) and Q c (t) represent the reliability of component c from 0 to t and the failure probability of component C at time t, respectively. In a system with C components in each subsystem, \( C!{\displaystyle {\sum}_{r=0}^{C-1}\frac{1}{\left[\left( C-1\right)- r\right]!}} \) states can occur for each subsystem in each period. So in this model by considering two components in each subsystem, four states can occur in each period. These states are:

State 1:

In this state, the first component is under load at the start of period j, and will work till the end of this period without any failure (Table 1 ).

Table 1 First state in a standby subsystem

State 2:

In this state, the first component cannot finish the period and because of a failure at time t in first component a switching operation performs. So, the second component will be loaded and the system continues its working from time t to T/J by second component (Table  2 ).

Table 2 Second state in a standby subsystem

State 3:

This state is similar to first state, but the second component is under load at the start of period j (Table  3 ).

State 4:

In this state, second component is loaded at the start of period j, but similar to second state, component failure causes a switching operation and the first component become loaded (Table  4 ).

Table 3 Third state in a standby subsystem
Table 4 Fourth state in a standby subsystem
5.2.1.4 Total Reliability

In this section, the above functions for total reliability computation will be combined. Since, at the start of each period, the components loading condition is unknown, calculating the expected reliability in each period for each subsystem is inevitable. So according to law of total probability, expected reliability will be:

$$ \begin{aligned}[b]{\mathrm{Reliability}}_{i, j}^{SS}&={p}_{i, j}^1\cdot R{e}_{i, j}^{SS,1}+{p}_{i, j}^2\cdot R{e}_{i, j}^{SS,2}\\ &={p}_{i, j}^1\cdot \left({R}_{i, j}^1\left( T/ J\right)+{Q}_{i, j}^1\left( t\right)\cdot {R}_{i, j}^2\left( T/ J- t\right)\right)\\ &\quad+{p}_{i, j}^2\cdot \left({R}_{i, j}^2\left( T/ J\right)+{Q}_{i, j}^2\left( t\right)\cdot {R}_{i, j}^1\left( T/ J- t\right)\right)\\ &\quad\ \mathrm{for}\kern0.62em i=1,\dots, N; j=1,\dots, T\end{aligned} $$
(42)

In this equation, Re SS,1 i,j illustrates ith subsystem reliability in which the first component is under load at the start of period j and its measure is equal to sum of first and second states reliability as follows:

$$ \begin{aligned}[b] R{e}_{i, j}^{SS,1}&={e}^{-\left[\int_{x_{i, j}^1}^{x_{i, j}^1+ T/J }{\vartheta}_i^1(t) dt\right]}\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\vartheta}_i^1(t)\cdot {e}^{-\left[\int_{x_{i, j}^1}^{x_{i, j}^1+ t}{\vartheta}_i^1(t) dt\right]}\cdot {e}^{-\left[\int_{x_{i, j}^2}^{x_{i, j}^2+ T/{J}- t}{\vartheta}_i^2(t) dt\right]}\cdot dt}\\ &={e}^{-\left[{\lambda}_i^1\left({\left({x}_{i, j}^1+ T/ J\right)}^{\beta_i^1}-{\left({x}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^1\cdot {\beta}_i^1\cdot {t}^{\beta_i^1-1}\cdot {e}^{-\left[{\lambda}_i^1\left({\left({x}_{i, j}^1+ t\right)}^{\beta_i^1}-{\left({x}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}}\\ &\qquad\cdot {e}^{-\left[{\lambda}_i^2\left({\left({x}_{i, j}^2+ T/{J}- t\right)}^{\beta_i^2}-{\left({x}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\cdot dt\\ &\qquad\mathrm{for}\kern0.62em i=1,\dots, N; j=1,\dots, T\end{aligned} $$
(43)

Similarly, Re SS,2 i,j is referred to the states that the second component is loaded at the start of period j. Sum of third and fourth states reliability equations will be:

$$ \begin{aligned}[b] R{e}_{i, j}^{SS,2}&={e}^{-\left[\int_{x_{i, j}^2}^{x_{i, j}^2+ T/ J}{\vartheta}_i^2(t) dt\right]}\nonumber\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\vartheta}_i^2(t)\cdot {e}^{-\left[\int_{x_{i, j}^2}^{x_{i, j}^2+ t}{\vartheta}_i^1(t) dt\right]}\cdot {e}^{-\left[\int_{x_{i, j}^1}^{x_{i, j}^1+ T/{J}- t}{\vartheta}_i^1(t) dt\right]}\cdot dt}\\ &={e}^{-\left[{\lambda}_i^2\left({\left({x}_{i, j}^2+ T/ J\right)}^{\beta_i^2}-{\left({x}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^2\cdot {\beta}_i^2\cdot {t}^{\beta_i^2-1}\cdot {e}^{-\left[{\lambda}_i^2\left({\left({x}_{i, j}^2+ t\right)}^{\beta_i^2}-{\left({x}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}}\\&\qquad\cdot {e}^{-\left[{\lambda}_i^1\left({\left({x}_{i, j}^1+ T/{J}- t\right)}^{\beta_i^1}-{\left({x}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\cdot dt\\ &\qquad\mathrm{for}\kern0.62em i=1,\dots, N; j=1,\dots, T\end{aligned} $$
(44)

So, according to above descriptions, the expected total reliability for subsystem i in period j is equal to:

$$ \begin{aligned}[b]{\mathrm{Reliability}}_{i, j}^{SS}&={p}_{i, j}^1. R{e}_{i, j}^{SS,1}+{p}_{i, j}^2. R{e}_{i, j}^{SS,2}\\ &={p}_{i, j}^1.\left[{e}^{-\left[{\lambda}_i^1\left({\left({x}_{i, j}^1+ T/ J\right)}^{\beta_i^1}-{\left({x}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\right.\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^1\cdot {\beta}_i^1\cdot {t}^{\beta_i^1-1}\cdot {e}^{-\left[{\lambda}_i^1\left({\left({x}_{i, j}^1+ t\right)}^{\beta_i^1}-{\left({x}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}}\\&\qquad\cdot {e}^{-\left[{\lambda}_i^2\left({\left({x}_{i, j}^2+ T/ J- t\right)}^{\beta_i^2}-{\left({x}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\cdot dt\\ &\quad+{p}_{i, j}^2.\left[{e}^{-\left[{\lambda}_i^2\left({\left({x}_{i, j}^2+ T/ J\right)}^{\beta_i^2}-{\left({x}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\right.\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^2\cdot {\beta}_i^2\cdot {t}^{\beta_i^2-1}\cdot {e}^{-\left[{\lambda}_i^2\left({\left({x}_{i, j}^2+ t\right)}^{\beta_i^2}-{\left({x}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}}\\ &\qquad\cdot {e}^{-\left[{\lambda}_i^1\left({\left({x}_{i, j}^1+ T/ J- t\right)}^{\beta_i^1}-{\left({x}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\cdot dt\\ &\qquad\mathrm{for}\kern0.62em i=1,\dots, N; j=1,\dots, T\end{aligned} $$
(45)

With regard to considering a series system, the total reliability will be computable by a simple multiply operation on N subsystems and J periods.

$$ \begin{aligned}[b]\mathrm{Reliability}={\displaystyle \prod_{i=1}^N{\displaystyle \prod_{j=1}^T{\mathrm{Reliability}}_{i, j}^{SS}}}\\ ={\displaystyle \prod_{i=1}^N{\displaystyle \prod_{j=1}^T\left({p}_{i, j}^1.\left[{e}^{-\left[{\lambda}_i^1\left({\left({X}_{i, j}^1+ T/ J\right)}^{\beta_i^1}-{\left({X}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\right.\right.}}\;\\ \quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^1\cdot {\beta}_i^1\cdot {t}^{\beta_i^1-1}\cdot {e}^{-\left[{\lambda}_i^1\left({\left({X}_{i, j}^1+ t\right)}^{\beta_i^1}-{\left({X}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}}\\\qquad\cdot {e}^{-\left[{\lambda}_i^2\left({\left({X}_{i, j}^2+ T/ J- t\right)}^{\beta_i^2}-{\left({x}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\cdot dt\end{aligned} $$
$$ \begin{aligned}[b] &\quad+{p}_{i, j}^2\cdot \left[{e}^{-\left[{\lambda}_i^2\left({\left({X}_{i, j}^2+ T/ J\right)}^{\beta_i^2}-{\left({X}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\right.\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^2\cdot {\beta}_i^2\cdot {t}^{\beta_i^2-1}\cdot {e}^{-\left[{\lambda}_i^2\left({\left({x}_{i, j}^2+ t\right)}^{\beta_i^2}-{\left({x}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}}\\&\qquad\cdot {e}^{-\left[{\lambda}_i^1\left({\left({x}_{i, j}^1+ T/ J- t\right)}^{\beta_i^1}-{\left({x}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\cdot dt\end{aligned} $$
(46)

5.2.2 Optional Switching

In this section, optional switching possibility is considered to previous model. It means that two types of switching can perform in this system, optional and non-optional. When a failure occurs non-optional switching performs but, at the end of some periods, optional switching performs to maintain or replace the component that is under load. In Fig. 6, these two types of switching are illustrated.

Fig. 6
figure 6

Schematic view of a subsystem operation in third approach

In Fig. 6, black arrows represent non-optional switching and red arrows show optional switching. By assuming optional switching, it is assumed that by maintaining or replacing a component at the end of period j that component cannot be loaded at the start of period j + 1. By this assumption, when ∑  K k = 1 m c,k i,j − 1  + r c i,j − 1 is equal to one, p c i,j become 0. So:

$$ \begin{aligned}[b]&{p}_{i, j}^c\cdot \left({\displaystyle \sum_{k=1}^K{m}_{i, j-1}^{c, k}+{r}_{i, j-1}^c}\right)=0\\ &\quad\mathrm{for}\kern0.62em i=1,\dots, N; j=2,\dots, T\kern0.62em \mathrm{and}\kern0.62em c=1,2\end{aligned} $$
(47)

Another assumption is that at the start of each period at least one component in each subsystem must be ready to become loaded. In other words, at the end of each period there is at least one component that will not maintain or replace. So:

$$ \begin{aligned}[b]&{\displaystyle \sum_{c=1}^c\left({\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}+{r}_{i, j}^c}\right)\le 1}\\ &\quad \mathrm{for}\kern0.62em i=1,\dots, N; j=1,\dots, T-1\kern0.62em \mathrm{and}\kern0.62em c=1,2\end{aligned} $$
(48)

By this assumption fixed cost become equal to 0. Because at the end of a period there is no possibility to perform maintenance or replacement activities on all components of a subsystem and at least one component in each subsystem works. So, the total system never stops working for maintenance or replacement.

6 Solution Approach

NSGA-II is one of the most useful and powerful existing algorithms for solving various multi-objective optimization problems that its performance has been proved (Deb et al. 2000). This algorithm combines GA algorithm with dominancy concept to form Pareto front. Deb and his colleague designed first version of this algorithm in 1995 and completed it in 2000 (Srinivas and Deb 1995; Deb et al. 2000). These algorithm parameters are defined as follow:

  • Crossover procedure

    In this research, according to specific nature of this problem, two new methods are considered. These two crossover procedures are:

    1. 1.

      Reverse three points crossover: In this method, at first three elements of N × C × T matrix will be selected randomly. By this selection the parent chromosomes will divide into two parts. The procedure of children chromosomes construction is that the arrays out of these three points will select from the first parent and the other arrays will copy from the second parent reversely. By this method, if the parents have been selected similarly, the children will create differently.

      Table 5 Numerical example parameters
    2. 2.

      NCT points crossover: In this type of crossover, even genes will select from the first parent and the odd genes from the second one.

    So, if the selected solutions be similar, the algorithm uses the reverse three points crossover, otherwise the NCT points crossover will be used.

  • Mutation procedure

    It’s clear that mutation operator changes the coding design of chromosomes for diversity in solutions. According to the problem construction, if a component is maintained or replaced at the end of a period, the total system contacts to a cost. So a specific mutation procedure is defined for this problem. In this procedure, a number will be generated between one and N × C × T randomly. Then if this is a non-zero number, the algorithm changes it to zero and reversely if it is equal to zero changes to a number belongs to {1,2,3,4} randomly.

7 Numerical Example

In this section, three mentioned optimization models will be solved with a set of data (considered in Table  5 ) to be compared in application area and examining their strength and weaknesses. In addition to considered data set, for each subsystem three similar components is assumed and 24 month is defined for planning horizon. Fixed cost will be 800$. In Table  5 α 1, α 2, and α 3 show three levels of maintenance from overhaul to elementary maintenance and M 1, M 2, and M 3 represent the costs associated to maintenance levels. It’s notable that MATLAB R2013a environment is used for model solving.

In this section, these three models will be checked deeply and compared with each other. In many literature, optimization model is designed as a single objective model by using one limitation formulation, like, Moghaddam and Usher (2011) recent research in which two limitation models have been presented, where the first model minimizes the total cost for a given system reliability and the second one maximizes the total reliability with a budgetary constraint. Of course they completed their research by considering a multi-objective model for a system of several components that are connected in series configuration (Moghaddam and Usher 2011). This chapter presented models are also multi-objective models which are maximizing the total reliability by minimizing the total cost for a series system of several standby subsystems.

7.1 First Model

As surveyed before in this model, preventive maintenance and replacement scheduling with failure impossibility assumption is considered. Final optimization model is:

$$ \begin{aligned}\mathrm{Min}\;\mathrm{Total}\;\mathrm{Cost}&={\displaystyle \sum_{i=1}^N{\displaystyle \sum_{j=1}^T\left[{F}_i\cdot {\displaystyle \sum_{c=1}^C{l}_{i, j}^c}\cdot \left[{\lambda}_i^c\left({\left(X^{\prime c}_{i, j}\right)}^{\beta_i^c}-{\left({X}_{i, j}^c\right)}^{\beta_i^c}\right)\right]\right.}}\\ &\quad\left.+{\displaystyle \sum_{c=1}^C\left({\displaystyle \sum_{k=1}^K\left({M}_i^{c, k}\cdot {m}_{i, j}^{c, k}\right)+{R}_i^c\cdot {r}_{i, j}^c+\frac{1}{2}{S}_i\cdot \left|{l}_{i, j+1}^c-{l}_{i, j}^c\right|}\right)}\right]\\ &\quad+{\displaystyle \sum_{j=1}^T\left[ z\left(1-{\displaystyle \prod_{i=1}^N\left(1-{\displaystyle \prod_{c=1}^C\left({r}_{i, j}^c+{\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}}\right)}\right)}\right)\right]}\end{aligned}$$
$$ \mathrm{Max}\;\mathrm{Reliability}={\displaystyle \prod_{i=1}^N{\displaystyle \prod_{j=1}^T{e}^{-\left[{\displaystyle {\sum}_{c=1}^C{l}_{i, j}^c\cdot \left[{\lambda}_i^c\left({\left({X}_{i, j}^{\prime c}\right)}^{\beta_1^c}-{\left({X}_{i, j}^c\right)}^{\beta_1^c}\right)\right]}\right]}}} $$
Fig. 7
figure 7

First model Parto front

Subject to:

$$ {X}_{i,1}^c=0\kern0.24em \mathrm{for}\kern0.24em i=1,\dots N\kern0.24em \mathrm{and}\kern0.24em c=1,\dots, C$$
$$ \begin{aligned}[b]{X}_{i, j}^c&=\left(1-{r}_{i, j-1}^c\right)\left[{\displaystyle \prod_{k=1}^K\left(1-{m}_{i, j-1}^{c, k}\right)}\right]{X}_{i, j-1}^{\prime c}\\ &\quad+{\displaystyle \sum_{k=1}^K{m}_{i, j-1}^{c, k}\cdot \left({\alpha}_i^k\cdot {X}_{i, j-1}^{\prime c}\right)}\\ &\quad\ \,\mathrm{for}\kern0.24em i=2,\dots, N; j=1,\dots, T\kern0.24em \mathrm{and}\kern0.24em c=1,\dots, C\vspace*{-10pt}\end{aligned} $$
$$ {X}_{i, j}^{\prime c}={X}_{i, j}^c+{l}_{i, j}^c\cdot T/ J\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N; j=1,\dots, T\kern0.24em \mathrm{and}\kern0.24em c=1,\dots, C\vspace*{-1pc} $$
$$ {\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}+{r}_{i, j}^c\le 1\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N; j=1,\dots, T\kern0.24em \mathrm{and}\kern0.24em c=1,\dots, C}\vspace*{-1pc} $$
$$ {\displaystyle \sum_{c=1}^C{l}_{i, j}^c=1\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T}\vspace*{-1pc} $$
$$ \begin{aligned}&{l}_{i, j}^c,{m}_{i, j}^{c, k},{r}_{i, j}^c,=0\; or\;1\\ &\quad\ \,\mathrm{for}\kern0.24em i=1,\dots, N; j=1,\dots, T; c=1,\dots, C\kern0.24em \mathrm{and}\kern0.24em k=1,\dots, K\end{aligned}\vspace*{-1pc} $$
$$ {X}_{i, j}^{\prime c},{X}_{i, j}^c\ge 0\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T $$
(49)

The proposed model solved by the considered parameters. The Pareto front related to this problem is shown in Fig. 7. An important point is that all the points in this front provide an approximation of the optimal values and none of them dominate the others. It means that in different strategies different policies can be chosen. In other words the primary points of Pareto front by low costs have less reliability level and reversely by increasing the costs, the reliability levels are also increasing. So according to designers and managers strategies different policies can be implemented.

As is obvious in the components effective age diagrams, effective age of a component can increase, decrease or have no changes during the planning horizon. Increasing in effective age diagram of a component expresses that the component is loaded and operated during the period. No changes in a component effective age shows that the component wouldn’t be under load in that period and when an instantaneous drop or decrease occurs in the diagram illustrates the maintenance and replacement activities happened on the component that its measure depends on the maintenance level.

It’s notable that in the maintenance and replacement schedule tables, M1 shows overhaul maintenance, M2, intermediate maintenance, M3, primary maintenance, and R illustrates replacement activity on a component.

An obvious point about components effective age diagrams is that, in low reliability levels, system prefers to maintain or replace the first component and the second component isn’t active so much. But by increases in reliability levels and costs, the second component starts to working (Figs. 8, 9, 10, 11, and 12; Tables 6, 7, 8, and 9).

7.2 Second Model

This model prepared with failure possibility assumption but non-optional switching (Fig. 13). Total mathematical model, its reliability, costs, and components effective age diagrams are shown in the following:

$$ \begin{aligned}\mathrm{Min}\;\mathrm{Total}\;\mathrm{Cost}&={\displaystyle \sum_{i=1}^N{\displaystyle \sum_{j=1}^T\Bigg[{F}_i\cdot \left(1-{\mathrm{Reliability}}_{i, j}^{SS}\right)}}\\&\quad\left.+{\displaystyle \sum_{c=1}^C\left({\displaystyle \sum_{k=1}^K\left({M}_i^{c, k}\cdot {m}_{i, j}^{c, k}\right)+{R}_i^c\cdot {r}_{i, j}^c}\right)}\right]\\ &\quad+{\displaystyle \sum_{i=1}^T\left[ z\left(1-{\displaystyle \prod_{i=1}^N\left(1-{\displaystyle \prod_{c=1}^C\left({r}_{i, j}^c+{\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}}\right)}\right)}\right)\right]}\end{aligned} $$
Fig. 8
figure 8

Components effective age by R = 19.25 % and C = 401$

Fig. 9
figure 9

Components effective age by R = 39.99 % and C = 1037.6$

Fig. 10
figure 10

Components effective age by R = 60.55 % and C = 3116.3$

Fig. 11
figure 11

Components effective age by R = 85.16 % and C = 30700$

Fig. 12
figure 12

Components effective age by R = 89.49 % and C = 59930$

Table 6 Maintenance and replacement schedule by R = 39.99 % and C = 1037.6$
Table 7 Maintenance and replacement schedule by R = 60.55 % and C = 3116.3$
Table 8 Maintenance and replacement schedule by R = 85.16 % and C = 30700$
Table 9 Maintenance and replacement schedule by R = 89.49 % and C = 59930$
Fig. 13
figure 13

Second model Parto front

$$ \begin{aligned}\mathrm{Max}\;\mathrm{Reliability}&={\displaystyle \prod_{i=1}^N{\displaystyle \prod_{j=1}^T\left({p}_{i, j}^1\cdot \left[{e}^{-\left[{\lambda}_i^1\left({\left({X}_{i, j}^1+ T/ J\right)}^{\beta_i^1}-{\left({X}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\right.\right.}}\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^1\cdot {\beta}_i^1\cdot {t}^{\beta_i^1-1}\cdot {e}^{-\left[{\lambda}_i^1\left({\left({X}_{i, j}^1+ t\right)}^{\beta_i^1}-{\left({X}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}}\\ &\quad \left.\cdot {e}^{-\left[{\lambda}_i^2\left({\left({X}_{i, j}^2+ T/ J- t\right)}^{\beta_i^2}-{\left({X}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\cdot dt\right]\\ &\quad+{p}_{i, j}^2\cdot \left[{e}^{-\left[{\lambda}_i^2\left({\left({X}_{i, j}^2+ T/ J\right)}^{\beta_i^2}-{\left({X}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\right.\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^2\cdot {\beta}_i^2\cdot {t}^{\beta_i^2-1}\cdot {e}^{-\left[{\lambda}_i^2\left({\left({X}_{i, j}^2+ t\right)}^{\beta_i^2}-{\left({X}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}}\\ &\quad \left.\left.\cdot {e}^{-\left[{\lambda}_i^1\left({\left({X}_{i, j}^1+ T/ J- t\right)}^{\beta_i^1}-{\left({X}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\cdot dt\right]\right)\end{aligned} $$

subject to:

$$ {X}_{i,1}^c=0\kern0.24em \mathrm{for}\kern0.24em i=1,\dots N\kern0.24em \mathrm{and}\kern0.24em c=1,2\vspace*{-1pc} $$
$$ \begin{aligned}{X}_{i, j}^c&=\left(1-{r}_{i, j-1}^c\right)\left[{\displaystyle \prod_{k=1}^K\left(1-{m}_{i, j-1}^{c, k}\right)}\right]{X}_{i, j-1}^{\prime c}+{\displaystyle \sum_{k=1}^K{m}_{i, j-1}^{c, k}}\cdot \left({\alpha}_i^k\cdot {X}_{i, j-1}^{\prime c}\right)\\ &\quad\ \,\mathrm{for}\kern0.24em i=1,\dots, N; j=2,\dots, T\kern0.24em \mathrm{and}\kern0.24em c=1,2\end{aligned}\vspace*{-1pc} $$
$$ \begin{aligned}{X}_{i, j}^{\prime 1}&={X}_{i, j}^1+\left[{p}_{i, j}^1\cdot {\mathrm{Reliability}}_{i, j}^1+\left(1-{p}_{i, j}^1\right)\left(1-{\mathrm{Reliability}}_{i, j}^2\right)\right]. T/ J\\ &\quad \mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T\end{aligned}\vspace*{-1pc} $$
$$ \begin{aligned}{X}_{i, j}^{\prime 2}&={X}_{i, j}^2+\left[\left(1-{p}_{i, j}^1\right)\cdot {\mathrm{Reliability}}_{i, j}^2+{p}_{i, j}^1\cdot \left(1-{\mathrm{Reliability}}_{i, j}^1\right)\right]\cdot T/ J\\ &\quad\ \,\mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T\end{aligned} \vspace*{-1pc} $$
$$ {p}_{i,1}^1=1\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\vspace*{-1pc} $$
$$ {p}_{i,1}^2=0\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\vspace*{-1pc} $$
$$ \begin{aligned}{p}_{i, j+1}^1&={p}_{i, j}^1\cdot {\mathrm{Reliability}}_{i, j}^1+\cdot \left(1-{p}_{i, j}^1\right)\cdot \left(1-{\mathrm{Reliability}}_{i, j}^2\right)\\ &\mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T-1\end{aligned}\vspace*{-1pc} $$
$$ {p}_{i, j}^2=1-{p}_{i, j}^1\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T\vspace*{-1pc} $$
$$ {\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}+{r}_{i, j}^c\le 1\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N; j=1,\dots, T\kern0.24em \mathrm{and}\kern0.24em c=1,2}\vspace*{-1pc} $$
$$ {m}_{i, j}^{c, k},{r}_{i, j}^c=0\kern0.24em \mathrm{or}\kern0.24em 1\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N; j=1,\dots, T; c=1,2\kern0.24em \mathrm{and}\kern0.24em k=1,\dots, K\vspace*{-1pc} $$
$$ 0\le {p}_{i, j}^1,{p}_{i, j}^2\le 1\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T\vspace*{-1.7pc} $$
$$ {X}_{i, j}^{\prime c},{X}_{i, j}^c\ge 0\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T $$
(50)

This point is notable that second component effective age doesn’t change any more and its reason that optional switching isn’t possible in this model. Second component effective age changes obviously in the next model (Figs. 14, 15, 16, and 17; Tables 10, 11, and 12 ).

Fig. 14
figure 14

Components effective age by R = 68.48 % and C = 93$

Fig. 15
figure 15

Components effective age by R = 90.11 % and C = 1481$

Fig. 16
figure 16

Components effective age by R = 99.37 % and C = 19431$

Fig. 17
figure 17

Components effective age by R = 99.95 % and C = 63583$

Table 10 Maintenance and replacement schedule by R = 90.11 % and C = 1481$
Table 11 Maintenance and replacement schedule by R = 99.37 % and C = 19431$
Table 12 Maintenance and replacement schedule by R = 99.95 % and C = 63583$

7.3 Third Model

This model is designed for a case in which both failure and optional switching is possible (Figs. 18, 19, 20, 21, and 22; Tables  13 , 14 , and 15 ). This model formulation and its diagrams are shown as below:

Fig. 18
figure 18

Third model Parto front

Fig. 19
figure 19

Components effective age by R = 68.48 % and C = 93$

Fig. 20
figure 20

Components effective age by R = 90.81 % and C = 499$

Fig. 21
figure 21

Components effective age by R = 99.11 % and C = 9611$

Fig. 22
figure 22

Components effective age by R = 99.89 % and C = 30184$

Table 13 Maintenance and replacement schedule by R = 90.81 % and C = 499$
Table 14 Maintenance and replacement schedule by R = 99.11 % and C = 9611$
Table 15 Maintenance and replacement schedule by R = 99.89 % and C = 30184$
$$ \begin{aligned}[b]\mathrm{Min}\;\mathrm{Total}\;\mathrm{Cost}&={\displaystyle \sum_{i=1}^N{\displaystyle \sum_{j=1}^T\Bigg[{F}_i\cdot \left(1-{\mathrm{Reliability}}_{i, j}^{SS}\right)}}\\ &\quad\left.+\,{\displaystyle \sum_{c=1}^C\left({\displaystyle \sum_{k=1}^K\left({M}_i^{c, k}\cdot {m}_{i, j}^{c, k}\right)+{R}_i^c\cdot {r}_{i, j}^c}\right)}\right]\\ &\quad+\,{\displaystyle \sum_{j=1}^T\left[ Z\left(1-{\displaystyle \prod_{i=1}^N\left(1-{\displaystyle \sum_{c=1}^C\left({r}_{i, j}^c+{\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}}\right)}\right)}\right)\right]}\end{aligned} $$
$$ \begin{aligned}[b]\mathrm{Max}\;\mathrm{Reliability}&={\displaystyle \prod_{i=1}^N{\displaystyle \prod_{j=1}^T\left({p}_{i, j}^1\cdot \left[{e}^{-\left[{\lambda}_i^1\left({\left({X}_{i, j}^1+ T/ J\right)}^{\beta_i^1}-{\left({X}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\right.\right.}}\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^1\cdot {\beta}_i^1\cdot {t}^{\beta_i^1-1}\cdot {e}^{-\left[{\lambda}_i^1\left({\left({X}_{i, j}^1+ t\right)}^{\beta_i^1}-{\left({X}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}}\\&\quad\left.\cdot {e}^{-\left[{\lambda}_i^2\left({\left({X}_{i, j}^2+ T/ J- t\right)}^{\beta_i^2}-{\left({X}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\cdot dt\right]\\ &\quad+{p}_{i, j}^2\cdot \left[{e}^{-\left[{\lambda}_i^2\left({\left({X}_{i, j}^2+ T/ J\right)}^{\beta_i^2}-{\left({X}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}\right.\\ &\quad+{\displaystyle \int_{t=0}^{t= T/ J}{\lambda}_i^2\cdot {\beta}_i^2\cdot {t}^{\beta_i^2-1}\cdot {e}^{-\left[{\lambda}_i^2\left({\left({X}_{i, j}^2+ t\right)}^{\beta_i^2}-{\left({X}_{i, j}^2\right)}^{\beta_i^2}\right)\right]}}\\&\quad\left.\left.\cdot {e}^{-\left[{\lambda}_i^1\left({\left({X}_{i, j}^1+ T/ J- t\right)}^{\beta_i^1}-{\left({X}_{i, j}^1\right)}^{\beta_i^1}\right)\right]}\cdot dt\right]\right)\end{aligned} $$

subject to:

$$ \begin{aligned} {X}_{i, j}^c&=0\kern0.24em \mathrm{for}\kern0.24em i=1,\dots N\kern0.24em \mathrm{and}\kern0.24em c=1,2\\[6pt] {X}_{i, j}^c&=\left(1-{r}_{i, j-1}^c\right)\left[{\displaystyle \prod_{k=1}^K\left(1-{m}_{i,j-1}^{c, k}\right)}\right]X^{\prime c}_{i, j-1}\\ &\quad+{\displaystyle \sum_{k=1}^K{m}_{i, j-1}^{c, k}\cdot \left({\alpha}_i^k\cdot X^{\prime c}_{i, j-1}\right)}\\ &\quad\ \,\mathrm{for}\kern0.24em i=1,\dots N; j=2,\dots, T\kern0.24em \mathrm{and}\kern0.24em c=1,2 \end{aligned} $$
$$ \begin{aligned}[b] {X}_{i, j}^{\prime 1}&={X}_{i, j}^1+\left[{p}_{i, j}^1\cdot {\mathrm{Reliability}}_{i, j}^1\right.\\ &\quad\left.+\left(1-{p}_{i, j}^1\right)\left(1-{\mathrm{Reliability}}_{i, j}^2\right)\right]\cdot T/J\\ &\quad\ \,\mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T\\ {X}_{i, j}^{\prime 2}&={X}_{i, j}^2+\left[\left(1-{p}_{i, j}^1\right)\cdot {\mathrm{Reliability}}_{i, j}^2\right.\\ &\quad\left.+{p}_{i, j}^1\cdot \left(1-{\mathrm{Reliability}}_{i, j}^1\right)\right]\cdot T/J\\ &\quad\ \,\mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T\\ {p}_{i,1}^1&=1\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\\ {p}_{i,1}^2&=0\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\\ {p}_{i, j+1}^1&={p}_{i, j}^1\cdot {\mathrm{Reliability}}_{i, j}^1+\cdot \left(1-{p}_{i, j}^1\right)\\ &\quad\cdot \left(1-{\mathrm{Reliability}}_{i, j}^2\right)\\ &\quad\ \,\mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T-1\\ {p}_{i, j}^2&=1-{p}_{i, j}^1\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T\\ {\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}}+{r}_{i, j}^c&\le 1\ \mathrm{for}\ i\,{=}\,1,\dots, N; j\,{=}\,1,\dots, T\ \mathrm{and}\ c\,{=}\,1,2\\ {\displaystyle \sum_{c=1}^c\left({\displaystyle \sum_{k=1}^K{m}_{i, j}^{c, k}+{r}_{i, j}^c}\!\right)\!}&\le 1\ \mathrm{for}\ i\,{=}\,1,\dots, N; j\,{=}\,1,\dots, T-1\ \mathrm{and}\ c\,{=}\,1,2\\ {p}_{i, j}^c\cdot \left({\displaystyle \sum_{k=1}^K{m}_{i, j-1}^{c, k}+{r}_{i, j-1}^c}\right)&=0\kern0.24em \mathrm{for}\kern0.24em i=1,\dots, N; j=2,\dots, T\kern0.24em \mathrm{and}\kern0.24em c=1,2\\ {m}_{i, j}^{c, k},{r}_{i, j}^c&=0\kern0.62em \mathrm{or}\kern0.24em 1\kern0.24em \mathrm{for}\kern0.62em i=1,\dots, N; j=1,\dots, T;\\ &c=1,2\kern0.62em \mathrm{and}\kern0.24em k=1,\dots, K\\ 0&\le {p}_{i, j}^1,{p}_{i, j}^2\le 1\kern0.24em \mathrm{for}\kern0.62em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T\vspace*{-2pc} \end{aligned} $$
$$ {X}_{i, j}^{\prime c},{X}_{i, j}^c\ge 0\kern0.62em \mathrm{for}\kern0.24em i=1,\dots, N\kern0.24em \mathrm{and}\kern0.24em j=1,\dots, T $$
(51)

NSGA-II parameters are similar to GA parameters that are set as shown in Table  16 .

Table 16 NSGA-II parameters

8 Conclusion

For better conclusion, these three models will be compared. As illustrated in Fig. 23, second and third models with failure possibility are more powerful than first model without failure possibility. As shown in Fig. 24, a brief focus on second and third models shows third model strength. For example, by a simple comparison between points (1) and (2), although the solution reliabilities are similar, the third model cost is 33 % less than the other. Reversely, in the plot primary points (points (8) and (9)), when the costs of these models are close together, the third model reliability is 10 % more than second one. It means that by considering optional switching in a standby system, the total cost reduces effectively without any changes in reliability or in the same costs, optional switching increases total reliability.

Table  17 shows a comparison between one schedule of second and third models, non-optional and optional switching in a same reliability. As is obvious in Table  17 optional switching causes less cost and more applicable scheduling than non-optional switching without any changes in reliability. So it can be found out that, in reality, the third model is more effective and powerful with failure possibility and optional switching.

Fig. 23
figure 23

Models Pareto front comparison

Fig. 24
figure 24

Second and third model Pareto front comparison

Table 17 Maintenance and replacement scheduling in optional and non-optional switching cases