1 Introduction

Textile industries consume enormous amounts of water, producing large volumes of colored effluents which are finally discharged into water sources, this causes environmental issues related to chemical and biochemical oxygen demand, pH and salinity.

According to their chemical structure, dyes can be classified into azoic—which constitute the majority group-, anthraquinonic, nitro, indigoid, diphenyl and triphenyl methane, phtalocyanines and polymethines [1]. Anthraquinone dyes are characterized by their high resistance to biodegradation, due to their fused aromatic structures [2,3,4]. In addition, they could be toxic and cause mutagenic effects on organisms exposed to their effects [5, 6]. Different processes have been used for the treatment of colored effluents, such as adsorption [7], filtration [8, 9], and coagulation [10], among others. However, these treatments have the disadvantage of transferring the contaminant from one phase to another instead of destroying it, consequently the environmental problem persists. For this reason, the need to find destructive treatments arises being the Advanced Oxidation Processes (AOPs) a promissory alternative. AOPs are characterized by achieving a high degree of mineralization of the pollutants, transforming them in water, carbon dioxide and inorganic salts. Although all AOPs have in common the generation of hydroxyl radicals, very reactive and non-selective, they differ in the mechanisms by which these radicals are generated. In the case of ozonation processes, ·OH radicals can be formed through different parallel paths, involving other reactive radicals [11, 12]. Ozonation processes are especially effective since they may involve two major active species namely the molecular ozone and the hydroxyl radicals and both species can operate simultaneously [13]. The production of ·OH radicals can be increased by the incorporation of UV radiation [14], H2O2 [15] or increasing the pH [16]. It is necessary to highlight that both oxidizing species have very different behaviors. While molecular ozone attacks the compounds selectively, ·OH radical does so in a non-selective way. Therefore, depending on the molecular structure of the dye, the use of molecular ozone or ·OH radical will be more effective. A problem that arises from the use of molecular ozone is related to the formation of resistant intermediates or reaction products which often cannot be degraded by ozone molecules, as is the case of numerous carboxylic acids, aldehydes and ketones [17,18,19]. The partial oxidation of organic pollutants may result in the production of intermediates even more persistent and toxic than the parent compounds [20]. Although both COD and TOC describe the progress of the oxidation there is a difference between their results: COD is able to measure the change that occurs when the compound is oxidized by ozone, since TOC gives a measure of the mineralization (transformation into carbon dioxide and water) achieved by the ozonation process. For this reason, during the oxidation of a pollutant COD could decrease but the corresponding TOC values could remain almost unchanged. From the environmental point of view, degradation of the dye should be evaluated as an overall process, involving the removal of both the parent dye and its intermediates and products. Therefore, the most suitable resource for estimating the overall process is to monitor the mineralization of the solution through TOC determination.

Numerous studies have reported on the degradation of dyes using photocatalysis [21, 22] photo-Fenton and related processes [23, 24] and UV/H2O2 processes [25], among others.

Although azo dyes are the center of attention of most of the environmental studies, anthraquinone-based dyes also need to be considered as a concern, because of their high resistance to biodegradation. Reactive Blue 19 dye (RB19), well known as Remazol Brilliant Blue is a commercial dye representative of the family of anthraquinone dyes, widely used in the textile industry. Several studies have been reported on the oxidation of RB19 solutions through AOPs. Using an electrochemical-ultrasonics process, Siddique [26] studied the effect of different operational parameters, proposed a reaction mechanism and determined the corresponding kinetic constants. Different authors using a variety of Advanced Oxidation Processes studied the degradation of the dye and the effect of different operational variables, such as pH, initial concentration of RB19 and dose of reagents providing simple kinetic expressions [27,28,29,30]. In particular, several studies have successfully carried out the degradation of RB19 through ozonation processes, most of them focusing on the efficiency and kinetics of discoloration [31, 32] and on the effect of operational parameters [33, 34] although there exist large discrepancies about the reaction conditions required to achieve discoloration and/or mineralization of the effluents [4, 27, 33, 34]. The studies performed by He [3] and Fanchiang and Tseng [4] are especially significant contributions referred to the identification of intermediaries and the proposal of reaction mechanism for the ozonation of RB19 solutions. In our previous report [20] the effects of operational parameters were investigated and a degradation pathway was proposed for the discoloration and mineralization of RB19 using ozone and ozone/UV.

According to the literature, a problem that still remains is the need to know the optimal conditions to achieve discoloration, mineralization or a simultaneous combination of both. In order to solve this inquiry, response surface methodology (RSM) can be utilized. This tool consists in a collection of mathematical and statistical techniques useful in the modeling and analysis of situations in which a response is influenced by several variables [35]. Different authors used RSM to establish suitable experimental conditions for the degradation of dyes. Isa [36] used a 3-level factorial design to study the electrochemical degradation of an azoic dye. Moradi et al. [37] and Li et al. [23] utilized a composite central design model for the bleaching of azoic dyes. Debnath et al. [21] employed modified TiO2 for the degradation of two colorants, establishing a factorial design. Akay and Demirtas [38] utilized a central composite design to study the discoloration and COD removal for an azoic dye by means of photo-Fenton treatment, optimizing simultaneously both responses. In the same way, Pillai et al. [39] made use of a Box–Behnken design to perform the simultaneous optimization of the discoloration and mineralization of an azoic model dye by means of an electrochemical process.

Regarding to the optimization of ozonation processes by RSM, there are a much smaller number of reports in the literature. Im et al. [40] utilized a hybrid process O3/UV/H2O2 for the removal of carbamazepine and a central composite design to simultaneously optimize the TOC removal and drug degradation. Vedaraman et al. [41] optimized the ozonation of a tannery model dye using a central composite design. Chianeh and Parsa [42] utilized a combined O3/electrolysis process for the degradation of an azoic dye, and a composite central design for the optimization of the discoloration, determining the optimal conditions and finally validating them through laboratory experiments. Arslan et al. [43] made use of two different factorial designs to optimize the removal of color and COD of hospital effluents through O3/UV and O3/H2O2/UV processes. Jiao et al. [44] optimized the degradation of nitrobenzene using a Box–Behnken model and the combined O3/H2O2 process. Souza and Féris [45] used a two-level factorial design to optimize caffeine mineralization through ozonation. Mehrizad and Gharbani [46] developed a central composite design to model the discoloration of a phthalocyanine dye by an O3/UV process. From the analysis of literature emerges as first observation that there exists a small number of studies that investigate the ozonation of dyes using RSM, most of them focusing on the degradation of azoic dyes and the optimization of a single variable. As mentioned before, ozone-based technologies involve two major oxidant species that exhibit different oxidizing capacity and selectivity. For this reason, the problem needs to be addressed from two different and complementary points of view in order to achieve the discoloration or mineralization of the solution, where in each of these cases the optimal operating conditions may be very different.

In this work the effect of different operational parameters was investigated in order to find the optimal conditions for discoloration and mineralization of RB19 dye using ozone. RSM was used based on an experimental design and the interaction between variables was studied. Ozone concentration, pH and UV radiation were optimized in terms of the half life time required for the discoloration and/or mineralization of the solution. The main tasks developed in this work include (1) formulation of the equations of color and TOC half-life time with respect to operational conditions using RSM; (2) determination of the optimum operational condition of the studied application; (3) execution of a specific experiment under optimum conditions to confirm the agreement between model and experimental results.

2 Materials and methods

2.1 Experimental procedures

2.1.1 Experimental setup

The commercial anthraquinone reactive dye RB19 was purchased from Sigma-Aldrich Co., USA and used without any purification. The experimental setup is shown in Fig. 1. Ozone was generated from dried oxygen (Air Liquide Argentina) with purity of 99.2% using a Fischer 503 ozone generator which can operate in a production range of 0–20 g h−1. It was incorporated to the liquid phase with a constant flow rate of 0.4 L min−1 (mass flow controller Aalborg GFC17) through an absorption column filled with raschig rings and connected to the atmosphere throughout a purge. The photo-reactor was a cylinder with two parallel flat windows made of quartz, each one irradiated with a tubular lamp (Heraeus NNI 40 W, λ = 253.7 nm, total incident radiation at the reactor wall Gw = 4.81 × 10−8 einstein cm−2 s−1). The system operated in a closed recycle as a perfectly mixed tank reactor and included an ozone monitor for gas phase (Teledyne 454) which operates in the range of 0–200 g Nm−3 ± 1% and a sampling port. The experimental setup included a heat exchanger connected to a thermostatic bath to keep constant the reaction temperature (20 ± 0.1 °C). The total volume was 1.70 L.

Fig. 1
figure 1

Experimental setup. Solid lines: liquid flow, dashed lines: gas flow

2.1.2 Analyses

For each experiment, RB19 and Total Organic Carbon (TOC) samples were collected separately at definite time intervals. The concentration of RB19 was determined by UV–vis spectrophotometry (Perkin Elmer) with appropriate calibrations at precise wavelength (λ = 592 nm). Preliminary laboratory test were made in order to determine the wavelength at which maximum absorption of the dye takes place. For this purpose, a scanning of RB19 was taken by the spectrophotometer, where two absorbance peaks were found. The peak observed in the UV region at 256 nm was due to the anthraquinone structure of the dye, while the visible peak at 592 nm was due to blue color of the chromophore. These results are in concordance with previous reports in which the concentration of RB19 was determined by spectrophotometry [26, 28]. Total organic carbon (TOC) was measured using a Shimadzu TOC-5000A analyzer. The pH of the samples was determined using a digital pH meter (Altronix). All samples analyses were made in triplicate.

2.2 Design and analysis

The statistical design of experiments allows for the evaluation of the statistical significance of individual process parameters, as well as the interaction between factors. To optimize RB19 discoloration and mineralization, a three-level factorial design based on two variables was employed: pH (X1) and inlet Ozone concentration, \(\text{O}_{\text{3}}^{g,i}\) (X2). For two variables and three levels design, 12 experiments were performed including four central points in order to give statistical consistency to the mathematical model. The experimental time required to reach 50% conversion of RB19 and Total Organic Carbon (\({\text{t}}_{{{\text{RB}}19_{1/2} }}\) and \({\text{t}}_{{{\text{TOC}}_{1/2} }}\), respectively) were used as response for the experimental design. According to published literature [15] and previous studies [20], the applied ranges of process parameters were: pH [3,4,5,6,7,8,9,10] and \(\text{O}_{\text{3}}^{g,i}\) [50–100] gm−3 NTP, and for all cases the dye initial concentration was 250 mg L−1. The same procedure was employed to each of UV radiation intensities: 0 W and 40 W, giving a total of 24 experiments. Table 1 presents the chosen experimental domain, specifying the levels of the factors selected.

Table 1 Experimental domain and levels of the selected factors

Design Expert 7.0 Software was used to make regression for analysis of experimental data and to plot response surface. RSM was applied to evaluate the effect of independent process variables on the discoloration and mineralization efficiency of RB19 by the combined O3/UV process. Each level of a factor is combined in the different experiments with all levels of the other factors.

Once the results are obtained for the optimization experiments, a mathematical model is created to describe the relationship between the response and the studied factors. The system´s behavior in all cases is represented by a second-order polynomial model.

For each case, the model was fitted to the experimental data and then adopted to describe the response surface, as given below:

$$y = \beta_{0} + \beta_{1} X_{1} + \beta_{2} X_{2} + \beta_{11} X_{1}^{2} + \beta_{22} X_{2}^{2} + \beta_{12} X_{1} X_{2} + \varepsilon$$
(1)

where y is the dependent variable (response), β0 is a constant, β1 and β2 are the regression coefficients for linear effects, β11 and β22 are the quadratic coefficients, β12 is the interaction coefficient, and ε is the experimental error.

Cook’s test was applied to identify the existence of outliers. This test consists of measuring the squared distance between the least squares estimate based on all n points and the estimate obtained when the ith point is removed. If i-th point is influential, its removal will result in changing considerably from the value. A Cook distance value greater than 1 would indicate that the point is influential [35]. Outlier points with high leverage and Cook’s distance are recommended to be eliminated of the model in order to correctly explain the variation in the data and obtain a better fit [47]. When outlier points were identified, they were eliminated and the model statistical parameters like lack of fit, standard deviation, R2 and adjusted R2 improved in all the cases.

Process optimization was carried out through the desirability function, with the objective of minimizing the responses using the minimum ozone concentration, leading to a reduction in operating costs. As shown in a previous work [20] the concentration of RB19 is totally reduced when TOC half-life times are accomplished in all the studied experimental conditions. Consequently, the optimization is performed based on the simultaneous minimization of \({\text{t}}_{{{\text{TOC}}_{1/2} }}\) and [O3].

3 Results and discussion

3.1 Screening experiments

Two groups of controlling runs were made to investigate the eventual effect of pH and UVC radiation separately: (a) Three solutions of RB19 (C°RB19 = 250 ppm) were prepared at different pHs (3, 7, 10) with phosphate buffer and recirculated under normal experimental conditions. In all cases, no degradation was observed for RB19, demonstrating that reaction pH does not affect the stability of the dye; (b) An experimental run (C°RB19 = 99 ppm) was made to evaluate direct photolysis of RB19 (Heareus NNI 40/20 lamps, λ = 253.7 nm). RB19 conversion XRB19=(C°RB19− CRB19)/RB19 was null after 2 h, indicating that direct photolysis of RB19 is negligible for the conditions studied in this research.

3.2 Process optimization in absence of UV radiation

Previous publications [3, 20, 42, 48, 49] have demonstrated that the ozonation process is highly influenced by specific operating variables such as temperature, pH and UV radiation. In this section, the ozonation in absence of UV radiation will be analyzed. A two factor with three levels design was carried out, including three central point replicates (Table 2). All experiments were performed in random order to avoid introducing a bias on the measurements produced by uncontrolled (or external) factors.

Table 2 Design matrix and levels based on the factorial design for O3 process

The eventual objective of RSM is to determine the optimum operating conditions for the system or to determine a region of the factor space in which operating specifications are satisfied [35]. For this study, optimization was related to the achievement of two concurrent objectives: a good removal of pollutants and a reduction in operating costs. Costs are related to concentration of ozone, treatment times and use of pH controlling agents.

To help visualizing the shape of a response surface, the contours of the response surface were plotted. In the contour plot, lines of constant response were drawn in the X1, X2 plane. Each contour corresponds to a particular height of the response surface. The contour plot is helpful in studying the levels of x1 and x2 that result in changes in the shape or height of the response Surface [35]. For this case, it was useful for identifying different combinations of independent variables (O3 and pH) in which satisfactory pollutant removals are achieved, expressed by low half-life of TOC and color.

3.2.1 Half-life time for color and TOC removal models

After applying the Cook’s test [35] to remove the outliers from Table 2, \({\text{t}}_{{{\text{RB}}19_{1/2} }}\) and \({\text{t}}_{{{\text{TOC}}_{1/2} }}\) were fitted to quadratic models (Q1 and Q2, respectively). Multiple regression analysis was used to calculate the model coefficients and the analysis of variance (ANOVA) with 95% confidence level to validate them, resulting in the following expressions:

$$t_{{RB19_{1/2} }} = 1.7288 - 5.700 \times 10^{ - 3} \left[ {\text{O}_{3} } \right] - 0.052pH + 8.422 \times 10^{ - 3} pH^{2}$$
(2)
$$t_{{TOC_{1/2} }} = - 48.945 - 0.287\left[ {\text{O}_{3} } \right] + 46.114pH - 3.574pH^{2}$$
(3)

In both equations, \(\left[ {\text{O}_{3} } \right]^{2}\) and \(\left[ {\text{O}_{3} } \right] \times pH\) terms were not taken into account because them where non-significant, based on their p value greater than 0.05 (Tables 3, 4). The ANOVA for the quadratic polynomials in Eqs. (2) and (3) confirmed the adequacy of the models.

Table 3 Estimated effects, coefficients and ANOVA results for Q1 model
Table 4 Estimated effects, coefficients and ANOVA results for Q2 model

The signs of the factor terms in Eqs. (2) and (3) provide physical significance to the obtained results. For instance, for color removal, Eq. (2) shows that larger O3 concentration values would result in a lower half-life time for discoloration of the dye, demonstrating the importance of its role in the ozonation reaction. Regarding pH effect, the linear term indicates that low pH values result in a shorter half-life time for bleaching. However, the quadratic term presents the opposite effect: it “softens” the effect of the linear term, even causing an increase in the discoloration half-life time for very high pH values. The model is consistent with previous reports [27], where it was observed that the lowest half-life time for discoloration of RB19 corresponds to pH 3. Molecular ozone is a very effective oxidizing agent for discoloration since it attacks conjugated double bonds that are often associated with color in the dye molecule. Decomposition of ozone into hydroxyl radicals was favored at basic conditions, which was initiated by hydroxyl ions (OH). Our results indicate that ozone molecules oxidize chromophore molecules of RB19 more effectively than hydroxyl radical would on these molecules. These results are in concordance with our previous report [20] and with Liu [29], who demonstrated that the bleaching ability of ozone was higher at low pH for certain dyes.

According to Eq. (3), it can be seen that higher O3 concentration values result in a lower half-life time for mineralization of RB19. Regarding pH effect, the quadratic term pH2, which has the higher F value (Table 4) indicates that high pH values result in lower half-life time for TOC removal, due to the increased concentration of non-selective and highly reactive ·OH radicals.

In addition to the regression coefficient, the residuals play an important role in judging model adequacy. A check of the normality assumption could be made by constructing a normal probability plot of the residuals. For Q1 model, Fig. 2a shows normal probability plot of the residuals. If the underlying error distribution is normal, the plot will resemble a straight line, and the normality assumption is satisfied. Figure 2b presents a plot of residuals versus the predicted values. It shows that the residuals are randomly scattered around zero. Figure 2c, d show the proper for TOC removal (Q2 model).

Fig. 2
figure 2

a Normal probability plot of the residuals for Q1. b Residuals versus predicted values plot for Q1. c Normal probability plot of the residuals for Q2. d Residuals versus predicted values plot for Q2

3.2.2 Influence of variables

The overall effects can be observed in Fig. 3. Figure 3a shows the response surface obtained using Q1 model for the ozonation of RB19 solutions in absence of UV radiation. According to the shape of the surface, the lower \({\text{t}}_{{{\text{RB}}19_{1/2} }}\) values are those corresponding to lower pH values and higher \(\left[ {\text{O}_{3}^{g,i} } \right]\). As can be observed, keeping inlet ozone concentration constant (50, 75 or 100 mg L−1 NTP) and increasing pH, \({\text{t}}_{{{\text{RB}}19_{1/2} }}\) becomes higher. On the other hand it can be observed that higher operating ozone concentrations result in lower half-life time values. It can be noticed that lower pH’s would compensate a lower inlet ozone concentration, which is important from an economical point of view. This is due to the control exerted by the pH on the relative concentrations of ozone and hydroxyl radicals. At acidic pH, the presence of molecular ozone is favored, which is the most effective species for the selective removal of the RB19 dye. At alkaline pH, the concentration of molecular ozone decreases by its decomposition into hydroxyl radicals, which must be compensated by an increase in ozone at the entrance, causing a rise in operating costs.

Fig. 3
figure 3

Response Surface of color and TOC removal as function of O3 concentration and pH. a Color removal—Q1 model. b TOC removal—Q2 model. (Circle) Experimental data

The lowest half-life time (1.12 min), which results in the highest decolorization efficiency was achieved for run #7 (pH 3 and O3 = 100 mg L−1 NTP). Conversely, the maximum half-life time (1.76 min, Run #1) was obtained when the highest pH value (10) and lowest ozone concentration (50 mg L−1 NTP) were used. At this pH value, an important decrease (16%) of color half-life time is observed when \(\text{O}_{\text{3}}^{g,i}\) dose is doubled (1.48 min in run #2). The same tendency can be observed when \(\text{O}_{\text{3}}^{g,i}\) is kept at its lowest value and pH is reduced (1.38 min in run #1), but in this case the half life time reduction (22%) is higher. This observation is in accordance with the F values gathered by the ANOVA of Q1 model for pH and O3 (486.96 and 197.77 in Table 3, respectively), showing the higher influence of the former in the model predictions.

In Fig. 3b the effect of ozone concentration and pH on TOC half-life time is shown. It can be observed that half-life time decreases with the increase of ozone concentration. As is also clear from the figure, TOC removal half-life time exhibits a maximum at pH 7 for all the studied \(\text{O}_{\text{3}}^{g,i}\). This could be explained taking into account that low pH values favored color removal, but the generation of the non-selective ·OH radicals becomes more important when pH is raised. The lowest TOC half-life time was observed in run #2 ([O3] = 100 mg L−1 NTP, pH 10). This result could be attributed to the enhanced concentration of ·OH radicals in the solution at high pH values. The highest TOC half-life time is the corresponding to run #9 ([O3] = 50 mg L−1 NTP, pH 7). Although molecular ozone is a powerful oxidant, it is known that it could be insufficient for the oxidation of intermediates resulting from the oxidation of the dye. The lower TOC removals at acidic conditions can be explained by this fact, showing that the most efficient mineralization conditions are those with high O3 concentrations and high pH values, where hydroxyl radicals’ formation is favored.

3.3 Process optimization under UV radiation

Once more, a two factor with three levels design was carried out. The design consisted of 12 experiments with independent combinations of variables, including three central point replicates (Table 5). After removing the outliers, the dye half-life time for decolorization and mineralization were fitted to quadratic models (Q3 and Q4). Multiple regression analysis was used to calculate the model coefficients and the analysis of variance (ANOVA) with 95% confidence level to validate them.

Table 5 Design matrix and levels based on the factorial design for O3/UV process

3.3.1 Half-life time for color and TOC removal models

In order to evaluate the influence of two variables (pH and O3) and to optimize RB19 decolorization and mineralization through the application of the ozonation process with UV radiation (40 W), it was employed a similar methodology that for the case of absence of UV radiation. The application of multiple regression analysis on the experimental conditions resulted in the quadratic models Q3 and Q4 for color and TOC half-life time, respectively:

$$t_{{RB19_{1/2} }} = 1.815 - 5.367 \times 10^{ - 3} \left[ {\text{O}_{3} } \right] - 0.031pH + 6.736 \times 10^{ - 3} pH^{2}$$
(4)
$$t_{{TOC_{1/2} }} = 85.665 - 0.380\left[ {\text{O}_{3} } \right] - 10.909pH + 0.019\left[ {\text{O}_{3} } \right] \times pH + 1.248 \times 10^{ - 3} \left[ {\text{O}_{3} } \right]^{2} + 0.602pH^{2}$$
(5)

In Eq. (4), \(\left[ {\text{O}_{3} } \right]^{2}\) and \(\left[ {\text{O}_{3} } \right] \times pH\) terms were not taken into account because them where non-significant, based on their p value greater than 0.05, while in Eq. (5) all terms were included, according to their p value (Tables 6, 7).

Table 6 Estimated effects, coefficients and ANOVA results for Q3 model
Table 7 Estimated effects, coefficients and ANOVA results for Q4 model

The impact of each independent variable in the oxidation process is attributable directly to its coefficient. From Eq. (4), the negative contribution of O3 to the half-media time for decolorization is observed, while the positive coefficient value of pH2 suggests that higher pH values increase the half-life time of color, such as in Q1 model. From Eq. (5), the negative signs of CO3 and pH coefficients suggest that higher O3 concentrations and pH values reduce the half-life time for TOC removal. But pH2 term has a high F value (Table 7) that indicates that the pH effects exhibits a parabolic shape. The lower mineralization half-life times are those corresponding to pH 7, just the opposite than the observations made in absence of UV radiation. This could be explained taking into account that mineralization is performed by the attack of non-selective ·OH radicals, whose production is favored by high pH values and UV radiation. The presence of UV radiation could compensate pH effects, and consequently the half-life time exhibits a minimum at neutral pH. At pH 3, the effect of O3 concentration is much more marked than at alkaline pH. This indicates that pH and UV radiation could compensate for a decrease on the ozone dose.

The ANOVA for the quadratic polynomials in Eqs. (4) and (5) confirmed the adequacy of the models (Tables 6, 7).

For Q3 model, Fig. 4a shows normal probability plot of the residuals, while Fig. 4b presents a plot of residuals versus the predicted values. It shows that the residuals are randomly scattered around zero. Figure 4c, d show the proper for TOC removal (Q4 model).

Fig. 4
figure 4

a Normal probability plot of the residuals for Q3. b Residuals versus predicted values plot for Q3. c Normal probability plot of the residuals for Q4. d Residuals versus predicted values plot for Q4

3.3.2 Influence of variables

Figure 5a shows that the color removal half-life time decreases with the increase in ozone concentration and the decrease of pH, as was observed for decolorization in absence of UV radiation. The lowest half-life time is reached in the conditions of run # 3 ([O3] = 100 mg L−1 NTP, pH 3). In this case, although the tendencies are similar to those without UV radiation, the reached half-life times are higher, indicating that color removal is favored in absence of UV radiation, in concordance with the observed results regarding pH effect: for the studied dye, molecular ozone is selective and more effective for color removal than ·OH radicals. Predicted and experimental results for the mineralization of RB19 using UV radiation are presented in Fig. 5b, which shows the 3D plot of half-life time for RB19 mineralization as a function of pH and O3 concentration. It is interesting to notice that TOC half-life times are lower in comparison with those required for mineralization in absence of UV radiation. In presence of UV radiation, the formation of non-selective hydroxyl radicals is favored, which results in a significant improvement in the degradation of the reaction intermediaries and therefore, in the mineralization of the solution.

Fig. 5
figure 5

Response surface of color and TOC removal as function of O3 concentration and pH. a Color removal—Q3 model. b TOC removal—Q4 model. (Circle) Experimental data

3.4 Determination of optimal conditions for simultaneous decolorization and mineralization of RB19

The main objective of RSM optimization is to determine the optimum conditions for RB19 decolorization and mineralization minimizing ozone consumption. Optimization was performed from the obtained model through the calculation of the desirability function using Design Expert software. Desirability values close to 1 correspond to points where the proposed objectives are satisfactorily met. The results obtained for the system with and without UV radiation, trying to simultaneously minimize \({\text{t}}_{{{\text{TOC}}_{1/2} }}\) and the inlet ozone concentration are shown in Table 8.

Table 8 Optimized conditions for RB19 discoloration and mineralization

As it is observed, the system with radiation allows to obtain the optimum values of work, reaching values of half-life times for TOC of 28.67 min, while for the system without radiation this value is around 40 min.

Through desirability surface graphics (Fig. 6) areas of high desirability are evaluated, allowing identifying regions of operation where results are optimal, in concordance with the objectives pursued. In this way, a large continuous region of high desirability could be observed in the O3/UV system. According to this observation, it is possible to work in slightly acidic to alkaline conditions and with low inlet ozone concentrations, obtaining a reasonably low value of half-life times for TOC.

Fig. 6
figure 6

Graph of desirability for a system without UV radiation b system with UV radiation

Once the optimization was made, specific experimental runs were performed under these optimized conditions to confirm the agreement between the model and experiments. These results also confirm that half-life time for color and TOC removal were correctly predicted by the model.

Figure 7 shows the experimental results of RB19 and TOC, as a function of time for the experiment performed under the optimized conditions for O3 and O3/UV systems, respectively. It can be seen that in both systems, the total decolorization of the effluent is quickly reached. However, as regards mineralization, the results obtained by ozonation in conjunction with radiation were superior to those of the system without radiation. In the first, a 90% degradation of the TOC was reached at 70 min, while in the second system, a reaction time of 85 min was necessary. This phenomenon is related to the increased concentration of hydroxyl radicals. The addition of UV radiation to the system leads to O3 photolysis producing H2O2, which could react with O3 via hydroperoxide ion or could be photolyzed, producing ·OH radicals in both cases [48]. Hydroxyl radicals are highly reactive species that attack most of the organic molecules due to their high oxidation potential and nonselective nature. Consequently, the UV/O3 system produces additional ·OH radicals, which enhance the mineralization process and consequently decreases TOC half-life time. The study of mineralization is really important because, as demonstrated in our previous work [20], for RB19 ozonation in the first minutes the color is completely degraded, however intermediates of greater toxicity are generated. Lovato [34] observed that when the color was completely degraded, TOC conversion reached 2% and biotoxicity exhibited a maximum of inhibition, becoming 60% higher than the initial toxicity. This implies that there were toxic intermediates present in the solution. Using GC–MS the following compounds were identified: Anthraquinone; phthalic anhydride; phthalimide; phthalic acid, benzoic acid, maleic acid, benzyl alcohol, benzaldehyde, phenol, aniline, oxalic acid and acetic acid. Regarding the toxicity of parent compounds, intermediates and products, some of the identified degradation products of RB19 (especially phenol and aniline) are more toxic than the parent compound. When mineralization reached 95%, the biotoxicity decreased to 26% of the initial toxicity, which corresponds to a 100 min treatment under the optimal conditions found in this work.

Fig. 7
figure 7

Experimental relative concentration versus time for color (square) and TOC (diamond),for the experiment performed at the optimum conditions in the system a with O3 and b with O3/UV

3.5 Comparison between simulation results and experimental data

Figure 8 shows a compendium of the simulation results versus the experimental data, including all the runs performed to carry out this work. In this plot the lines corresponding to the 95% Confidence interval and the 95% Prediction limits are included. It can be seen that for such complex system, the agreement is quite satisfactory.

Fig. 8
figure 8

Experimental values plotted against the predicted values derived from the factorial design resulted equations (Models Q1 to Q4)

4 Conclusions

In this study, response surface methodology (RSM) using two factorial designs was applied to model the ozonation process and to evaluate the effect of important process variables (pH, Ozone concentration, UV radiation) on the decolorization and mineralization half-life time of RB19 anthraquinone dye from aqueous solutions. It was found that color half-life time can be reduced increasing O3 concentration or decreasing pH, and that the presence of UV radiation increases color half-life time. For the case of UV treatment, it can be seen that there is a wide continuous zone under different working conditions, in which one could work obtaining low TOC1/2 values. Conversely, for the treatment without UV, the working zone to obtain low value of half-life time are bounded areas and in the extreme values of O3 and pH. When the goal is to mineralize the solution, the best conditions for decreasing TOC half-life time are high O3 concentrations, high pH values and presence of UV radiation. Based on analyses of variance (ANOVA), four quadratic models were proposed, with high coefficients of determination (R2 = 0.9900, 0.9557, 0.9828 and 0.9994), showing that the experimental data were correctly fitted by the model. The optimum conditions for RB19 mineralization were determined: O3 concentration = 50 mg L−1, pH 8.26 and presence of UV radiation (40 W) and subsequently corroborated by means of a specific experimental run. With this system, the operating conditions can move in a safe working range, with similar optimization results. The obtained results confirm ozonation as a promising alternative for treatment of wastewater with a high content of recalcitrant reactive dyes.