Pygaps
Pygaps
Pygaps
v1
Material characterisation through adsorption is a widely-used laboratory technique. The isotherms obtained
through volumetric or gravimetric experiments impart insight through their features but can also be analysed to
determine material characteristics such as specific surface area, pore size distribution, surface energetics, or
used for predicting mixture adsorption. The pyGAPS (python General Adsorption Processing Suite)
framework was developed to address the need for high-throughput processing of such adsorption data,
independent of the origin, while also being capable of presenting individual results in a user-friendly manner. It
contains many common characterisation methods such as: BET and Langmuir surface area, t and α plots,
pore size distribution calculations (BJH, Dollimore-Heal, Horvath-Kawazoe, DFT/NLDFT kernel fitting),
isosteric heat calculations, IAST calculations, isotherm modelling and more, as well as the ability to import and
store data from Excel, CSV, JSON and sqlite databases. In this work, a description of the capabilities of
pyGAPS is presented. The code is then be used in two case studies: a routine characterisation of a
UiO-66(Zr) sample and in the processing of an adsorption dataset of a commercial carbon (Takeda 5A) for
applications in gas separation.
* mail@pauliacomi.com
Material characterisation through adsorption is a widely-used laboratory technique. The isotherms obtained through volumetric or gravi-
metric experiments impart insight through their features but can also be analysed to determine material characteristics such as specific
surface area, pore size distribution, surface energetics, or used for predicting mixture adsorption. The pyGAPS (python General Adsorption
Processing Suite) framework was developed to address the need for high-throughput processing of such adsorption data, independent of the
data origin, while also being capable of presenting individual results in a user-friendly manner. It contains many common characterisation
methods such as: BET and Langmuir surface area, t and α plots, pore size distribution calculations (BJH, Dollimore-Heal, Horvath-Kawazoe,
DFT/NLDFT kernel fitting), isosteric heat calculations, IAST calculations, isotherm modelling and more, as well as the ability to import and
store data from Excel, CSV, JSON and sqlite databases. In this work, a description of the capabilities of pyGAPS is presented. The code
is then be used in two case studies: a routine characterisation of a UiO-66(Zr) sample and in the processing of an adsorption dataset of a
commercial carbon (Takeda 5A) for applications in gas separation.
2.5. Units. When computers work with physical data, units are
often a matter that introduces confusion. Therefore pyGAPS
should carefully handle units and other physical world concepts
such as relative pressure and mass or volume basis.
The following dimensions can be specified for an Isotherm: (a) (b)
the measurement pressure (p), the quantity of guest adsorbed
or loading (n) and the amount of adsorbent material the Fig. 2. Output from the BET area function (a) the BET plot showing the selected
loading is reported on, or adsorbent (m). Each point is repre- points for fitting the equation, as well as the location of the statistical monolayer and
sented as [y n/m at y p], (for example [y mmol/g at x bar], (b) the Rouquerol plot for this calculation.
[y cm3 /mol at x p/p0 ] or [y mol/cm3 , x Pa]).
Pressure can be reported either in an absolute value, in The same isotherm is used to calculate the pore size distri-
several common units such as bar, torr, Pa, or as relative bution of the UiO-66(Zr) sample. This MOF has octahedral
pressure, absolute pressure divided by the saturation vapour cages surrounded by eight corner tetrahedral cages of 1.1 and
pressure of the adsorbate at the respective measurement tem- 0.8 nm respectively. The sample is therefore expected to have
perature. Conversions between the two modes are automatic only micropores. Two methods are available in pyGAPS for
and handled internally. Both the loading and adsorbent can micropore size distributions: a ‘classical’ Horvath-Kawazoe
be reported in three different bases: a molar basis, a mass (HK) method 24 , as well as a DFT fitting routine. The HK
basis or a volume basis. Within each basis different units method is called by using the function in Listing 6. Here,
are recognised and can be easily converted. The conversions the surface characteristic parameters determined by Saito and
5. Conclusions
To summarize, pyGAPS is a versatile and extensible software
package which can be used for both routine material charac-
terisation as well as complex adsorption isotherm processing.
It is easy to install and can run on all major operating sys-
tems. Due to the nature of the code as open source software
released under a permissive licence on GitHub, the framework
is free to use and can be improved by the contribution of third
parties. Together with an extensive documentation, the aim
is to simplify and automate repetitive analysis tasks, as well
as to aid in discovering trends in large datasets.
Acknowledgements
This work has received funding from the European Union’s
Horizon 2020 research and innovation programme under the
Marie Sklodowska-Curie grant agreement No 641887 (project
acronym: DEFNET).
References
1. E. P. Barrett, L. G. Joyner and P. P. Halenda, Journal of the American Chemical Society, 1951,
73, 373–380.
2. N. Seaton, J. Walton and N. Quirke, Carbon, 1989, 27, 853–861.
3. P. Tarazona, U. M. B. Marconi and R. Evans, Molecular Physics, 1987, 60, 573–595.
4. D. Siderius, V. Shen and R. Johnson, NIST / ARPA-E Database of Novel and Emerging
Adsorbent Materials, NIST Standard Reference Database 205, 2015.
5. L. S. Matott and A. J. Rabideau, Environmental Modelling & Software, 2008, 23, 670–676.
6. C. M. Simon, B. Smit and M. Haranczyk, Computer Physics Communications, 2016, 200,
364–380.
7. S. Lee, J. H. Lee and J. Kim, Korean Journal of Chemical Engineering, 2018, 35, 214–221.
8. I. H. Bell, J. Wronski, S. Quoilin and V. Lemort, Industrial & Engineering Chemistry Research,
2014, 53, 2498–2508.
9. E. Lemmon, NIST Reference Fluid Thermodynamic and Transport Properties Database: Ver-
sion 9.0, NIST Standard Reference Database 23, 1989.
10. I. Langmuir, Journal of the American Chemical Society, 1918, 40, 1361–1403.
11. J. Toth, 239.
12. C. R. C. Jensen and N. A. Seaton, Langmuir, 1996, 12, 2866–2867.
13. T. L. Hill, An Introduction to Statistical Thermodynamics, Dover Publications, New York, 1986.
14. C. M. Simon, J. Kim, L.-C. Lin, R. L. Martin, M. Haranczyk and B. Smit, Physical Chemistry
Chemical Physics, 2014, 16, 5499.
15. S. Brunauer, P. H. Emmett and E. Teller, Journal of the American Chemical Society, 1938, 60,
309–319.
16. C. van den Berg, PhD thesis, Van den Berg, Wageningen, 1981.
17. A. L. Myers, AIChE Journal, 2002, 48, 145–160.
18. T. W. Cochran, R. L. Kabel and R. P. Danner, AIChE Journal, 1985, 31, 268–277.
19. S. Suwanayuen and R. P. Danner, AIChE Journal, 1980, 26, 68–76.
20. J. Rouquerol, F. Rouquerol, P. L. Llewellyn, G. Maurin and K. Sing, Adsorption by Powders
and Porous Solids : Principles, Methodology and Applications, 2013.
21. J. H. Cavka, S. Jakobsen, U. Olsbye, N. Guillou, C. Lamberti, S. Bordiga and K. P. Lillerud,
Journal of the American Chemical Society, 2008, 130, 13850–13851.
22. A. D. Wiersum, E. Soubeyrand-Lenoir, Q. Yang, B. Moulin, V. Guillerm, M. B. Yahia, S. Bour-
relly, A. Vimont, S. Miller, C. Vagner, M. Daturi, G. Clet, C. Serre, G. Maurin and P. L. Llewellyn,
Chemistry - An Asian Journal, 2011, 6, 3270–3280.
23. L. Valenzano, B. Civalleri, S. Chavan, S. Bordiga, M. H. Nilsen, S. Jakobsen, K. P. Lillerud
and C. Lamberti, Chemistry of Materials, 2011, 23, 1700–1718.
24. G. Horvath and K. Kawazoe, Journal of Chemical Engineering of Japan, 1983, 16, 470–475.
25. A. Saito and H. C. Foley, AIChE Journal, 1991, 37, 429–436.
26. A. D. Wiersum, J.-S. Chang, C. Serre and P. L. Llewellyn, Langmuir, 2013, 29, 3301–3309.
* mail@pauliacomi.com
1.2. Gases. The gases used for the adsorption were obtained from Air Liquide and were of minimum N47
quality (99.997 % purity).
1.4. Carbon dioxide isotherms. The excess adsorption isotherms for pure CO2 were obtained gravimetrically
using a commercial balance (Rubotherm GmbH). Approximately 1 g of dried sample was used for these
experiments. Samples was activated in situ by heating under vacuum. The gas was introduced using a
step-by-step method, and equilibrium was assumed to have been reached when the variation of weight
remained below 30 µg over a 15 min interval. The volume of the sample was determined from a blank
experiment with helium as the nonadsorbing gas and used in combination with the gas density measured
by the Rubotherm balance to compensate for buoyancy.
1.5. Microcalorimetry at 303 K. Gas adsorption isotherms and enthalpies were measured experimentally
using a Tian-Calvet type microcalorimeter coupled with a home-made manometric gas dosing system. S2
This apparatus allows the simultaneous measurement of the adsorption isotherm and the corresponding
differential enthalpies. Gas is introduced into the system using a step-by-step method and each dose is
allowed to stabilize in a reference volume before being brought into contact with the adsorbent located in
the microcalorimeter. At low coverage the error in the signal can be estimated to around ± 0.2 kJ mol−1 .
Around 0.4 g of sample is used in each experiment.
References
(S1) G. C. Shearer, S. Chavan, J. Ethiraj, J. G. Vitillo, S. Svelle, U. Olsbye, C. Lamberti, S. Bordiga and K. P. Lillerud, Chemistry of Materials, 2014, 26, 4068–4071.
(S2) P. L. Llewellyn and G. Maurin, Comptes Rendus Chimie, 2005, 8, 283–302.
† Electronic Supplementary Information (ESI) available: one PDF file with all referenced supporting information.