2025 AIChE Annual Meeting

(10h) Advancing Real-Time Control of Complex Processes Via Two-Timescale-Based Hybrid Modeling: Application to Crystallization

Authors

Parth Shah - Presenter, Texas A&M University
J Jay Liu, Pukyong National University
Joseph Kwon, Texas A&M University
Effective modeling and control of systems exhibiting multiple distinct timescales remain significant challenges in chemical engineering, particularly for processes characterized by stiff dynamics, nonlinearities, and computational complexity. Traditional epsilon (ε)-based singular perturbation theory provides a foundational framework for separating fast and slow dynamics, enabling tractable analysis and simplified control strategies [1,2]. However, conventional singular perturbation methods often become limited when complex first-principles models (FPMs) govern the slow dynamics, necessitating computationally intensive numerical solutions that hinder real-time control applications.

To overcome these limitations, this study introduces a novel two-timescale-based hybrid modeling methodology that integrates FPMs for capturing rapid dynamics with deep neural networks (DNNs) as surrogate models for slower, computationally demanding dynamics [3,4]. The proposed hybrid approach systematically decomposes a complex system into two subsystems aligned with their intrinsic timescales. The fast subsystem dynamics, typically governed by well-established physical mechanisms and characterized by rapid responses to operational changes, are accurately and efficiently represented using first-principles equations. Conversely, the slow subsystem, often involving stiff and nonlinear processes, is represented through DNN or other data-driven models [5]. These neural network surrogates are trained using extensive, high-fidelity data generated from detailed simulations of complex slow dynamics.

This two-timescale-based hybrid modeling strategy significantly mitigates the computational stiffness and nonlinear complexities traditionally associated with fully mechanistic models, enabling efficient and robust predictions suitable for real-time implementation within advanced control frameworks. To illustrate the efficacy of the proposed methodology, the hybrid modeling approach is applied to pharmaceutical crystallization processes, specifically targeting the challenging problem of transforming bimodal or multimodal crystal size distributions (CSDs) into unimodal distributions [6,7]. Here, the crystallization mechanism with fast dynamics like nucleation and growth is represented using method-of-moments (MoM) equations, and the complex slow dynamics of particle aggregation are described by Smoluchowski population balance equations. Within a model predictive control (MPC) framework, the hybrid model facilitates dynamic optimization of critical operational parameters, including temperature and supersaturation. By accurately capturing and predicting the interactions between fast nucleation/growth dynamics and slower aggregation phenomena, the MPC strategically regulates these parameters to minimize secondary nucleation and reduce aggregation-driven broadening. As a result, the control system effectively guides the crystallization process toward desired unimodal distributions, substantially enhancing product uniformity and downstream processing efficiency.

Preliminary simulation results underscore the advantages of the two-timescale-based hybrid modeling approach, highlighting significant computational speedups compared to conventional fully mechanistic models without compromising predictive accuracy. This methodological advancement represents a major step forward in the capability to handle real-time control scenarios for stiff, nonlinear, multiscale processes. The proposed hybrid modeling and control approach, while demonstrated through crystallization systems exhibiting bimodal-to-unimodal distribution transformation, presents broad potential applicability across various chemical engineering domains facing similar multiscale dynamic challenges.

References:

  1. Kumar, Aditya, Panagiotis D. Christofides, and Prodromos Daoutidis. "Singular perturbation modeling of nonlinear processes with nonexplicit time-scale multiplicity." Chemical Engineering Science 53.8 (1998): 1491-1504.
  2. Christofides, Panagiotis D., and Prodromos Daoutidis. "Feedback control of two-time-scale nonlinear systems." International Journal of Control 63.5 (1996): 965-994.
  3. Shah, P., Pahari, S., Bhavsar, R., & Kwon, J. S. I. (2024). Hybrid modeling of first-principles and machine learning: A step-by-step tutorial review for practical implementation. Computers & Chemical Engineering, 108926.
  4. Shah, P., Sheriff, M. Z., Bangi, M. S. F., Kravaris, C., Kwon, J. S. I., Botre, C., & Hirota, J. (2022). Deep neural network-based hybrid modeling and experimental validation for an industry-scale fermentation process: Identification of time-varying dependencies among parameters. Chemical Engineering Journal, 135643.
  5. Abdullah, Fahim, Zhe Wu, and Panagiotis D. Christofides. "Data-based reduced-order modeling of nonlinear two-time-scale processes." Chemical Engineering Research and Design 166 (2021): 1-9.
  6. Hounslow, M. J., & Reynolds, G. K. (2006). Product engineering for crystal size distribution. AIChE journal, 52(7), 2507-2517.
  7. Modi, K. B., Bhalodia, J. A., Pathak, T. K., Raval, P. Y., Pansara, P. R., Vasoya, N. H., ... & Shah, S. J. (2018). Bimodal to Unimodal Particle Size Distribution Transformation in Nanocrystalline Cobalt–Ferri–Chromites. Int. J. Sci. Res. in Physics and Applied Sciences, 6(1), 29-33.