Submitted:
30 June 2025
Posted:
01 July 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Methodology of the Experimental
2.1. General Procedure
2.2. Materials and Equipment
3. Experimental Design Based on Full Factorial and Modeling
3.1. Full Factorial
3.2. Machine Learning Algorithms
3.3. Model Evaluation
4. Results and Discussion
4.1. Rejection
4.2. Flux
4.3. An Analysis Of Variance (ANOVA)
4.4. Response Optimization Model
4.5. Validation of Predicted Results with Experimental Data Using Machine Learning
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| ANOVA | Analysis Of Variance |
| ANN | Artificial neural networks |
| CFV | Crossflow Velocity |
| R2 | Coefficient of determination |
| CI | Confidence interval |
| DT | Decision Tree |
| DI | Deionized water |
| EC | Electric conductivity |
| ML | Machine Learning |
| NF | Nanofiltration |
| NRC | Nutrient Requirements of Beef Cattle |
| RO | Reverse Osmosis |
| RF | Random Forest |
| RMSE | Root mean square error |
| SRC | Saskatchewan Research Council |
| TMP | Trans-Membrane Pressure |
| UF | Ultrafiltration |
| VFD | Variable frequency diver |
| WHO | World Health Organization |
References
- Penner, G.B., Johnson, J.A., Sutherland, B.D., Clark, L.P., Elford, C.J.: Effects of drinking water sulfate concentrations on feed and water intake, growth, and serum mineral concentrations in growing beef heifers1. Appl. Anim. Sci. 36, 201–207 (2020). [CrossRef]
- NRC: Nutrient Requirements of Beef Cattle. Seventh Revised Edition: Update 2000. National Academy of Sciences. (2000).
- Harper, G.S., King, T.J., Hill, B.D., Harper, C.M.L., Hunter, R.A.: Effect of coal mine pit water on the productivity of cattle. II. Effect of increasing concentrations of pit water on feed intake and health. Aust. J. Agric. Res. 48, 155–164 (1997). [CrossRef]
- Weeth, H.J., Hunter, J.E.: Drinking of sulfate-water by cattle. J. Anim. Sci. 32, 277–281 (1971). [CrossRef]
- Embry, L.B., Hoelscher, M.A., Wahlstrom, R.C., Carlson, C.W.: Salinity and Livestock Water Quality. South Dakota State University Bulletins. 5–8 (1959).
- Grout, A.S., Veira, D.M., Weary, D.M., Von Keyserlingk, M.A.G., Fraser, D.: Differential effects of sodium and magnesium sulfate on water consumption by beef cattle. J. Anim. Sci. 84, 1252–1258 (2006). [CrossRef]
- Morris, M.E., Leroy, S., Sutton, S.C.: Absorption of magnesium from orally administered magnesium sulfate in man. Clin. Toxicol. 25, 371–382 (1987). [CrossRef]
- Cocchetto, D.M., Levy, G.: Absorption of orally administered sodium sulfate in humans. J. Pharm. Sci. 70, 331–333 (1981). [CrossRef]
- Paterson, D.W., Wahlstrom, R.C., Libal, G.W., Olson, O.E.: Effects of sulfate in water on swine reproduction and young pig performance. J. Anim. Sci. 49, 664–667 (1979). [CrossRef]
- Darbi, A., Viraraghavan, T., Jin, Y.C., Braul, L., Corkal, D.: Sulfate removal from water. Water Qual. Res. J. 38, 169–182 (2003). [CrossRef]
- Nariyan, E., Wolkersdorfer, C., Sillanpää, M.: Sulfate removal from acid mine water from the deepest active European mine by precipitation and various electrocoagulation configurations. J. Environ. Manage. 227, 162–171 (2018). [CrossRef]
- Bolton & Menk Inc, and Barr Engineering Company: Analyzing Alternatives for Sulfate Treatment in Municipal Wastewater, Minnesota Pollution Control Agency (2018).
- Barredo-Damas, S., Alcaina-Miranda, M.I., Iborra-Clar, M.I., Bes-Piá, A., Mendoza-Roca, J.A., Iborra-Clar, A.: Study of the UF process as pretreatment of NF membranes for textile wastewater reuse. Desalination. 200, 745–747 (2006). [CrossRef]
- Lau, W.J., Ismail, A.F.: Polymeric nanofiltration membranes for textile dye wastewater treatment: Preparation, performance evaluation, transport modelling, and fouling control- a review.Desalination. 245, 321–348 (2009). [CrossRef]
- Reis, B.G., Araújo, A.L.B., Vieira, C.C., Amaral, M.C.S., Ferraz, H.C.: Assessing potential of nanofiltration for sulfuric acid plant effluent reclamation: Operational and economic aspects. Sep. Purif. Technol. 222, 369–380 (2019). [CrossRef]
- Jadhav, S. V., Marathe, K. V., Rathod, V.K.: A pilot scale concurrent removal of fluoride, arsenic, sulfate and nitrate by using nanofiltration: Competing ion interaction and modelling approach. J. Water Process Eng. 13, 153–167 (2016). [CrossRef]
- Krieg, H.M., Modise, S.J., Keizer, K., Neomagus, H.W.J.P.: Salt rejection in nanofiltration for single and binary salt mixtures in view of sulphate removal. Desalination. 171, 205–215 (2005). [CrossRef]
- Khademi, A.: Improvement of Operational Performance of Submerged Membrane Photocatalytic Ultrafiltration for Industrial Oily Wastewater Treatment using AL / ML Technique and Statistical Optimization Methodology. Master's Thesis , École de Technologie Supérieure, Montreal, Canada (2023).
- Dansawad, P., Li, Y., Li, Y., Zhang, J., You, S., Li, W., Yi, S.: Machine learning toward improving the performance of membrane-based wastewater treatment: A review. Adv. Membr. 3, 100072 (2023). [CrossRef]
- Quezada, C., Estay, H., Cassano, A., Troncoso, E., Ruby-Figueroa, R.: Prediction of permeate flux in ultrafiltration processes: A review of modeling approaches. Membranes (Basel). 11, (2021). [CrossRef]
- Zoubeik, M., Echakouri, M., Henni, A., Salama, A.: Taguchi Optimization of Operating Conditions of a Microfiltration Alumina Ceramic Membrane and Artificial Neural-Network Modeling. J. Environ. Eng. 148, (2022). [CrossRef]
- Echakouri, M., Henni, A., Salama, A.: A Novel Modeling Optimization Approach for a Seven-channel Titania Ceramic Membrane in an Oily Wastewater Filtration System Based on Experimentation, Full Factorial Design, and Machine Learning A Novel Modeling Optimization Approach for a Seven-Channel. Membranes (Basel) 14 (9), 199 (2024).
- Schmitt, F., Banu, R., Yeom, I.T., Do, K.U.: Development of artificial neural networks to predict membrane fouling in an anoxic-aerobic membrane bioreactor treating domestic wastewater. Biochem. Eng. J. 133, 47–58 (2018). [CrossRef]
- Al Mehrate, J., Shaban, S., Henni, A.: A Review of Sulfate Removal from Water Using Polymeric Membranes. Membranes (Basel). 15 (1), 17, (2025). [CrossRef]
- Saskatchewan Ministry of Agriculture: livestock and water quality. https://www.saskatchewan.ca/business/agriculture-natural-resources-and-industry/agribusiness-farmers-and-ranchers/livestock/livestock-and-water-quality/livestock-water-quality.
- Megan Van Emon: Water quality for livestock. Ext. Beef Cattle Spec. Montana State Univ. 6–7 (2018).
- Zoubeik, M., Salama, A., Henni, A.: Investigation of Oily Wastewater Filtration Using Polymeric Membranes: Experimental Verification of the Multicontinuum Modeling Approach. Ind. Eng. Chem. Res. 57, 11452–11464 (2018). [CrossRef]
- Santafé-Moros, A., Gozálvez-Zafrilla, J.M., Sousa, M.R.S., Lora-García, J., López-Pérez, M.F.: Operating conditions optimization via the Taguchi method to remove colloidal substances from recycled paper and cardboard production wastewater. Membranes (Basel). 10, 1–23 (2020). [CrossRef]
- The Dow Chemical Company: FILMTEC Membranes. Basics of RO and NF: Element Performance. 2–3 (2008).
- Sterlitech Corporation: Crossflow Filtration Handbook. 21 (2018).
- García-Manrique, P., Matos, M., Gutiérrez, G., Estupiñán, O.R., Blanco-López, M.C., Pazos, C.: Using Factorial Experimental Design to Prepare Size-Tuned Nanovesicles. Ind. Eng. Chem. Res. 55, 9164–9175 (2016). [CrossRef]
- Gao, Y., Zhang, Y., Dudek, M., Qin, J., Oye, G., Osterhus, S.W.: A multivariate study of backpulsing for membrane fouling mitigation in produced water treatment. J. Environ. Chem. Eng. 9 (2), 10483 (2021). [CrossRef]
- Maeda, Y.: Fouling of Reverse Osmosis (RO) and Nanofiltration (NF) Membranes by Low Molecular Weight Organic Compounds (LMWOCs), Part 1: Fundamentals and Mechanism. Membranes (Basel). 14, 1–83 (2024). [CrossRef]
- Echakouri, M., Salama, A., Henni, A.: Experimental and Computational Fluid Dynamics Investigation of the Deterioration of the Rejection Capacity of the Membranes Used in the Filtration of Oily Water Systems. ACS ES T Water. 1, 728–744 (2021). [CrossRef]
- Wen, J., Shi, K., Sun, Q., Sun, Z., Gu, H.: Measurement for surface tension of aqueous inorganic salt. Front. Energy Res. 6, 1–7 (2018). [CrossRef]
- Zoubeik, M., Salama, A., Henni, A.: Table Optimization of Operating Conditions for a Superwetting Ultrafiltration ZrO2 Ceramic Membrane. J. Environ. Eng. 146, (2020). [CrossRef]
- Hesampour, M., Krzyzaniak, A., Nyström, M.: The influence of different factors on the stability and ultrafiltration of emulsified oil in water. J. Memb. Sci. 325, 199–208 (2008). [CrossRef]
- Kordkandi, S.A., Forouzesh, M.: Application of full factorial design for methylene blue dye removal using heat-activated persulfate oxidation. J. Taiwan Inst. Chem. Eng. 45, 2597–2604 (2014). [CrossRef]
- Barredo-Damas, S., Alcaina-Miranda, M.I., Bes-Piá, A., Iborra-Clar, M.I., Iborra-Clar, A., Mendoza-Roca, J.A.: Ceramic membrane behavior in textile wastewater ultrafiltration. Desalination. 250, 623–628 (2010). [CrossRef]
- Marinković, V.: Some Applications of a Novel Desirability Function in Simultaneous Optimization of Multiple Responses. FME Trans. 49, 534–548 (2021). [CrossRef]
- Mameri, N., Halet, F., Drouiche, M., Grib, H., Lounici, H., Belhocine, D., Pauss, A., Piron, D.: Treatment of olive mill washing water by ultrafiltration. Can. J. Chem. Eng. 78, 590–595 (2000). [CrossRef]









| Parameter | Unit | SD |
|---|---|---|
| TMP | bar | ±0.2 |
| CFV | m/s | ±0.02 |
| EC | µS/cm | ±25 |
| MgSO4 | mg/L | ±20 |
| pH | - | ±0.2 |
| Brand of membrane | NF90 |
|---|---|
| Manufacturing | Dow-FilmTec, USA |
| Weight Cut-Off (MWCO) | 200-400 |
| Polymer materials | TFC- polyamide |
| pH range (25 oC) | 2-11 |
| Temperature max | 40 oC |
| Module | Flat sheet |
| Variables | Code design | Low (- 1) | Middle (0) | High (+1) |
|---|---|---|---|---|
| TMP (bar) | A | 5 | 7 | 9 |
| CFV (m/s) | B | 0.25 | 0.45 | 0.65 |
| MgSO4 concentration (mg/L) | C | 2,000 | 3,000 | 4,000 |
| Std Order | Run Order | TMP (bar) | CFV (m/s) | Concentration (mg/L) |
|---|---|---|---|---|
| 5 | 1 | -1 | -1 | +1 |
| 10 | 2 | 0 | 0 | 0 |
| 8 | 3 | +1 | +1 | +1 |
| 1 | 4 | -1 | -1 | -1 |
| 2 | 5 | +1 | -1 | -1 |
| 6 | 6 | +1 | -1 | +1 |
| 3 | 7 | -1 | +1 | -1 |
| 11 | 8 | 0 | 0 | 0 |
| 7 | 9 | -1 | +1 | +1 |
| 9 | 10 | 0 | 0 | 0 |
| 4 | 11 | +1 | +1 | -1 |
| Std Order | Run Order | TMP (bar) | CFV (m/s) | Concentration (mg/L) | Rejection (%) | Flux (LMH) |
| 5 | 1 | 5 | 0.25 | 4,067 | 90.2 | 77.5 |
| 10 | 2 | 7 | 0.45 | 3,054 | 71.9 | 89.6 |
| 8 | 3 | 9 | 0.65 | 4,046 | 88.1 | 122.3 |
| 1 | 4 | 5 | 0.25 | 2,048 | 91.9 | 60.8 |
| 2 | 5 | 9 | 0.25 | 2,035 | 96.0 | 106.6 |
| 6 | 6 | 9 | 0.25 | 4,057 | 90.7 | 86.3 |
| 3 | 7 | 5 | 0.65 | 2,055 | 59.0 | 103.4 |
| 11 | 8 | 7 | 0.45 | 3,071 | 71.7 | 91.0 |
| 7 | 9 | 5 | 0.65 | 4,062 | 52.1 | 94.8 |
| 9 | 10 | 7 | 0.45 | 3,076 | 71.5 | 90.0 |
| 4 | 11 | 9 | 0.65 | 2,052 | 90.1 | 127 |
| Run # | Conductivity µS/cm | Rejection% | |
|---|---|---|---|
| Feed (µS/cm) | Permeate (µS/cm) | ||
| Run 1 | 4221 | 413 | 90.2 |
| Run 2 | 3367 | 946 | 71.9 |
| Run 3 | 4201 | 498 | 88.1 |
| Run 4 | 2400 | 193 | 91.9 |
| Run 5 | 2398 | 95 | 96.0 |
| Run 6 | 4210 | 389 | 90.7 |
| Run 7 | 2408 | 985 | 59.0 |
| Run 8 | 3372 | 953 | 71.7 |
| Run 9 | 4218 | 2017 | 52.1 |
| Run 10 | 3378 | 962 | 71.5 |
| Run 11 | 2403 | 236 | 90.1 |
| Source | DF | SS | MS | F-Value | P-Value |
|---|---|---|---|---|---|
| Model | 8 | 2205.64 | 275.70 | 6893 | 0.000 |
| Linear | 3 | 1464.24 | 488.08 | 12202 | 0.000 |
| TMP | 1 | 642.61 | 642.61 | 16065 | 0.000 |
| CFV | 1 | 790.03 | 790.03 | 19751 | 0.000 |
| Concentration | 1 | 31.60 | 31.60 | 790 | 0.001 |
| 2-Way Interactions | 3 | 488.94 | 162.98 | 4074 | 0.000 |
| TMP*CFV | 1 | 488.28 | 488.28 | 12207 | 0.000 |
| TMP*Concentration | 1 | 0.21 | 0.211 | 5.28 | 0.148* |
| CFV*Concentration | 1 | 0.45 | 0.451 | 11.28 | 0.078* |
| 3-Way Interactions | 1 | 9.03 | 9.03 | 225.78 | 0.004 |
| TMP*CFV*Concentration | 1 | 9.03 | 9.03 | 225.78 | 0.004 |
| Curvature | 1 | 243.42 | 243.42 | 6085 | 0.000 |
| Error | 2 | 0.08 | 0.040 | ||
| Total | 10 | 2206 |
| Source | DF | SS | MS | F-Value | P-Value |
|---|---|---|---|---|---|
| Model | 8 | 3593 | 449.18 | 863.81 | 0.001 |
| Linear | 3 | 3123 | 1041 | 2002 | 0.000 |
| TMP | 1 | 1396 | 1396 | 2686 | 0.000 |
| CFV | 1 | 1691 | 1691 | 3251 | 0.000 |
| Concentration | 1 | 35.70 | 35.70 | 68.66 | 0.014 |
| 2-Way- Interactions | 3 | 150.24 | 50.08 | 96.31 | 0.010 |
| TMP*CFV | 1 | 1.53 | 1.53 | 2.94 | 0.228* |
| TMP*Concentration | 1 | 136.95 | 136.95 | 263.37 | 0.004 |
| CFV*Concentration | 1 | 11.76 | 11.76 | 22.62 | 0.041 |
| 3-Way- Interactions | 1 | 209.10 | 209.10 | 402.12 | 0.002 |
| TMP*CFV*Concentration | 1 | 209.10 | 209.10 | 402.12 | 0.002 |
| Curvature | 1 | 111.15 | 111.15 | 213.75 | 0.005 |
| Error | 2 | 1.04 | 0.52 | ||
| Total | 10 | 3594 |
| Response | Goal | Lower | Target | Upper | Weight | Importance |
|---|---|---|---|---|---|---|
| Flux LMH | Maximum | 60.8 | 127 | 127 | 1 | 2 |
| Rejection% | Maximum | 52.1 | 96 | 96 | 1 | 2 |
| Solution | TMP | CFV | Concentration | Flux (LMH) Fit |
Rejection (%) Fit |
Composite Desirability |
|---|---|---|---|---|---|---|
| 1 | 9 | 0.65 | 2000 | 127.0 | 90.1 | 0.93 |
| 2 | 9 | 0.65 | 4000 | 122.3 | 88.1 | 0.87 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).