(59f) Automated Synthesis of Hybrid Models for Ionic Separations
AIChE Annual Meeting
2023
2023 AIChE Annual Meeting
Computing and Systems Technology Division
Interactive Session: Data and Information Systems
Tuesday, November 7, 2023 - 3:30pm to 5:00pm
A specific modeling approach, called compositional modeling[4] has been shown to be effective in obtaining useful models in situations where extensive data and/or physical knowledge are not available (e.g., separation processes featuring new materials or configurations)[5, 6]. The modeling task is described as an optimization problem[7, 8] such that given the physical structure of the electrochemical separation system S, a set of statements about its behavior, a library of model fragments {m1, ..., mn} and a set of rules constraining their use, we seek the most useful, coherent scenario model ξ={m1Ï1, ..., mnÏn} for answering a query (e.g., deviceâs performance), where Ïi is a binding parameter from the variables in mi to objects in S and each instance miÏi is unique. The resulting model can be used to generate synthetic data to train a Machine Learning-based surrogate model (MLBSM) on which Transfer Learning (TL) can be applied to improve the model performance[6].
In this work, a generalized hybrid modeling framework that exploits compositional modeling and Machine Learning to develop physics-aware models for electrochemical separations systems is proposed. The modeling approach aims to facilitate the synthesis of suitable mathematical models for electrochemical separations. The framework is showcased by modeling a representative electrochemical separation technology, namely electrodeionization (EDI) for water desalination.
In an EDI device, ionizable species are removed from a liquid matrix by applying an electric field. The device is typically arranged as a cell, with two electrodes on each side and a train of anion and cation exchange membranes (AEMs and CEMs respectively) separated by solution compartments. When a voltage is applied, electrically charged solutes are forced to move, that is, anions migrate towards the anode and cations towards the cathode. The ion exchange membranes serve as barriers such that anions move through AEMs but are retained by CEMs, while the opposite is true for cations. The result is the depletion of ionic species in the dilute solution compartment and the accumulation of ionic species in the concentrate solution compartment[1]. The migration of ionic species continues until an electrical equilibrium is reached.
The accumulation of charges over time as a consequence of their migration through the ion-exchange membranes resembles the behavior of an electric capacitor. Meanwhile, the restriction the ion-exchange membranes impose over the mobility of the charges is analogous to an electric resistance. These two observations can be exploited to approximate the device level behavior of an EDI device as an electric circuit. This representation, although simplistic, provides a basis for the synthesis of compositional models for electrochemical separation devices.
The compositional modeling approach is outlined in Figure 1 (A). The first step is to obtain an equivalent electric (EC) circuit that approximates the behavior of the device. The EC is then modeled as a first order linear differential equation. The solution to this ODE stands as the basis of the model. Nonlinearities are then added to the model in the form of corrections to the base model. The functional for each of the nonlinearities is chosen from a library of model fragments via optimization using genetic algorithms. Once the compositional model is obtained, synthetic data can be generated by simulating system responses to changes in the input variables.
Figure 3 (B-C) shows the experimental values and those predicted for the best model selected from the optimization step, along with the functional forms selected for the compositional model. Experimental data was taken from Palakkal et al. [9]. This model has 5 input variables, namely time ( ), voltage (V), total resistance (R), and the activity coefficients for the concentrate and the diluate, (γconc) and (γdil), respectively. For the case of the evolution of charge (concentration) over time, the predicted values are in good agreement with the observed experimental data. The predicted evolution of current on the other hand, although close to the experimental values, tends to be underestimated. The overall behavior of the system, however, is captured with a rather simple model.
After hyperparameter optimization, the selected architecture was an artificial neural network with 14 layers (5:11x64:32:3), with a batch size of 1450, and a learning rate of 0.003. A validation dataset (6 samples) from laboratory experiments was kept from the model during training and used for model evaluation only. For the TL step, hyperparameter optimization yielded learning rates of 4.17x10-9, 1.0x10-5, and 0.00016 for the input, hidden, and output layers respectively, and a batch size of 8. Given the small size of the experimental dataset available, training data for TL was obtained by fitting a polynomial to the experimental data and interpolating (oversampling). The resulting dataset contained a total of 24 samples. Figure 3(E) shows the performance of the best architecture and training scheme on training and testing data after TL.
References
[1] A. Campione, L. Gurreri, M. Ciofalo, G. Micale, A. Tamburini, and A. Cipollina, "Electrodialysis for water desalination: A critical assessment of recent developments on process fundamentals, models and applications," Desalination, vol. 434, pp. 121-160, 2018/05/15/ 2018, doi: https://doi.org/10.1016/j.desal.2017.12.044.
[2] R. P. Lively, "The refinery of today, tomorrow, and the future: A separations perspective," Aiche Journal, vol. 67, no. 7, Jul 2021, doi: ARTN e1728610.1002/aic.17286.
[3] J. Sansana et al., "Recent trends on hybrid modeling for Industry 4.0," Computers & Chemical Engineering, vol. 151, p. 107365, 2021/08/01/ 2021, doi: https://doi.org/10.1016/j.compchemeng.2021.107365.
[4] B. Falkenhainer and K. D. Forbus, "Compositional modeling: finding the right model for the job," Artificial Intelligence, vol. 51, no. 1, pp. 95-143, 1991/10/01/ 1991, doi: https://doi.org/10.1016/0004-3702(91)90109-W.
[5] L. A. Briceno-Mena, G. Venugopalan, J. A. Romagnoli, and C. G. Arges, "Machine learning for guiding high-temperature PEM fuel cells with greater power density," Patterns, p. 100187, 2021/01/08/ 2021, doi: https://doi.org/10.1016/j.patter.2020.100187.
[6] L. A. Briceno-Mena, C. G. Arges, and J. A. Romagnoli, "Machine learning-based surrogate models and transfer learning for derivative free optimization of HT-PEM fuel cells," Computers & Chemical Engineering, vol. 171, p. 108159, 2023/03/01/ 2023, doi: https://doi.org/10.1016/j.compchemeng.2023.108159.
[7] C. A. Henao and C. T. Maravelias, "Surrogate-based superstructure optimization framework," AIChE Journal, https://doi.org/10.1002/aic.12341 vol. 57, no. 5, pp. 1216-1232, 2011/05/01 2011, doi: https://doi.org/10.1002/aic.12341.
[8] J. Na et al., "General technoeconomic analysis for electrochemical coproduction coupling carbon dioxide reduction with organic oxidation," Nature Communications, vol. 10, no. 1, p. 5193, 2019/11/15 2019, doi: 10.1038/s41467-019-12744-y.
[9] V. M. Palakkal, L. Valentino, Q. Lei, S. Kole, Y. J. Lin, and C. G. Arges, "Advancing electrodeionization with conductive ionomer binders that immobilize ion-exchange resin particles into porous wafer substrates," npj Clean Water, vol. 3, no. 1, p. 5, 2020/03/02 2020, doi: 10.1038/s41545-020-0052-z.