LAPSE:2025.0394v1
Published Article

LAPSE:2025.0394v1
Langmuir.jl: An Efficient and composable Julia Package for Adsorption Thermodynamics
June 27, 2025
Abstract
Recent advancements in material design have made adsorption a more energy-efficient alternative to traditional thermally driven separation processes. Accurate modelling of adsorption thermodynamics is crucial for designing and operating equilibrium-limited adsorption systems. High-quality open-source packages like PyIAST, PyGAPsare available for processing adsorption data in Python. They provide a robust set of features for processing and analysing isotherms. However, they have no support for automatic differentiation and are not targeted for performance. Langmuir.jl addresses these limitations by leveraging Julia's composable and differentiable programming ecosystem. Langmuir.jl includes tools for processing adsorption thermodynamics dataloading data, fitting isotherms with most often used models, predictive multicomponent adsorption through Ideal Adsorption Solution Theory (IAST) and, importantly, enabling accurate derivative calculations through Julia's automatic differentiation libraries, without requiring extensive code adjustments. Furthermore, Langmuir.jl achieves two orders of magnitude faster IAST calculations compared to its Python counterpart, PyIAST.
Recent advancements in material design have made adsorption a more energy-efficient alternative to traditional thermally driven separation processes. Accurate modelling of adsorption thermodynamics is crucial for designing and operating equilibrium-limited adsorption systems. High-quality open-source packages like PyIAST, PyGAPsare available for processing adsorption data in Python. They provide a robust set of features for processing and analysing isotherms. However, they have no support for automatic differentiation and are not targeted for performance. Langmuir.jl addresses these limitations by leveraging Julia's composable and differentiable programming ecosystem. Langmuir.jl includes tools for processing adsorption thermodynamics dataloading data, fitting isotherms with most often used models, predictive multicomponent adsorption through Ideal Adsorption Solution Theory (IAST) and, importantly, enabling accurate derivative calculations through Julia's automatic differentiation libraries, without requiring extensive code adjustments. Furthermore, Langmuir.jl achieves two orders of magnitude faster IAST calculations compared to its Python counterpart, PyIAST.
Record ID
Keywords
Adsorption, Differentiable Programming, Open-Source Software, Thermodynamics
Subject
Suggested Citation
Santana V, Riedemann A, Walker PJ, Nogueira I. Langmuir.jl: An Efficient and composable Julia Package for Adsorption Thermodynamics. Systems and Control Transactions 4:1505-1511 (2025) https://doi.org/10.69997/sct.144752
Author Affiliations
Santana V: Norwegian University of Science and Technology, Department of Chemical Engineering, Trondheim, Norway
Riedemann A: Universidad de Concepción, Department of Chemical Engineering, Concepción, Chile
Walker PJ: California Institute of Technology, Division of Chemistry and Chemical Engineering, Pasadena, California, USA
Nogueira I: Norwegian University of Science and Technology, Department of Chemical Engineering, Trondheim, Norway
Riedemann A: Universidad de Concepción, Department of Chemical Engineering, Concepción, Chile
Walker PJ: California Institute of Technology, Division of Chemistry and Chemical Engineering, Pasadena, California, USA
Nogueira I: Norwegian University of Science and Technology, Department of Chemical Engineering, Trondheim, Norway
Journal Name
Systems and Control Transactions
Volume
4
First Page
1505
Last Page
1511
Year
2025
Publication Date
2025-07-01
Version Comments
Original Submission
Other Meta
PII: 1505-1511-1506-SCT-4-2025, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2025.0394v1
This Record
External Link

https://doi.org/10.69997/sct.144752
Article DOI
Download
Meta
Record Statistics
Record Views
657
Version History
[v1] (Original Submission)
Jun 27, 2025
Verified by curator on
Jun 27, 2025
This Version Number
v1
Citations
Most Recent
This Version
URL Here
https://psecommunity.org/LAPSE:2025.0394v1
Record Owner
PSE Press
Links to Related Works
References Cited
- J.-R. Li et al., "Carbon dioxide capture-related gas adsorption and separation in metal-organic frameworks," Coord. Chem. Rev., vol. 255, no. 15, pp. 1791-1823, 2011, doi: https://doi.org/10.1016/j.ccr.2011.02.012
- H. Pan, J. a Ritter, and P. B. Balbuena, "from the Clausius - Clapeyron Equation," vol. 7463, no. 11, pp. 6323-6327, 1998 https://doi.org/10.1021/la9803373
- M. A. Al-Ghouti and D. A. Da'ana, "Guidelines for the use and interpretation of adsorption isotherm models: A review," J. Hazard. Mater., vol. 393, p. 122383, 2020, doi: https://doi.org/10.1016/j.jhazmat.2020.122383
- S. Sharma et al., "RUPTURA: simulation code for breakthrough, ideal adsorption solution theory computations, and fitting of isotherm models," Mol. Simul., vol. 49, no. 9, pp. 893-953, 2023, https://doi.org/10.1080/08927022.2023.2202757
- C. M. Simon, B. Smit, and M. Haranczyk, "pyIAST: Ideal adsorbed solution theory (IAST) Python package," Comput. Phys. Commun., vol. 200, pp. 364-380, 2016, doi: https://doi.org/10.1016/j.cpc.2015.11.016
- P. Iacomi and P. L. Llewellyn, "pyGAPS: a Python-based framework for adsorption isotherm processing and material characterisation," Adsorption, vol. 25, no. 8, pp. 1533-1542, 2019, https://doi.org/10.1007/s10450-019-00168-5
- J. Bezanson, A. Edelman, S. Karpinski, and V. B. Shah, "Julia: A fresh approach to numerical computing," SIAM Rev., vol. 59, no. 1, pp. 65-98, 2017, [Online]. Available: https://doi.org/10.1137/141000671
- P. J. Walker, H. W. Yew, and A. Riedemann, "Clapeyron.jl: An Extensible, Open-Source Fluid Thermodynamics Toolkit," Ind. Eng. Chem. Res., vol. 61, no. 20, pp. 7130-7153, 2022, https://doi.org/10.1021/acs.iecr.2c00326
- P. J. Walker, A. Riedemann, and Z.-G. Wang, "GCIdentifier.jl: A Julia package for identifying molecular fragments from SMILES," J. Open Source Softw., vol. 9, no. 96, p. 6453, 2024, https://doi.org/10.21105/joss.06453
- Z. Qiao, Z. Wang, C. Zhang, S. Yuan, Y. Zhu, and J. Wang, "PVAm-PIP/PS composite membrane with high performance for CO2/N2 separation," AIChE J., vol. 59, no. 4, pp. 215-228, 2012, https://doi.org/10.1002/aic.13781
- V. V. Santana et al., "Ethylene Purification by Pressure Swing Adsorption with the Paraffin Selective Metal-Organic Framework-DUT-8," Ind. Eng. Chem. Res., vol. 63, no. 5, pp. 2307-2319, 2024, https://doi.org/10.1021/acs.iecr.3c02808

