Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Stochastic dynamic programming for condition-based maintenance and production considering predetermined demand and maintenance delay in a finite planning horizon

  • Pourya Mohammadipour ,

    Roles Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing

    pourya.mohammadipour@uok.ac.ir

    Affiliation Department of Industrial Engineering, Faculty of Engineering, University of Kurdistan, Sanandaj, Iran

  • Hiwa Farughi,

    Roles Conceptualization, Data curation, Resources, Software, Supervision, Writing – review & editing

    Affiliation Department of Industrial Engineering, Faculty of Engineering, University of Kurdistan, Sanandaj, Iran

  • Hasan Rasay

    Roles Formal analysis, Investigation, Methodology, Validation, Visualization, Writing – review & editing

    Affiliation Department of Industrial Engineering, Kermanshah University of Technology, Kermanshah, Iran

Abstract

Today, equipment, sensors, and the Internet of Things have enabled remote monitoring and control of production equipment in less time. These technologies can be used for condition-based maintenance to reduce costs and increase reliability. In addition to maintenance actions, another approach to controlling system failure is adjusting the production rate, which is also known as condition-based production. In this paper, both condition-based maintenance and production decisions are integrated. We study the problem of optimizing the integrated production and maintenance of a deteriorating machine, where maintenance delays are considered. A finite planning horizon that includes several periods is considered and at the beginning of each period, the state of the system will be obtained. In each period, the production system has predetermined demand and random failures occur based on the production rate. If the machine enters a failure state, corrective maintenance must be scheduled. Otherwise, the decision-maker can choose to either schedule preventive maintenance or decide on the production rate. The problem is modeled within the framework of a Markov Decision Process, where the total production and maintenance costs over a finite planning horizon are minimized. Finally, the proposed model is solved using the value iteration algorithm to determine the optimal policies. A numerical example and case study are provided to demonstrate the applicability of the model. In this study, the proposed Condition-Based Maintenance and Production policy is compared with fixed production and maintenance policies. According to the results obtained, the proposed dynamic Condition-Based Maintenance and Production policy outperforms the static policies. The problem presented for the case where the maintenance delay is zero is also modeled, and the results for the Condition-Based Maintenance and Production dynamic policy are presented. In addition, in this case, the value of the optimal initial state for different constant policies is obtained and compared. In this case, as well, the dynamic policy performs better than other static policies.

1. Introduction

The deterioration and failure of machines and equipment in production systems can be attributed to a range of environmental factors, including temperature, humidity, variations in energy, and challenging working conditions. These environmental factors can accelerate the deterioration and degradation of mechanical components, leading to failures if not properly monitored and maintained. For example, high temperatures can cause overheating, leading to the deformation of metal parts or failure of electronic components. Humidity can lead to corrosion, while energy fluctuations can result in electrical failures. Hard working conditions, such as continuous operation or operation under heavy loads, increase stress on equipment, further hastening their deterioration.

If these failures are not detected and repaired in time, they may lead to the total failure of the system. Such failures can have harmful effects, including safety problems for workers, incurring high costs due to emergency repairs and downtime, damaging other interconnected equipment, reducing the quality of production, and causing sudden halts in the production process. These consequences highlight the critical importance of preventive maintenance activities to maintain or restore equipment to acceptable operational conditions.

Maintenance activities Includes a variety of tasks, from minor ones like cleaning and changing oil to major ones such as replacing large components. These activities constitute a significant part of the production costs for many factories and organizations. For example, maintenance costs often account for 15–40% of total variable costs in factories [1]. Power plants and offshore wind farms, known for their intensive operational demands, spend up to 30% of their total life cycle costs on maintenance [2,3]. During the operation phase of wind turbines, maintenance activities can average 67% of the total costs, with some instances reaching more than 85% [4]. These significant costs clearly demonstrate that effective maintenance operations and strategies are crucial to the profitability and competitiveness of companies.

In maintaining production systems, it is crucial to implement effective and efficient maintenance actions and select the appropriate maintenance strategies. Traditional maintenance strategies, such as reactive maintenance, involve repairing equipment only after it has failed. While this approach might reduce short-term costs, it often results in higher long-term costs due to unplanned downtime and secondary damages. Preventive maintenance, on the other hand, involves performing regular, scheduled maintenance activities to prevent unexpected failures from occurring. However, this approach can also be inefficient, as maintenance might be performed on equipment that does not need it yet. Today, more advanced maintenance strategies are being adopted, such as condition-based maintenance (CBM). This approach involves carrying out maintenance operations based on the actual condition of the equipment, rather than on a fixed schedule. CBM relies on the monitoring of machinery conditions, which can be done continuously or at specific intervals. Sensors and diagnostic tools are used to collect data on various parameters, such as vibration, temperature, and noise levels. This data is then analyzed to detect early signs of degradation and potential failures, allowing maintenance to be performed only when necessary.

CBM is particularly useful in systems where reliability is of high importance. Since machinery failures do not typically occur suddenly but rather develop over time, CBM can provide early warning signals before an accident occurs. For example, an increase in vibration might indicate misalignment or imbalance, while a temperature rise could signal excessive friction or a failing cooling system. By monitoring these signals, maintenance can be scheduled proactively, thus preventing unexpected breakdowns and minimizing downtime.

In manufacturing systems, effective performance of maintenance activities is a key factor in maintaining productivity, reducing downtime, and increasing equipment reliability. However, in real industrial conditions, maintenance operations are often not performed immediately after a failure occurs. One of the most important reasons for this delay is the need for coordination between maintenance teams, operators, spare parts inventory, and production planning. Therefore, a faster operational option should be proposed to avoid equipment failure before maintenance operations can be carried out, thus preventing the production system from stopping. One effective method to control the failure rate is by managing the production rate.

There is a clear relationship between the failure rate of a system and its production rate. At higher production rates, equipment tends to deteriorate faster due to increased stress and operational loads. For instance, wind turbine gearboxes and generators break down more quickly when operating at high speeds, conveyor belts are more prone to failure when used at higher rotational speeds, trucks experience faster wear and tear when loaded heavily, and large supercomputers often fail under higher workloads. Cutting tools wear out faster at higher speeds, and stamping machines are more likely to break down with increasing stamping speeds. In these cases, it can be useful to adjust the production rate based on system condition information to increase or decrease production, thereby preventing possible costly failures before maintenance operations are required. This approach is known as condition-based production. By using condition information, production planners can make informed decisions to optimize the production rate according to the condition of the system. For instance, if the condition monitoring system detects that a particular machine is showing signs of degradation, the production rate can be reduced to extend the machine’s operational lifetime until maintenance can be performed. Conversely, if the system is in optimal condition, production rate can be increased to maximize output. It should be noted that sometimes in CBP it is advised to increase the production rate in order to intensify the system deterioration, for example, for clustering the maintenance activities.

CBP not only helps in preventing sudden equipment failures but also enhances the overall efficiency and productivity of the production system. By integrating maintenance strategies with production planning, companies can achieve a more balanced and sustainable operational approach, ultimately leading to improved profitability and competitiveness in the market. Furthermore, advancements in technology, such as the Internet of Things, artificial intelligence, and machine learning, are enhancing the capabilities of condition-based maintenance and production. IoT devices can provide real-time data from various parts of the production system, while AI and machine learning algorithms can analyze this data to predict failures and optimize maintenance schedules. These technologies enable more precise and timely maintenance actions, reducing downtime and extending the lifespan of equipment. By embracing these technologies, companies can further refine their maintenance and production strategies, ensuring that they remain competitive in an increasingly demanding market. In conclusion, the effective management of maintenance and production rates based on real-time condition monitoring is essential for the sustainability and profitability of modern production systems. By adopting condition-based maintenance and production strategies, companies can not only prevent costly equipment failures but also optimize their production processes, ultimately leading to a more efficient and competitive operation.

In this paper, we begin by reviewing the literature on CBM, CBP and CBMP in Section 2. This section provides a detailed classification of previous studies, highlighting key developments in each field. Following this, Section 3 introduces our proposed problem, articulating the specific maintenance and production challenges. Section 4 develops a model for the proposed problem using the Markov decision process (MDP) framework, aiming to capture the stochastic nature of the decision-making environment. To evaluate the performance of the model, Section 5 presents an example that illustrates its application and effectiveness. To illustrate the practical applicability of the proposed problem, a case study is presented in Section 6. Furthermore, Section 7 provides a comparative analysis of various static policies against the dynamic policy introduced in this study. Finally, Section 8 provides a summary and discussion of our findings, along with potential directions for future research in CBM and CBP.

2. Literature review

In the current literature, most of the maintenance and production decisions are considered and optimized separately. For example, Keizer et al. in 2017 considered a multi-unit parallel production system assuming the existence of failure dependence and economic dependence. In this research, the problem is formulated as an MDP model and the optimal maintenance policy is provided when the average cost is minimized in the long run [5]. In 2019, Truong-Ba et al. proposed a CBM strategy considering partial opportunities to perform maintenance operations under budget-constrained conditions. Moreover, their research includes the analysis of a set of imperfect maintenance measures. In this research, average maintenance costs are minimized through an MDP model, and system failure thresholds for different protection measures and opportunistic maintenance selection are jointly optimized [6].

In 2026 Cheikh and Boudi, investigated dynamic optimization in a condition-based maintenance framework, in which the equipment deterioration process is modeled stochastically and the performance of different maintenance policies is evaluated using Monte Carlo simulation. The results of this study show that utilizing system condition information and making dynamic decisions can significantly improve system performance in terms of reliability and maintenance costs [7].

Zhou et al. [2026] investigate the joint optimization of maintenance, spare-parts inventory, and remanufacturing decisions in multi-unit systems. The problem is formulated as a Markov decision process that accounts for the stochastic nature of equipment deterioration as well as multiple remanufacturing cycles [8]. In 2022, Yang et al. investigated the condition-based maintenance problem for redundant systems with arbitrary structures, considering both failure and economic dependence among components [9]. Wang et al. (2025) developed an integrated optimization model of quality control and maintenance for production systems subject to quality-dependent failures, addressing the common assumption in the literature that non-conforming products do not affect system degradation [10]. In another study, Wang et al. (2025) proposed a joint optimization model of maintenance and two-way (longitudinal and lateral) spare-parts transshipment policies for balanced systems, in which the failure of a unit requires its symmetric counterpart to stop working [11]. Ma et al. (2025) proposed a multi-level adaptive risk control framework that jointly optimizes routine maintenance and task-termination decisions for heterogeneous degrading systems operating under uncertainty [12].

In 2026, Mashaykh et al. presented a Bayesian framework for integrating quality control, condition-based maintenance, and production planning in multivariate processes. In this study, Bayesian control charts and multi-state failure modeling were used for system monitoring and optimization was performed using meta-heuristic methods [13].

In 2023, Park and Pham presented a CBM strategy for a failure-dependent system with two sources of failure and random shocks. In this research, a reliability model has been developed for a system under failure, where the dependence between the degradation process and random shocks is considered, and a warranty cost analysis has been performed based on the proposed model [14]. In 2024, Ward et al. used machine learning models to obtain the optimal CBM policy where condition monitoring is imperfect [15]. Rasay et al. in 2024 propose an advanced preventive maintenance model considering imperfect maintenance, where minor repairs are limited and affect the system’s failure process based on a geometric process [16].

The literature on maintenance is extensive and various types of maintenance interventions have been considered. The first differentiation that can be made is between preventive and corrective maintenance strategies. Preventive maintenance operations can be time-based or condition-based, and policies of both types have been studied and compared in research studies [1720]. These studies show that CBM strategies reduce system operating costs and improve reliability. The studies mentioned above highlight the value of dynamic maintenance strategies, but the importance of dynamic control of system deterioration has not been studied in them.

In production planning, three primary research fields can be classified based on the relationship between the production rate and failure rate. In the first type of studies, it is assumed that there is no relationship between production rate and failure rate. For example, in this type of studies, it is assumed that system failure depends only on the age factor. In the second type, it is assumed that the production rate is related to the failure rate. But the production rate is not changed to control the failure. For example, the production rate is changed periodically to respond to demand, not to control the rate of system degradation. In the third type, it is assumed that the production rate is related to the failure rate, and the production rate is adjusted to control the degradation of the system. In the following, some of the studies conducted in all three categories are reviewed and presented. Francie et al. in 2014 examined a production system with two parallel components and constant demand. In this research, the failure rate of one machine depends on its production rate, and the failure rate of the other machine was assumed to be constant [21]. Lu et al. in 2015 sought to find a stable production plan for a single-component system with availability constraints. They assumed that the system failure depends on its age and the system will experience unexpected failures. Then they proposed a joint model for integrating preventive maintenance into the production scheduling problem, where the sequence of tasks and the maintenance times are determined simultaneously [22].

Hu et al. in 1994 showed that the system reliability can be improved by reducing the production rate [23]. Research on production systems with adjustable production rates, condition monitoring, and the relationship between failure and production rates is just a few studies. Based on a review of the literature, we can say that the relationship between production decisions and system failure behaviors has been extensively studied; however, the value of using condition monitoring to dynamically adjust the production rate and thus the failure rate has been neglected.

The first research in this field that considered the relationship between the production rate and the failure rate, and based on the information of the system conditions, presented the joint decisions of maintenance and production, was the article of Broek et al. which was carried out in 2021. They considered a single-component system and continuously monitored the system status. In this research, when the maintenance operation is planned to increase the system reliability and prevent the system from stopping, the production rate can be changed. In this research, the MDP model is solved by the value iteration algorithm, and the optimal maintenance and production policy is presented to minimize the cumulative costs of the system [24].

In another study by Broek et al. in 2021, they extended their previous paper to a system with two components [25]. Koopmans and De Jong in 2023 considered a parallel multi-component production system. In this research, it is assumed that two types of corrective and preventive maintenance will be done, considering the delay in maintenance. In the production system, it is assumed that each unit can work with three production rates (1, 0.5, 0), and as the production rate increases, the failure rate will also increase. This problem is modeled in the form of an MDP and solved by the value iteration algorithm. The optimal policy of maintenance and production is determined to maximize profit on an infinite planning horizon [26].

Li et al. (2026) develops a condition-based maintenance approach for multi-stage serial production systems that simultaneously accounts for reliability and product quality. The health condition of quality-related components together with key product characteristics is monitored jointly, using a combination of a multivariate statistical control chart and a failure-rate model to assess system status; the resulting finite-horizon optimization problem is solved by means of a simulation-based genetic algorithm [27]. In 2023, Drent et al. analyzed a single-unit production system subject to random failure under a condition-based production structure. In this article, a Bayesian learning algorithm is used to show the relationship between failure rate and production rate. In this research, first, an operational decision-making problem to balance failure and profit by using production rate adjustment is investigated and this problem is modeled with MDP. Then the optimal maintenance scheduling times are obtained using the Bang-Bang policy [28].

Fang et al. (2026) proposes a condition-based maintenance policy for mission-oriented systems subject to stochastic missions with uncertain durations. In their study, the system degradation process is modeled as being directly influenced by the type and sequence of missions, and maintenance decisions are made based on information obtained from post-mission inspections; the maintenance optimization problem is formulated as a semi-Markov decision process and solved using a policy iteration algorithm [29].

Mohammadipour et al. (2025) studied a single-component production system and proposed an integrated condition-based maintenance and condition-based production model under predetermined demand and a finite planning horizon. They showed that incorporating production decisions into maintenance policies reduces failure risk, decreases the number of maintenance actions, and minimizes total system cost using an MDP framework solved by value iteration [30].

In 2023, Sun et al presented a preventive maintenance strategy for a manufacturing system whose production rate can be dynamically adjusted before maintenance operations. The purpose of this article is to optimally control the failure rate and create a balance between the risk of failure and production profit. In this research, it is assumed that the increase in the failure rate due to the increase in the production rate during a period is uncertain [31]. In 2024, Zhang et al. investigated the integrated optimization of production and maintenance in a single-unit production system. They assumed that the failure of the system is random and is proportional to the production rate [32].

The following table summarizes past research in this field. In general, in the research conducted in this area, the time horizon has been considered either finite or infinite. While in the finite horizon problem optimizing the expected costs/profits during the planning horizon is usually taken into consideration, for the infinite counterpart, optimizing expected costs/profits per time unit is usually defined as the objective function.

Regarding the effects of maintenance actions, they can be generally classified into perfect and imperfect. In the perfect case, it is assumed that maintenance actions return the system to the as-good-as-new state, while imperfect maintenance restores the system to a state between as-good-as-new and as-bad-as-old. In general, according to the studies conducted in this field and the reviewed research works, they can be categorized based on the following items, which are also presented in Table 1. In the production system column, the reviewed researches are categorized based on the number of units in the system, which can be single units, two units, or multiple units. In relation to maintenance strategies, most of the research conducted in this field use condition-based maintenance, which can be classified into two categories, corrective and preventive maintenance, according to the state of the system at the time of maintenance. Another thing by which past research can be categorized is maintenance delay. In some production systems, maintenance delay has been considered, and in some other researches, maintenance actions are carried out instantaneously and there is no maintenance delay time.

In addition, in some researches, the relationship between failure rate and production rate has been considered and, in some researches, this relationship has been ignored. The models presented in the research in this field are often MDP based on the nature of randomness, which are solved by existing algorithms in dynamic programing and reinforcement learning such as value iteration, policy iteration, Q-learning, etc. Finally, issues can be classified according to the presence or absence of demand in the production system.

Based on a thorough review of the existing literature on condition-based maintenance and production planning, several research gaps were identified. Most prior studies have either concentrated on maintenance or production decisions in isolation, often assuming simplified conditions such as immediate maintenance actions or neglecting demand requirements. To address these limitations, this study makes the following contributions:

  • Integration of condition-based maintenance and production decisions: Unlike most previous studies that focus exclusively on either maintenance or production, this research develops a unified framework that simultaneously optimizes both decisions under uncertainty.
  • Consideration of customer demand in the production system: The model incorporates predetermined demand in each period, ensuring that production and maintenance decisions are aligned with real operational requirements.
  • Incorporation of maintenance delays: The proposed model explicitly accounts for maintenance delays, thereby addressing a more realistic setting that is often overlooked in the existing literature.
  • Formulation as a finite-horizon Markov Decision Process: The problem is modeled within the framework of a finite-horizon Markov Decision Process (MDP), enabling the derivation of optimal dynamic policies for joint production and maintenance planning.
  • Development and evaluation of a dynamic policy: A dynamic Condition-Based Maintenance and Production (CBMP) policy is designed and its performance is systematically compared with conventional static policies, demonstrating superior cost-effectiveness and reliability.
  • Comparative analysis under different maintenance delay scenarios: The proposed framework is applied to both zero-delay and nonzero-delay settings, providing valuable managerial insights and highlighting the robustness of the dynamic CBMP policy across different operational environments.

3. Problem statement

Consider a production system with an adjustable production rate. More specifically, the system has levels of production rate and the production rate at level ’th, , is so that . Level 0 is an idle state which means stoppage of the production, i.e., and level ’th means that production rate is at the maximum level.

Production rate affects the deterioration of the system, so that at a higher production rate, the expected deterioration of the system increases. From the machine deterioration point of view, it is assumed that the machine has operational states and a non-operational state. The machine’s deterioration level will be indicated by the parameter , which will be defined as the set {}. State 0 is the as-good-as-new state, and state is the failed state, which means the system is in failure and cannot produce items. At the ’th level of production rate the deterioration of the system is governed by a Markov chain matrix denoted as in Equation 1. The number of system deterioration modes, as mentioned, is equal to , so the transition probability matrix is an matrix.

(1)

So that is the probability of the machine transitioning from state to given that the production rate is at level . If the production rate is 0, i.e., the system does not work and the production is stopped, then the machine does not deteriorate. If the machine enters deterioration level ’th, it remains there until a corrective maintenance (CM) action is conducted. Matrix is upper triangular, which means that the deterioration level of the machine cannot improve unless a maintenance action is conducted.

In each period, according to the production rate in that period () and a parameter that is defined as the production constant , the amount of production in that period will be determined, which is presented in Equation 2. In Equation 2, is the constant parameter of production and will be considered by a series of parameters such as equipment power, period length, working hours, etc.

(2)

At the start of each decision epoch, after observing the deterioration state of the machine, the following maintenance actions can be scheduled. If the machine is in state , the CM should be planned, otherwise, the operators can decide whether to plan a preventive maintenance (PM) action or not. There exists a deterministic maintenance delay so that if PM/CM is planned at the start of period ’th, maintenance action is conducted at the start of period while is the maintenance delay. Scheduling maintenance action incurs a fixed cost as . Both PM and CM actions are assumed perfect, and they renew the machine to the as-good-as-new state. Also, it is assumed that the maintenance operations (CM/PM) require one period to be completed.

It is important to distinguish between periodic and partial observability. In this study, the deterioration level of the machine is assumed to be fully and accurately observed at the beginning of each decision epoch. Consequently, although observations occur at discrete points in time rather than continuously, there is no uncertainty regarding the system’s true state at each decision epoch, which justifies the standard (fully observed) MDP formulation rather than a Partially Observable MDP (POMDP). In Fig 1, the steps involved in performing maintenance actions on the system are illustrated.

thumbnail
Fig 1. Steps to perform maintenance actions on the system.

https://doi.org/10.1371/journal.pone.0357000.g001

Since the system under consideration consists of a single deteriorating machine, at most one maintenance action (PM or CM) can ever be scheduled or awaited at any given time; consequently, contention among multiple concurrent maintenance requests for limited technician/repair capacity does not arise within the scope of the present single-unit formulation. Moreover, the maintenance delay explicitly incorporated in this study is intended to represent, in an aggregate manner, the time required to mobilize the resources necessary to carry out a maintenance action — including technician availability, coordination, and the procurement or arrival of spare parts — once a PM/CM action has been scheduled. In this sense, rather than ignoring resource-related constraints, the model captures their net effect on the timing of maintenance execution through the delay parameter , providing a tractable representation of this practical limitation without requiring an additional resource-capacity state dimension.

In addition to the planning of maintenance action, at the start of each epoch, the operator can adjust (increase or decrease) the production rate of the machine. Hence, at the start of each epoch, the following actions can be taken by the operator:

  1. (1) If the deterioration state of the machine is (failed state), which means the machine is in a non-operational state, the operator can:
    • CM can be planned.
    • Do nothing
  2. (2) If the deterioration state of the machine is not , which means the machine is in an operational state, the operator can:
    • Adjust the production rate to any level of admissible production rates from ;
    • Planning the PM action;
    • Do nothing

The planning horizon includes decision epochs, and the prespecified demand of period is . For each period, if the total production during that epoch is below the demand, two costs incur, a fixed cost associated with not reaching the demand denoted as , and a variable cost denoted as , which is proportional to the amount of shortage. In this problem, it is assumed that any surplus production beyond the period’s demand is sold immediately in the market at a unit bonus ., and no inventory is carried over to subsequent periods. This assumption reflects production environments in which output cannot be economically or physically stored and must be disposed of in the same period it is produced. Several real-world production systems exhibit this characteristic. For instance, in electricity generation, power produced beyond the contracted or forecasted demand is fed into the grid and sold immediately at the spot market price, since large-scale electricity storage remains costly and is not used in most conventional generation systems. Similarly, in ready-mix concrete production, output exceeding the scheduled order for a construction project must be sold to another buyer or disposed of within a short time window, as the product becomes unusable shortly after mixing. In industrial bakery production, bread manufactured beyond the day’s forecasted demand is typically sold the same day at a discounted price rather than stored for the next period, owing to its short shelf life. These examples illustrate that the assumption of immediate, no-inventory disposal of surplus production is representative of a broad class of production systems in which demand is predetermined and the product is perishable, storage-costly, or economically impractical to hold. We acknowledge that in make-to-stock environments where surplus output can be economically stored, inventory holding costs would need to be explicitly modeled; we discuss this as a limitation and a direction for future work in Section 8. According to the problem assumptions, at the start of the planning horizon, the system is available at the as-good-as-new state. Also, at the end of the planning horizon, i.e., at the beginning of period , the system will undergo a mandatory maintenance action so that it returns to the as-good-as-new state. For the ’th epoch, there is no demand and only maintenance action is conducted. The aim of this research is to develop a Markov decision process model to minimize the operational costs of this system during the finite planning horizon. In Table 2, the notations used in the problem are presented.

4. Derivation of the Markov decision process

In the following, the MDP model of the problem is presented. A Markov Decision Process is a mathematical framework for modeling decision-making in situations where outcomes are partly random and partly under the control of a decision-maker. MDPs are defined by four main components: states, actions, transition probabilities, and costs. The state represents the current situation or configuration of the system, while the action is a choice that affects the system’s evolution. Transition probabilities describe the likelihood of moving from one state to another given a specific action, encapsulating the stochastic nature of the process. Costs quantify the immediate expense or penalty associated with taking an action in a given state, guiding the decision-maker toward the most economical course of action. In an MDP, the objective is to develop a policy or strategy mapping states to actions that minimizes the expected cumulative cost over the planning horizon.

4.1. Problem state

The system deterioration level is used as the main parameter to define the problem state. Moreover, the duration until the maintenance actions arrive is also an important parameter, and in any state, the maintenance delay should be known.

On the other hand, considering that the length of the planning horizon is finite, it is necessary to have information about the current epoch in any case. Therefore, in the presented problem, the state of the problem is defined by a three-element vector: deterioration level, remaining epochs until the end of the current scheduled maintenance plan, and current epoch. Therefore, the state of the system will be represented as follows:

(3)

Where is the level of the system deterioration, is the remaining epochs until the end of the current scheduled maintenance plan, and is the current epoch. The deterioration level of the system () belongs to this set, where state 0 means as-good-as-new state and state means that the system is disabled and in a non-operational state.

The delay in the maintenance operation will also be represented as a set of, where indicates that the maintenance operation arrives at the system; and maintenance actions will be performed. Also, means that no decision has been made to perform maintenance operations in the system. Therefore, whenever maintenance actions are planned, after a period, the maintenance actions will be performed on the system. It should be noted that for set , value is not included because in practice it will never occur.

On the other hand, belongs to the set , where the state means the end of the planning horizon (terminal state) and the state means that the system is at the beginning of the planning horizon.

4.2. Problem actions

At the start of each decision epoch, according to the system state, the following actions can be taken:

  1. (1) If the deterioration level of the machine is (failed state), which means the machine is in a non-operational state, the operator can:
    • CM can be planned. In this case, after the arrival of maintenance actions on the system, performing corrective maintenance on the system requires one period of time, and after one period of time, the system will be available in as-good-as-new state.
    • Do nothing.
  2. (2) If the deterioration level of the machine is not , which means the machine is in an operational state, the operator can:
    • Adjust the production rate to any level of the admissible production rates from .
    • Planning the maintenance actions: In this case, after the arrival of maintenance actions on the system, the state of the machine is determined, and if it is in state , the CM action is conducted; otherwise, the PM action is conducted. After conducting the PM/CM actions, for the next epoch, the system is in the “as-good-as-new state”. such as corrective maintenance, the actions of preventive maintenance require one period of time, and after a period, the system will be available “as-good-as-new” state.
    • Do nothing.

4.3. Recursive functions

In the following, the recursive equations of the MDP model are derived. Different scenarios may occur during the planning horizon, and for each scenario, different actions are available, and also the form of recursive equations is different. According to the problem assumptions, the evolution of the system during the planning horizon can be divided into 8 scenarios. In the following, for each scenario, the recursive function is derived, and suitable explanations are provided.

• Scenario 1.

Consider a scenario where we are at the start of period , so that the number of periods remaining until the end of the planning horizon is greater than the maintenance delay time (). The system deterioration level is () and no maintenance actions have been previously planned which means For this scenario, two general actions are available (I) adjusting the production rate, and (II) planning maintenance actions. Consequently, Equation 4 recursive function is derived:

(4)

• Scenario 2.

Scenario 2 is similar to Scenario 1, except that in this scenario, the number of periods remaining until the end of the planning horizon is less than or equal to the maintenance delay time (); therefore, in this case, it does not make sense to schedule maintenance actions. The only action is to adjust the production rate or do nothing. At the end of the period, as in scenario 1, the system deterioration state is equal to and one period will be added. Consequently, the following recursive equation is derived.

(5)

• Scenario 3.

In this scenario, the system is in the operational state ’th at the beginning of period , maintenance operations have been scheduled in advance, and periods remain until maintenance is due on the system (i.e., maintenance is scheduled at the start of period ). In this state, the only possible action to control the deterioration level of the system is to adjust the production rate. Consequently, the following recursive equation is derived:

(6)

• Scenario 4.

In this scenario, the system is at the beginning of period , and the system has failed (), the maintenance actions have already been planned, and periods are left until the maintenance reaches the system. In this case, because the production is stopped, the demand will not be responded and the system will have to pay a penalty, which is given in Equation 7. In this case, the only possible action is to do nothing, and the production rate is zero.

(7)

• Scenario 5.

In this scenario, the system receives pre-planned maintenance operations at the beginning of period , i.e., the second element of the state vector is zero . It means maintenance has been previously planned at the start of epoch As the system is under maintenance actions, there is no production, the demand will not be responded in this period, and the system will be subject to a penalty. The decision to perform corrective or preventative maintenance will be made based on the level of system deterioration. If the system is in operational state, the preventive maintenance will be performed on the system, and if the system is failed, the corrective maintenance will be performed on the system. Both maintenance strategies are assumed to be perfect, and after performing them, after one period, the system deterioration will be changed to an as-good-as-new state. In this scenario, if the system is in as-good-as-new state (), no maintenance will be performed on the system and the system will be available from the as-good-as-new state in the next period. Consequently, the following recursive equation holds:

(8)

• Scenario 6.

The system is at the beginning of period , and the number of periods until the end of the planning horizon is greater than the maintenance delay (). In this scenario, the system is in the non-operational state, and production has stopped. Maintenance operations have not been previously planned. Therefore, in this scenario, the only possible action is to schedule corrective maintenance or do nothing. In Equation 9, the recursive function related to this scenario is provided.

(9)

• Scenario 7.

Scenario 7 is similar to Scenario 6 except that the number of periods remaining until the end of the planning horizon in this scenario is less than or equal to the maintenance delay . Therefore, in this case, the only action is “do nothing”. The system is stopped until the end of the planning horizon, and the production rate is zero. In this scenario, the system will incur a penalty for the number of periods remaining until the end of the planning horizon because the demand does not respond.

(10)

• Scenario 8.

According to the assumption of the problem, the system should be restored to the as-good-as-new at the end of the planning horizon, Consequently, at the start of the epoch, if the system is in an operational state, preventive maintenance actions will be performed, and if the system is failed, the corrective maintenance action will be performed on the system. At the end of the planning horizon, if the system is in as-good-as-new state, nothing will be done on the system.

(11)

As stated above, the set of states can be partitioned into 8 scenarios. Table 3 provides these scenarios along with pertinent descriptions.

The MDP formulation presented above addresses a single-component production system. Extending this formulation to a multi-unit system would require several substantive changes to the model. First, the system state would need to jointly track the deterioration level of every unit, i.e., for units, together with the maintenance-delay status of each unit; this causes the state space to grow multiplicatively with , giving rise to the well-known curse of dimensionality. Second, dependencies among units would need to be explicitly modeled, including economic dependence (cost savings from performing maintenance on multiple units jointly, due to a shared fixed cost), stochastic dependence (the deterioration or failure of one unit affecting the failure behavior of others), and structural dependence (maintenance on one unit requiring other units to be stopped). Third, the action space would need to be extended: instead of an independent PM/CM decision for each unit, the decision-maker would need to determine which subset of units to maintain jointly (group or opportunistic maintenance), and production-rate decisions would need to account for interactions across units, such as load-sharing when one unit’s rate is reduced or the unit fails and the remaining units must compensate to meet demand. Finally, unlike the single-unit case considered in this study, where at most one maintenance action can be scheduled at any time, a multi-unit system may require multiple units to be maintained concurrently, in which case limited maintenance-resource (technician) capacity would become a directly relevant constraint. Given the resulting growth in state-space size, exact solution via value iteration would likely become computationally intractable for realistic multi-unit instances, motivating the use of approximate dynamic programming or reinforcement-learning-based solution methods. We identify this multi-unit extension as a valuable direction for future research.

5. Numerical example

We have a single-component manufacturing system whose failure rate depends on the production rate. In this system, it is assumed that whenever maintenance actions are planned, they will reach the system after a certain maintenance delay, which is considered to be 3. It means and . To mitigate the system degradation, a corrective or preventive maintenance can be performed. The cost of corrective maintenance is equal to and the cost of preventive maintenance is equal to . The fixed cost of maintenance is set at 50 .

In this problem, it is assumed that the planning horizon includes 10 periods (), and during each period, there is a predetermined demand. In each period, if the demand is not responded, the system is subject to a general penalty of monetary units and for each unit of shortage, a penalty equal to . On the other hand, if the demand is responded, monetary unit for each unit of demand. The value of is taken to be 1000.

It is assumed that the production system can have 5 levels of production (), where level 4 means that the system works at the maximum production rate and level 0 means that the system is stopped. In other words, this system can have a production rate equals to 0, 25%, 50%, 75%, or 100% of its maximum production capacity. Also, this system has 4 failure levels (), where level 0 means that the system is in as-good-as-new state and level 3 means that the system is failed and stopped. To obtain the optimal policy and value in each case, the value iteration algorithm is used, whose pseudo-code is shown in Table 4.

thumbnail
Table 4. The algorithm of value iteration taken from [33].

https://doi.org/10.1371/journal.pone.0357000.t004

The matrices that govern the system deterioration under each production rate are provided in the following:

It is assumed that the demand in each period is predetermined as presented in Table 5.

Table 6 lists the possible actions along with their descriptions.

thumbnail
Table 6. Different available actions of the example.

https://doi.org/10.1371/journal.pone.0357000.t006

As , and conducting maintenance actions, i.e., PM/CM, takes one period of time, planning maintenance actions for is not justifiable. In other words, for a specific period as t, and given that , scheduling PM/CM actions is an admissible action if . Moreover, according to the problem assumptions, for a specific period, if , then scheduling maintenance actions is not an admissible action. Thus, scheduling maintenance action is an available action for a period if and .

For a period with , only the production rate can be adjusted. It means that for these states 5 actions are admissible. Additionally, for a period with , given the system degradation, PM, CM or “Do nothing” should be selected. The last period , which is the end of the planning horizon, PM, CM or “Do nothing” is always conducted and the system is restores to the as-good-as-new state. To summarize the admissible actions for each state, Table 7 is provided.

thumbnail
Table 7. Admissible actions for each state in the numerical example.

https://doi.org/10.1371/journal.pone.0357000.t007

The results of the Value Iteration algorithm are reported in Tables 8–18. In these tables, the horizontal axis represents the degradation level of the system (), and the vertical axis represents the maintenance delay (). In the provided tables, whenever ‘-’ is written in a cell, it means that, according to the problem assumptions, that state will not occur. For example, in Table 9, the state will never occur because the maintenance delay is 3 and if maintenance is already scheduled, it will not reach the system at . In Table 8, because the system is at the beginning of the planning horizon and starts in an as-good-as-new state, the only possible state is when and .

thumbnail
Table 10. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t010

thumbnail
Table 11. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t011

thumbnail
Table 12. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t012

thumbnail
Table 13. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t013

thumbnail
Table 14. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t014

thumbnail
Table 15. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t015

thumbnail
Table 16. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t016

thumbnail
Table 17. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t017

In Tables 19–29 the optimal value of each state is presented. It should be noted that the numbers written in these tables represent the expected cost of each mode. For example, the optimal value of state (0, ) shown in Table 27, is equal to 212 monetary units. It should be recalled that the state-value function of is the expected optimal costs of the system during the planning horizon which is 1633.

Next, the computational complexity of the problem is examined. The size of the state space is Where is the number of deterioration levels, is the number of maintenance-delay states, and is the number of decision epochs. For each state, the optimal action is selected among at most admissible actions: this bound reflects the two independent decisions available in the most general scenario (Scenario 1) — selecting one of production-rate levels, and independently deciding whether or not to schedule a maintenance action — which combine multiplicatively to give candidate actions. This is consistent with the numerical example of Section 5, where and the model indeed admits actions in Scenario 1 (Table 6), matching the count reported in Table 7; other scenarios involve fewer admissible actions (e.g., only once maintenance is no longer schedulable, or a single “do nothing” action), so represents a conservative upper bound across all scenarios.

Evaluating each candidate action requires computing a summation over up to terms. Combining these elements, the overall time complexity of solving the model is: .

The quadratic dependence on () arises from two distinct, nested sources: first, the deterioration level itself takes possible values, contributing a factor of () to the size of the state space; second, for each such state, evaluating a candidate action requires summing over up to possible next-period deterioration levels . Since this inner summation is repeated for every value of i, the two factors of () multiply rather than add — analogous to the cost of multiplying an transition matrix by a value vector.

Table 30 summarizes the components of this complexity analysis, together with their corresponding values for the numerical example presented in Section 5 (), illustrating that the actual problem instance solved in this study involves a modest state space (176 states) and at most 10 admissible actions per state.

thumbnail
Table 30. Computational complexity components of the proposed value iteration (backward induction) procedure.

https://doi.org/10.1371/journal.pone.0357000.t030

We note that this favorable complexity result is specific to the single-unit formulation considered in this study. In multi-unit extensions of the model, the state space would grow multiplicatively with the number of units, giving rise to the well-known curse of dimensionality; addressing this challenge would likely require approximate dynamic programming or reinforcement-learning-based solution methods rather than exact value iteration, and constitutes a promising direction for future research.

6. Application

In [31], the application of joint decisions of production planning and condition-based maintenance to control the production rate of an extruder system is investigated. An extruder uses a screw to transport molten plastic raw material through a barrel to produce bottle caps. Due to the wear of the screw, the molten material may leak into the barrel and then a thermal resistor is activated for cooling. Hence, the average daily usage frequency of the thermal resistor is used as a signal to monitor the system status. Deterioration data of an extruder in an Italian factory is collected from the date of inspection in July 2017 to July 2019. During the study period, the screw rotation speed (normalized from 0 to 1) and the degradation rate (thermal resistor usage) are recorded every month. Therefore, there are 24 observations in total. In the example presented, the failure threshold is considered to be 4 and it is assumed that the screw can rotate at three levels () or in other words, its production rate is equal to 0, 0.5 and 1. Therefore, the transition probability matrix is also presented as follows, considering the relationship between the screw rotation speed and the failure rate presented in the source [31].

Important parameters of the problem such as the demand in each period, the considered system costs, and the maintenance delay are presented in Table 31.

thumbnail
Table 31. The parameters used in the problem.

https://doi.org/10.1371/journal.pone.0357000.t031

Table 32 lists possible actions related to the given application example along with a description of each action.

thumbnail
Table 32. Different available actions of the application example.

https://doi.org/10.1371/journal.pone.0357000.t032

The presented problem is solved using the value iteration algorithm and the optimal policies for different states are obtained. The optimal policies are shown in Tables 33–39.

thumbnail
Table 33. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t033

thumbnail
Table 34. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t034

thumbnail
Table 35. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t035

thumbnail
Table 36. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t036

thumbnail
Table 37. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t037

thumbnail
Table 38. Optimal policy for each state (, ).

https://doi.org/10.1371/journal.pone.0357000.t038

7. Sensitivity analysis

In this section, we will compare our presented CBMP dynamic policy with some static policies. To this end, six static policies will be considered for production and maintenance. Expected costs during the planning horizon, which is indeed the state-value function of the initial state of is used as a criterion for this comparison. It is worth recalling that state means that we are at the start of the planning horizon, the system degradation is 0 (as-good-as-new), and no maintenance actions are previously planned.

The static policies considered are as follows:

  • Policy ‘a’: Production at maximum capacity with PM/CM maintenance performed only at the 5th epoch.
  • Policy ‘b’: Run-to-failure maintenance with production at maximum capacity throughout the planning horizon.
  • Policy ‘c’: Run-to-failure maintenance with production at 50% or 75% capacity throughout the planning horizon.
  • Policy ‘d’: PM/CM actions at periods 4 and 7, with production at 75% capacity.
  • Policy ‘e’: Considering production rates of 0 and 1. In this policy, the production rate is selected at its minimum and maximum levels. That is, the system is either off or produces at the maximum rate. This policy assumes that the decision to perform maintenance operations will be made dynamically.
  • Policy ‘f’: Considering three production rates of 0, 0.5 and 1. This policy assumes that the decision to perform maintenance operations will be made dynamically.

To obtain the optimal value of the initial state, the value iteration algorithm has been used, in which, according to the conditions defined for each fixed policy, the code has been written and the initial state value extracted. In Table 40, the expected costs of the static policies a-f and the CBMP dynamic policy for the example of Section 5 are obtained and presented.

thumbnail
Table 40. The operational costs of the system during the planning horizon under dynamic CBMP policy and 6 static policies.

https://doi.org/10.1371/journal.pone.0357000.t040

To quantify the magnitude of this improvement, the dynamic CBMP policy reduces the expected operational cost by approximately 9.4% relative to the best-performing static policy (Policy f) and by 24.2% relative to the average of the six static policies, in the case with maintenance delay (Table 40). Comparable reductions of 9.6% and 24.1%, respectively, are observed in the zero-delay case (Table 43). These reductions represent a practically meaningful improvement in operational cost, particularly considering that Policy f itself already incorporates a degree of dynamic maintenance decision-making; the improvement relative to purely static policies (e.g., Policy b) is substantially larger, reaching 34.3% and 37.4% in the delay and zero-delay cases, respectively. Furthermore, as shown in Fig 3, this cost advantage becomes more pronounced as the corrective maintenance cost increases, indicating that the practical value of the dynamic policy is greatest in higher-cost operational settings.

Fig 2 also shows these expected total costs for different policies. According to this diagram, the expected total costs during the planning horizon under the proposed CBMP dynamic policy is less than the other static policies. The reason for this is that in the dynamic CBMP policy, in each state, decisions regarding maintenance operations or adjustment of the production rate are made according to the system status and the demand that exists. Therefore, in this case, it is expected that the optimal value, which is in the form of cost, is at the lowest level compared to other constant policies.

thumbnail
Fig 2. The optimal value for static policies and CBMP policy.

https://doi.org/10.1371/journal.pone.0357000.g002

Dynamic policy (CBMP), in which maintenance and production rate adjustment decisions are made based on system conditions, is recognized as an advanced approach in managing production systems. In this policy, unlike static policies, decisions are made based on real-time data and information on the system status, demand, and other related factors. A dynamic policy can adapt to changes in demand, system status (such as inventory levels, breakdowns, etc.), and other environmental factors. This leads to improved efficiency and reduced costs. Using real-time data, a dynamic policy can make optimal decisions regarding maintenance scheduling, production rate adjustment, and resource allocation. By preventing overproduction or shortages, and by performing timely maintenance, a dynamic policy can reduce overall system costs. By performing regular maintenance, a dynamic policy can increase system reliability and prevent sudden breakdowns. By responding to demand changes and providing quality products, a dynamic policy can improve customer satisfaction.

Next, for different parameters of corrective maintenance cost, penalty , reward , and maintenance delay, the optimal value for the initial state, i.e., the expected total costs of the planning horizon, is obtained, and the trend of changes for policies b, e, f and CBMP is shown in Figs 36.

thumbnail
Fig 3. The effect of corrective maintenance cost on the optimal value under different policies (static and dynamic).

https://doi.org/10.1371/journal.pone.0357000.g003

thumbnail
Fig 4. The effect of penalty of π0 on the optimal value under different policies (static and dynamic).

https://doi.org/10.1371/journal.pone.0357000.g004

thumbnail
Fig 5. The effect of reward π2 on the optimal value under different policies (static and dynamic).

https://doi.org/10.1371/journal.pone.0357000.g005

thumbnail
Fig 6. The effect of maintenance delay on the optimal value in CBMP policy.

https://doi.org/10.1371/journal.pone.0357000.g006

In Fig 3, the optimal value of the system for different levels of corrective maintenance cost () and for four different policies including three fixed policies (b, e, f) and one dynamic policy (CBMP) is shown. As the corrective maintenance cost increases, the optimal value increases for all policies. This increase occurs with a relatively steep slope, indicating the direct and significant effect of corrective maintenance costs on the overall system performance. The dynamic CBMP policy performs better than the other policies at all cost levels and produces a lower optimal value. The difference between CBMP and other policies becomes more noticeable at high costs (e.g., 10,000), indicating that the dynamic policy has a better ability to handle costly conditions.

Fig 4 shows the initial state optimal value for policies b, e, f and CBMP for different parameters , which is the penalty (assuming that other problem parameters are fixed).

Fig 5 shows the initial state optimal value for policies b, e, f and CBMP for different parameters , which is the reward (assuming that other problem parameters are fixed). As the reward value () increases, the optimal value decreases, because increasing the production reward compensates for the total costs.

Fig 6 shows the impact of maintenance delay on the total system cost within the CBMP policy. As illustrated, longer maintenance delays lead to higher overall costs. This effect stems from the fact that when the delay increases, the time required to initiate maintenance actions becomes longer. In such circumstances, the only feasible measure to mitigate further deterioration is to reduce the production rate, which in turn results in an inability to fully satisfy demand and thereby increases system costs. Conversely, operating the system at a higher production rate accelerates deterioration and leads to earlier failures. Under long maintenance delays, this situation can cause complete system downtime before maintenance can be performed, resulting simultaneously in unmet demand costs and higher maintenance costs due to more severe failures. These findings highlight a critical trade-off between production rate, demand satisfaction, and maintenance planning, emphasizing the necessity of minimizing maintenance delays to achieve cost efficiency and system reliability.

In the following, the presented problem will be compared with the case where there is no maintenance delay. In the case, where the maintenance delay is zero, maintenance operations do not require scheduling time, and the state of the problem will be defined by two parameters: the system failure status and the number of the current period in the planning horizon. Therefore, the MDP state will be defined as .

Similar to the base model of Section 4, for this problem, it is assumed that conducting PM/CM actions requires one period, although the scheduling time is zero. In addition, the recursive functions have also undergone slight changes compared to the equations described in Section 4, which are presented as Equations 1214.

(12)(13)(14)

In this case, the problem is solved for the parameters presented in Section 5 using the value iteration algorithm, and the optimal policy and optimal value-function of each state are presented in Tables 41 and 42, respectively. In Tables 40 and 41, the horizontal rows indicate the period (), and the vertical rows indicate the system’s failure status (). Accordingly, the optimal expected cost during the planning horizon is 1447.6 which is the state value function for .

thumbnail
Table 41. Optimal policy for each state when maintenance delay is zero.

https://doi.org/10.1371/journal.pone.0357000.t041

thumbnail
Table 42. Optimal value for each state when maintenance delay is zero.

https://doi.org/10.1371/journal.pone.0357000.t042

Subsequently, for the case when the maintenance delay is zero, the optimal values of the initial state for the six constant policies are obtained by the policy iteration algorithm and presented in Table 43. The initial state is equal to the state in which the system is at the beginning of the planning horizon () and the failure status of the system is in the as-good-as-new state , i.e., the system state is: .

thumbnail
Table 43. The operational costs of the system during the planning horizon under dynamic CBMP policy and 6 constant policies when maintenance delay is zero.

https://doi.org/10.1371/journal.pone.0357000.t043

According to Table 43, as when the system has a maintenance delay, CBMP dynamic policy leads to lowest expected operational costs during the planning horizon. The CBMP policy adjusts the decisions of production rates and maintenance scheduling according to the conditions of the system and consequently decreases the operational costs of the system. Comparing expected costs under CBMP policy for the case when with the case that reveals that maintenance delay increases the expected costs during the planning horizon which it seems reasonable.

8. Conclusion

In production management and engineering, manufacturers always want to maximize their profits by meeting customer demand and managing costs. Production planning is necessary to increase revenue, profit, and customer satisfaction. Due to the complexity and characteristics of large-scale equipment, their deterioration and failure become inevitable. Today, with the presence of the Internet of Things and data mining techniques, managers can improve operational decisions by adjusting the production process and creating dynamic maintenance and repair plans. In this research, a single-component system with fixed and predetermined demand is considered, and the production rate is related to the system failure rate. The presented problem, when there is a maintenance delay, is modeled in the form of a Markov decision process, and then it is adopted by the value iteration algorithm of optimal policies. In this article, a practical example is presented to show the application of the problem. In addition, the dynamic CBMP policy is compared with other fixed policies such as the fixed maintenance policies and the fixed production policies. The results show that the CBMP policy is an optimal policy because it makes decisions dynamically and according to the system conditions in each state. Furthermore, the problem presented for the case where there is no maintenance delay is also modeled, and the output results of the dynamic CBMP policy are compared with other presented fixed policies. In this case as well, the dynamic CBMP policy leads to better results. Finally, the results of the algorithm have been reviewed and analyzed. As future research, this problem can be extended to a system with two and multi components, or the demand can be considered as random. Extending the model to multi-unit systems would also require explicitly modeling limited maintenance-resource (technician) capacity, since multiple machines may require maintenance concurrently and compete for the same repair resources — a consideration that does not arise in the single-unit setting studied here. Another limitation of the present study is the assumption that surplus production is sold immediately without inventory holding costs; incorporating an inventory-holding mechanism to capture make-to-stock environments is a valuable direction for future research.

Acknowledgments

The authors would like to thank the Department of Industrial Engineering, Faculty of Engineering, University of Kurdistan, for providing the research facilities and academic environment that supported this study.

References

  1. 1. Wireman T. Benchmarking best practices for maintenance, reliability and asset management. New York: Industrial Press; 2014.
  2. 2. Blanco MI. The economics of wind energy. Renew Sustain Energy Rev. 2009;13(6–7):1372–82.
  3. 3. Röckmann C, Lagerveld S, Stavenuiter J. Operation and maintenance costs of offshore wind farms and potential multi-use platforms in the Dutch North Sea. In: Aquaculture Perspective of Multi-Use Sites in the Open Ocean: The Untapped Potential for Marine Resources in the Anthropocene. 2017. pp. 97–113.
  4. 4. Irena I. Renewable power generation costs in 2017. Abu Dhabi: International Renewable Energy Agency; 2018.
  5. 5. Keizer MC, Teunter RH, Veldman J, Babai MZ. Condition-based maintenance for systems with economic dependence and load sharing. Int J Prod Econ. 2018;195:319–27.
  6. 6. Truong-Ba H, Borghesani P, Cholette ME, Ma L. Optimization of condition-based maintenance considering partial opportunities. Qual Reliab Eng Int. 2020;36(2):529–46.
  7. 7. Cheikh K, Boudi EM. Dynamic optimization of condition-based maintenance strategies using Monte Carlo simulations to compare adaptive inspection intervals, threshold adjustments, and their impact on system performance. Array. 2026;30:100847.
  8. 8. Zhu Y, Zheng M, Wang D. Joint optimization of maintenance, inventory, and remanufacturing for multiunit systems: a deep reinforcement learning approach. IEEE Trans Reliab. 2026;75:1964–78.
  9. 9. Yang A, Qiu Q, Zhu M, Cui L, Chen W, Chen J. Condition-based maintenance strategy for redundant systems with arbitrary structures using improved reinforcement learning. Reliab Eng Syst Saf. 2022;225:108643.
  10. 10. Wang J, Luo L, Mu G, Ma Y, Ni C. Joint optimization of quality control and maintenance policy for a production system with quality-dependent failures. Expert Syst Appl. 2025;272:126800.
  11. 11. Wang J, Luo L, Jin Y, Yang L. Joint optimization of maintenance policy and two-way stock transshipments policy for balanced systems. Reliab Eng Syst Saf. 2025;264:111345.
  12. 12. Ma Y, Wei F, Kang Z, Qiu Q, Ma X, Yang L. Multi-level adaptive risk control: synergistic maintenance-termination optimization with online parameter learning. Reliab Eng Syst Saf. 2025;:112138.
  13. 13. Mashayekh F, Azizi A, Mehdizadeh E, Yazdani M. Bayesian integration of quality, maintenance, and production in multivariable pharmaceutical processes. Qual Reliab Eng Int. 2026.
  14. 14. Park M, Pham H. Condition-based maintenance for a degradation-shock dependence system under warranty. Int J Prod Res. 2023;61(15):5212–27.
  15. 15. Ward T, Jenab K, Ortega-Moody J. Machine learning models for condition-based maintenance with regular truncated signals. Decis Sci Lett. 2024;13(1):197–210.
  16. 16. Rasay H, Azizi F, Naderkhani F. A mathematical maintenance model for a production system subject to deterioration according to a stochastic geometric process. Ann Oper Res. 2024;:1–28.
  17. 17. Bouvard K, Artus S, Bérenguer C, Cocquempot V. Condition-based dynamic maintenance operations planning & grouping. Application to commercial heavy vehicles. Reliab Eng Syst Saf. 2011;96(6):601–10.
  18. 18. de Jonge B, Teunter R, Tinga T. The influence of practical factors on the benefits of condition-based maintenance over time-based maintenance. Reliab Eng Syst Saf. 2017;158:21–30.
  19. 19. Kim MJ, Makis V. Joint optimization of sampling and control of partially observable failing systems. Oper Res. 2013;61(3):777–90.
  20. 20. Panagiotidou S, Tagaras G. Statistical process control and condition-based maintenance: a meaningful relationship through data sharing. Prod Oper Manag. 2010;19(2):156–71.
  21. 21. Francie KA, Jean-Pierre K, Pierre D, Victor S, Vladimir P. Stochastic optimal control of manufacturing systems under production-dependent failure rates. Int J Prod Econ. 2014;150:174–87.
  22. 22. Lu Z, Cui W, Han X. Integrated production and preventive maintenance scheduling for a single machine with failure uncertainty. Comput Ind Eng. 2015;80:236–44.
  23. 23. Jian-Qiang Hu, Vakili P, Guo-Xiang Yu. Optimality of hedging point policies in the production control of failure prone manufacturing systems. IEEE Trans Automat Contr. 1994;39(9):1875–80.
  24. 24. uit het Broek MA, Teunter RH, De Jonge B, Veldman J. Joint condition-based maintenance and condition-based production optimization. Reliab Eng Syst Saf. 2021;214:107743.
  25. 25. Broek MA, Teunter RH, De Jonge B, Veldman J. Joint condition-based maintenance and load-sharing optimization for two-unit systems with economic dependency. Eur J Oper Res. 2021;295(3):1119–31.
  26. 26. Koopmans M, de Jonge B. Condition-based maintenance and production speed optimization under limited maintenance capacity. Comput Ind Eng. 2023;179:109155.
  27. 27. Li J, Li Q, Zhang W, He Z, He S. Condition-based maintenance for serial multistage manufacturing system considering reliability and quality over a finite horizon. Eng Manag. 2026;13(1):17–41.
  28. 28. Drent C, Drent M, Arts J. Condition-based production for stochastically deteriorating systems: optimal policies and learning. arXiv:2308.07507 [Preprint]. 2023. [cited 2026 Aug 14]. Available from:
  29. 29. Fang H, Zheng R, Hu C, Xia X, Liu X. Condition-based maintenance policy for a balanced system subject to random mission types. Reliab Eng Syst Saf. 2026.
  30. 30. Mohammadipour P, Farughi H, Rasay H. Joint condition-based maintenance and condition-based production optimization in production system with finite planning horizon and predetermined demand. J Ind Eng Res Prod Syst. 2025;12(25):31–45.
  31. 31. Sun Q, Chen P, Wang X, Ye ZS. Robust condition-based production and maintenance planning for degradation management. Prod Oper Manag. 2023;32(12):3951–67.
  32. 32. Zhang N, Cai K, Deng Y, Zhang J. Joint optimization of condition-based maintenance and condition-based production of a single equipment considering random yield and maintenance delay. Reliab Eng Syst Saf. 2024;241:109694.
  33. 33. Sutton RS, Barto AG. Reinforcement learning: an introduction. Cambridge: MIT Press; 1998.