Computational and Mathematical Methods in Medicine

Computational and Mathematical Methods in Medicine / 2013 / Article
!A Erratum for this article has been published. To view the article details, please click the ‘Erratum’ tab above.

Research Article | Open Access

Volume 2013 |Article ID 706195 |

Tianruo Guo, Amr Al Abed, Nigel H. Lovell, Socrates Dokos, "Optimisation of a Generic Ionic Model of Cardiac Myocyte Electrical Activity", Computational and Mathematical Methods in Medicine, vol. 2013, Article ID 706195, 20 pages, 2013.

Optimisation of a Generic Ionic Model of Cardiac Myocyte Electrical Activity

Academic Editor: Henggui Zhang
Received19 Nov 2012
Revised11 Feb 2013
Accepted18 Feb 2013
Published02 May 2013


A generic cardiomyocyte ionic model, whose complexity lies between a simple phenomenological formulation and a biophysically detailed ionic membrane current description, is presented. The model provides a user-defined number of ionic currents, employing two-gate Hodgkin-Huxley type kinetics. Its generic nature allows accurate reconstruction of action potential waveforms recorded experimentally from a range of cardiac myocytes. Using a multiobjective optimisation approach, the generic ionic model was optimised to accurately reproduce multiple action potential waveforms recorded from central and peripheral sinoatrial nodes and right atrial and left atrial myocytes from rabbit cardiac tissue preparations, under different electrical stimulus protocols and pharmacological conditions. When fitted simultaneously to multiple datasets, the time course of several physiologically realistic ionic currents could be reconstructed. Model behaviours tend to be well identified when extra experimental information is incorporated into the optimisation.

1. Introduction

The electrical activity of cardiac myocytes, including action potential (AP) waveforms and underlying membrane currents, has been extensively studied using a combination of microelectrode recording and mathematical modelling techniques [1]. The latter in particular has been utilised to provide a more quantitative and integrative understanding of the underlying mechanisms of cardiac electric activity. Biophysically detailed ionic models of cardiac cell electrophysiology are able to accurately reproduce a large range of behaviours, including membrane potential waveforms, specific ionic currents under voltage-clamp protocols, AP membrane current dynamics, and Ca2+ alternans [2, 3]. However, the ever-increasing number of variables in such models renders them computationally expensive when integrated into higher-dimensional tissue or whole heart simulations, limiting their utility.

As an alternative, simplified phenomenological models have been widely utilised in electrophysiological simulations due to their minimal complexity and computational cost. The first such generic model was the Fitzhugh-Nagumo (FHN) formulation published in 1961 [4], simplifying the four-variable Hodgkin-Huxley (HH) nerve axon model [5] into a two-variable formulation by eliminating gating variables with rapid time constants. Since its publication, FHN-type models have been frequently used in multicellular tissue simulations [69]. In 1998, Fenton and Karma published an improved phenomenological model based on the biophysically detailed Luo and Rudy [10] and Beeler and Reuter [11] ventricular cell ionic models in order to simulate ventricular fibrillation [12]. Given appropriate parameters, the ability of the three-variable Fenton-Karma model to reproduce AP duration restitution properties was shown to be comparable to biophysically detailed models [13]. By introducing an additional variable to this model, the Fenton-Cherry modification was also able to reproduce AP waveforms from pulmonary vein and left atrial myocytes [14]. Despite the successful application of these phenomenological models, their inherent oversimplicity may restrict their utility, particularly when simulating complex phenomena such as electrical remodelling during sustained arrhythmia [15] or the effects of selective ionic channel blockers [16]. For example, it is doubtful whether such models can accurately reproduce the range of AP waveforms recorded from the same myocyte under various electrical pacing frequencies or multiple degrees of selective ion channel block by drugs, due to the small number of membrane currents in these models.

Another significant challenge in cardiac single cell ionic modelling lies in estimating the host of parameters governing the kinetics and densities of the various membrane ion channels, pumps, and exchangers, as well as parameters governing intracellular ionic cycling and buffering mechanisms, all from readily available experimental data obtained in a given myocyte. Given enough parameters, ionic models may only be able to accurately reproduce ionic mechanisms under the precise experimental conditions they were fitted to in the first place. Models with modified parameters to fit another set of experimental data may lose their original mechanisms [3, 17], limiting their predictive utility. Moreover, the ever-increasing complexity of such models makes parameter estimation a highly difficult and time-consuming task. Although previous studies have undertaken parameter optimisation in cardiac ionic models [18, 19], these have all used a relatively limited subset of parameters (typically maximum membrane conductances only) to fit AP records. Until now, a very limited number of optimisation algorithms have been successfully used for large-scale optimisation of cardiac cell ionic models.

In response to these challenges, we have formulated a simplified HH-type generic model to accurately reconstruct a range of AP waveforms recorded from tissue-intact myocytes in rabbit sinoatrial (SAN) and right and left atrial (RA, LA) tissue preparations. The model structure is flexible and modular and the optimised models are able to reproduce complex behaviour such as the change in AP morphology due to selective ion channel block or high-frequency paced stimulation. Model parameters were estimated using a computationally simple, multiobjective AP optimisation approach based on a custom curvilinear-gradient method [20]. The improvement in membrane current reconstruction gained by optimising the model to simultaneously fit different AP experimental waveforms was examined.

2. Methods

2.1. Generic Cell Model Formulations

The generic form of the model is given by where (mV) denotes the transmembrane potential, denotes time, (μF/cm2) is the specific membrane capacitance, (nA/cm2) refers to the time-independent (leakage) current, (nA/cm2) is the applied stimulus, (nA/cm2) denotes the th time-dependent ionic current density, and is the user-defined number of time-dependent currents, the value of which depends on the complexity of the data to which the model is to be fitted. The ability to set the number of currents makes the model generic and modular. The time-dependent currents are represented by a two-gate HH scheme: where (μS/cm2) is the maximum ion channel conductance, and are dimensionless gating variables, and (mV) is the reversal potential for membrane current . The time-independent leakage current is described by where (μS/cm2) and (mV) are the maximum ion channel conductance and reversal potential, respectively. For the gating variables in (2), HH kinetics [5] are employed to specify first order differential equations (ODEs): where , and (s−1) represent opening and closing rates for the corresponding gating variable. These rates are given by sigmoidal functions of the membrane potential : where (s−1), (mV−1), and (mV) are parameters specific to each rate, with each parameter value shared between the and pair for each gating variable.

Therefore in total, the generic model contains ODEs and parameters. In principle, the higher the value of , the more degrees of freedom and the more complex are the electrophysiological behaviours which can be reproduced, at the cost of decreased computational efficiency.

2.2. Parameter Optimisation

A custom curvilinear gradient-based least-squares optimisation method, combining the advantages of both Newton and steepest-descent methods [20], was carried out on a standard desktop PC using Matlab software (The Mathworks Inc., USA). The curvilinear gradient method may be briefly described as follows: we assume that an array of data points are to be fitted by an ODE system , where is an array of parameters. The residual array between model and data is given by In general, the model output will be a nonlinear function of the parameter array p. However, the residual can be linearized using the approximation: where is the array of parameter increments relative to the current parameter set , and is the array of residuals. A least-squares scalar objective function, , to be minimised is given by where denotes the transpose, is the Jacobian matrix, is the current objective value, denotes the gradient of the objective at the current parameter point , and is the Hessian matrix. If the model is well determined in its parameters, will be nonsingular at the global minimum for .

Equation (8) represents a quadratic form in the parameter increment vector . The exact minimum of this quadratic form will occur at

and represents a full Newton step to the minimum objective value. In practice, however, the least squares scalar objective given by (8) will not be accurate for large , where the linear approximation of the residual in (7) breaks down. When is sufficiently small, (8) will be accurate. We can however search for the minimum objective along a curvilinear trajectory through the -dimensional parameter space given by the curve of steepest descent of the quadratic form (8). This trajectory is given by where is a parameter between 0 and infinity, with corresponding to the current parameter location and corresponding to the full Newton step mentioned previously. When the objective minimum has been found along the trajectory, the quadratic form (8) is recomputed, and another search is performed along a new curvilinear path. The approach is iteratively carried out until the least square objective is locally minimised. Full details of the method are described in Dokos and Lovell [20] including random restarts and iterative reweighting to find the global least squares minimum. In addition, some of the experimental AP waveforms recorded in the present study exhibited stimulus artifacts which could confound the optimisation process. These were effectively removed by assigning a weight of zero to the residual between model and data in these regions.

When optimising the model to fit multiple datasets simultaneously, the residual in (6) was formed by appending together the residuals of the model and the corresponding individual datasets. As a result, the calculation of the Jacobian matrix in (7) was slightly modified. Three cases can be considered.(i)Multiple data ( datasets) fitted using the assumption that each dataset shares the same parameter values, for example, fitting multiple AP data recorded from the same cell in response to different pacing conditions. will be of size , where is the total number of data points across all records and is the number of optimised model parameters.(ii)Multiple data ( datasets) fitted using the assumption that each model uses a unique set of parameters to fit each experimental dataset. Data-specific parameters to , each of size , are used for datasets 1 to . This process is equivalent to performing multiple single dataset optimisations independently, and then will be of size . (iii)Multiple data ( datasets) fitted using a combination of both shared and data-specific parameters. This is the case for the drug-specific and tissue-specific optimisation scenarios presented. For data-specific parameters (i.e., parameters unique to each dataset), will be of size .

Compared with single dataset fitting, more computational resources are required for multiobjective optimisations due to the larger size of the Jacobian matrix, as well as the fact that more local minima are likely to be present in the objective parameter space.

2.3. Cardiac Tissue Recordings

New Zealand White rabbits (6–24 months old) were anesthetised with 5% isofluorane, and 1000 IU of heparin was administered intravenously. A thoracotomy was performed and the heart was rapidly excised and placed in cold cardioplegia solution. SAN-RA or LA appendage tissue preparations were dissected and placed in a recording chamber, superfused with Tyrode’s solution and oxygenated with 95% O2 and 5% CO2 to maintain the pH at ~7.4. Intracellular APs were recorded using sharp glass microelectrodes (resistance 50–100 MΩ). Recordings were amplified (gain × 10) and filtered (low pass, cutoff 10 kHz) using an Axoclamp 2B amplifier (Axon Instruments, USA) and sampled at 20 kHz using a USB-6251 analog/digital converter (National Instruments, USA) and a custom build data acquisition software programmed in Labview (National Instruments, USA). For the LA experiments, the tissue was paced using a STG1002 stimulator (MultiChannel Systems, Germany). Monophasic suprathreshold pulses, 2 ms in duration, were delivered using Teflon coated bipolar stainless steel electrodes (125 μm diameter). All experiments were conducted in accordance with Australian animal research guidelines and were approved by the University of New South Wales Animal Ethics and Care Committee.

3. Results

3.1. Results of Optimised Minimal Generic Model

A minimal generic HH-type ionic model with two time-dependent membrane currents, one inward and one outward, in addition to a background leakage current was fitted to three consecutive spontaneous APs recorded from central sinoatrial node (cSAN), peripheral sinoatrial node (pSAN), and RA tissue-intact myocytes from rabbit sinoatrial tissue preparations. Optimised APs along with the corresponding ionic currents are shown in Figure 1. Lists of optimised parameter values and initial values for all model variables for each cell are given in Tables 1 and 2. In accordance with the data, the pSAN model-generated APs exhibited a faster upstroke, a more positive overshoot, and more negative maximum diastolic potential compared to the cSAN. Both types of SAN APs exhibited a slow depolarisation (pacemaker) phase which was absent in the RA cell, and, as a result, stimulus pulses of 2 ms duration and 30 μA/cm2 amplitude were applied to trigger APs in the RA model. There was a gradual transition in the shape of the AP and ionic current waveforms from central SAN to atrial tissue. In particular, the transient spike of the inward current (ionic current 1) was nearly absent in the cSAN model and progressively increased both in magnitude and upstroke rate from pSAN to RA. The root mean square (RMS) error between the optimised models and data was 1.02 mV, 1.53 mV, and 1.69 mV for cSAN, pSAN, and RA myocytes, respectively.

ParameterDescriptioncSANpSAN RA

Maximum conductance ( S/cm2) 95.7160.2933.55
Reversal potential of (mV)−91.74−92.80−97.71
Maximum value of 4932.744990.733099.16
Slope value for −1.84−2.92−0.10
Maximum value of 15.2641.154477.72
Slope value for 2.485.000.15
value for and −30.44−62.41−77.65
Maximum value of 1.406.61170.9
Slope value for −3.86−2.09−0.01
Maximum value of 7.927.810.01
Slope value for ( )0.100.920.19
value for and −36.17−53.46−80.46

Maximum conductance (µS/cm2)17722.117966.79962.91
Reversal potential of (mV)11.386.9814.54
Maximum value of 0.442.80300.89
Slope value for −4.98−4.99−0.20
Maximum value of 3851.954612.174030.31
Slope value for 0.260.700.02
value for and −47.98−70.14−51.73
Maximum value of 4.369.9516.86
Slope value for 3.513.040.20
Maximum value of 43.4762.6552.61
Slope value for −4.47−4.67−0.18
value for and −36.24−69.46−75.74

Maximum conductance ( S/cm2)3.704.001.74
Reversal potential of −42.59−69.32−58.98


00 0

To assess the generalizability of the HH generic model and optimisation procedure in fitting a wide range of AP waveforms, five separate spontaneous AP recordings from each of the previous myocyte types were fitted using the three-current version of the generic model. Stimulus pulses of 2 ms duration and variable amplitude were used to excite the atrial models. The five sets of data comprised one group described previously (Group 1), plus an additional four sets (Groups 2–5) for each of the three myocyte types (cSAN, pSAN, and RA). Despite the inherent variation between APs recorded from the same myocyte type in different tissue preparations, the generic model was able to fit each dataset using only an inward, an outward, and one background membrane current (Figure 2). The RMS error for each cell type (, mean ± standard deviation) was  mV (cSAN),  mV (pSAN), and  mV (RA). Compared with the fits shown in Figure 1 (Group 1), the mean RMS is marginally increased for all three cell types, likely due to the fact that unsmoothed experimental datasets (with mean peak-to-peak noise levels of ±0.96 mV) were used in fitting data Groups 3–5. Nonetheless, the model was able to reproduce the variability in AP waveform from the same cell type in different preparations.

3.2. Multiobjective Action Potential Optimisation
3.2.1. Multidataset Optimisation with Shared Parameters (Uniformly Paced Left Atrial Data)

The generic model was also optimised to simultaneously fit two morphologically different LA AP waveforms from the same cell, recorded in response to stimulation at pacing intervals (PIs) of 400 ms and 200 ms (Figure 3(a)), using a single set of parameters. A total of five time-dependent ion currents and one leakage current were required to simultaneously fit the two sets of data, with results shown in Figure 3. Stimulus pulses of 2 ms duration and 13 μA/cm2 in amplitude were used to elicit APs in the model. For a PI of 200 ms, the model generated AP characteristics and corresponding time-dependent ionic currents revealed beat-to-beat variations. Parameter values and initial values of all model variables are listed in Tables 3 and 4. The RMS errors between the optimised model and corresponding experimental data were 2.01 mV (PI = 400 ms) and 3.22 mV (PI = 200 ms). This optimised model was then used to predict the APs elicited at a PI of 300 ms, a dataset which was not used in the optimisation process. The additional experimental dataset can be reproduced with an RMS error of 2.46 mV (Figure 3, PI = 300 ms).

To test the reliability of the previous multiple-dataset based optimisation, two additional optimisation runs were carried out utilising the same LA paced data mentioned previously. Both optimisation runs started with the same stimulation settings, but used randomly generated initial parameter values. Iterations were terminated when the RMS error between model and experimental data reached a similar value to that obtained earlier. The resulting RMS errors between the optimised models and corresponding data were 2.01 and 2.40 mV (PI = 400 ms), 3.25 and 3.26 mV (PI = 200 ms), and 2.58 and 2.91 mV (PI = 300 ms) for optimisation runs 2 and 3, respectively.

Although model-generated APs from each optimisation run are almost identical, parameter values displayed significant variation between each run (see Tables 3 and 4 for a list of parameters and initial values for model parameters). The maximum relative difference (as a percentage of mean parameter value) is approximately 170% and the mean relative difference is 19%, indicating that model parameters cannot be uniquely identified, even when they are obtained from multiple dataset optimisations. Interestingly, despite the randomness of the initial parameter values for each optimisation run, the corresponding time-dependent ionic current waveforms are nearly identical and physiologically reasonable, except for differences in their scaling (Figure 3(b)).

ParameterDescriptionRun 1Run 2 Run 3

Maximum conductance ( S · cm−2)3044.831926.844547.51
Reversal potential of
Maximum value of 4483.624425.834619.86
Slope value for
Maximum value of 0.2111.6020.29
Slope value for 0.1960.1970.199
value for and −28.97−41.009.25
Maximum value of 1375.782117.981076.29
Slope value for −0.20−0.194−0.196
Maximum value of 4761.233987.494844.62
Slope value for
value for and 21.5727.5015.69

Maximum conductance ( S · cm−2)42.2429.8466.49
Reversal potential of −80.00−80.00−80.14
Maximum value of 115.8819.1982.99
Slope value for −0.136−0.117−0.132
Maximum value of 217.08164.94283.28
Slope value for
value for and −65.89−68.28−60.91
Maximum value of 1210.40985.061311.51
Slope value for −0.20−0.193−0.20
Maximum value of 2603.482516.133055.08
Slope value for
value for and −99.87−97.95−71.00

Maximum conductance ( S · cm−2) 7192.044338.653904.66
Reversal potential of 51.3137.1159.56
Maximum value of 64.45129.1179.20
Slope value for −0.09 −0.104
Maximum value of 4309.814587.864598.48
Slope value for
value for and −39.76−39.20−39.52
Maximum value of 252.37439.94365.37
Slope value for 0.1180.10
Maximum value of 8.018.385.46
Slope value for −0.106−0.073−0.176
value for and −96.83−99.51−95.50

Maximum conductance ( S · cm−2)39997.939857.138120.4
Reversal potential of 72.4862.3675.24
Maximum value of 2392.172330.461884.15
Slope value for −0.159−0.15−0.161
Maximum value of 4999.044995.384938.09
Slope value for 0.1730.1890.166
value for and −48.04−48.21−48.04
Maximum value of 46.6648.7822.51
Slope value for 0.1320.1250.124
Maximum value of 1309.811172.171677.50
Slope value for −0.18−0.1.86−0.16
value for and −73.25−74.12−64.6

Maximum conductance ( S · cm−2)3577.894188.073353.90
Reversal potential of 5.513.627.54
Maximum value of 1943.581303.251115.88
Slope value for −0.199−0.20−0.197
Maximum value of 42.8157.7538.07
Slope value for
value for and 26.4920.8630.38
Maximum value of 433.93668.38497.48
Slope value for
Maximum value of 1244.48884.84985.96
Slope value for
value for and −98.74−92.40−97.38
Maximum conductance ( S · cm−2)107.47123.0292.50
Reversal potential of −99.98−99.93−99.89

Run 1Run 2Run 3

Variable (PI = 400 ms)

−80.32−79.26 −79.86
0.11 0.126

Variable (PI = 200 ms)


Variable (PI = 300 ms)


3.2.2. Multidataset Optimisation with Shared Parameters (Randomly Paced Left Atrial Data)

A rabbit left atrial (LA) tissue preparation was electrically paced at uniform frequencies with a pacing interval (PI) of 200 ms and 400 ms, as well as randomly paced, and APs responses were recorded from the same myocyte for each pacing protocol. The pulse amplitude and duration were fixed for all protocols. A sequence of 100 random pulses was generated from a normal distribution of PIs, with mean and standard deviation of 275 ms and 69 ms, respectively. A sequence of seven pulses was selected and used in optimisation. In addition to AP alternans observed at a PI of 200 ms, more significant beat-beat variations in AP morphology were demonstrated in the randomly paced dataset, as shown in Figure 4 (lower panel).

Using the generic ionic model, a total of seven time-dependent membrane currents and one leakage current were required to fit the multiple datasets simultaneously using a single set of parameter values (Table 5 lists the shared parameters), with distinct variable initial values for each dataset (Table 6). Stimulus pulses of 2 ms duration and 30 μA/cm2 in amplitude were used to excite the model at the appropriate PI. The optimised model was able to accurately reproduce the experimental AP waveforms, even for the random-paced protocol (Figure 4). RMS errors between the optimised model and corresponding experimental data were 2.94 mV (PI = 400 ms), 3.51 mV (PI = 200 ms), and 3.91 mV (randomly paced). Figure 5 illustrates the corresponding membrane currents generated by the optimised model when paced with the three protocols. Note that the generic model structure of Figures 4 and 5 is different from that of Figure 3 in respect of the total number of equations and parameters, since the number of time-dependent currents is not the same. The increase in the number of currents in the generic model of Figures 4 and 5 was necessitated by the requirement that the optimised model fit three AP datasets simultaneously, as opposed to the two AP datasets of Figure 3.


Maximum conductance (µS/cm2)3791.621112.8724.99334.035211.15615.1939984.0712.96
Reversal potential (mV)−99.82−90.46−60.73−27.8953.1430.1473.64−82.72
Maximum value of 4680.752452.154309.861351.7520.513406.111547.59
Slope value for −0.19−0.16−0.20 −0.19−0.19
Maximum value of 1577.0417.131882.6197.241035.904991.794097.16
Slope value for 0.17 0 0.15
value for and −99.9022.8414.65−64.507.32−43.38−72.40
Maximum value of 8.78133.46201.881342.22967.19230.354.50
Slope value for 0
Maximum value of 4976.461285.70 2100.13145.5019.011159.70
Slope value for 0−0.11 −0.16 −0.19−0.19
value for and −67.02−94.50−21.182−1000.32−100−99.88

Variable400 ms200 msRandom


3.2.3. Multidataset Optimisation with Combined Shared and Data-Specific Parameters

(i) Drug-Specific Case. The generic ionic model was simultaneously fitted to two spontaneous peripheral sinoatrial node (pSAN) AP datasets from Kodama et al. [21]: a control set of APs and the AP response following the application of E-4031, a specific blocker of rapid delayed-rectifier potassium channels. To fit the generic model to both datasets, four time-dependent currents and one leakage current were required. Current was chosen to correspond to . Furthermore, it was assumed that E-4031 acts to only alter the maximum conductance of channels, without modulating their kinetics. Therefore during optimisation, only one pharmacological-specific parameter , the maximum conductance of the , was optimised to have a distinct value for each of the two datasets. All other model parameter values were shared between the datasets, since any AP waveshape variation was assumed to be due to the blocking effect of E-4031 on alone. The optimised pSAN model was spontaneously active and AP fits to both datasets are shown in Figure 6, with RMS error between the model and corresponding data being 2.79 mV (control) and 3.91 mV (E-4031). Optimised parameter and initial values of model variables are given in Tables 7 and 8. Under control conditions, the optimised value was 2438.40 μS/cm2 but was reduced to 1562.28 μScm−2 under the action of E-4031. Model-generated membrane currents corresponding to these fits are shown in Figures 7(a) and 7(b). The amplitude of in the E-4031 model is evidently reduced from a mean peak value of 19.26 μA/cm2 to 12.73 μA/cm2, resulting in a prolongation of repolarization and a decreased maximum diastolic potential. Note that membrane currents , , , and , which are not directly affected by E-4031, still exhibit differences between the two simulations due to the voltage dependency of each current and its corresponding interaction with .


Maximum conductance (µS/cm2)97127.612438.40 (Control)12279.6713.58
1562.28 (E-4031)
Reversal potential (mV)−55.54−97.79−79.9643.39−99.56
Maximum value of 4988.663178.2631282545.56
Slope value for −0.2
Maximum value of 2383.244828.3972.521965.64
Slope value for 0.19