Machine learning modeling and model predictive control of a closed-circuit reverse osmosis system

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

Abstract

Closed-circuit reverse osmosis (CCRO) offers a flexible and energy-efficient alternative to conventional reverse osmosis by operating in a semi-batch mode that recycles brine, enabling higher recovery rates and reduced specific energy consumption (SEC). However, developing accurate, system-level dynamic models for CCRO remains challenging due to its nonlinear, multi-phase operation and sensitivity to variable feed water conditions. Traditional modeling approaches, such as NARMAX (nonlinear autoregressive moving average with exogenous inputs), often struggle to generalize across varying inlet feed concentrations, necessitating frequent parameter re-estimation and limiting their utility for real-time control applications. To address these limitations, we developed a long short-term memory (LSTM) neural network model trained on an extensive experimental data set from a CCRO pilot plant. The model accepts three inputs, feed flow rate, recirculation flow rate, and initial feed conductivity, and predicts three key outputs: reject conductivity, feed pump power draw, and recirculation pump power draw. We validated the LSTM model against experimental data, demonstrating its ability to distinguish between different feed conductivities and adapt to variable flow rates. Subsequently, we incorporated the LSTM model within a nonlinear model predictive control (MPC) scheme and conducted closed-loop simulations to optimize the integrated SEC (iSEC). The results project up to a 6% reduction in iSEC by using MPC to optimize performance over the entire experiment duration, without requiring any random excitation for data collection or parameter re-estimation.

Original languageEnglish
Pages (from-to)29-47
Number of pages19
JournalChemical Engineering Research and Design
Volume222
DOIs
StatePublished - Oct 2025

Funding

This material is based upon work supported by the National Alliance for Water Innovation (NAWI), funded by the U.S. Department of Energy, Office of Energy Efficiency and Renewable Energy (EERE), Industrial Technologies Office (ITO) and was carried out at Oak Ridge National Laboratory under Contract No. DE-AC05-00OR22725 with UT-Battelle, LLC.

Keywords

  • Desalination
  • Long short-term memory
  • Machine learning
  • Model predictive control
  • Nonlinear processes
  • Reverse osmosis

Fingerprint

Dive into the research topics of 'Machine learning modeling and model predictive control of a closed-circuit reverse osmosis system'. Together they form a unique fingerprint.

Cite this