A comprehensive comparison of ODE solvers for biochemical problems

被引:19
作者
Postawa, Karol [1 ]
Szczygiel, Jerzy [1 ]
Kulazynski, Marek [1 ]
机构
[1] Wroclaw Univ Sci & Technol, Dept Chem, Wybrzeze Wyspianskiego 27, PL-50370 Wroclaw, Poland
关键词
Model; Simulation; Numerical; Performance; Bioenergy; ANAEROBIC-DIGESTION; RENEWABLE ENERGY; BIOGAS; OPTIMIZATION; MANURE; MODEL;
D O I
10.1016/j.renene.2020.04.089
中图分类号
X [环境科学、安全科学];
学科分类号
08 ; 0830 ;
摘要
The article is focused on a deep and detailed study on available Ordinary Differential Equations (ODEs) numerical solvers for biochemical and bioprocesses purposes, which are an important part of the renewable energy sector. A wide selection of algorithms is tested - starting from simple, single-step explicit methods, ending with implicit multi-step techniques. These include MATLAB, Python, C++, and C# implementations. The test configuration is an ODEs based model that simulates a biogas production reactor. The research shows that most of the tested solvers pass the accuracy-test (the difference didn't exceed 0,07%), however only selected are efficient. Most of Runge-Kutta based methods are slow and require an enormous number of steps (more than 2.5 x 10(8)). Only multi-step implicit methods are long term solutions - they provide great accuracy while dealing well with stiff, non-smooth ODEs sets. The best from tested solutions were two MATLAB solvers - ode23s and odel5s, as well as a python solver - the LSODA. The first needed averagely 84,051s of calculation time, and 96465 steps, while odel5s required just 11,529s, performing over 20-times fewer steps. The LSODA is ranked somewhere between them with 18,806s of calculation time and the total number of 23730 steps for tested ODEs set. (C) 2020 Elsevier Ltd. All rights reserved.
引用
收藏
页码:624 / 633
页数:10
相关论文
共 35 条
[1]   Behind and beyond the MATLAB ODE suite [J].
Ashino, R ;
Nagase, M ;
Vaillancourt, R .
COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2000, 40 (4-5) :491-512
[2]  
Atkinson K. E., 1989, An Introduction to Numerical Analysis, V2nd ed., DOI DOI 10.1002/0471667196.ESS1837
[3]   Models as lab equipment: science from computational experiments [J].
Bankes, Steve .
COMPUTATIONAL AND MATHEMATICAL ORGANIZATION THEORY, 2009, 15 (01) :8-10
[4]   Implicit peer methods for large stiff ODE systems [J].
Beck S. ;
Weiner R. ;
Podhaisky H. ;
Schmitt B.A. .
Journal of Applied Mathematics and Computing, 2012, 38 (1-2) :389-406
[5]   Application of Anaerobic Digestion Model No. 1 for describing anaerobic digestion of grass, maize, green weed silage, and industrial glycerine [J].
Biernacki, Piotr ;
Steinigeweg, Sven ;
Borchert, Axel ;
Uhlenhut, Frank .
BIORESOURCE TECHNOLOGY, 2013, 127 :188-194
[6]   Choosing the best model: Level of detail, complexity, and model performance [J].
Brooks, RJ ;
Tobias, AM .
MATHEMATICAL AND COMPUTER MODELLING, 1996, 24 (04) :1-14
[7]   VODE - A VARIABLE-COEFFICIENT ODE SOLVER [J].
BROWN, PN ;
BYRNE, GD ;
HINDMARSH, AC .
SIAM JOURNAL ON SCIENTIFIC AND STATISTICAL COMPUTING, 1989, 10 (05) :1038-1051
[8]   Renewable energy from biogas with reduced carbon dioxide footprint: Implications of applying different plant configurations and operating pressures [J].
Budzianowski, Wojciech M. ;
Postawa, Karol .
RENEWABLE & SUSTAINABLE ENERGY REVIEWS, 2017, 68 :852-868
[9]   ARK methods for stiff problems [J].
Butcher, JC ;
Rattenbury, N .
APPLIED NUMERICAL MATHEMATICS, 2005, 53 (2-4) :165-181
[10]   SENSITIVITY ANALYSIS OF INITIAL-BOUNDARY-VALUE PROBLEMS WITH MIXED PDES AND ALGEBRAIC EQUATIONS - APPLICATIONS TO CHEMICAL AND BIOCHEMICAL SYSTEMS [J].
CARACOTSIOS, M ;
STEWART, WE .
COMPUTERS & CHEMICAL ENGINEERING, 1995, 19 (09) :1019-1030