Abstract

This paper presents a control problem for the optimization of the production and setup activities of an industrial system operating in an uncertain environment. This system is subject to random disturbances (breakdowns and repairs). These disturbances can engender stock shortages. The considered industrial system represents a well-known production context in industry and consists of a machine producing two types of products. In order to switch production from one product type to another, a time factor and a reconfiguration cost for the machine are associated with the setup activities. The parts production rates and the setup strategies are the decision variables which influence the inventory and the capacity of the system. The objective of the study is to find the production and setup policies which minimize the setup and inventory costs, as well as those associated with shortages. A modeling approach based on stochastic optimal control theory and a numerical algorithm used to solve the obtained optimality conditions are presented. The contribution of the paper, for industrial systems not studied in the literature, is illustrated through a numerical example and a comparative study.

1. Introduction

The production and setup planning problem surfaces in manufacturing systems when significant cost and time are required to set up the production unit for the processing of multiple part types. The setup scheduling problem involves deciding which part type has to be processed next and when the production unit has to stop its current operations and make a setup change to begin the processing of that part type. The time required to switch from producing one part type to another and the associated cost are significant. Given that it is not realistic (or advantageous) to devote one machine to a single part type, different part types must share the same machine, and capacity is lost due to each setup change. In addition, the considered machine is subject to random breakdowns and repairs. It is therefore essential to jointly investigate setup scheduling and production policies in order to optimize the system performance measure of the failure-prone manufacturing system under study.

For the class of completely flexible machines (based on a crucial assumption that no setup time and cost are required when production is switched from one part type to another), an explicit formulation of the optimal control problem for an unreliable flexible machine which produces multiple part types is provided in [1]. In addition, Gharbi and Kenné [2] provided a suboptimal control policy for the multiple parts, multiple-machines problem. The considered planning problem falls under an important class of stochastic manufacturing systems involving nonflexible machines, given that the setup time and costs are considered when production is switched from one product type to another. This class of systems is a subset of manufacturing systems for which the problem of determining the optimal production policies has been considered by many authors. A significant portion of the research by the latter is based on a feedback formulation of the control problem in a dynamic manufacturing environment. It is shown in [3] that the optimal control policy has a special structure called the Hedging Point Policy (HPP) in the case of a single-machine, single product system. For such a policy, a nonnegative production surplus of parts, corresponding to optimal inventory levels, is maintained during times of excess capacity in order to hedge against future capacity shortages caused by machine failures for the case of a single-machine, two-product manufacturing system with setup (see [4]). Various researchers have considered the problems of setup scheduling in production using advanced optimization approaches in the context of multiple-product manufacturing systems. As recently stated in [5], the problems of sequence-dependent setup times have been attracting increasing interest [6]. Previous sequence-dependent setup times are studied using objective functions such as makespan, total completion time, and their combinations, with an emphasis on the learning aspects of the sorting algorithms. In the same context, Feng et al. [7] optimized various scheduling policies and then analyzed them from the point of view of their robustness to uncertainties and system parameter variations. The obtained setup policy had a cyclic policy structure resilient to parameter variations.

The stochastic optimal control problem of a manufacturing system with setup costs and time was formally presented in [4] following the series of papers published in the same domain by Sethi and Zhang [8], Yan and Zhang [9], Boukas and Kenné [10] and Hajji et al. [11]. The proposed models led to the optimality conditions described by the Hamilton Jacobi Bellman equations (HJB). Such equations are difficult to resolve analytically for more general cases. An explicit solution for such equations was obtained by Akella and Kumar [12] for a one-machine, one-product manufacturing system. Numerical methods based on the Kushner approach (see Kushner and Dupuis [13]) were used by Yan and Zhang [9] and Boukas and Kenné [10] for a one-machine, two-product manufacturing system. They were able to develop near-optimal control policies for production and setup scheduling in the case of a homogeneous and machine age-dependent Markovian process.

For the one-machine, two products’ case, Yan and Zhang [9] provide a characterization of the optimal production and setup policy by four exclusive regions as a main result, while Bai and Elhafsi [14] focused their contribution on providing a suitable production and setup policy structure and obtained the so-called Hedging Corridor Policy (HCP). Following these studies, Gharbi et al. [4] developed a production and setup policy for unreliable multiple-machine, multiple part type manufacturing system, for which the production and setup policy are known across the sample space. They obtained a control policy called the Modified Hedging Corridor Policy (MHCP), qualified as more realistic and useful in the context of the production planning of manufacturing systems with setup.

The main contribution of this paper is to develop a production and setup policy for a more realistic unreliable one-machine, one-part type manufacturing system under appropriate assumptions in different industrial situations, called here industrial scenarios. The resultant control policy is more realistic and useful in the context of the production planning of manufacturing systems with setup. This paper’s contribution is further illustrated through the fact that the proposed control policy guarantees a system performance for systems that have not yet been studied in the relevant literature. Our proposal is an extension of the works of Bai and Elhafsi [14], Boukas and Kenné [10], and Hajji et al. [11].

This paper is organized as follows: Section 2 presents the notations and main assumptions of the proposed model. Section 3 presents the statement of the optimal production and setup scheduling problem. The optimality conditions and numerical approach are presented in Section 4. Section 5 describes the numerical example with results analysis, and the paper is concluded in Section 6.

2. Model Assumptions and Hypotheses

This section presents the notations and assumptions used throughout this paper.

2.1. Notations

: part type (),: setup time to go from to ,: setup cost to go from to ,: rate of product request,: vector inventory levels/shortage, product type ,: product processing time, type ,: production rate, product type ,: maximum production rate, product type ,: optimal inventory level, product type ,: stochastic process describing the dynamics of the machine,: setup policy from product part type to ,: transition rate, mode ,: shortage cost, product type ,: inventory cost, product type ,: cost discount rate,: cost function,: total cost function during setup,: total cost function,: value function.

2.2. Context and Assumptions

The following is a summary of the general context and main assumptions considered in this paper:(1)The model is time-continuous.(2)Raw materials for the production of each product part type are always available and unlimited.(3)Customer demand of finished products for each part type is known and represented by a constant rate over time.(4)The maximal production rate of each part type is known.(5)All failures are instantly detected and repaired. A corrective maintenance action renews the production system to its initial state (as good as new condition).(6)The machine shares the production of different product part types with significant setup time and cost.(7)The shortage cost depends on the shortage quantity and time (average value ($/product/unit of time)).(8)The holding cost depends on the mean inventory level (average value ($/product/unit of time)).(9)For each product part type, once the production starts at a given rate, no adjustment of the rate will be allowed until either the machine is down (failure mode) or the current unit is completed.We complete the assumptions by two hypotheses that help us to study different industrial contexts (or production scenarios) with setup.

Hypothesis 1. The setup operation is performed only when the machine is in operational mode and cannot be interrupted by any machine failure such that it has to be started all over again.

Hypothesis 2. The setup operation is only allowed if the machine is in operational mode, and the setup process is interrupted by failure such that it can be continued after a repair.

In this paper, we show how the hypotheses affect the optimality conditions of the associated stochastic optimal control problem. We then develop appropriate optimality conditions consisting of a modified form of the traditional HJB equations. We finally compare the results obtained for the two hypotheses (or contexts of production) in order to provide more realistic production and setup policies.

3. Problem Formulation

The production system presented in Figure 1 consists of one machine capable of producing two different part types. The machine is not completely flexible in the sense that the setup activities between the two part types involve both time and cost to switch from the production of one part type to another. The system under study is dynamic and the associated costs to be minimized are illustrated in Figure 1.

Let and be the duration and the cost incurred for switching the production from to with , respectively. Note that, for and , and .

The -type product requires an average production time denoted as () and ordered with a constant demand rate .

Let , be the stock level and the rate of production of two part types of products ,   , respectively.

Let , , and denote the vectors , , and , respectively, knowing that the notation denotes the transpose of .

At a given moment, we can describe the system by a hybrid state that consists of a continuous portion (stock dynamics) and a discrete portion (modes of the machine). A stochastic process is used to describe the mode of the machine as follows: The machine uptimes and downtimes are assumed to be exponentially distributed with rates and , respectively. Hence, the machine state evolves according to a continuous-time Markov process with modes . The states transition diagram of the Markov chain associated with the machine dynamics is shown in Figure 2.

The evolution of machine states in the interval can be expressed byThe process can be described by a transition rate matrix , defined by   si and , knowing that .

The transition rate from a state to a state at time is defined byThe corresponding matrix of transition rates is given in the following:The differential equation representing the dynamics of the finished products stocks iswhere is the initial stock level.

The production rates satisfy the system capacity constraint given by the following equation:where denotes the maximal production rate of product on the machine. The set of feasible production rates of the machine for a product is given byThe decision variables of the optimal control problem under study are production rates and a sequence of setups denoted by . A setup is defined by the time at which it begins and a pair , denoting that the system was already set up to produce part , and is being switched to be able to produce part . Let denote the set of admissible decisions .

The instantaneous cost function depends on the state of the system (stock level, mode of the machine) and is given bywhere is the cost incurred at mode of the machine (assuming that and ). Note that and ; and are inventory and backlog costs for part type per unit of product per unit of time, respectively.

Given that the setup cost is consumed at the beginning of the operation, the instantaneous cost as a function of the setups denoted as is therefore expressed by the following expression:where is the discount rate. The first part of (9) expresses the setup cost at the beginning of the operation. The second part evaluates the penalty incurred for an inventory during the setup, depending on the time remaining in the setup operation, denoted as , with

We can deduce the instantaneous cost function of the setup as follows:The total discounted cost over an infinite horizon can then be defined by the following expression:The production planning problem is to find an admissible decision or control policy () that minimizes , given by (12). For the production of part type , the value function can be given by the following:In the next section, we present the optimality conditions and the corresponding discrete form obtained by the application of the numerical methods inspired from the Kushner approach (see [11] for more details).

4. Optimality Conditions and Numerical Approach

In this section, we present the modified HJB equations related to Hypotheses 1 and 2. We then compare the results obtained for those hypotheses to the results given by the application of the traditional form used in Yan and Zhang [9], Bourkas and Kenné [10], and Hajji et al. [11].

The value function that satisfies the HJB equations in mode 1 for Hypothesis 1 isThe value function that satisfies HJB equations in mode 1 for Hypothesis 2 iswhere is the gradient of related to . Moreover, Let be the machine configuration changes (setup) defined by the following:(a)for Hypothesis 1,(b)for Hypothesis 2, Let us use the Kushner approach method (Kushner and Dupuis [13]), as in [16], to develop the numerical form of HJB equations. The basic idea behind it consists in using an approximation scheme for the gradient of the value function. Let , , denote the length of the finite difference interval of the variable . Using the finite difference approximation, could be given by and byThe following expression can be deduced:Following the previous approximation, we can express (14) and (15) in terms of as follows:(a)for Hypothesis 1, (b)for Hypothesis 2,withFor all , let us define the following expressions:Substituting these expressions in (21) and (22), we obtain the following two equations:(a)for Hypothesis 1,(b)for Hypothesis 2,Let us specify the terms of the previous equations, the discretization domain, and the limit conditions and illustrate the algorithm used to solve the modified numerical version of the HJB equations obtained. In addition, (25) and (26) correspond to four equations, expressing the optimality conditions concerning the production system under study, involving two products and a machine with two modes.

(i) Hypothesis 1. Let us denote by the probability that the machine is in failure mode at the end of a setup from to , if it was operational when the setup started, and by the corresponding failure time. Similarly, is the probability that the machine is in failure mode at the end of a setup from to , if it was operational when the setup started, with denoting the corresponding failure time. According to the random machine failure process,In order to calculate we evaluate the conditional expectation and obtain For the setup from product 2 to product 1, we have and We then haveWe notice that the setup expression no longer appears in both failure mode equations and that the first two operational mode equations are different from the equivalent equations for the reference hypothesis of the literature.

(ii) Hypothesis 2. Using a known formula , we get the terms of the corrections due to repairs and (here ). Finally, the modified setup time is calculated:We also notice that the setup expression no longer appears in both of the failure mode equations and that the first two operational mode equations are similar to those of the reference hypothesis (with the setup times modified), but different from equations related to the case of Hypothesis 1. In the next section, we present a numerical example and analyze the results obtained in different situations.

5. Numerical Example and Results Analysis

In order to characterize the production and setup policies and to show the influence of the interactions between the setup procedure and the random machine failure process, for two new hypotheses in comparison with the reference hypothesis, we present three different cases in three data groups. The first two groups had identical economic parameters, and only technical parameters such as the setup duration were varied according to the groups. In the third group, both products had different economic parameters. Table 1 shows the constant parameters for the numerical examples considered, withfor the two first groups.

In addition,(i)group 1 represents the case ;(ii)group 2 represents the case ;(iii)group 3 is the case of two nonidentical products and ; ; .

The setup times are given by the table of the machine tools setup times (see Table 2).

With these data, the system is capable of producing with setup at the request of both products if the following feasibility condition is satisfied:We present six figures for every case (three figures for each product). Each figure contains the production or setup policies for the two new hypotheses and for the reference hypothesis. For group 1, Figures 3 and 6, respectively, illustrate the production policy of and for three hypotheses. Then, also for group 1, Figures 4 and 7 illustrate the setup policies for to and for to , respectively. Finally, for group 1, Figures 5 and 8, respectively, illustrate the association of both policies (production and setup) for and the association of both policies (production and setup) for . In the next section, analyses of sensibility will be provided to study the effects of variation of the various costs on the control policies.Group 1 (product type 1) (see Figures 35).Group 1 (product type 2) (see Figures 68).Group 2 (product type 1) (see Figures 911).Group 2 (product type 2) (see Figures 1214).Group 3 (product type 1) and ; (see Figures 1517).Group 3 (product type 2) and ; (see Figures 1820).Let us now interpret the results obtained and illustrated by Figures 320. This analysis will allow us to present the structure of the production and setup policies for the two product part types and with regard to the formulated hypotheses.

5.1. Optimal Production Policy

An analysis of three cases shows that we have to produce at the maximum rate in region I when the machine is configured for the same product. In region II, the machine is configured (according to the setup policy) for the production of the other type of product. In region III, the production policy recommends stopping the machine and producing nothing by setting the production rate to zero. It is interesting to note that, in Hypothesis 1, the optimal inventory level is very big, contrary to Hypothesis 2 and to the reference hypothesis, as seen in Bai and Elhafsi [14], Boukas and Kenné [10], and Hajji et al. [11]. This increase in the inventory level is understandable given that if a breakdown occurs during the setup operation, we have to stop the setup until the machine repair is completed. This breakdown cancels all the data relative to the setup activities started before the failure. In this case, the operator has to resume the setup operation, which increases the overall setup time and leads to a loss of availability of the machine. According to Hypothesis 2, the optimal inventory level is slightly bigger than that of the reference hypothesis. This light increase in the inventory level is understandable, given that the setup operation must be stopped when a breakdown occurs. This breakdown does not cancel all the data relative to the setup activities (contrary to Hypothesis 1). The operator pursues the setup activities after the repair of the machine. The global setup time of Hypothesis 2 is then higher than that of the reference hypothesis. In fact, we have a loss of availability of the machine, but to a smaller extent than in the case of Hypothesis 1. The optimal production policy is then of hedging policy structure and can be expressed by the following two equations (for product 1 and product 2):

5.2. Optimal Setup Policy

By analyzing Figures 4 and 5 in region II (zone in which a setup from to or from to is allowed), we can observe that the setup policies of Hypotheses 1 and 2 give a margin bigger than that of the reference hypothesis. This trend reduces region III and so allows the system the possibility of performing the setup without any shortage risk for the other product. The setup policies are given in this case by the following expressions:withTo conclude this section, we recapitulate the results obtained according to the critical thresholds and , which characterize the production and setup policies presented by (34) and (35). The values of the optimal threshold inventory levels obtained numerically for the three groups of data are presented in Table 3.

These results show our contribution, given that all the previous works in the literature did not handle the case of industrial systems subjected to Hypotheses 1 and 2. In this paper, we determined the production structures and setup policies for these industrial systems.

6. Conclusion

This research clearly defines the production planning problem and the setup strategies for industrial systems subjected to specific hypotheses. In this paper, we considered two hypotheses that hold that a breakdown can occur during a setup activity. This breakdown can cancel (or may not cancel) the setup activities undertaken before the breakdown occurs. Hence, we propose new optimality conditions integrating the probability of breakdowns during the setup. A numerical approach is used to solve the optimality conditions obtained. A numerical example and a comparative analysis of the results for three groups of data allow us to determine the production structures and setup policies for manufacturing systems that have previously never been studied in the literature. This work can be extended to the cases of industrial systems allowing setup activities in all modes of the machine (operational or failure modes).

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.