个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证An open-source adsorption process simulator
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Skarstrom is an open-source library for adsorption process simulations including pressure, vacuum and temperature swing adsorption (PSA, VSA and TSA). Written in C++, the engine solves a 1D finite-volume model of a packed-bed adsorption column with multiple layers. Skarstrom is designed for engineers and scientists to rapidly develop new adsorption-based gas separation systems, with modules for accelerating convergence to cyclic steady state and for optimising purity, recovery, productivity and energy consumption.
Several commercial simulation packages are available, but to date there has been no good open-source tool for adsorption modelling. It has become common practice for people to write their own models from scratch, resulting in a lot of repeated work and a lack of transparency and reproducibility.
Skarstrom aims to bridge this gap by being the first comprehensive open project for adsorption researchers to collaborate on. We also showcase exceptional solver speed and performance, and hope this can be improved further by collaboration with the community.
Cycle optimisation and parameter fitting are important design tasks that require running to cyclic steady state (CSS) hundreds or thousands of times, so Skarstrom has been optimised for performance to make these tasks practical on common hardware. There are no well-established performance benchmarks; however, the table below can be used as a guide to the expected time to reach CSS. You are encouraged to run the examples yourself and benchmark them against your own code.
| Example | Cells | Cycles to CSS | Time to CSS |
|---|---|---|---|
Basic 4-step VSA, 15 % CO₂ / N₂ on zeolite 13X (Perez2019_A) | 30 | 50 | 4.4 s |
4-step VPSA with light-product pressurisation, CO₂ / N₂ on CALF-20 (Nguyen2023_Exp_VI) | 100 | 68 | 16.5 s |
4-step PVSA for biogas upgrading, 40 % CO₂ / CH₄ on zeolite NaY (Ferre2026_NaYF) | 30 | 30 | 3.1 s |
4-step VSA, 15 % CO₂ / N₂ on Mg-MOF-74 (Ward2024) | 30 | 55 | 4.4 s |
4-step VSA, 15 % CO₂ / N₂ on Mg-MOF-74 (Ward2024), finer grid | 90 | 52 | 14.6 s |
CSS is reached when every component's mass balance over a cycle closes within 0.5 %. Median of 3 runs on one core of an Apple M4, Release build; reproduce with python scripts/benchmark_css.py.
We host a user interface on the Skarstrom website. It is a browser-based interface that runs the C++ engine and is the best starting point for users who don't want to write code. From the interface you can run examples, visualise the results, and run optimisation and parameterisation studies.
Skarstrom is published on PyPI, so you can use it in your project with:
pip install skarstrom
The best place to start is one of the 33 bundled examples, each of which reproduces a published study.
The full documentation is at https://samaffleck.github.io/skarstrom/: getting started, the Python API and command line, tutorials, the model equations, the adsorbent library and the validation results.
If you use Skarstrom in published work, please cite it using CITATION.cff.
If you would like to be a part of the steering committee to guide Skarstrom's direction, please contact Sam Affleck on LinkedIn. People from academia and industry are both welcome.
Contributions are welcome — see CONTRIBUTING.md (DCO sign-off, tests, data-integrity rules) and the Code of Conduct. Security issues: SECURITY.md. Coding agents: AGENTS.md.
Skarstrom is licensed under the Apache License 2.0; see also NOTICE. It builds on third-party components under their own permissive licences, listed in THIRD_PARTY_NOTICES.md.