Hybrid Convolutional Neural Network and Whale Optimization Algorithm for Prediction of Permeate Flux in Nanofiltration Membranes.
Volume 5
Abstract
Nanofiltration (NF) membranes have become an important separation technology for water treatment, desalination pretreatment, wastewater reuse, hardness removal, organic micropollutant rejection, and selective ion separation. Permeate flux is one of the most critical performance indicators in nanofiltration systems because it directly reflects membrane productivity, hydraulic efficiency, fouling progression, and overall process stability. However, accurate prediction of permeate flux remains challenging due to the complex nonlinear interactions among operating pressure, feed concentration, temperature, pH, cross-flow velocity, membrane properties, solute characteristics, concentration polarization, scaling tendency, and fouling behavior. Conventional empirical models and manually tuned machine learning approaches often have limited ability to generalize across varying feedwater compositions and dynamic operating conditions. To address these limitations, this paper proposes a hybrid Convolutional Neural Network and Whale Optimization Algorithm framework for accurate prediction of permeate flux in nanofiltration membranes.
The proposed framework integrates the automatic feature extraction capability of Convolutional Neural Networks (CNNs) with the global optimization strength of the Whale Optimization Algorithm (WOA). The CNN model is designed to learn hidden patterns from structured membrane process data, including transmembrane pressure, feed flow rate, permeate flow rate, feed temperature, feed conductivity, total dissolved solids, solute concentration, membrane pore size, molecular weight cut-off, recovery ratio, pH, turbidity, and historical flux measurements. Input variables are transformed into one-dimensional or two-dimensional feature representations to allow convolutional filters to capture local relationships among operating parameters and temporal flux variations. The WOA component is employed to optimize critical CNN hyperparameters, including learning rate, number of convolutional filters, kernel size, number of dense neurons, dropout rate, batch size, optimizer configuration, and regularization coefficients. By reducing dependence on manual tuning, the WOA-enhanced CNN improves convergence efficiency, prediction accuracy, and robustness under diverse operating conditions.
A comprehensive preprocessing pipeline is applied to experimental and operational NF datasets, including missing value imputation, outlier removal, noise filtering, normalization, feature scaling, correlation analysis, and construction of lagged process variables. To improve model generalization, the framework considers variations in membrane material, feedwater quality, ion composition, organic matter concentration, pressure range, and fouling stage. The proposed model can be evaluated using laboratory-scale nanofiltration experiments, pilot plant monitoring data, or full-scale membrane process records. Performance is assessed using regression metrics such as Mean Absolute Error, Root Mean Square Error, Mean Absolute Percentage Error, normalized RMSE, coefficient of determination, and computational training time. Comparative analysis is conducted against empirical flux models, support vector regression, random forest, XGBoost, multilayer perceptron, standalone CNN, standalone WOA-optimized neural networks, and conventional artificial neural network baselines.
Experimental evaluation is expected to demonstrate that the proposed CNN-WOA model achieves superior permeate flux prediction performance by effectively capturing nonlinear relationships between membrane operating conditions and productivity. The optimized CNN architecture is anticipated to provide lower prediction error, faster convergence, and improved stability compared with manually configured deep learning models. In addition, sensitivity analysis and explainability techniques such as SHAP, permutation feature importance, and response surface visualization are incorporated to identify the most influential factors affecting permeate flux, including transmembrane pressure, feed temperature, solute concentration, cross-flow velocity, recovery ratio, and fouling-related indicators. These insights can help membrane operators understand process behavior and support evidence-based operational adjustment.
The proposed hybrid CNN-WOA framework provides a scalable, accurate, and computationally efficient solution for permeate flux prediction in nanofiltration membrane systems. By combining deep learning-based pattern recognition with metaheuristic optimization, the model can support real-time process monitoring, fouling-aware operation, energy-efficient control, and predictive maintenance. Its integration into smart membrane management platforms can improve water treatment efficiency, reduce operational uncertainty, optimize cleaning schedules, and enhance the long-term reliability of nanofiltration systems.
Keywords
References
- [1] Alhussan, A. A., Khafaga, D. S., Abotaleb, M., Mishra, P., & El -Kenawy, E. S. M. (2024). Global Potato Production Forecasting Based
- [2] Towfek, S. K., & Alhussan, A. A. (2024). Potato Production Forecasting Based on Balance Dynamic Biruni Earth Radius Algorithm for
- [3] Mishra, P., Alhussan, A. A., Khafaga, D. S., Lal, P., Ray, S., Abotaleb, M., ... & El -Kenawy, E. S. M. (2024). Forecasting production of
- [4] El-Kenawy, E. S. M., Mirjalili, S., Abdelhamid, A. A., Ibrahim, A., Khodadadi, N., & Eid, M. M. (2022). Meta -heuristic optimization
- [5] Abdelhamid, A. A., El -Kenawy, E. S. M., Khodadadi, N., Mirjalili, S., Khafaga, D. S., Alharbi, A. H., ... & Saber, M. (2022).
- [6] Alharbi, A. H., Towfek, S. K., Abdelhamid, A. A., Ibrahim, A., Eid, M. M., & Khafaga, D. S. & Saber, M.(2023). Diagnosis of
- [7] Alhussan, A. A., & Towfek, S. K. (2024). 5G Resource Allocation Using Feature Selection and Greylag Goose Optimization Algori thm.
- [8] Towfek, S. K., & Alhussan, A. A. (2024). Potato Production Forecasting Based on Balance Dynamic Biruni Earth Radius Algorithm for
- [9] Abdelhamid, A. A., Alhussan, A. A., Qenawy, A. S. T., Osman, A. M., Elshewey, A. M., & Eed, M. (2024). Potato harvesting pred iction
- [10] Eed, M., Alhussan, A. A., Qenawy, A. S. T., Osman, A. M., Elshewey, A. M., & Arnous, R. (2024). Potato Consumption Forecastin g
- [11] Mahmood, S., Sun, H., Iqbal, A., Alhussan, A. A., & El -kenawy, E. S. M. (2024). Green finance, sustainable infrastructure, and green
- [12] El-Kenawy, E. S. M., Alhussan, A. A., Khodadadi, N., Mirjalili, S., & Eid, M. M. (2024). Predicting potato crop yield with machi ne
- [13] Radwan, M., Alhussan, A. A., Ibrahim, A., & Tawfeek, S. M. (2025). Potato leaf disease classification using optimized machine learning
- [14] Ghasemi, M., Khodadadi, N., Trojovský, P., Li, L., Mansor, Z., Abualigah, L., ... & El -Kenawy, E. S. M. (2025). Kirchhoff’s law
- [15] Yassen, M. A., El -Kenawy, E. S. M., Abdel -Fattah, M. G., Ismail, I., & Mostafa, H. E. D. S. (2025). Explainable artificial intelligence
- [16] Radwan, M., Alhussan, A. A., Ibrahim, A., & Tawfeek, S. M. (2025). Potato leaf disease classification using optimized machine learning
- [17] Mozhdehi, A. T., Khodadadi, N., Aboutalebi, M., El -Kenawy, E. S. M., Hussien, A. G., Zhao, W., ... & Mirjalili, S. (2025). Divine
- [18] El-kenawy, E. S. M., Alhussan, A. A., Mattar, E. A., & Radwan, M. (2026). Feature selection and hyperparameter tuning in transfo rmer -
- [19] Chen, L., Xu, C., Lim, W. H., Sharma, A., Tiang, S. S., Chong, K. S., ... & Khafaga, D. S. (2025). Transparent and reliable c onstruction
- [20] Khodadadi, N., Towfek , S. K., Zaki, A. M., Alharbi, A. H., Khodadadi, E., Khafaga, D. S., ... & Eid, M. M. (2025). Predicting
- [21] Alhussan, A. A., El -Kenawy, E. S. M., Khafaga, D. S., Alharbi, A. H., & Eid, M. M. (2025). Groundwater resource prediction and
- [22] Mozhdehi, A. T., Khodadadi, N., Aboutalebi, M., El -Kenawy, E. S. M., Hussien, A. G., Zhao, W., ... & Mirjalili, S. (2025). Divine
- [23] Lopes, J. M., Pinho, C. S., Martins, R. C., & Bandeira, T. (2026). Sustainability Gets Smarter: Competitive Pressure and AI L eading the
- [24] Radwan, M., Ibrahim, A., Abdelsalam, M. M., Alhussan, A. A., Mattar, E. A., & El -Kenawy, E. S. M. (2026). Optimizing solar and wind
- [25] Alhussan, A. A., El -Kenawy, E. S. M., Eid, M. M., & Khodadadi, N. (2026). Hybrid Al -Biruni and Puma Optimization (BERPO) for
- [26] El-Kenawy, E. S. M., Ibrahim, A., Alhussan, A. A., Khafaga, D. S., Ahmed, A. E., & Eid, M. M. (2026). Smart city electricity loa d
- [27] El-Kenawy, E. S. M., Khodadadi, N., Mirjalili, S., Zaki, A. M., Ibrahim, A., Alhussan, A. A., ... & Eid, M. M. (2026). Glider sn ake
- [28] Mekaret, F., Rabehi, A., Zebentout, B., Tizi, S., Douara, A., Bellucci, S., ... & Alhussan, A. A. (2024). A comparative study of Schottky
- [29] KOUADRI, Ali, RABEHI, Abdelhalim, BENZIANE, Ali, et al. A Robust Multi -Transform Watermarking Scheme for Medical Images
- [30] Tibermacine, I. E., Russo, S., Scarano, G., Tedesco, G., Rabehi, A., Alhussan, A. A., ... & Napoli, C. (2025). Conditional VA E for
- [31] Kouadri, A., Benziane, A., Rabehi, A., Rabehi, A., Alhussan, A. A., Khafaga, D. S., & El -Kenawy, E. S. M. (2025). A novel hybrid
- [32] Russo, S., Tibermacine, I. E., Randieri, C., Rabehi, A., Alharbi, A. H., El -Kenawy, E. S. M., & Napoli, C. (2025). Exploiting facial
- [33] Bentegri, H., Rabehi, M., Kherfane, S., Nahool, T. A., Rabehi, A., Guermoui, M., ... & El -Kenawy, E. S. M. (2025). Assessment of
- [34] Tibermacine, I. E., Russo, S., Citeroni, F., Mancini, G., Rabehi, A., Alharbi, A. H., ... & Napoli, C. (2025). Adversarial de noising of EEG
- [35] Ouahabi, M. S., Benyounes, A., Barkat, S., Ihammouchen, S., Rekioua, T., Rabehi, A., ... & Alharbi, A. H. (2025). Real -time sensor fault
- [36] Belaid, A., Guermoui, M., Khelifi, R., Arrif, T., Chekifi, T., Rabehi, A., ... & Alhussan, A. A. (2024). Assessing suitable a reas for PV
- [37] Mehallou, A., M’hamdi, B., Amari, A., Teguar, M., Rabehi, A., Guermoui, M., ... & Khafaga, D. S. (2025). Optimal multiobjecti ve
- [38] Rabehi, A., El -Hadi, M., Benmahmoud, S., Rabehi, A., Alharbi, A. H., & El -Kenawy, E. S. M. (2025). SOCA -CFAR Processor in A
- [39] Bakria, D., Beladel, A., Korich, B., Teta, A., Mohammedi, R. D., Laouid, A. A., ... & El -kenawy, E. S. (2025). A novel enhanced Grey
