Zhu Kuang, Zhang Wenjuan, Jafarov Elchin, Karra Satish, Solander Kurt, Demirtas Meltem Urgun, Raskin Lutgarde, Skerlos Steven
Department of Civil and Environmental Engineering, University of Michigan, Ann Arbor, Michigan, USA.
Department of Mathematical and Statistical Sciences, University of Colorado Denver, Denver, Colorado, USA.
Biotechnol Bioeng. 2025 Apr;122(4):792-803. doi: 10.1002/bit.28906. Epub 2024 Dec 24.
An open-source modeling platform, called Anaerobic Digestion Model No. 1 Fast (ADM1F), is introduced to achieve fast and numerically stable simulations of anaerobic digestion processes. ADM1F is compatible with an iPython interface to facilitate model configuration, simulation, data analysis, and visualization. Faster simulations and more stable results are accomplished by implementing an advanced open-source library of numerical methods called Portable Extensive Toolkit for Scientific Computation (PETSc) to solve the ADM1 system of equations. Leveraging PETSc, ADM1F can consistently complete a steady-state simulation under 0.2 s, over 99% faster than a benchmark ADM1 model implemented with MATLAB while achieving agreement of model outputs within 1% of those obtained with the benchmark model. For dynamic simulations, however, ADM1F has a computational speed advantage only when the influent characteristics update more frequently than every 4 h. The ability of ADM1F to be useful as a tool to study anaerobic digestion systems is demonstrated through two example implementations of ADM1F: (1) a two-phase co-digestion scenario evaluating the impact of the organic loading rate and the substrate composition on reactor performance and stability, and (2) a conventional digester scenario assessing the effectiveness of recovery strategies after disruptions that led to instability. These examples demonstrate how the high simulation speed and the convenience of the iPython interface allow ADM1F to complete complex analyses within minutes, much faster than computational strategies currently reported in the literature.
为实现对厌氧消化过程的快速且数值稳定的模拟,引入了一个名为厌氧消化模型1快速版(ADM1F)的开源建模平台。ADM1F与iPython接口兼容,以方便进行模型配置、模拟、数据分析和可视化。通过实现一个名为科学计算便携式扩展工具包(PETSc)的先进数值方法开源库来求解ADM1方程组,从而实现更快的模拟和更稳定的结果。借助PETSc,ADM1F能够在0.2秒内持续完成稳态模拟,比用MATLAB实现的基准ADM1模型快99%以上,同时模型输出与基准模型的输出一致性在1%以内。然而,对于动态模拟,只有当进水特性更新频率高于每4小时一次时,ADM1F才具有计算速度优势。通过ADM1F的两个示例实现展示了ADM1F作为研究厌氧消化系统工具的实用性:(1)一个两相共消化场景,评估有机负荷率和底物组成对反应器性能和稳定性的影响;(2)一个传统消化器场景,评估导致不稳定的干扰后恢复策略的有效性。这些示例展示了高模拟速度和iPython接口的便利性如何使ADM1F能够在几分钟内完成复杂分析,比目前文献中报道的计算策略快得多。