LAPSE:2026.0511
Published Article

LAPSE:2026.0511
Open-Source Optimization Algorithm for the Simulated Moving Bed Process using CasADi
June 12, 2026
Abstract
In modern industrial systems, increasing performance requirements and sustainability constraints have intensified the need for advanced optimization methodologies capable of efficiently handling complex process models. The Simulated Moving Bed (SMB) process is a well-established technology for continuous chromatographic separations, offering high productivity and reduced solvent consumption compared to batch operations. However, its optimization is challenging due to the underlying distributed-parameter nature of the process.This work presents the development of a dynamic simulation and parameter optimization framework for the SMB process, implemented in Python using the open-source CasADi framework. The SMB model accounts for axial dispersion and mass transfer using a linear driving force formulation and is discretized in space using the method of lines, resulting in a state-space representation compatible with CasADi's numerical tools. Model accuracy was validated by reproducing a benchmark case from literature and comparing concentration profiles and product purities against results obtained using MATLAB's PDEPE solver.The proposed framework was further applied to a parameter optimization problem involving the separation of fructose and glucose. The objective was to maximize the feed velocity subject to purity and recovery constraints for fructose, with the superficial velocities in each SMB section and the switching time treated as decision variables. The resulting nonlinear programming problem was solved using a direct single-shooting approach and the interior-point optimizer IPOPT. The optimized operating conditions and performance metrics closely match published results, while achieving the solution in less than 90% of the computational time reported for a gPROMS-based implementation.
In modern industrial systems, increasing performance requirements and sustainability constraints have intensified the need for advanced optimization methodologies capable of efficiently handling complex process models. The Simulated Moving Bed (SMB) process is a well-established technology for continuous chromatographic separations, offering high productivity and reduced solvent consumption compared to batch operations. However, its optimization is challenging due to the underlying distributed-parameter nature of the process.This work presents the development of a dynamic simulation and parameter optimization framework for the SMB process, implemented in Python using the open-source CasADi framework. The SMB model accounts for axial dispersion and mass transfer using a linear driving force formulation and is discretized in space using the method of lines, resulting in a state-space representation compatible with CasADi's numerical tools. Model accuracy was validated by reproducing a benchmark case from literature and comparing concentration profiles and product purities against results obtained using MATLAB's PDEPE solver.The proposed framework was further applied to a parameter optimization problem involving the separation of fructose and glucose. The objective was to maximize the feed velocity subject to purity and recovery constraints for fructose, with the superficial velocities in each SMB section and the switching time treated as decision variables. The resulting nonlinear programming problem was solved using a direct single-shooting approach and the interior-point optimizer IPOPT. The optimized operating conditions and performance metrics closely match published results, while achieving the solution in less than 90% of the computational time reported for a gPROMS-based implementation.
Record ID
Keywords
CasADi, Dynamical Systems, Optimization, Partial Differential Equations, Simulated Moving Bed
Subject
Suggested Citation
Nunes J, Ribeiro AM, Ferreira A, Rodrigues D. Open-Source Optimization Algorithm for the Simulated Moving Bed Process using CasADi. Systems and Control Transactions 5:2466-2472 (2026) https://doi.org/10.69997/sct.111489
Author Affiliations
Nunes J: LSRE-LCM, ALiCE, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465, Porto, Portugal [ORCID]
Ribeiro AM: LSRE-LCM, ALiCE, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465, Porto, Portugal [ORCID]
Ferreira A: LSRE-LCM, ALiCE, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465, Porto, Portugal [ORCID]
Rodrigues D: LSRE-LCM, ALiCE, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465, Porto, Portugal [ORCID]
[Login] to see author email addresses.
Ribeiro AM: LSRE-LCM, ALiCE, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465, Porto, Portugal [ORCID]
Ferreira A: LSRE-LCM, ALiCE, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465, Porto, Portugal [ORCID]
Rodrigues D: LSRE-LCM, ALiCE, Faculty of Engineering, University of Porto, Rua Dr. Roberto Frias, 4200-465, Porto, Portugal [ORCID]
[Login] to see author email addresses.
Journal Name
Systems and Control Transactions
Volume
5
First Page
2466
Last Page
2472
Year
2026
Publication Date
2026-06-12
Version Comments
Original Submission
Other Meta
PII: 2466-2472-235-SCT-5-2026, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2026.0511
This Record
External Link

https://doi.org/10.69997/sct.111489
Publisher Version
Download
Meta
Record Statistics
Record Views
3
Version History
[v1] (Original Submission)
Jun 12, 2026
Verified by curator on
Jun 12, 2026
This Version Number
v1
Citations
Most Recent
This Version
URL Here
https://psecommunity.org/LAPSE:2026.0511
Record Owner
PSE Press
Links to Related Works
References Cited
- Rodrigues AE, Pereira C, Minceva M, Pais LS, Ribeiro AM, Ribeiro A, Silva M, Graça N, Santos JC. Principles of simulated moving bed. Simulated Moving Bed Technology :1-30 (2015) https://doi.org/10.1016/b978-0-12-802024-1.00001-x
- Kim KM, Lee JW, Kim S, Santos da Silva FV, Seidel-Morgenstern A, Lee CH. Advanced operating strategies to extend the applications of simulated moving bed chromatography. Chem Eng & Technol 40:2163-2178 (2017) https://doi.org/10.1002/ceat.201700206
- Juza M, Mazzotti M, Morbidelli M. Simulated moving-bed chromatography and its application to chirotechnology. Trends in Biotechnology 18:108-118 (2000) https://doi.org/10.1016/s0167-7799(99)01419-5
- Ruthven DM, Ching CB. Counter-current and simulated counter-current adsorption separation processes. Chemical Engineering Science 44:1011-1038 (1989) https://doi.org/10.1016/0009-2509(89)87002-2
- Blehaut J, Nicoud RM. Recent aspects in simulated moving bed. Analusis 26:60-70 (1998) https://doi.org/10.1051/analusis:199826070060
- Holmqvist A, Magnusson F. Open-loop optimal control of batch chromatographic separation processes using direct collocation. Journal of Process Control 46:55-74 (2016) https://doi.org/10.1016/j.jprocont.2016.08.002
- Andersson J, Åkesson J, Diehl M. Dynamic optimization with CasADi. IEEE CDC (2012) https://doi.org/10.3384/ecp11063218
- Andersson J, Åkessona J, Casellad F, Diehl M. Integration of casadi and jmodelica.org. Linköping Electronic Conference Proceedings 63:218-231 (2011) https://doi.org/10.3384/ecp11063218
- Kawajiri Y, Biegler LT. Optimization strategies for simulated moving bed and powerfeed processes. AIChE Journal 52:1343-1350 (2005) https://doi.org/10.1002/aic.10736
(0.08 seconds)
[0.09 s]

