The modeling of the electrical activity of the heart is of great medical and scientific interest as it provides a way to better understand the underlying biophysical phenomena, supports the development of new techniques for diagnoses and serves as a platform for drug tests. At cellular level, the electrical activity of cardiac myocytes may be simulated by solving a system of ordinary differential equations (ODEs) describing the electrical behavior of the cell membrane. Because the biophysical processes underlying this phenomenon are non-linear and change very rapidly, the ODE system is challenging to solve numerically. Furthermore, the implementation of these models is a hard task. This paper presents a tool to describe models using Ordinary Differential Equations. It is based on CellML standard and automatically generates C++ source-code, with numerical methods to solve the model's equations. The aim of this work is to present a numerical method with adaptive time step based on the Euler Method and Second Order RungeKutta method. The proposed method accelerated the execution and kept numerical errors under control. Preliminary results suggest this adaptive method is up to 25 times faster than the explicit Euler method with fixed time step.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.