1 Introduction

In recent years, there has been an increased interest in wastewater treatment for environmental conservation. As a consequence, the industrial sector is obligated to treat its own waste and lower its organic load to a level that the ecosystem can cope with. The efficient employment of engineering concepts in parallel with process knowledge can lead to tangible improvements in process capability and potential.

The industrial wastewater treatment process can be defined as chemical, biological and/or mechanical procedures applied to industrial discharge in order to increase the quality of wastewater by reducing its organic and inorganic pollutants. The treated water quality can be described by several physical parameters, such as turbidity and sludge volume index (SVI), which are considered as vital quality responses that have large effects on effluent water quality.

Process analytical technology (PAT) is a system that analyses and controls manufacturing processes based on timely measurements of critical quality characteristics and performance attributes of raw materials and in-process products to ensure acceptable end-product quality (CDER, 2004). The PAT framework is a combination of tools that, when used within a system, can provide useful means for acquiring information resulting in continual process improvement, such as multivariate techniques, data acquisition and analysis, process analysis methods, process control tools, and continual improvement and a knowledge management approach. A summary of the tools that are commonly used in the PAT framework is displayed in Fig. 1.

Fig. 1
figure 1

The PAT framework

Recently, improving the performance of the wastewater treatment process has received significant research attention. Wang et al. (2007) used response surface methodology to optimize the coagulation-flocculation process for paper-recycling wastewater treatment. Wang et al. (2011) applied a uniform design in parallel with response surface methodology to optimize the coagulation-flocculation process for pulp mill wastewater treatment. Furthermore, several approaches have been proposed for optimizing process performance with multiple responses (Al-Refaie et al., 2008; 2009; Al-Refaie, 2009; 2010; 2011; 2012; Al-Refaie and Al-Tahat, 2011; Muhammad et al., 2012; Salmasnia et al., 2012). Among the efficient optimization approaches is the weighted additive model in fuzzy goal programming, which considers the preferences for quality responses when determining the combination of optimal process factor’s settings. The weighted additive model has been applied to optimize process performance in several industrial applications (Yaghoobi et al., 2008; Yücel and Guneri, 2011; Al-Refaie and Li, 2011; Al-Refaie et al., 2012). This research aims at applying the PAT framework, including the weighted additive model, to optimize the performance of the coagulation-flocculation process in wastewater treatment.

2 PAT framework

The PAT framework was implemented to improve the performance of the wastewater treatment process and is described as follows.

2.1 Identifying critical process attributes

The wastewater treatment process is mapped as shown in Fig. 2. The inflow stream is screened at first using two rotary screens to remove coarse materials that could damage the subsequent process equipment. The screened flow is then physically treated in a dissolved air flotation unit (DAF) where it is exposed to a pressurized air stream in order to float its oil and fat content. The floating fat layer is then scraped off by a skimming device. The treated stream is passed through an aeration process using a selector tank to enhance the growth of floc-forming bacteria instead of filamentous bacteria to provide an activated sludge with better settling and thickening properties. The aerated stream is then biologically treated in a treatment tank where the dissolved and particulate constituents are biologically degraded. The last treatment process is coagulation-flocculation in which sludge is separated from water by adding certain coagulant and flocculant agents. The flocculated sludge will float by means of a pressurized air stream where it is scraped by a skimming device. On the other hand, the treated water is then chlorinated and stored, to be used for irrigation purposes.

Fig. 2
figure 2

Process mapping of treatment process

2.2 Real-time monitoring

A control chart plots the average of measured values of quality responses in samples taken from the process versus the sample number. The chart has a center line (CL) as well as upper and lower control limits (UCL and LCL, respectively). The CL represents where this process characteristic should fall if no assignable causes for variability are present. The moving average (MA) and moving range (MR) control charts are found to be effective ones in detecting small process shifts and process variability, respectively. The turbidity is measured using a portable DR/890 colorimeter instrument, while the SVI is measured manually using the standard method. The MA and MR control charts for turbidity and SVI are constructed and depicted in Figs. 3 and 4, respectively. In Fig. 3 for turbidity, the UCL, CL, and LCL of the MA control chart are calculated and found respectively equal to 24.81, 20.22, and 15.64 NTU (nephelometric turbidity units), while the corresponding parameter values in the MR control chart are equal to 7.964, 2.438, and 0 NTU, respectively. In MA and MR control charts, neither point falls outside the control limits nor does a significant pattern exist in the charts. Hence, it is concluded that the process is in control for turbidity and SVI. Furthermore, the corresponding lower limit (LSL) and upper specification limit (USL) for the turbidity are 0 and 30 NTU, respectively, while the smaller SVI value is preferred within the specification range. Observing the CL (=20.22 NTU) of the MA control chart for turbidity, it is noted that the turbidity is significantly larger than the above maximum allowable target value of 15 NTU. From Fig. 4 for SVI, the UCL, CL, and LCL of the MA (MR) control chart are estimated respectively as 92.69 (22.19), 79.92 (6.79), and 67.15 (0) ml/g. The LSL and USL of SVI are 50 and 100 ml/g, respectively, where it is preferred at the nominal value of 70 ml/g. Hence, the SVI is considered the nominal best type response. It is found that the CL (=79.92 ml/g) for SVI is shifted from the nominal value. Consequently, improvement actions are required to improve process performance.

Fig. 3
figure 3

MA chart (a) and MR chart (b) for turbidity at initial factor settings

Fig. 4
figure 4

MA chart (a) and MR chart (b) for SVI at initial factor settings

2.3 Modeling and prediction

In the third step of the PAT framework, a mathematical relationship is developed for both turbidity, y 1, and SVI, y 2, with the critical process factors. Based on process knowledge, the main controllable process factors thought to affect the wastewater quality characteristics are flocculant dose (x 1, mg/L), coagulant dose (x 2, mg/L), and pH (x 3). The current process factor settings for the wastewater treatment process are: flocculant dose=8 mg/L, coagulant dose=50 mg/L and pH=6. Each factor is assigned at three levels: 1: low, 2: middle, and 3: high. The physical values for factor levels are listed in Table 1.

Table 1 Physical values for factor levels

For the present process, 33 full factorial design with two replicates I and II, enables investigation of three three-level factors with their interactions without the need to ignore the three-way interaction. The designed experiment is conducted and tested using jar test apparatus which is specially designed to be used with conventional wastewater treatment processes such as coagulation, flocculation, and sedimentation. Turbidity and SVI are measured once in each replicate. Table 2 displays the experimental results for both quality responses.

Table 2 Experimental results for both quality responses

2.4 Process adjustment

The weighted additive model will be employed to obtain the optimal values of process factor settings while considering the preferences of process/product engineers as follows.

Step 1: Estimate the relationship between each of y 1 and y 2 responses and the process factors x 1, x 2, and x 3 using statistical multiple linear regression as follows:

$${y_k} = f\left({{x_{\rm{1}}},{x_{\rm{2}}}, \ldots, {x_J}} \right),k = 1,2,$$
(1)

where f is assumed to be a linear function, y k denotes the kth quality response, and x j represents the jth process factor, j=1, 2, …, J.

Analyses of variance (ANOVA) for the experimental values of y 1 and y 2 are conducted to determine significant main and interaction effects. ANOVA results for both responses are displayed in Table 3. Obviously, all main two-way interactions and three-way interactions are found to be significant for both responses. Moreover, the corresponding significance tests of linear regression coefficients are listed in Table 4.

Table 3 Analysis of variance for turbidity
Table 4 Results of test of significance for factor coefficients

Finally, the normality tests for turbidity and SVI are constructed in Figs. 5 and 6, respectively. Obviously, in the plots of fitted values versus the normalized residual and the normal probability plots for residuals, there is no obviously significant pattern or outliers or a relationship between the fitted values and their corresponding residual values. Consequently, mathematical relationships for y 1 and y 2 are expressed in Eqs. (2) and (3), respectively.

$$\eqalign{& {y_1} = - 84.6 + 4.71{x_1} + 1.83{x_2} + 12.8{x_3} - 0.0962{x_1}{x_2} \cr & - 0.716{x_1}{x_3} - 0.184{x_2}{x_3} + 0.011{x_1}{x_2}{x_3}, \cr}$$
(2)
$$$$\eqalign{& {y_2} = 31.5 + 0.28{x_1} + 1.24{x_2} + 7.11{x_3} - 0.0363{x_1}{x_2} \cr & - 0.241{x_1}{x_3} - 0.0631{x_2}{x_3} + 0.00424{x_1}{x_2}{x_3}. \cr}$$
(3)
Fig. 5
figure 5

Normality test results for turbidity ( y 1 )

(a) Residual versus the fitted value; (b) Normal probability plot of the residuals

Fig. 6
figure 6

Normality test results for SVI (y 2 )

(a) Residual versus the fitted value; (b) Normal probability plot of the residuals

Step 2: Select proper membership function (MF) for y 1, y 2, and x j . Let the MFs for turbidity and SVI be denoted as \({\mu _{{y_1}}}\) and \({\mu _{{y_2}}}\) respectively, which are decided as follows.

1. For the turbidity, y 1, the suitable \({\mu _{{y_1}}}\) is depicted in Fig. 7a and is defined as

$${\mu _{{y_1}}} = \left\{\matrix{1,\,\,\,\,\,\,\,\,\,\,0\, \le {y_1} < {g_{{y_1}}}, \hfill \cr 1 - {{{y_1} - {g_{{y_1}}}} \over {\Delta _{{y_1}}^+}},\,\,\,\,\,\,\;{g_{{y_1}}} \le {y_1} < {g_{{y_1}}} + \,\,\Delta _{{y_1}}^+, \hfill \cr 0,\,\,\,\,\,\,\,\,\,{y_1} \ge {g_{{y_1}}} + \Delta _{{y_1}}^+, \hfill \cr} \right.$$
(4)

where \({g_{{y_1}}}\) is the imprecise fuzzy value of y 1 specified by process engineers, and \(\Delta _{{y_1}}^+\) is the maximal positive admissible violation from \({g_{{y_1}}}\) The corresponding goal constraints are given by

$${y_1} - \delta _{{y_1}}^+ \le {g_{{y_1}}},\;\;\;{\mu _{{y_1}}} + {{\delta _{{y_1}}^+} \over {\Delta _{{y_1}}^+}} = 1,\;\;\;\;0 \le \delta _{{y_1}}^+ \le \Delta _{{y_1}}^+,$$
(5)

where \(\delta _{{y_1}}^+\) denotes the positive deviation of y 1 from \({g_{{y_1}}}\). Based on the engineers’ preferences, the values of \({g_{{y_1}}}\) and \(\Delta _{{y_1}}^+\) are decided to be 15 NTU, while the maximal acceptable value of y 1 is 30 NTU. Consequently,

$${\mu _{{y_1}}} = \left\{\matrix{1,\,\,\,\,\,\,\,\,\,\,\,\,0 \le {y_1} < 15, \hfill \cr 1 - {{{y_1} - 15} \over {15}},\,\,\,\,\,\,\,\,\,\,\,\,15 \le \,{y_1} < 30, \hfill \cr 0,\,\,\,\,\,\,\,\,\,\,{y_1} \ge 30, \hfill \cr} \right.$$

and

$${y_1} - \delta _{{y_1}}^+ \le 15,\;\;{\mu _{{y_1}}} + {{\delta _{{y_1}}^+} \over {15}} = 1,\;\;\;0 \le \delta _{{y_1}}^+ \le 15.$$
Fig. 7
figure 7

MFs for responses and process factors

(a) MF for y 1; (b) MF for y 2; (c) MF for x j

2. Similarly, the suitable MF, \({\mu _{{y_2}}}\) for SVI is shown in Fig. 7b, or mathematically

$${\mu _{{y_2}}} = \left\{\matrix{0,\,\,\,\,\,\,\,\,\,\,\,{y_2} < {g_{{y_2}}} - \Delta _{{y_2}}^-, \hfill \cr 1 - {{{g_{{y_2}}} - {y_2}} \over {\Delta _{{y_2}}^-}},\,\,\,\,\,\,\,\;{g_{{y_2}}} - \Delta _{{y_2}}^- \le \,{y_2} < {g_{{y_2}}}, \hfill \cr 1 - \,\,{{{y_2} - {g_{{y_2}}}} \over {\Delta _{{y_2}}^+}},\,\,\,\,\,\;{g_{{y_2}}} \le \,{y_2} < {g_{{y_2}}} + \Delta _{{y_2}}^+, \hfill \cr 0,\,\,\,\,\,\,\,\,\,\,\,{y_2} \ge {g_{{y_2}}} + \Delta _{{y_2}}^+, \hfill \cr} \right.$$
(6)

where \({g_{{y_2}}}\) is the target of y 2. \(\Delta _{{y_2}}^-\) and \(\Delta _{{y_2}}^+\) denote the maximal negative and positive admissible violations from \({g_{{y_2}}}\), respectively. The corresponding goal constraints are expressed as

$$\eqalign{& {y_2} + \delta _{{y_2}}^- - \delta _{{y_2}}^+ = {g_{{y_2}}},\;\;\;{\mu _{{y_2}}} + {{\delta _{{y_2}}^-} \over {\Delta _{{y_2}}^-}} + {{\delta _{{y_2}}^+} \over {\Delta _{{y_2}}^+}} = 1, \cr & \;\;\;\;\;\;\;\;\;0 \le \delta _{{y_2}}^- \le \Delta _{{y_2}}^-, \;\;\;0 \le \delta _{{y_2}}^+ \le \Delta _{{y_2}}^+, \cr}$$
(7)

where \(\delta _{{y_2}}^-\) and \(\delta _{{y_2}}^+\) represent the negative and positive deviations from \({g_{{y_2}}}\), respectively. The process engineer decided that the values of \({g_{{y_2}}},\,\,\Delta _{{y_2}}^-\) and \(\Delta _{{y_2}}^+\) are 60, 20, and 40 ml/g, respectively. The minimal and maximal acceptable values of y 2 are 50 and 100 ml/g. Then,

$${\mu _{{y_2}}} = \left\{\matrix{0,\,\,\,\,\,\,\,\,\,\,\,{y_2} < 50, \hfill \cr 1 - {{70 - {y_2}} \over {20}},\,\,\,\,\,\,\,\,\,\,\,\,50 \le \,{y_2} < 70, \hfill \cr 1 - \,\,{{{y_2} - 70} \over {30}},\,\,\,\,\,\,\,\,\,\,\,70 \le \,{y_2} < 100, \hfill \cr 0,\,\,\,\,\,\,\,\,\,\,{y_2} \ge 100, \hfill \cr} \right.$$

and

$$\eqalign{& {y_2} + \delta _{{y_2}}^- - \delta _{{y_2}}^+ = 70,\;\;\;{\mu _{{y_2}}} + {{\delta _{{y_2}}^-} \over {20}} + {{\delta _{{y_2}}^+} \over {30}} = 1, \cr & \;\;\;\;\;\;\;\;\;0 \le \delta _{{y_2}}^- \le 20,\;\;\;0 \le \delta _{{y_2}}^+ \le 30. \cr}$$

3. Similarly, there is no information on the exact target of x 1, x 2, and x 3. Then, the suitable MF, \({\mu _{{x_j}}}\), is described in Fig. 7c and is defined as

$${\mu _{{x_j}}} = \left\{\matrix{0,\,\,\,\,\,\,\,\,\,\,\,{x_j} < g_{{x_j}}^l - \Delta _{{x_j}}^-, \hfill \cr 1 - {{g_{{x_j}}^l - {x_j}} \over {\Delta _{{x_j}}^-}},\,\,\,\,\,\;\;\,g_{{x_j}}^l - \Delta _{{x_j}}^- \le \,{x_j} < g_{{x_j}}^l, \hfill \cr 1,\,\,\,\,\,\,\,\,\,\,\,\,\,g_{{x_j}}^l \le \,{x_j} < g_{{x_j}}^u\,,\,\, \hfill \cr 1 - \,\,{{{x_j} - g_{{x_j}}^u} \over {\Delta _{{x_j}}^+}},\,\,\,\,\;\;\,g_{{x_j}}^u \le \,{x_j} < g_{{x_j}}^u + \Delta _{{x_j}}^+, \hfill \cr 0,\,\,\,\,\,\,\,\,\,\,\,\,{x_j} \ge g_{{x_j}}^u + \Delta _{{x_j}}^+, \hfill \cr} \right.$$
(8)

where \(g_{{x_j}}^{\rm{l}}\) and \(g_{{x_j}}^{\rm{u}}\) are the lower and the upper limits of x j , respectively. \(\Delta _{{x_j}}^-\) and \(\Delta _{{x_j}}^+\) are the maximal negative and positive admissible violations from \(g_{{x_j}}^{\rm{l}}\) and \(g_{{x_j}}^{\rm{u}}\), respectively. The corresponding constraints are then formulated as

$$\eqalign{& {x_j} + \delta _{{x_j}}^- \ge g_{{x_j}}^l,\;\;{x_j} - \delta _{{x_j}}^+ \le g_{{x_j}}^u,\;\;{\mu _{{x_j}}} + {{\delta _{{x_j}}^-} \over {\Delta _{{x_j}}^-}} + {{\delta _{{x_j}}^+} \over {\Delta _{{x_j}}^+}} = 1, \cr & \;\;\;\;\;\;\;\;\;\;\;\;0 \le \delta _{{x_j}}^- \le \Delta _{{x_j}}^-,\;\;\;0 \le \delta _{{x_j}}^+ \le \Delta _{{x_j}}^+, \cr}$$
(9)

where \(\delta _{{x_j}}^-\) and \(\delta _{{x_j}}^+\) represent the negative and positive deviations from \(g_{{x_j}}^{\rm{l}}\) and \(g_{{x_j}}^{\rm{u}}\), respectively. It is decided that the values of \(\Delta _{{x_j}}^-\) and \(\Delta _{{x_j}}^+\) equal 0.1. For example,\({\mu _{{x_1}}}\) is defined as

$${\mu _{{x_1}}} = \left\{\matrix{0,\,\,\,\,\,\,\,\,\,\,\,\,{x_1} < 5.9, \hfill \cr 1 - {{6 - {x_j}} \over {0.1}},\,\,\,\,\,\,\,\,\,\,\,5.9 \le \,{x_1} < 6, \hfill \cr 1,\,\,\,\,\,\,\,\,\,\,\,\,\,6 \le \,{x_1} < 18,\,\,\, \hfill \cr 1 - \,\,{{{x_j} - 18} \over {0.1}},\,\,\,\,\,\,\,\,\,\,18 \le \,{x_1} < 18.1, \hfill \cr 0,\,\,\,\,\,\,\,\,\,\,\,{x_1} \ge 18.1. \hfill \cr} \right.$$

The corresponding constraints are defined as

$$\eqalign{& {x_1} + \delta _{{x_1}}^- \ge 6,\;\;\;\;\;{x_1} - \delta _{{x_1}}^+ \le 18, \cr & {\mu _{{x_1}}} + {{\delta _{{x_1}}^-} \over {0.1}} + {{\delta _{{x_1}}^+} \over {0.1}} = 1, \cr & 0 \le \delta _{{x_1}}^- \le 0.1,\;\;\;\;\;\;0 \le \delta _{{x_1}}^+ \le 0.1. \cr}$$

The MFs with their corresponding constraints for x 1 and x 2 are formulated in a similar manner.

Step 3: The objective function of the weighted additive GP model is to minimize the sum of the weighted deviations of responses and process variables.

Accordingly, the objective function is to minimize

$$\eqalign{& Z = {w_{y1}}\left({{{\delta _{y1}^+} \over {\Delta _{y1}^+}}} \right) + {w_{y2}}\left({{{\delta _{y2}^+} \over {\Delta _{y2}^+}} + {{\delta _{y2}^-} \over {\Delta _{y2}^-}}} \right) \cr & \;\;\;\;\;\; + \sum\limits_{j = 1}^3 {{w_{{x_j}}}\left({{{\delta _{{x_j}}^+} \over {\Delta _{{x_j}}^+}} + {{\delta _{{x_j}}^-} \over {\Delta _{{x_j}}^-}}} \right)}. \cr}$$
(10)

Substituting the values of deviations weights, Eq. (10) is formulated as

$$Z = 0.2\left({{{\delta _{{y_1}}^+} \over {15}}} \right) + 0.2\left({{{\delta _{{y_2}}^+} \over {20}} + {{\delta _{{y_2}}^-} \over {30}}} \right) + 0.2\sum\limits_{j = 1}^3 {\left({{{\delta _{{x_j}}^+} \over {0.1}} + {{\delta _{{x_j}}^-} \over {0.1}}} \right)}.$$

Step 4: A linear programming model is formulated using steps 1–4 as follows:

Minimize Z subject to:

$$\eqalign{& {y_1} = - 84.6 + 4.71{x_1} + 1.83{x_2} + 12.8{x_3} - 0.0962{x_1}{x_2} \cr &{\rm{}} - 0.716{x_1}{x_3} - 0.184{x_2}{x_3} + 0.011{x_1}{x_2}{x_3},\cr &{y_2} = 31.5 + 0.28{x_1} + 1.24{x_2} + 7.11{x_3} - 0.0363{x_1}{x_2} \cr & {\rm{}} - 0.241{x_1}{x_3} - 0.0631{x_2}{x_3} + 0.00424{x_1}{x_2}{x_3}, \cr &{y_1} - \delta _{{y_1}}^+ \le 15,{\rm{}}{\mu _{{y_1}}} + {{\delta _{{y_1}}^+} \over {15}} = 1,{\rm{}}0 \le \delta _{{y_1}}^+ \le 15,\cr &{y_2} + \delta _{{y_2}}^- - \delta _{{y_2}}^+ = 70, {\mu _{{y_2}}} + {{\delta _{{y_2}}^-} \over {20}} + {{\delta _{{y_2}}^+} \over {30}} = 1, \cr & 0 \le \delta _{{y_2}}^- \le 20, 0 \le \delta _{{y_2}}^+ \le 30, \cr &{x_1} + \delta _{{x_1}}^- \ge 6, {x_1} - \delta _{{x_1}}^+ \le 18, \cr & {x_2} + \delta _{{x_2}}^- \ge 40, {x_2} - \delta _{{x_2}}^+ \le 80, \cr & {x_3} + \delta _{{x_3}}^- \ge 4, {x_3} - \delta _{{x_3}}^+ \le 8, \cr &{x_2} + \delta _{{x_2}}^- \ge 40, {x_2} - \delta _{{x_2}}^+ \le 80, \cr & {x_3} + \delta _{{x_3}}^- \ge 4, {x_3} - \delta _{{x_3}}^+ \le 8, \cr &{\mu _{{x_j}}} + 10(\delta _{{x_j}}^- + \delta _{{x_j}}^+) = 1, \;\;j = 1,\;2,\;3,\cr &0 \le \delta _{{x_j}}^- \le 0.1, \;\;j = 1,\;2,\;3,\cr &0 \le \delta _{{x_j}}^+ \le 0.1, \;\;j = 1,\;2,\;3,\cr &{\mu _{{x_j}}},{\mu _{{y_k}}},{y_k},{x_j} \ge 0, \;j = 1,\;2,\;3, k = 1,\;2.\cr}$$

Solving the model, the obtained optimal process conditions are: flocculant dose, x 1, of 18 mg/L, coagulant dose, x 2, of 40.0 mg/L, and pH, x 3, of 4.0. These parameters yield optimal values of turbidity and SVI of 6.184 NTU and 73.21 ml/g, respectively. The membership values for y 1 and y 2 are 100% and 89.3%, respectively. Moreover, all the process preferences are completely satisfied (=100%).

2.5 Online sampling

The last step in the PAT framework includes conducting confirmation experiments utilizing the optimal factors obtained by the weighted additive model. For this purpose, the MA and MR control charts are constructed for validation of optimal process performance and to monitor future production. The MA and MR control charts at the combination of optimal factor settings are shown in Figs. 8 and 9 for turbidity and SVI, respectively.

Fig. 8
figure 8

MA control chart (a) and MR chart (b) for turbidity at optimal factor settings

Fig. 9
figure 9

MA control chart (a) and MR chart (b) for SVI at optimal factor settings

In Fig. 8 for turbidity, the CL values of the MA and MR control charts are 6.42 and 1.433 NTU, respectively. The corresponding values of the UCL and LCL for the MA (MR) control charts are 9.116 (4.683) and 3.724 (0.0) NTU, respectively. On the other hand, in Fig. 9 for SVI, the UCL, CL and LCL values of MA (MR) are 79.34 (12.48), 72.15 (3.82), and 64.97 (0) ml/g, respectively. Finally, Figs. 8 and 9 reveal no unusual pattern or any point outside the control limits or any significant pattern within the control limits. Consequently, the MA (MR) control charts are concluded to be in-control state for both responses, and hence they can be used for monitoring and controlling future treatment process.

3 Improvement analysis

The summary of the control chart results are displayed in Table 5. Process capability analysis will be utilized to measure the performance of the wastewater treatment process before and after the PAT framework. The most widely used process capability index is \({\hat C_{\rm{p}}}\) However, this ratio does not take into account where the process mean is located relative to specifications. As a consequence, a new process capability ratio, \({\hat C_{{\rm{pk}}}}\), which takes process centering into account, will be used for measuring performance. \({\hat C_{{\rm{pk}}}}\) is a function of \({\hat C_{{\rm{pu}}}}\) and \({\hat C_{{\rm{pl}}}}\) which are the one-sided process capability ratios. \({\hat C_{{\rm{pk}}}}\) is expressed as follows:

$${\hat C_{{\rm{pk}}}} = \min \{{\hat C_{{\rm{pl}}}}, {\hat C_{{\rm{pu}}}}\}$$
(11)

where

$${\hat C_{{\rm{pl}}}} = {{\hat \mu - {\rm{LSL}}} \over {3\hat \sigma}},$$
(12)
$${\hat C_{{\rm{pl}}}} = {{{\rm{USL}} - \hat \mu} \over {3\hat \sigma}},$$
(13)

where \(\hat \mu\) and \(\hat \sigma\) are the estimated process mean and standard deviation, respectively. Furthermore, the multiple capability index, MCpk, for a complete process of Q responses considered concurrently is calculated as

$${\rm{M}}{{\rm{C}}_{{\rm{pk}}}} = {\left({\prod\limits_{q = 1}^Q {{C_{{\rm{p}}{{\rm{k}}_q}}}}} \right)^{1/Q}}.$$
(14)
Table 5 Summary of results from control charts

The \({\hat C_{{\rm{pk}}}}\) values for turbidity and SVI are compared at the initial and optimal factor settings, and then the results and improvement analysis are displayed in Table 6.

Table 6 Improvement analysis*

From Table 6 it is noted that:

  1. 1.

    For turbidity and SVI, the estimated process means at initial (optimal) factor settings are 20.22 (6.42) NTU and 79.69 (72.15) ml/g, respectively. The process means at optimal factor settings are improved significantly as they are closer to the desired values of less than 15 NTU and 70 ml/g, respectively.

  2. 2.

    The process standard deviations at initial (optimal) factor settings are 2.16 (1.27) NTU and 6.02 (3.39) ml/g for turbidity and SVI, respectively. Clearly, optimal factor settings results in significant variability reductions are 41.22% and 77.75% for turbidity and SVI, respectively.

  3. 3.

    The \({\hat C_{{\rm{pk}}}}\) values are improved significantly due to setting factor levels at optimal settings. That is, the \({\hat C_{{\rm{pk}}}}\) value for turbidity is improved from 1.34 to 5.5, while the \({\hat C_{{\rm{pk}}}}\) value for SVI is enhanced from 1.46 to 1.93. These results indicate that the wastewater treatment process becomes highly efficient for both responses due to setting the factor at optimal levels.

  4. 4.

    The MCpk is improved significantly from 1.95 to 10.6, which also indicates that the process become highly capable.

4 Conclusions

The PAT framework is successfully implemented to improve the performance of the wastewater treatment process for two main quality characteristics: turbidity and SVI. In this framework, the MA and MR control charts are used to assess the performance of the process at initial factor settings, where the control charts indicate in-control states for both responses. The 33 full factorial design is used for conducting experimental work. The weighted additive model is proposed, and then used for optimizing process performance while considering engineers’ preferences for factor settings and quality responses. Each response and process factor is described by suitable MF. The corresponding goal constraints are then defined. The objective function is used to minimize the weighted sum of the positive and negative deviations. Results show that the optimal process conditions found are flocculant dose of 18 mg/L, coagulant dose of 40.0 mg/L, and pH of 4.0. These parameters yield optimal values of turbidity and SVI of 6.184 NTU and 73.21 ml/g, respectively. Confirmation experiments are conducted at optimal factor settings. It is found that: (1) the process means for turbidity and SVI at optimal factor settings are closer to the desired values of less than 15 NTU and 70 ml/g, respectively; (2) process variability is significantly reduced by 41.22% and 77.75% for turbidity and SVI, respectively, and the MCpk is improved significantly from 1.95 to 10.6, which indicates that the process become highly capable. In conclusion, the weighted additive model is found to be an efficient technique for optimizing the performance of processes with multiple responses, taking into consideration the engineers’ preferences about process settings.