This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessArticle
Development and Optimization of an Automated Industrial Wastewater Treatment System Using PLC and LSTM Neural Network
by
Žydrūnas Kavaliauskas
Žydrūnas Kavaliauskas *,
Giedrius Blažiūnas
Giedrius Blažiūnas ,
Igor Šajev
Igor Šajev ,
Aleksandras Iljinas
Aleksandras Iljinas
and
Dovilė Gimžauskaitė
Dovilė Gimžauskaitė
Centre of Engineering Studies, Kauno kolegija Higher Education Institution, Pramones Ave. 20, LT-50468 Kaunas, Lithuania
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(16), 8990; https://doi.org/10.3390/app15168990 (registering DOI)
Submission received: 30 June 2025
/
Revised: 11 August 2025
/
Accepted: 13 August 2025
/
Published: 14 August 2025
Abstract
This study presents an automated industrial wastewater treatment system based on Siemens programmable logic controller (PLC) that optimizes reagent dosing, aeration, sedimentation, and sludge separation. The system uses accurate pH sensors, dosing pumps, solenoid valves, and a human–machine interface (HMI), and real-time monitoring is provided by a Teltonika TRB255 communication module (<45 sec. response time). As a result, the treatment cycle time was reduced by 31%, reagent consumption by 30%, and operator intervention was reduced from 95 to less than 15 min per day, achieving a pollutant removal efficiency of 89%. A two-layer LSTM architecture developed on the PyTorch platform predicts pH (6.7–7.7), temperature (12–20 °C), and reagent consumption (~9.8 kg/cycle). The model was trained with 240 h of data (64 neurons, learning rate 0.001). The validation loss remained stable, indicating reliable learning. The study confirms that AI-based automation provides greater process stability, meets environmental standards, and promotes sustainable resource use. The scientific novelty of this study is the application of an advanced long short-term memory (LSTM) model to predict wastewater treatment process parameters, allowing for accurate prediction of pH, temperature, flow, and reagent consumption, etc. This provides an opportunity to optimize the process and reduce costs, while ensuring high treatment efficiency and stability. Although there are several publications on the application of artificial intelligence models in the field of industrial wastewater treatment, this is a relatively new field, and there are little data in the scientific literature.
Share and Cite
MDPI and ACS Style
Kavaliauskas, Ž.; Blažiūnas, G.; Šajev, I.; Iljinas, A.; Gimžauskaitė, D.
Development and Optimization of an Automated Industrial Wastewater Treatment System Using PLC and LSTM Neural Network. Appl. Sci. 2025, 15, 8990.
https://doi.org/10.3390/app15168990
AMA Style
Kavaliauskas Ž, Blažiūnas G, Šajev I, Iljinas A, Gimžauskaitė D.
Development and Optimization of an Automated Industrial Wastewater Treatment System Using PLC and LSTM Neural Network. Applied Sciences. 2025; 15(16):8990.
https://doi.org/10.3390/app15168990
Chicago/Turabian Style
Kavaliauskas, Žydrūnas, Giedrius Blažiūnas, Igor Šajev, Aleksandras Iljinas, and Dovilė Gimžauskaitė.
2025. "Development and Optimization of an Automated Industrial Wastewater Treatment System Using PLC and LSTM Neural Network" Applied Sciences 15, no. 16: 8990.
https://doi.org/10.3390/app15168990
APA Style
Kavaliauskas, Ž., Blažiūnas, G., Šajev, I., Iljinas, A., & Gimžauskaitė, D.
(2025). Development and Optimization of an Automated Industrial Wastewater Treatment System Using PLC and LSTM Neural Network. Applied Sciences, 15(16), 8990.
https://doi.org/10.3390/app15168990
Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details
here.
Article Metrics
Article metric data becomes available approximately 24 hours after publication online.