Optimal control and simulation of multidimensional crystallization processes

https://doi.org/10.1016/S0098-1354(02)00033-9Get rights and content

Abstract

The optimal batch control of a multidimensional crystallization process is investigated. A high resolution algorithm is used to simulate the multidimensional crystal size distribution under the operations defined by two optimal control trajectories. It is shown that a subtle change in the optimal control objective can have a very large effect on the crystal size and shape distribution of the product crystals. The effect of spatial variation is investigated using a compartmental model. The effect of differing numbers of compartments on the size and shape distribution of the product crystals is investigated. It is shown that the crystal size distribution can be very different along the height of the crystallizer and that a solution concentration gradient exists due to imperfect mixing. The nucleation rate can be significantly larger at the bottom of the crystallizer and the growth rate can be much larger at the top. The high resolution method provides high simulation accuracy and fast speed, with the ability to solve large numbers of highly nonlinear coupled multidimensional partial differential equations over a wide range of length scales. A parallel programming implementation results in simulation times that are short enough for using the simulation program to compute optimal control trajectories.

Introduction

Crystallization from solution is an industrially important unit operation due to its ability to provide high purity separations. For efficient downstream operations and product effectiveness, controlling the crystal size and shape distribution can be critically important. This is especially true for the multidimensional crystals produced in the pharmaceutical and photographic industries.

This paper investigates the effectiveness of optimal control for providing the desired product characteristics for a batch crystallization process with multiple growth axes. A high resolution algorithm accurately simulates the multidimensional population balance equation along the optimal control trajectories. While not well known in the crystallization or control communities, high resolution algorithms have been used in the computational physics community for a wide variety of applications (Harten, 1983, LeVeque, 1992, LeVeque, 1997, Osher and Chakravarthy, 1984, Sweby, 1984, Yang, Huang and Tsuei, 1995). High resolution algorithms can provide second-order accuracy without the spurious oscillations that naive second-order methods usually exhibit, while also reducing numerical diffusion inherited by first-order methods. The wide range of length scales inherent in crystallization processes makes these numerical issues especially critical.

This paper also investigates the effect of spatial variations on the multidimensional crystal size distribution. In batch crystallization, the crystal product characteristics are determined by the seed characteristics, the supersaturation profile, and the mixing conditions. The compartmental modeling approach can be used to take imperfect mixing into account (Braatz and Hasebe, in press, Kramer, Dijkstra, Neumann, Meadhra and van Rosmalen, 1996). The crystallizer is subdivided into a finite number of smaller sections (called compartments). Perfect mixing is assumed in each compartment. Each compartment has input and output streams that share flows with its neighbors. The quantity of crystals and the crystal characteristics in the input and output streams are governed by the local hydrodynamic conditions. The compartment model enables a much more accurate modeling of the formation of new crystals, which is key to quantifying the quality of the crystal size distribution of the final product. This approach is computationally feasible using today's computer hardware, whereas the full solution of the fluid and particle momentum equations is too computationally intensive, at least for design or control purposes in which multiple simulations are required.

The paper is organized as follows. The model of a KH2PO4–H2O crystallizer is presented first, then the optimal control formulation for two-dimensional crystallization is introduced, followed by a summary of the compartmental modeling approach and the high resolution method, and the results, discussion, and conclusions.

Section snippets

Multidimensional crystallization: well-mixed case

While the following description of multidimensional crystallization is rather general, potassium dihydrogen phosphate (KH2PO4, KDP) is used to illustrate the key ideas. The shape of KDP crystals is tetragonal prism in combination with tetragonal bipyramid, and the angle between the prism sides and pyramid faces is 45° (Mullin & Amatavivadhana, 1967). The two internal dimensions r1 and r2 are the width and length of the KDP crystal, respectively (Fig. 1). Accordingly, the volume of a single

Optimal control for a well-mixed crystallizer

In a well-mixed batch KDP crystallizer, the final crystal product is determined by the supersaturation profile, the initial seed mass, and the seed crystal size distribution. In this paper, we only consider the case where supersaturation is created by reducing the temperature T(t), although other methods of achieving supersaturation such as antisolvent addition (Charmolue & Rousseau, 1991) can be formulated in a similar manner. Based on a past study, the effect of the width of the seed crystal

Compartmental model

Perfect mixing is rarely true in practice. A 2-l batch crystallizer is shown in Fig. 1. The crystal size distribution f varies substantially along the height of the crystallizer. Due to gravity, most crystals stay at the bottom of the crystallizer while smaller crystals tend to flow with the water and can be seen in the middle and upper regions. Few crystals are located near the top of the slurry.

Compartmental modeling has been used to take spatial variations into account in one-dimensional

A high resolution algorithm

The population balance equation Eq. (15) is a multidimensional conservation equation with widely varying length scales (very small to 100s of microns). Solving this equation presents great challenges to naive first-order and second-order finite difference algorithms. In the literature, the first-order approximation methods are often used with special consideration of mesh size in order to reduce numerical diffusion (Sotowa, Naito, Kano, Hasebe, & Hashimoto, 2000). The most popular higher order

Results and discussion

An optimal control study is followed by a consideration of the effects of spatial variation on the multidimensional crystal size distribution.

Conclusions

The optimal control of the batch formation of multidimensional crystals was investigated. It was shown that a subtle change in the optimal control objective could have a very large effect on the crystal size and shape distribution of the product crystals. The effect of spatial variation was investigated using a compartmental model. The simulation results show that crystal size distribution can be very different along the height of the crystallizer and a solution concentration gradient exists

Acknowledgements

Support from the Computational Science and Engineering Program at the University of Illinois is gratefully acknowledged.

References (31)

  • M.B. Ajinkya et al.

    On the optimal operation of crystallization processes

    Chemical Engineering Communication

    (1974)
  • Braatz, R. D., & Hasebe, S. Particle size and shape control in crystallization processes. In: J. B. Rawlings & B. A....
  • H. Charmolue et al.

    l-serine obtained by methanol addition in batch crystallization

    American Institute of Chemical Engineering Journal

    (1991)
  • S.H. Chung et al.

    fortran software for simulation, parameter estimation, experimental design, and optimal control of batch crystallization

    (1999)
  • S.H. Chung et al.

    Optimal seeding in batch crystallization

    Canadian Journal of Chemical Engineering

    (1999)
  • Cited by (147)

    View all citing articles on Scopus
    View full text