EconPapers    
Economics at your fingertips  
 

A comprehensive comparison of ODE solvers for biochemical problems

Karol Postawa, Jerzy Szczygieł and Marek Kułażyński

Renewable Energy, 2020, vol. 156, issue C, 624-633

Abstract: 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 × 108). 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 ode15s, as well as a python solver - the LSODA. The first needed averagely 84,051s of calculation time, and 96465 steps, while ode15s 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.

Keywords: Model; Simulation; Numerical; Performance; Bioenergy (search for similar items in EconPapers)
Date: 2020
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (3)

Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0960148120306212
Full text for ScienceDirect subscribers only

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:eee:renene:v:156:y:2020:i:c:p:624-633

DOI: 10.1016/j.renene.2020.04.089

Access Statistics for this article

Renewable Energy is currently edited by Soteris A. Kalogirou and Paul Christodoulides

More articles in Renewable Energy from Elsevier
Bibliographic data for series maintained by Catherine Liu ().

 
Page updated 2025-03-19
Handle: RePEc:eee:renene:v:156:y:2020:i:c:p:624-633