Open Access Article
Aqeela
Sikandar
a,
Abu Bakar
Siddique
*a,
Azhar
Abbas
ab,
Abdul
Majid
c,
Bilal
Sikandar
d,
Muhammad Ashraf
Shaheen
e,
Umar
Nishan
f and
Khaled Fahmi
Fawy
g
aInstitute of Chemistry, University of Sargodha, Sargodha 40100, Pakistan. E-mail: abubakar.siddique@uos.edu.pk; abubakar054@gmail.com
bDepartment of Chemistry, Government Ambala Muslim College, Sargodha 40100, Pakistan
cDepartment of Botany, University of Sargodha, Sargodha 40100, Pakistan
dDepartment of Physics and Applied Mathematics, Pakistan Institute of Engineering and Applied Sciences (PIEAS), Nilore, Islamabad 45650, Pakistan
eDepartment of Allied Health Sciences, Superior University Lahore, Pakistan
fDepartment of Chemistry, Kohat University of Science and Technology, Kohat, 26000 KP, Pakistan
gDepartment of Chemistry, Faculty of Science, Research Center for Advanced Materials Science (RCAMS), King Khalid University, P.O. Box 960, Abha 61421, Saudi Arabia
First published on 11th November 2025
This study presents the synthesis of gallic acid-capped zinc oxide nanoparticles (g-ZnO NPs), nickel oxide nanoparticles (g-NiO NPs), and their Z-scheme heterojunction nanocomposites (g-ZnO-NiO NCs) using a green approach with gallic acid as the reducing agent. Structural, morphological, and elemental analyses confirmed nanoscale crystallinity and uniform distribution, with effective ZnO–NiO coupling in the composite. XRD analysis revealed the minimum crystallite size of g-ZnO-NiO NCs (11.82 nm) in comparison to g-ZnO NPs (28.24 nm) and g-NiO NPs (17.93 nm). Photocatalytic performance was assessed for the degradation of crystal violet (CV) and Congo red (CR) dyes under solar light. Kinetic studies showed that g-ZnO-NiO NCs exhibited the highest degradation efficiencies (95% for CV and 92% for CR), with rate constant values (2.84 × 10−2 min−1 for CV and 2.56 × 10−2 min−1 for CR) significantly higher than those of individual g-ZnO and g-NiO NPs. The enhanced activity was attributed to efficient charge separation through a Z-scheme mechanism, facilitating the generation of ˙O2− and ˙OH radicals. Parameters such as pH, catalyst dose, dye concentration, and radical scavengers were optimized, confirming the role of reactive oxygen species in degradation process. Total organic carbon (TOC) analysis indicated significant mineralization (84% and 80% of CV and CR, respectively), and reusability tests showed high stability with a meager decrease of activity (∼6%) over five cycles. Machine learning models, including Decision Tree, Random Forest, and ANN, accurately predicted the photocatalytic degradation process. The antioxidant assay results depicted the higher efficiency of g-ZnO-NiO NCs than pristine NPs and gallic acid, assessed by DPPH, TPC, and FRAP assays. Conclusively, it was emphasized that the g-ZnO-NiO heterojunction is a promising, sustainable photocatalyst for organic pollutant removal under solar irradiation and has better antioxidant potential than g-ZnO NPs, g-NiO NPs, and gallic acid.
A major challenge with photocatalysis is that photogenerated electron–hole (e−/h+) pairs recombine very quickly, which reduces quantum efficiency and the formation of reactive species at a drastic rate.12 Several studies have investigated methods to alleviate this issue, such as metal or nonmetal doping to create charge traps, oxygen vacancies, noble metal deposition, Type-II heterojunctions for spatial charge separation, and integration with carbon-based materials like g-C3N4 or graphene to enhance electron transport efficiency.13,14 However, these often impact redox potential. The Z-scheme heterojunction overcomes this problem by imitating natural photosynthesis. It allows low-energy carriers to selectively recombine while keeping apart the highly oxidative holes and strongly reductive electrons. This improves charge separation, keeps redox activity constant, and boosts photocatalytic and biomedical performance. Therefore, the fabrication of heterojunctions between various semiconductors has garnered interest for its potential to enhance charge separation (e/h pairs) and augment photocatalytic performance.15–18 The fabrication of Z-scheme heterojunctions can be carried out using various metal oxide NPs, like ZnO NPs and NiO NPs. In these NCs, the Z-scheme mechanism effectively maintains the robust redox potentials of both components while promoting efficient charge carrier separation, hence enhancing photocatalytic activity dramatically.19,20
In addition to photocatalysis, metal-based nanomaterials have also been reported for use in various fields, such as sensing biomolecules,21 drug delivery,22 hydrogen energy production,23 iodine capture,24 and biomedical applications.25 The physicochemical properties and stability of nanomaterials for various applications are mainly determined by the nature of the nanomaterials and their surface functionalities. Generally, NPs and NCs synthesized via green methods are reported to be more stable and selective in their functions. Hence, several biomolecules have been used to synthesize NPs and improve their properties. In this regard, green synthesis employing plant-derived biomolecules such as gallic acid (GA) offers a sustainable alternative to conventional chemical methods.26 Gallic acid, a naturally occurring polyphenol, is used in various biological applications as a bioactive agent or to improve the properties of biological agents by synergistic effects. For example, GA has been reported to enhance the antifungal properties of econazole in the form of a salt (econazolium–gallate–econazole)27 and functions as both a reducing and a capping agent, contributing to increased surface stability, less agglomeration, and enhanced antioxidant and photocatalytic activity of the nanoparticles. GA capping also introduces surface functional groups that may contribute to dye adsorption, degradation pathways, and antioxidant applications.28 Strong antioxidant activity is believed to be produced by the metal core through redox reactions, which interfere with free radicals and produce reactive oxygen species (ROS). However, the antioxidant potential is also increased due to the synergistic effect between NPs and GA. When combined, these NPs show strong antioxidant activity, which makes them attractive options for use in environmental protection, wound healing, and medicine.29,30
Optimization of degradation parameters may involve much time and resources via typical experimental approaches. By enabling the forecasting and analysis of complicated correlations between reaction conditions and degradation consequences, machine learning (ML) offers a strong alternative.31 Machine learning models, such as Decision Trees, Artificial Neural Networks (ANN), and Random Forests, are very useful for improving complex systems because they can find hidden patterns and make accurate predictions. Decision Trees make it easier to understand how different factors affect decisions by showing how decisions are made visually. Artificial Neural Networks are great at capturing complicated, non-linear interactions, so they work well with data that has complicated patterns. By combining many decision trees, Random Forest makes predictions more accurate and reliable, reduces overfitting, and improves generalisation. These models work together to make photodegradation processes better, making sure that decisions are made quickly and accurately in challenging situations.32,33
Although the green synthesis of monometallic NPs using GA capping has been reported in the literature, the GA-based green synthesis of NCs has been studied scarcely. Therefore, in this study, the first-time synthesis of GA-capped ZnO–NiO NCs has been reported for improved photocatalytic and antioxidant potential. The GA-capped pristine ZnO NPs and NiO NPs, and g-ZnO-NiO NCs have been analyzed for photocatalytic efficacy to degrade CV and CR dyes under visible light irradiation. Owing to the superior activity of the g-ZnO-NiO NCs based on the development of a Z-scheme heterojunction, the effects of reaction parameters, pH, catalyst dose, initial dye concentration, and radical scavengers were also examined and optimized using ML tools. Various ML models were employed, like Decision Tree, Artificial Neural Network, and Random Forest, to train, validate, and predict the reaction parameters. The article demonstrates the dual role of gallic acid in NP production and performance enhancement, contributing to the development of sustainable materials for environmental cleanup.
GA-capped nickel oxide nanoparticles (g-NiO NPs) were synthesized by mixing the nickel nitrate hexahydrate solution (0.67 M, 1.95 g/10 mL) with the GA solution (0.1 M, 0.17 g/10 mL) following the same procedure and conditions described above.
For the preparation of g-ZnO-NiO NCs, the separately prepared solutions of Zn(NO3)2·6H2O (0.67 M, 2 g/10 mL) and Ni(NO3)2·6H2O (0.67 M, 1.94 g/10 mL) were mixed, followed by the addition of GA solution (0.2 M, 0.34 g/10 mL) and adjusting the pH at 9 by adding 0.1 M NaOH with a constant stirring rate at 85 °C. After 2 hours, the precipitates were filtered off and calcined at 350 °C for 3 hours. The dark brownish color precipitates of g-ZnO-NiO NCs were collected and stored for further use.
![]() | (1) |
To evaluate the initial dye concentration effect on degradation, dye solutions with concentrations of 10, 20, 30, 40, and 50 ppm were prepared. Each sample solution (20 mL) was mixed with 50 mg of the photocatalyst and stirred in the dark for 20 minutes to establish adsorption–desorption equilibrium. The mixtures were then exposed to sunlight and dye degradation was monitored spectrophotometrically.
To study the effect of catalyst dosage, varying amounts of the synthesized nanocatalyst (5–70 mg/20 mL) were added to a 10 ppm solution of each dye. The same procedure as described above was used to evaluate the degradation efficiency of each batch reaction.
To examine the role of dominant ROS in the photocatalytic process on the surface of the nanocatalyst, different radical scavengers were used: isopropanol (IPA) for hydroxyl radicals (˙OH), p-benzoquinone (p-BQ) for superoxide radicals (˙O2−), Na2EDTA for photogenerated holes (h+), and L-ascorbic acid for hydrogen peroxide (H2O2). Each scavenger (1 mM, 10 mL) was added to the dye–catalyst suspension before exposure to sunlight. The same procedure as described above was used to evaluate the degradation efficiency of each batch reaction.
Three regularly used error metrics – the mean absolute error (MAE), the root mean square error (RMSE), and the coefficient of determination (R2) – were then used to evaluate the prediction effectiveness of these models. After defining the evaluation metrics, the structural operations of the applicable ML models are described to allow a better comprehension of their structures.
ANN modelling is considered a better option over traditional models, like regression or response surface models, because it does not depend on predefined functional relationships and can accurately model systems that are nonlinear, multidimensional, and very interactive. Also, ANNs learn directly from data, which makes them more accurate at predicting things, more adaptable to new situations, and more flexible in experimental fields that are complicated or unclear.35 The ANN (MLP Regressor) workflow comprises an output layer that predicts the target variable, one or more hidden layers that conduct nonlinear transformations, and an input layer that receives the data. To reduce the disparity between anticipated and experimental values, the network learns by altering its weights using backpropagation. This design (Fig. 2) permits the modelling of the dataset's complicated and nonlinear interactions.
The Decision Tree model (Fig. 3) separates the information continually depending on feature values to minimize prediction error at each node. While core nodes represent decision rules generated from the input features, leaf nodes give the final predicted values. This format makes it easy to comprehend how features affect the target variable.
![]() | ||
| Fig. 3 The Decision Tree Regressor's workflow, illustrating the hierarchical structure of the decision nodes and leaves. | ||
Similarly, the XRD pattern of the g-NiO NPs exhibited prominent peaks at 2θ values of around 37.2°, 43.3°, 62.8°, 75.4°, and 79.4°, which are indexed to the (111), (200), (220), (311), and (222) planes of the cubic phase of NiO, confirming successful synthesis of phase-pure NiO NPs, as shown in Fig. 4(i). These peaks correspond to the standard JCPDS Card No. 04-0835 and indicate a well-crystallized structure of g-NiO NPs.40
For the g-ZnO-NiO NCs, the XRD pattern (Fig. 4(iii)) demonstrated a combination of diffraction peaks from both ZnO NPs and NiO NPs, validating the formation of a binary nanocomposite. The presence of distinct peaks from both components suggests that g-ZnO NPs and g-NiO NPs retained their respective crystalline structures without forming any secondary phases, supporting the successful fabrication of a heterojunction system. The coexistence of hexagonal ZnO and cubic NiO in the composite structure is essential for the formation of a Z-scheme heterojunction, which is beneficial for enhanced photocatalytic performance.
The crystallite characteristics of the nanomaterials were estimated using eqn (2)–(4), as illustrated in the literature.41–44 The values of crystallite parameters are displayed in Table 1. The crystallite characteristics of g-ZnO NPs, g-NiO NPs, and g-ZnO-NiO NCs revealed distinct structural differences that significantly influence their potential applications. The g-ZnO NPs possessed the largest crystallite size (28.24 nm), accompanied by the lowest dislocation density (1.25 × 10−3 nm−2) and microstrain (0.42 × 10−3), indicating a more stable and less defective crystal structure. In contrast, the g-NiO NPs exhibited a smaller crystallite size (17.93 nm) along with a higher dislocation density (3.11 × 10−3 nm−2) and microstrain (0.62 × 10−3), suggesting a greater concentration of structural defects and internal strain relative to ZnO. The g-ZnO-NiO nanocomposites (NCs) displayed the smallest crystallite size (11.82 nm) and the highest dislocation density (7.06 × 10−3 nm−2) and microstrain (1.50 × 10−3), reflecting pronounced lattice distortions at the ZnO–NiO interface. Such an increase in structural imperfections and strain within the NCs indicated a highly reactive surface, which can enhance catalytic activity, charge carrier separation, and overall reactivity in applications such as photocatalysis and sensing. Consequently, the synthesis of g-ZnO-NiO NCs resulted in a defect-rich material with promising potential for advanced technologies that benefit from elevated surface activity.
![]() | (2) |
![]() | (3) |
![]() | (4) |
| Nanomaterial | Crystallite size (nm) | Dislocation density (θ × 10−3) (nm−2) | Microstrain (ε ×10−3) |
|---|---|---|---|
| g-ZnO NPs | 28.24 | 1.25 | 0.42 |
| g-NiO NPs | 17.93 | 3.11 | 0.62 |
| g-ZnO-NiO NCs | 11.82 | 7.06 | 1.50 |
O stretching vibration, confirming the presence of carboxyl groups from GA, which play a crucial role in stabilizing and capping the nanoparticles. Bands appearing in the region of 500–700 cm−1 were associated with metal–oxygen (M–O) vibrations: Zn–O in the case of g-ZnO NPs, Ni–O for g-NiO NPs, and both for g-ZnO-NiO NCs.45,46 Some additional bands (1000–600 cm−1) in the FTIR spectra might be attributed to the presence of Zn–O–Zn and Ni–O–Ni bonds in the nanostructures, as supported by the literature.46,47 The successful incorporation of these functional groups confirmed that GA not only acted as a reducing agent but also as a stabilizing agent during green synthesis.
![]() | ||
| Fig. 5 (a) Comparative FTIR spectra of gallic acid, g-ZnO NPs, g-NiO NPs, and g-ZnO-NiO NCs, (b) ZP of g-ZnO NPs, (c) ZP of g-NiO NPs, and (d) ZP of g-ZnO-NiO NCs. | ||
Zeta potential analysis (Fig. 5b–d) was conducted to evaluate the surface charge and colloidal stability of the synthesized nanostructures. The measured zeta potentials were −31.25 mV for g-ZnO NPs, −25.92 mV for g-NiO NPs, and −30.09 mV for the g-ZnO-NiO NCs. These significantly negative values indicated good colloidal stability and strong electrostatic repulsion among particles, which prevents agglomeration. The high surface charge was primarily attributed to the presence of ionizable groups from gallic acid, confirming effective capping. Notably, the slightly lower zeta potential of the g-NiO NPs compared to g-ZnO NPs suggested a variation in surface interaction between GA and metal oxide surfaces. The g-ZnO-NiO NCs exhibited a zeta potential value close to that of g-ZnO, indicating stable composite formation with retained surface charge characteristics, which contributes to enhanced dispersion and photocatalytic performance.
![]() | ||
| Fig. 6 (a) UV-vis spectrum of g-NiO NPs (i), g-ZnO NPs (ii), and g-ZnO-NiO NCs (iii), (b) Tauc plot of g-ZnO NPs, (c) Tauc plot of g-NiO NPs, and (d) Tauc plot of g-ZnO-NiO NCs. | ||
Tauc plot analysis further validated the optical properties by calculating the band gaps of the synthesized nanomaterials.49 The Tauc plot of the sample was plotted utilizing eqn (5), where α, h, ν, and B denoted the molar extinction coefficient, Planck's constant, frequency, and proportionality constant, and n represents the nature of electron transition (n = 1/2) for direct transitions.
![]() | (5) |
The g-ZnO NPs (Fig. 6b) exhibited a direct band gap of 3.15 eV, while g-NiO NPs (Fig. 6c) showed a slightly narrower band gap of 2.78 eV, indicating better absorption in the visible range. Importantly, the g-ZnO-NiO NCs (Fig. 6d) demonstrated a reduced band gap of 2.90 eV, falling between that of pure g-ZnO NPs and g-NiO NPs. The narrowing of the band gap in the NCs was due to the two metal oxides working together, which makes it easier to separate charges and increases photocatalytic efficiency. Conclusively, the optical characterization supported that the incorporation of NiO with ZnO not only improves visible light responsiveness but also optimizes the electronic structure through the formation of a Z-scheme heterojunction. This made the g-ZnO-NiO NCs a promising candidate for efficient solar-driven photocatalytic applications.
In the SEM images, g-ZnO NPs (Fig. 7a) appeared as agglomerated granular particles with a relatively uniform distribution. Their corresponding particle size distribution histogram (Fig. 7b) showed an average size of 78.9 ± 12.3 nm, indicating moderate uniformity in NP dimensions. The EDX spectrum (Fig. 7c) confirmed the presence of Zn and O as major elements, validating the formation of g-ZnO NPs with high purity.
The g-NiO NPs (Fig. 7d) exhibit a slightly more irregular morphology with dense packing of the particles. The particle size distribution histogram (Fig. 7e) showed a wider range of particle sizes, with an average size of 86.6 ± 16.1 nm. EDX analysis (Fig. 7f) showed strong peaks for Ni and O, as well as weak signals for Cl, Na, Si, S, and Ca. These weak signals might have occurred due to trace impurities.
The SEM image of the g-ZnO-NiO NCs (Fig. 7g) showed a more compact, embedded shape that is typical of NCs. The histogram of particle size distribution (Fig. 7h) showed that the average size was 75.5 ± 16.7 nm, which means that both oxides were successfully combined at the nanoscale. The EDX spectrum (Fig. 7i) displays distinct peaks for Zn, Ni, and O, affirming the successful synthesis of the composite material containing both ZnO and NiO phases.
The kinetics of the degradation reaction were studied using the Langmuir–Hinshelwood mechanism (eqn (6)), which demonstrates the dependence of the rate constant on the concentration of the pollutant and surface coverage of the catalyst.51
![]() | (6) |
![]() | (7) |
On integration,
![]() | (8) |
![]() | ||
| Fig. 9 Effect of (a) pH, (b) catalyst dosage, (c) initial dye concentration, and (d) radical scavengers on dye degradation. | ||
Catalyst dosage also had a pronounced effect on dye degradation, as shown in Fig. 9b. An increase from 5 mg to 50 mg improved degradation efficiency, attributed to the availability of more active sites for dye adsorption, photon absorption, and reactive species generation, as described in the literature.54 Beyond 50 mg, a marginal decrease occurred, likely due to excessive turbidity and light scattering, which reduced light penetration and photon utilization efficiency.55
The initial dye concentration study (Fig. 9c) revealed that the highest removal rates occurred at 10 ppm (95% CV, 92% CR). Generally, the rate of removal of pollutants increases with an increase in concentration due to an increase in collisional probability between pollutant molecules and catalysts. However, after optimal concentration, the degradation efficiency is decreased due to the turbidity of the solution in photocatalytic systems.56,57 Therefore, the increase of dye concentration from 10 ppm to 50 ppm decreased degradation efficiency. This reduction is ascribed to increased competition of dye molecules for active sites and reduced light transmittance in more concentrated solutions, leading to lower reactive radical generation per dye molecule. Similar trends have been reported for other semiconductor photocatalysts.49
Radical scavenger experiments (Fig. 9d) provided mechanistic insights into the degradation pathway.58 Addition of L-ascorbic acid (L-AA, an O2˙− scavenger) reduced degradation to ∼59% (CV) and ∼57% (CR), while Na2EDTA (a hole scavenger) caused the most significant decrease (∼43% CV, ∼38% CR), indicating that photogenerated holes (h+) played a dominant role. Isopropanol (˙OH scavenger) and p-benzoquinone (p-BQ, O2˙− scavenger) also reduced efficiency, confirming that both hydroxyl radicals and superoxide radicals participate in dye degradation. The pronounced effect of Na2EDTA suggests that the Z-scheme heterojunction of g-ZnO-NiO NCs effectively preserves high oxidation potential in the valence band of NiO, enabling hole-driven generation of ˙OH radicals.
To further verify the generation of ROS and electron transfer in NCs, the band edge positions of g-ZnO NPs and g-NiO NPs were calculated using the Butler-Ginley method (explained in Supplementary Information S3), which revealed that both oxides possess valence bands sufficiently positive to drive oxidative processes, while their conduction bands have relatively positive potentials for superoxide generation. g-ZnO NPs, with a band gap of 3.14 eV, exhibited valence and conduction band potentials of approximately +2.86 V and −0.28 V vs. NHE, respectively. In contrast, g-NiO NPs, with a narrower band gap of 2.78 eV, showed corresponding potentials of +2.49 V and −0.29 V vs. NHE. These positive valence band positions exceed the oxidation potential of the hydroxyl radical formation reaction (OH˙/OH− ≈ +2.44 V vs. NHE at pH 7), enabling photogenerated holes to oxidize surface hydroxyl ions or water molecules to highly reactive OH˙ radicals. However, since their conduction band potentials are more positive than −0.33 V vs. NHE, the threshold required to reduce molecular oxygen to superoxide radicals (O2˙−), the photogenerated electrons in both g-ZnO NPs and g-NiO NPs lack sufficient reducing power to initiate this reaction. Consequently, under illumination, these materials predominantly facilitate oxidative pathways involving h+ and OH˙ generation, while the formation of superoxide radicals remains thermodynamically unfavorable. However, from the experimental results (Fig. 9d), it can be observed that all the ROS, including O2˙−, were produced on the interface of g-ZnO-NiO NCs that strongly supported the appropriate band alignment of the oxides in the NCs.
Based on radical scavenging experiments, a Z-scheme mechanism of electron transfer was proposed in the g-ZnO-NiO NCs, as shown in Fig. 10. The proposed Z-scheme mechanism involved solar-light-induced excitation of electrons, generating electron–hole pairs in NCs, and the electrons from the CB of one material are transferred to the VB of other materials, resulting in the better charge separation of electrons in the CB of the 2nd material and h+ in the VB of the 1st material.35,59,60 In the heterojunction, photogenerated electrons in the CB of ZnO recombine with photogenerated holes in the VB of NiO at the interface. This selective recombination results in the highly reducing electrons in the CB of NiO (ECB more negative) and the strongly oxidizing h+ in the VB of ZnO (EVB more positive). The retained electrons in NiO can effectively reduce dissolved oxygen to ˙O2−, while the holes in ZnO oxidize water or hydroxide ions to hydroxyl radicals (˙OH). These ROS act synergistically to break down dye molecules into smaller, less toxic products, leading to effective mineralization. Hence, the optimal photocatalytic performance at pH 8, 50 mg catalyst dose, and 10 ppm dye concentration, combined with ROS results, confirmed that the degradation mechanism followed a Z-scheme charge transfer pathway, where synergistic action of h+, O2˙−, and ˙OH radicals drives efficient breakdown of CV and CR dyes under solar irradiation. The proposed degradation mechanism is illustrated in Supplementary Information S4. Briefly, the degradation mechanism of azo dyes on g-ZnO-NiO NCs under sunlight occurs via a Z-scheme photocatalytic route involving the following steps. Firstly, on exposure to solar irradiation, both g-ZnO NPs and g-NiO NPs absorb photons, resulting in the generation of e−/h+ pairs. These active charge carriers then drive a chain of redox reactions at the catalyst surface. The h+ in ZnO's VB oxidize adsorbed water or hydroxyl ions to produce ˙OH and hydronium ions, while the electrons in NiO's CB convert O2 to O2˙−. The O2˙− can further change into hydroperoxyl radicals (HO2˙) and hydrogen peroxide (H2O2), which break down into more ˙OH radicals, intensifying the oxidative environment. These ROS, along with direct hole oxidation, attacked the dye molecules. This resulted in intermediate intermediates, and in the end, the dye was fully mineralized into CO2 and H2O. So, the synergistic charge transfer in the g-ZnO-NiO NCs enhanced carrier separation, maintained simultaneous oxidation and reduction events, and explained why azo dyes break down so well in sunlight.
| Model | Training set | Testing set | ||||
|---|---|---|---|---|---|---|
| R2 | RMSE | MAE | R2 | RMSE | MAE | |
| Decision Tree | 0.981 | 2.162 | 1.427 | 0.917 | 4.588 | 4.222 |
| Random Forest | 0.958 | 3.243 | 2.729 | 0.793 | 7.180 | 5.637 |
| ANN | 0.983 | 2.033 | 1.458 | 0.904 | 4.898 | 4.178 |
To further verify the model's reliability, predictions were examined under the optimized conditions (catalyst dose: 50 mg, pH: 8, and initial concentration: 10 ppm) to assess the accuracy of the decision tree model. Table 3 illustrates a comparison of the predicted and experimentally observed degradation efficiencies of CV and CR dyes under optimized pH conditions utilizing the decision tree model. The model demonstrated robust predictive accuracy, exhibiting a minimal difference of 1.5% between projected and actual values for both dyes, hence affirming its dependability in forecasting photocatalytic degradation performance.
| Dye | Predicted value (%) | Actual value (%) | Difference (%) |
|---|---|---|---|
| CV | 93.50 | 95.00 | 1.50 |
| CR | 93.50 | 92.00 | 1.50 |
To better demonstrate the predictability of the highest-performing as well as second-best model, an actual vs. predicted degradation graphs were also plotted, as shown in Fig. 11a (Decision Tree model) and Fig. 11b (ANN model).
![]() | ||
| Fig. 11 Actual vs. predicted degradation efficiency (%) plots of the best-performing models for the pH optimization: (a) Decision Tree model, (b) ANN model. | ||
To analyze the effect of catalyst dose, the catalyst dose was changed in the range of 5–70 mg, while keeping the other parameters constant. The dataset has 16 rows and 6 columns, with the dose of the catalyst changed and all the other parameters kept constant. Table S2 presents an overview of the dataset used for this case, displaying sample rows of doses of the catalyst, associated fixed conditions, and experimental degradation results. The comparison of the models' performance is illustrated in Table S3 and Fig. S2, which shows the best fitting of the decision tree model. Table 4 showed the comparison of predicted and observed degradation efficiencies of CV and CR dyes under optimized catalyst dose settings, as ascertained by the decision tree model. The findings indicated that the model closely aligns with experimental results, exhibiting slight deviations of 4.25% for CV and 1.25% for CR. This minor variation signifies that the model accurately reflects the impact of catalyst dosage on dye degradation performance, exhibiting commendable prediction accuracy and reliability.
| Dye | Predicted value (%) | Actual value (%) | Difference (%) |
|---|---|---|---|
| CV | 90.75 | 95.00 | 4.25 |
| CR | 90.75 | 92.00 | 1.25 |
To better demonstrate the predictability of the highest-performing (decision tree) as well as second-best models (random forest) for catalyst optimization, an Actual vs. Predicted graph were also plotted for each value, as shown in Fig. 12a (Decision Tree model) and Fig. 12b (Random Forest model).
![]() | ||
| Fig. 12 Actual vs. predicted degradation efficiency (%) plots of the best-performing models for the catalyst optimization: (a) Decision Tree model, (b) Random Forest model. | ||
Similarly, for the machine learning modelling of the initial dye concentration (ppm), the parameters, i.e., pH and catalyst dosage, were kept constant. The data set comprises 10 rows with 6 columns, out of which the initial dye concentration was changed while the rest of the parameters were kept constant. Table S4 shows the preview of the data set utilized for this case, depicting sample rows of the initial dye concentration, corresponding conditions, and experimental degradation outcomes. The performance of the models is shown in Table S5 and Fig. S3, which shows the best fitting of the ANN (MLP) model. At optimized dye concentration, the degree of agreement between predicted and actual values is depicted in Table 5. The ANN model demonstrated excellent predictive performance, with minimal differences of 1.16% for CV and 0.10% for CR, indicating a high level of accuracy and strong correlation between predicted and experimental degradation efficiencies.
| Dye | Predicted value (%) | Actual value (%) | Difference (%) |
|---|---|---|---|
| CV | 93.84% | 95.00% | 1.16% |
| CR | 91.90% | 92.00% | 0.10% |
To better demonstrate the predictability of the highest-performing (ANN) as well as second-best (decision tree) models for the initial dye concentration optimization, an actual vs. predicted graph were also plotted for each value, as shown in Fig. 13a (ANN model) and Fig. 13b (Decision Tree model).
![]() | ||
| Fig. 13 Actual vs. predicted degradation efficiency (%) plots of the best-performing models for the initial dye concentration: (a) ANN model, (b) Decision Tree model. | ||
![]() | ||
| Fig. 14 (a) Extent of mineralization of dye molecules by TOC analysis and (b) reusability studies of g-ZnO-NiO NCs. | ||
The reusability of g-ZnO-NiO NCs was evaluated through five successive photocatalytic cycles for the degradation of CV and CR (Fig. 14b). Only a slight reduction in efficiency was noted, with CV removal decreasing from 95% to 89% and CR removal from 92% to 86% after the 5th run. This minor decline in activity is likely due to partial catalyst loss during recovery, surface contamination from adsorbed intermediates, or slight alterations in surface active sites. Despite this, the strong retention of photocatalytic performance across multiple cycles underscores the excellent stability and durability of the GA-capped Z-scheme NCs, affirming their potential for real-world wastewater treatment applications.
![]() | ||
| Fig. 15 Antioxidant activity results of g-ZnO NPs, g-NiO NPs, and g-ZnO-NiO NCs by: (a) TPC assay, (b) FRAP assay, and (c) DPPH assay. | ||
Supplementary information is available. See DOI: https://doi.org/10.1039/d5na00827a.
| This journal is © The Royal Society of Chemistry 2026 |