Jesper Frandsen , Jan Michael Breuer , Johannes Schmölder , Jakob Kjøbsted Huusom , Krist V. Gernaey , Jens Abildskov , Eric von Lieres
{"title":"CADET-Julia: Efficient and versatile, open-source simulator for batch chromatography in Julia","authors":"Jesper Frandsen , Jan Michael Breuer , Johannes Schmölder , Jakob Kjøbsted Huusom , Krist V. Gernaey , Jens Abildskov , Eric von Lieres","doi":"10.1016/j.compchemeng.2024.108913","DOIUrl":null,"url":null,"abstract":"<div><div>This study introduces CADET-Julia, an open-source, versatile and fast chromatography solver implemented in the Julia programming language. The software offers a platform for rapid prototyping and numerical refinement for a range of chromatography models, including the general rate model (GRM). The interstitial column mass balance was spatially discretized using a strong-form discontinuous Galerkin spectral element method (DGSEM) whereas a generalized spatial Galerkin spectral method (GSM) was applied for the particle mass balance. Three different benchmarks showcased the computational efficiency of CADET-Julia: A baseline benchmark was established by comparing the Julia implementation to a C++ implementation that employed the same mathematical methods and time integrator (CADET-DG). Various Julia time integrators were tested, and with the best-performing settings, the Julia implementation was benchmarked against CADET-DG and a finite volume (FV) based implementation in C++ (CADET-FV). Overall, Julia implementations performed better than C++ implementations and Galerkin methods were generally superior to finite volumes.</div></div>","PeriodicalId":286,"journal":{"name":"Computers & Chemical Engineering","volume":"192 ","pages":"Article 108913"},"PeriodicalIF":3.9000,"publicationDate":"2024-11-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Chemical Engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0098135424003314","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
This study introduces CADET-Julia, an open-source, versatile and fast chromatography solver implemented in the Julia programming language. The software offers a platform for rapid prototyping and numerical refinement for a range of chromatography models, including the general rate model (GRM). The interstitial column mass balance was spatially discretized using a strong-form discontinuous Galerkin spectral element method (DGSEM) whereas a generalized spatial Galerkin spectral method (GSM) was applied for the particle mass balance. Three different benchmarks showcased the computational efficiency of CADET-Julia: A baseline benchmark was established by comparing the Julia implementation to a C++ implementation that employed the same mathematical methods and time integrator (CADET-DG). Various Julia time integrators were tested, and with the best-performing settings, the Julia implementation was benchmarked against CADET-DG and a finite volume (FV) based implementation in C++ (CADET-FV). Overall, Julia implementations performed better than C++ implementations and Galerkin methods were generally superior to finite volumes.
本研究介绍了 CADET-Julia,这是一款开源、多功能、快速的色谱求解器,采用 Julia 编程语言实现。该软件为一系列色谱模型(包括通用速率模型 (GRM))的快速原型设计和数值改进提供了平台。间隙柱质量平衡采用强形式非连续伽勒金谱元法(DGSEM)进行空间离散化,而颗粒质量平衡则采用广义空间伽勒金谱元法(GSM)。三个不同的基准测试展示了 CADET-Julia 的计算效率:通过比较 Julia 实现与采用相同数学方法和时间积分器的 C++ 实现(CADET-DG),建立了基准测试。对各种 Julia 时间积分器进行了测试,并使用性能最佳的设置,将 Julia 实现与 CADET-DG 和基于有限体积 (FV) 的 C++ 实现 (CADET-FV) 进行了基准比较。总体而言,Julia 实现的性能优于 C++ 实现,Galerkin 方法总体上优于有限体积方法。
期刊介绍:
Computers & Chemical Engineering is primarily a journal of record for new developments in the application of computing and systems technology to chemical engineering problems.