1 Introduction

To survive and prosper in today’s competitive environment of unpredictable changes, pharmaceuticals industry should continually enhance performance of existing manufacturing processes to respond effectively to changing markets and reduce efficiently non-value added activities.

The agile and lean manufacturing have been found effective practices for achieving such goals [1, 2]. The objective of agile manufacturing is to respond to rapidly changing markets, global competitive pressure, decreasing new product time to market, and increasing value of information or service [3, 4]. Agile practices include adding resources and buffers, outsourcing, and utilize existing machine for more time [5,6,7,8]. On the other hand, lean manufacturing employs the advantages of mass production in concert with the principles of Just-in-time and elimination of waste (non-value added activities) in order to reduce total production costs [9, 10]. Lean practices focus on cost reduction by improving quality and throughput [11,12,13], including purchasing new machines, and performing rework [14, 15]. In practice, a combination of agile and lean practices might be appropriate, or so called “leagile” [16,17,18,19]. The leagile concept combines lean strategy with agile strategy and realizes the quick response to the changeable demand and optimizes cost, time, and profitability.

Once lean, agile, or leagile practices have been applied, there is a need to adopt performance measures that can provide a very valuable insight of how effectively the manufacturing process is running. The Overall Equipment Effectiveness (OEE) is a lean business metric tool commonly used to measure three critical manufacturing performance indicators (availability, quality, performance) [20,21,22,23,24,25].

In this research, the OEE scores are compared with the world class values to determine the machines of the filling processes that need improvement. Then, each of agile and lean alternatives is treated as a decision making unit (DMU) with multiple inputs and multiple outputs. To identify the best one, an appropriate data envelopment analysis (DEA) technique will be employed. Typically, DEA a nonparametric for assessing the relative efficiency of a set of homogeneous units, usually referred to as decision making units (DMUs) that uses multiple inputs to produce multiple outputs [30,31,32]. Slack-based method (SBM) is a DEA technique that evaluates DMU’s efficiency evaluation invariant to the units of measure used for the different inputs and outputs; i.e., dimension free or units invariant [26,27,28,29,30,31]. In this research, each improvement scenario will be treated as a decision making unit (DMU).

Generally, the pharmaceutical industry is an important element of health care system that demands strict adherence to safety and quality standards. Therefore, it is crucial that pharmaceutical manufacturing machine comply with good manufacturing practices. One of the important processes in this industry is the filling processes. A study of a pharmaceutical industry in Jordan showed that existing filling processes suffer long cycle time with low production rates, long average waiting times, high average number waiting in queue, and thereby a low overall equipment effectiveness (OEE). The objectives of this research is, therefore, twofold: (1) assessing improvement scenarios of lean and agile practices to enhance performance of the filling processes and (2) identifying the best alternative using appropriate multiple-criteria decision-making technique. The results of this research enables process engineering identifying the best improvement practice that enhances performance and saves costly production and quality costs. The remaining of this paper including the introduction is outlined in the following sequence. Section two presents research methodology. Section three conducts improvement of filling processes using agile and lean practices. Section four presents research results and discussion. Finally, conclusions are made in section five.

2 Literature review

Lean manufacturing has been examined in several research studies. For example, Sohal and Egglestone [32] examined lean production among Australian organizations. Bonavia and Marin [33] conducted an empirical study of lean production in the ceramic tile industry in Spain. Mahapatra and Mohanty [34] carried out an empirical study on lean manufacturing in continuous process industry. Wong et al. [35] performed a study on lean manufacturing implementation in the Malaysian electrical and electronics industry. Ferdousi and Ahmed [36] conducted manufacturing performance improvement through lean production in Bangladeshi garment firms. Yogesh et al. [37] applied lean in electronics and electrical manufacturing industry in India. Devakim and Jayanthi [38] examined barriers to implementation of lean principles in the Indian construction industry. Khlat et al. [39] studied lean manufacturing: implementation and assessment in the Lebanese pharmaceutical industry. Hu et al. [40] reviewed literature on lean implementation within small and medium sized firms. Kafuku [41] investigated factors for effective implementation of lean manufacturing practice in selected industries in Tanzania.

Further, several studies examined the implementation of agile manufacturing. For instance, Sharp et al. [7] assessed agile manufacturing in the UK industry. Gunasekaran et al. [42] investigated the application of agile manufacturing in an aerospace company. Vázquez-Bustelo [43] presented case studies on agile manufacturing in Spain. Francisco and Manuela [44] explored agile methods in construction small & medium enterprises: a case study. Zhang [45] presented case studies of an agility taxonomy. Iqbal et al. [46] examined the relationship among agile manufacturing, total quality management, just-in-time and firm performance in apparel export industry of Pakistan. Fritzsche [47] presented implications of agile manufacturing in the automotive industry for order management in the factories-evidence from the practitioner’s perspective.

It is noticed that some of the previous work focused on developing and evaluating conceptual and exploratory models on lean and agile manufacturing. Other studies applied lean and/agile practices to improve performance. This research, however, proposes and assesses the effectiveness of adopting alternatives of lean/agile practices using simulation, which helps decision makers in determining the effect of implementing each practice on processes’ performance before physical changes are made. Moreover, it measures the improvement in the output measures of production line’s processes in each alternative, which helps in early identification of potential problems in subsequent processes. Finally, it utilizes the DEA approach to identify the best alternative other than acceptable solution.

3 Research methodology development and implementation

3.1 Research methodology development

The research methodology is divided into three phases as depicted in Fig. 1 and described as follows:

Fig. 1
figure 1

Research methodology

3.1.1 Phase I: Describe the filling processes and build the As-Is simulation model

In this phase, the layout of the production processes is constructed. Then, the important information regarding processing times, moving times, and inspection stages are collected. Finally, the As-Is simulation model is developed at the current process conditions and then run to estimate the output measures of process performance; measures; cycle time, average waiting time, and average of filled bottles. In addition, the OEE measure is calculated for each process to identify the processes that needs improvement. Typically, the OEE measure is calculated using Eq. (1).

$$OEE = A \times P \times Q$$
(1)

where A, P, and Q denote availability, performance, and quality, respectively. Figure 2 illustrates the required times for OEE calculation in a particular production system.

Fig. 2
figure 2

Times and losses considered in OEE

The components of the OEE measure are calculated as follows. The availability (A) is given as:

$$A = \frac{{T_{operating} }}{{T_{planned \, production} }} \times 100\% = \frac{Run \, time}{Run \, time + stop \, time} \times 100\%$$
(2)

Further, the performance (P) is estimated using Eq. (3).

$$P = \, \frac{{T_{net \, operating} }}{{T_{operating} }} \times 100\% = \frac{Ideal \, cycle \, time \times total \, count}{Run \, time} \times 100\%$$
(3)

Finally, the quality (Q) is calculated by Eq. (4).

$$Q = \, \frac{{T_{valuable \, operating} }}{{T_{{_{net \, operating} }} }} \times 100\% = \frac{Good \, count}{Total \, count} \times 100\%$$
(4)

The obtained values are then compared with the world class values. Then, a process of OEE value smaller than the world class values is identified as key process that requires improvement.

3.1.2 Phase II: Propose and assess lean/agile improvement alternatives (To-Be models)

In this phase, several applicable alternatives based on lean and/or agile practice(s) will be introduced to the As-Is simulation models. Then, the To-Be simulation model is run to estimate the process’s output measures. The number of To-Be simulation models is equal to the number of suggested alternatives.

3.1.3 Phase III: Identify and implement the best improvement alternative

This phase utilizes the slack-based model (SBM) to identify the best improvement alternative. The SBM is presented as follows. Each alternative for process improvement is treated as a decision making unit (DMU). Then, the process’s output measures are divided into inputs and output for each DMU. In this research, the number of input bottles, average work in progress, average waiting time, and average cycle time are treated as inputs, whereas the number of output bottles and OEE are set as the outputs for each DMU. Consider a set of \(n\) DMUs. For DMU \(k\), let \(y_{rk} (r = 1, \ldots ,s)\) denote the level of rth output, and \(x_{ik} (i = 1, \ldots ,m)\) the level of the ith input. Then, the optimal efficiency, \(\rho^{*}\), score can be obtained using input-oriented SBM as follows:

$$\rho^{*} = Min \, 1 - \frac{1}{m}\sum\limits_{i = 1}^{m} {\frac{{s_{i}^{ - } }}{{x_{{_{ik} }} }}}$$
(5)

Subject to:

$$x_{ik} = \sum\limits_{j = 1}^{n} {\lambda_{j} x_{{_{ij} }} + s_{i}^{ - } } \quad i = 1, \ldots ,m$$
(6)
$$y_{rk} \le \sum\limits_{j = 1}^{n} {\lambda_{j} y_{rj} } \quad r = 1, \ldots , \, s$$
(7)
$$\lambda_{j} , \, s_{i}^{ - } \ge 0\quad j = 1, \ldots , \, n;\quad i = 1, \ldots , \, m$$
(8)

where s i is slack variable. If the optimal efficiency, ρ*, is equal to one, then the DMU is considered efficient; otherwise, it is inefficient. However, there sometimes exist multiple efficient DMUs. To discriminate between SBM efficient DMUs, the Super Slack-Based Model (Super-SBM) is used by introducing a positive scalar variable t as follows:

$$\theta^{*} = Min \, t - \frac{t}{m}\sum\limits_{i = 1}^{m} {\frac{{s_{i}^{ - } }}{{x_{{_{ik} }} }}}$$
(9)

Subject to:

$$t + \frac{t}{s}\sum\limits_{r = 1}^{s} {\frac{{s_{r}^{ + } }}{{y_{{_{rk} }} }}} = 1$$
(10)
$$\sum\limits_{j = 1, \ne k}^{n} {\lambda_{j} x_{{_{ij} }} + s_{i}^{ - } } = \, x_{ik} \quad i = 1, \ldots ,m$$
(11)
$$\sum\limits_{j = 1, \ne k}^{n} {\lambda_{j} y_{rj} } - s_{r}^{ + } = y_{rk} \quad r = 1, \ldots ,s$$
(12)
$$\lambda_{j} ,s_{i}^{ - } ,s_{r}^{ + } \ge 0\quad \, j = 1, \ldots ,n;\quad i = 1, \ldots ,m;\quad r = 1, \ldots ,s$$
(13)

where s +i is slack variable. The super SBM model excludes the DMUk under consideration and calculates its efficiency score using the inputs and outputs of the other DMUs. Solving the model, then the DMUj that corresponds to larger θ* will be set a lower rank.

3.2 Research methodology application on filling processes

3.2.1 In phase I

The layout of filling processes in a pharmaceutical industry is depicted as shown Fig. 3. Samples of the detailed layout are depicted in Fig. 4. Illustration of machine and conveyor charcteristics are shown in Fig. 5. The production line is described as follows. The unscramble process aligns and orients empty bottles correctly. Then, the blower process uses vacuum system to clean up the bottles from dirt. The Blower’s inspection sensor (number 1 in the layout) removes incorrectly aligned bottles. Fillers consists of two identical Fillers A and B, which are placed with the purpose of filling the bottles with predetermined amount of powder. Each filler contains two inspection sensors (numbered 2, 3 and 4, 5); called check weigher or load cell, sensor 2 and 4 are located before filling the bottle, to weigh the empty bottles, whereas sensors 3 and 5 are located after filling the powder to weigh the bottles after being filled. The net weight of powder should be within a predetermined range many out of range weigh, the bottle will be rejected. Inspection sensors 6 and 7 reassure the rejection fillers capacity and processing time are 14 bottles and 7 s, respectively. The bottles pass to metal detector, which radiates waves to detect any passing metal. Inspection sensor (8) rejects a bottle if it contains any metal this machine capacity is 1 bottles as well as its processing time is 0.0001 Sec. Then, capping process attaches caps to bottles. While, inspection sensor (9) orders a cap for each passing bottle, sensor (10) inspects if the cap positioned in the right place of the top of the bottle, sensor (11) makes sure that cap liner, the foil slice inside the cap, is available inside the cap, sensor (12) reassures the rejection from sensors (10 and 11). The sealing process follows to stick the cap liner to the top of bottle at high temperatures. Recapping process then adjusts the changes due to the exposure to high temperatures in sealing stage that leads to minor changes in the cap’s dimensions may happen. Recapping share the same characteristics with the capping machine. Sensor (13) checks the tightness of the caps and rejects bottles if their cap is loose. Then, labeling process attaches labels to bottles. Sensor (14) orders a label for every passing bottle, sensor (15) inspects the availability of the required mentioned, and sensor (16) reassures the rejection caused by sensor (15). Top serter process follows to stick the description of the medicine on the top of the bottles. Inspection sensor (17) rejects any bottle without a description placed on the bottle’s top. Next, the check weigher process ensures the perfect fit and accurate weight result. Inspection sensor (18) check final range of weight, which must be between minimum and maximum ranges are 63.8 g and 68.7 g, respectively. Finally, bundling and stretch banding processes package 24 bottles together by using a plastic cover, to be ready for finial package by the operator at the packaging area.

Fig. 3
figure 3

Layout of filling processes in a pharmaceutical industry

Fig. 4
figure 4

Samples of the detailed layout

Fig. 5
figure 5

Sample of machine and conveyor characteristics

Minimum/Maximum load sensors are located between each two machines. It works according to the number of accumulated bottles in the queue, following these conditions. For illustration, the operating mechanism of the Minimum/Maximum load sensors in the filling line is illustrated in Fig. 6. If queue reaches only the minimum load sensor (i.e., a slight load on machine two occurs), then there is no need to keep working until the accumulation bottles exceed the minimum load sensor. If queue reaches the maximum load sensor; i.e., a heavy load on machine two occurs), then machine one needs to pause until machine two accomplish part of the queue. If (minimum load sensor < queue < maximum load sensor), then both machines will be working.

Fig. 6
figure 6

Minimum/maximum load sensors

Then, the As-Is model is built at the current condition of the filling processes as also shown in Fig. 2. Motion and time study is then conducted to measure the characteristics of machines, load sensors, and conveyors. Data for filling processes were collected as summarized in Table 1. Conveyor speeds are identical and equal to (200 bottles/min), but they vary in lengths and capacities (Table 2). The characteristics of conveyors and load sensors are displayed in Tables 3 and 4, respectively.

Table 1 Machine characteristics
Table 2 Conveyors’ characteristics
Table 3 Sensors’ characteristics
Table 4 Simulation results for filling line (As-Is model)

Under current machine conditions, simulation model was run for a shift length of one batch (390 min) with two short breaks each of 15 min and a meal break of 60 min. The down time is determined to be 0 min. Simulation was run ten times, where the results showed that the values of standard deviations divided by the corresponding averages are very small (< 0.01) for all measured simulation outputs. Further, to validate simulation model the average output values were compared with their corresponding actual values as shown in Table 4. For example, the expected total number of bottles entered to the system is about 53,437 bottles, while the actual number of bottles is 52,188 bottles. It is found that largest error percentage (%) does not exceed 5%. Hence, simulation model is concluded reliable and can be further used to conduct improvement analysis. Further, the overall OEE is calculated as follows. The scheduled time (= 390 min − 90 min = 300 min) is the shift Length minus the breaks. Then, the operating time (= 300 min − 0 min = 300 min) is equal to scheduled time minus down time. Accordingly, availability is calculated and found equal to 100% (= (300 min/300 min) × 100%). Further, number of good bottles (= 53,437 − 6421 = 47,016) bottles is equal to the total number of produced bottles minus defective one. Consequently, the performance (= [47,016/300)/157 bottle/min)]) and quality (= Good pieces/total pieces) are calculated and found equal to 99.82% and 87.98%, respectively. Finally, the OEE is calculated and found equal to 87.83% (= (1.00 × 0.9982 × 0.8798) × 100%). In a similar manner, the OEE scores are calculated for all machines of the filling lines and the results are displayed in Table 5.

Table 5 The OEE values for all machines (As-Is model)

Comparing between the OEE scores and the world-class values in Table 5, it is clear that three machines possess OEE scores smaller than the word class values, including the labeler, top serter, and check weigher machines. The labeler machine corresponds to the lowest OEE percentage (= 67.80%); due to bar code visibility problem which leads to low performance (P = 78.70%). The second lowest OEE score (= 83.12%) corresponds to the top serter machine has an OEE percentage of, because of its poor performance (P = 86.85%) that is affected by labeler machine. Finally, the third lowest OEE (= 81.2%) score corresponds to the check weigher, which is caused by poor performance (P = 87.99%) and quality problems (Q = 92.00%). Consequently, agile and lean practices should be employed to enhance the performance of these processes.

3.2.2 In phase II

Alternatives of lean and agile practices are suggested to enhance the filling processes. Four agile scenarios shown in Fig. 7 are proposed including: A1: Adding a WIP buffer before labeler, A2: Adding a WIP buffer before labeler plus working over time to label bottles in the buffer.

Fig. 7
figure 7

Suggested agile practices

A3: suggests outsource for a percentage of 15% of labeled bottles, and A4: adds a new identical labeler machine. On the other hand, four lean practices as shown in Fig. 8 are considered involving: L1: Reworking rejected bottles of check weigher machine, L2: Reworking the rejected bottles of labeler machine, L3: Adding another head to the labeler machine, and L4: Installing a bar code camera sensor between check weigher and top serter machines to control barcode distance, angles, and orientation.

Fig. 8
figure 8

Suggested lean practices

The To-Be simulation model for each alternative is run for a shift length of one batch and repeated ten times, where the results showed that the values of coefficient of variations are very small (< 0.01). Further, several applicable leagile combinations are considered as shown in Table 6. Simulation for each To-Be simulation of leagile model was conducted in a similar manner, where it is found that the leagile combination (L2, A2) is the most cost-effective and results in high OEE score of 99.35%. Table 7 displays the estimated average of To-Be simulation output measures for the alternatives of agile (A1–A4), lean (L1–L4), and the leagile (L2, A2) practices.

Table 6 Feasibility matrix of agile and lean practices’ combinations
Table 7 Estimated averages of To-Be simulation output measures

3.2.3 In phase III

Ten improvement alternatives shown in Table 7, including the As-Is condition, will be evaluated with respect to averages of input bottles, cycle time, WIP, waiting time, OEE%, and output bottles. Each alternative of agile, lean, and leagile practices, including the As-Is condition, is treated as a decision making unit (DMU) with averages of input bottles, cycle time, work-in-process (WIP), and waiting time are set as the inputs to be reduced, whereas OEE and average output bottles are outputs for all DMUs as also shown in Table 7. Then, the SBM is solved to estimate the efficiency score and rank of each of the ten alternatives. It is found that only DMU8 (L3) and DMU10 (A1–L2) are SBM-efficient (efficiency score = 1).

4 Results and discussion

Table 8 displays the resulted projection (Proj.) differences (Diff. %) and efficiency scores using SBM. For illustration, for DMU3 to become efficient the averages of input bottles, cycle time, WIP, and waiting time have to be reduced from the projected values by 2.711%, 90.59%, 97.614%, and 97.214%, respectively. However, the average output bottles should be increased by 10.221%.

Table 8 Projection and efficiency scores using SBM

To discriminate between the two SBM-efficient DMUs, the super-SBM is solved for each alternative and then the efficiency results are also listed in Table 9. It is found that DMU8 is the most efficient DMU (super-SBM efficiency = 1.012016). Table 9 also displays the input and output slacks using SBM, where it is found that DMU8 results in excesses in average input bottles (S1), waiting time (S2), WIP (S3) and waiting time (S4) of 6.018054, 0.133009, 2.018355, and 0.250802, respectively. Moreover, the shortages S1+ and S2+ in OEE and average output are both equal to zero. Consequently, the most preferable improvement alternative is to the third lean practice (L3), which suggests adding another head to the labeler machine. The anticipated performance improvement in filling processes compared to As-Is condition are calculated and then displayed in Table 10.

Table 9 Estimated scores, input, and output slacks using super-SBM
Table 10 Estimated improvement

From Table 10, it found that adding another head to the labeler machine results in increasing the ratio of the average output to input is from 87.98 to 99.71% and reducing the averages of cycle time, WIP, and waiting time by 98.52%, 97.24%, and 99.59%, respectively. Moreover, the OEE score is increased by 13.53%. Definitely, such improvement in process performance are sufficient to justify investment costs and results in significant savings in production and quality costs.

5 Conclusions

This research aims at improving the performance of the filling processes in a pharmaceutical industry with six simulation output measures of main interest, including averages of cycle time, average input bottles, average output bottles, average waiting time, WIP and OEE. Firstly, the As-Is simulation was built and run, where the results showed that the Labeler, Top Serter, and Check Weigher machines need improvement (OEE < 85%). Nine To-Be simulation alternatives utilizing agile and/or lean practices were identified and assessed using simulation. To determine the best alternative, each alternative is treated as a DMU with four inputs and two outputs. The SBM in DEA was then employed to evaluate the efficiency score and determine the corresponding rank of each alternative. Results showed that the lean practice; adding another head to the labeling machine, is the best alternative by which the OEE score is increased by 13.53% from that found at the As-Is condition. In practice, such improvement results in huge savings in production as well as quality costs. In conclusion, agile and lean practices turn to be effective tools in improving performance of the filling processes in the studied pharmaceutical industry. Moreover, the SBM in DEA is found an effective DEA technique that enables decision makers in pharmaceutical industry in identifying the best improvement practice.