Digital Twin (DT)-based Decision Support System (DSS) for Dairy Wastewater Control Using Statistical Process Control, Internet of Things, and Machine Learning

Digital Twin (DT)-based Decision Support System (DSS) for Dairy Wastewater Control Using Statistical Process Control, Internet of Things, and Machine Learning

Shayda Khazaei1 Ali Motamedzadegan2 Seyed Ahmad Shahidi3 Hamzeh Rasaei4

1) Department of Food Science and Technology, Ayatollah Amoli Branch, Islamic Azad University, Amol, Iran
2) Department of Food Science and Industry, Sari University of Agricultural Sciences and Natural Resources, Sari, Iran
3) Department of Food Science and Technology, Ayatollah Amoli Branch, Islamic Azad University, Amol, Iran
4) Department of Electronics and Computer Engineering, Concordia University, Montreal, Canada

IOI Code : AAHD-ABGZKF
Publication : National Conference on Information Technology, Nanotechnology, Artificial Intelligence and Technological Futures Studies(itnaf.ir)
Abstract :
    Digital twin technology, as a key pillar of Industry 4.0, provides a robust platform for monitoring, analyzing, and optimizing complex industrial processes. In the food industry, due to the sensitive and variable nature of raw materials and processing conditions, quality management and real-time operational monitoring require a shift from traditional approaches toward intelligent, data-driven systems. This study aims to design and implement an operational digital twin based on the Industrial Internet of Things (IIoT), smart statistical process control (SSPC), and machine learning to optimize the wastewater treatment process in an industrial dairy plant. In this work, the system architecture was developed using online sensors, programmable logic controllers (PLCs), and Modbus/JSON communications to acquire real-time data. Moreover, by integrating a hybrid XGBoost–LSTM model, the proposed framework enables detection of quality deviations, prediction of critical parameters, and provision of corrective recommendations through a prescriptive decision support system (Prescriptive DSS). The results indicate that the proposed system, while maintaining communication latency within 0–3 s, increased the data refresh rate by a factor of 2.4 and reduced chemical consumption by more than 90% in the neutralization step of the equalization tank compared with the traditional methods previously used. In addition, sensor calibration was stabilized at an accuracy of ±0.001 units, demonstrating the high reliability of the system under industrial operating conditions. Overall, the findings show that transitioning from conventional SPC to SSPC within a digital twin environment bridges the gap between descriptive monitoring and prescriptive control, and provides a practical framework for improving quality, reducing operational costs, enhancing environmental sustainability, and strengthening optimal decision-making in the food industry.

Keywords : industrial internet of things (iiot) digital twin (dt) decision support system (dss) machine learning (ml) smart statistical process control (sspc)