The model was implemented based on the original Matlab code provided by the author. The derivatives were calculated for the original implementation and this version, and matched to within 17 digits. The code can be run to produce an AP similar to that seen in the original paper.

The stimulus was set to 0.5ms and -8000pA.

[1] Impact of Sarcoplasmic Reticulum Calcium Release on Calcium Dynamics and Action Potential Morphology in Human Atrial Myocytes: A Computational Study. Koivumaki JT, Korhonen T, Tavi P. 2011, PLoS Comput Biol 7(1): e1001067. https://doi.org/10.1371/journal.pcbi.1001067

[2] Mathematical Model of an Adult Human Atrial Cell: The Role of K+ Currents in Repolarization. A. Nygren, C. Fiset, L. Firek, J.W. Clark, D.S. Lindblad, R.B. Clark and W.R. Giles. 1998, Circulation Research, 82, 63-81. https://doi.org/10.1161/01.RES.82.1.63