VIET NAM NATIONAL UNIVERSITY HO CHI MINH CITY HO CHI MINH UNIVERSITY OF TECHNOLOGY CAO HÀ THÀNH A FINITE DIFFERENCE METHOD USING HIGH – ORDER SCHEMES FOR MODELING NON – LINEAR CHROMATOGRAPHY PHƯƠNG PHÁP SAI PHÂN HỮU HẠN SỬ DỤNG CÔNG THỨC BẬC CAO ĐỂ MÔ PHỎNG SẮC KÝ PHI TUYẾN TÍNH Major: Chemical Engineering Major ID: 8520301 MASTER’S THESIS HO CHI MINH CITY, February 2023 This research was completed in: Ho Chi Minh university of Technology. VN HCM Thesis supervisor: (Signature) Assoc. Nguyen Tuan Anh Reviewer 1: (Signature) Assoc. Nguyen Quang Long Reviewer 2: (Signature) PhD.
Ly Cam Hung Master’s Thesis was defended in HCMC University of Technology, VNU-HCM on February 14th, 2023. The participants of the Mater’s Thesis Defend Council includes: 1. Nguyen Đinh Thanh 2. Nguyen Quang Long 3.
Ly Cam Hung 4. Đang Bao Trung 5. Đang Van Han Verification of the chairman of the Master’s Thesis Defense Council the Head of Chemical Engineering Faculty. CHAIRMAN OF THE COUNCIL DEAN OF CHEMICAL ENGINEERING FACULTY (Full name and Signature) (Full name and Signature) ii Vietnam National University HCMC SOCIALIST REPUBLIC OF VIETNAM HCM University of Technology Independent - Librety- Hapiness MASTER’S THESIS ASSIGNMENT Full name: Cao Ha Thanh Student ID: 1970161 Date of birth: 08/01/1996 Place of birth: TP.HCM Major : Chemical Engineering Major ID : 8520301 I.
TITLE A FINITE DIFFERENCE METHOD USING HIGH – ORDER SCHEMES FOR MODELING NON – LINEAR CHROMATOGRAPHY PHƯƠNG PHÁP SAI PHÂN HỮU HẠN SỬ DỤNG CÔNG THỨC BẬC CAO ĐỂ MÔ PHỎNG SẮC KÝ PHI TUYẾN TÍNH II. ASSIGNMENT AND CONTENT Establishing high- order approximation schemes to simulate HPLC Verifying the schemes using relavent test functions Applying the schemes in simulating the two major model of HPLC, namely GRM and EDM Analysing the effect of operation parameters on parameters of the chromatographic peak Validation by comparing the simulation and the experiments. ASSIGNMENT DELIVERY DATE : 14/02/2022 IV. ASSIGNMENT COMPLETION DATE : 10/12/2022 V.
THESIS SUPERVISOR : Assoc. Nguyen Tuan Anh HCM city, _____________ THESIS SUPERVISOR HEAD OF DEPARTMENT (Full name and Signature) (Full name and Signature) DEAN OF CHEMICAL ENGINEERING FACULTY (Full name and Signature) iii Acknowledgement First and foremost, I would like to express my sincere gratitude to my thesis supervisor, Associate Professor Dr. Nguyen Anh Tuan. In 2019, he taught me Modeling and Simulation.
Thanks to his inspiring teaching, I learned the miracle of the numerical method, which can help engineers solve any differential equation. Since then, my passion for discipline began to grow, and I decided to research this field. His comprehensive expertise, extensive experience, and enthusiastic guidance are essential factors in helping me do this research. Besides, I also appreciate the intellectual support of my friend, Nguyen Van Vinh Ha.
His experiments and knowledge in analytical chemistry are valuable to me. And last but not least, I would like to thank all my friends, family, and colleagues who have given me indispensable emotional support. Lời cảm ơn Đầu tiên, tôi xin gửi lời cảm ơn trân thành tới PGS. Nguyễn Tuấn Anh, giảng viên hướng dẫn luận văn này.
Từ năm 2019, thầy Tuấn Anh đã dạy tôi môn Mô hình hóa và Mô phỏng. Nhờ và vào những bài giảng truyền cảm hứng của thầy, tôi đã thấy được sự kỳ diệu của phương pháp số, thứ có thể giúp các kỹ sư giải được mọi phương trình. Từ đó, niềm đam mê của tôi dành cho Mô phỏng lớn dần lên và tôi quyết định thực hiện nghiên cứu theo hướng này. Chuyên môn và kinh nghiệm dày dặn trong lĩnh vực mô phỏng cộng với sự hướng dẫn tận tình của thầy là những yếu tố then chốt giúp tôi thực hiện được luận văn này.
Bên cạnh đó, tôi cũng vô cùng trân trọng sự giúp đỡ của bạn Nguyễn Văn Vĩnh Hà. Các thí nghiệm của bạn cùng những góp ý chuyên môn trong lĩnh vực phân tích đã đóng vai trò không nhỏ trong việc giúp tôi hoàn thành luận văn này. Và cuối cùng nhưng cũng không kém phần quan trọng, tôi xin cảm ơn bạn bè, gia đình, và đồng nghiệp, những người đã dành cho tôi sự ủng hộ tinh thần quý giá. iv Abstract High – performance liquid chromatography (HPLC) is a dynamic separation process with a lot of parameters having different roles.
Operation parameters such as volume fraction of organic modifier, column temperature, flow rate, etc. have significant effects on system suitability presented by system suitability parameters such as plate count, retention factor, symmetry factor, etc. One way to demonstrate this process is using the model of the transportation of diluted species in porous media. The model gives an equation of HPLC that illustrates the equilibrium state of analytes between the surface of stationary phase particles and mobile phase, advection, and diffusion of analyte in the mobile phase within the column.
The solutions of the equation will indicate the effects of operation parameters on the system suitability ones and can be used to predict the behavior of a HPLC. Thus, the simulation of HPLC can give chemists a cutting-edge tool for developing analytical methods. The equations can be solved by semi – analytical methods, finite element methods, finite volume methods, or finite difference methods. The finite difference methods are favorable for solving problems that involved flow.
This thesis was about defining the partial differential equation of HPLC which was solved using a finite difference method. Taylor expansion is used in a general method for defining scheme to approximate the derivatives, and the truncation errors of these schemes. A fourth – order central difference scheme was used for estimating diffusion while a fifth – order upwind schemes are used for modeling. The modeling of the PDE equation runs on MATLAB script, which gives the model a great advantage of flexibility and high degree of control on the mathematical algorithm.
The model was evaluated by assessing the area recovery of the peak, testing non – retained substance behavior and comparing the calculation results with experimental data. v Tóm tắt Sắc ký lỏng hiệu năng cao (HPLC) là một quá trình phức tạp có nhiều thông số vận hành đóng các vai trò khác nhau. Các thông số vận hành này gồm có tỉ lệ thể tích của dung môi hữu cơ trong pha động, nhiệt độ cột, tốc độ dòng, … có ảnh hưởng lớn tới kết quả sự ổn định của hệ thống, được thể hiện qua các thông số tuong thích hệ thống như số đĩa lý thuyết, thời gian lưu, hệ số đối xứng, … Quá trình HPLC có thể được mô hình hóa bằng hiện tượng truyền vận của cấu tử nồng độ thấp trong môi trường xốp. Nhóm mô hình này đưa ra các phương trình diễn tả mối quan hệ giữa nồng độ trong pha tĩnh và pha động của chất pha tĩnh, sự dịch chuyển do dòng chảy của pha động và quá trình khếch tán.
Mô hình này, về lý thuyết, cung cấp các ảnh hưởng của các thông số vận hành đối với các thông số của peak trong sắc ký đồ và là công cụ hữu ích để dự đoán và phát triển các phương pháp phân tích sử dụng HPLC. Các phương trình này có thể được giải bằng một số cách khác nhau như phương pháp giải tích, phương pháp phần tử hữu hạn,và phương pháp sai phân hữu hạn. Trong đó phương thức sai phân hữu hạn có nhiều ưu điểm phù hợp để giải bài toán có liên qua đến dòng chảy như trường hợp của HPLC. Trong luận văn này, các phương trình vi phân riệng phần để mô phỏng HPLC sẽ được thiết lập và được giải bằng một phương pháp sai phân hữu hạn.
Khai triển Taylor được dùng để thiết lập các công thức sai phân để xấp xỉ các phép đạo hàm và xác định sai số của các công thức xấp xỉ này. Một công thức đối xứng bậc 4 dùng để xấp xỉ hiện tượng khếch tán và một công thức bậc 5 được dùng để xấp xỉ dòng chảy. Việc mô phỏng được thực hiện bằng code MATLAB để thuận tiện cho việc kiểm soát thuật toán và dễ dàng áp dụng các thay đổi khi cần thiết. Mô hình được thẩm định bằng cách kiểm tra bảo toàn vật chất, mô phỏng peak của chất không có tương tác và so sánh với kết quả thực nghiệm.
vi Declaration I proclaim that this thesis is original and that any other source is cited appropriately. Most of the figures in this work are originally illustrated, and the others are adapted from the identified source. Lời cam đoan Tôi xin cam kết luận văn này là nguyên bản, tất cả các tài liệu tham khảo khác đều được trích dẫn đúng cách và ghi nguồn cụ thể. Các hình ảnh số liệu phần lớn được lấy từ kết quả của luận văn này, các hình ảnh từ nguồn khác đều được trích dẫn phù hợp.
(Ký tên) Cao Hà Thành vii Contents MASTER’S THESIS ASSIGNMENT. iv Lời cảm ơn. vii Lời cam đoan. vii List of figures.
xi List of tables. xiii Notation and glossary. xiv List of Abbreviations. xvii Chapter 1: Literature review.
HPLC simulation: data – driven methods. Theory – based approaches for HPLC simulation. Finite difference methods. Relevance and motivation.
13 Chapter 2: Simulation and Modeling. Mass conservation equation. Calculating diffusion coefficient. Deriving approximation schemes for first order derivatives.
Deriving approximation schemes for second order derivatives. Courant number and alpha number. Central difference scheme for diffusion. Approximation of derivative of concentration with respect to distance in the Equilibrium Dispersive Model.
Approximation of derivative of concentration with respect to distance in the General Rate Model. Approximation of derivative of concentration with respect to time. 36 Chapter 3: Calculation and Experiment. Software and codes.
Chemicals and equipment. 39 Chapter 4: Results and discussions. Verification of the schemes’ accuracy. Derivative of the surface concentration.
Derivative of concentration in the mobile phase. Distribution of the analyte in the column. Effect of Approximation schemes. Effect of diffusion coefficient.
Effect of mass transfer coefficient. Effect of capacity of the stationary phase. Effect of adsorption constant. Effect of flow rate.
Effect of injection concentration. Effect of injection volume. Multi – component separation. Assessment of mass conservation.
Simulation of non – retained substance. Simulation of a sample set. 70 List of Publication. 72 Appendix A: Algorithm to define approximation schemes.
78 Appendix B: Algorithm for validating schemes to approximate derivative of adsorption constant. 79 Appendix C: Algorithm for validating schemes to approximate derivative of concentration 81 Appendix D: Verification results the approximation schemes. 90 x List of figures Figure 1.1: HPLC model classification.2: Effect of the isotherm curve on the peak shape (recreated from [44]).3: Procedure of derivative calculation .1: Test function and the respective verification results .2: Relative error and logarithm of relative error as functions of ∆C .3: Verification result of different test function with different n0.4: Distribution of concentration in the column using EDM .5: Distribution of concentration in the column using GRM.6: Chromatogram and suitability parameters at different approximation scheme for simulating the derivative of concentration with respect to distance in linear range using GRM .7: Chromatogram at different approximation scheme for simulating the derivative of concentration with respect to distance in non – linear range using GRM .8: Chromatogram and suitability parameters at different approximation scheme for simulating the derivative of concentration with respect to time in linear range using GRM .9: Chromatogram and suitability parameters at different diffusion coefficients using EDM .