원시데이터 수집 시스템
선정목록으로

A response surface optimization approach to adjust ionic current conductances of cardiac electrophysiological models. Application to the study of potassium level changes

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Jesús Carro — Aragón Institute for Engineering Research, University of Zaragoza, IIS Aragón, Spain|||Universidad San Jorge, Villanueva de Gállego, Zaragoza, Spain|||CIBER in Bioengineering, Biomaterials & Nanomedicne (CIBER-BBN), Spain
  2. Esther Pueyo — Aragón Institute for Engineering Research, University of Zaragoza, IIS Aragón, Spain|||CIBER in Bioengineering, Biomaterials & Nanomedicne (CIBER-BBN), Spain
  3. José Félix Rodríguez Matas — Aragón Institute for Engineering Research, University of Zaragoza, IIS Aragón, Spain|||LaBS, Department of Chemistry, Materials and Chemical Engineering “Giulio Natta”, Politecnico di Milano, Italy
DOI
10.1371/journal.pone.0204411
저널
PLoS ONE
발행년도
2018
발행기관
Public Library of Science
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1371/journal.pone.0204411
토픽
Fuel Cells and Related Materials
OpenAlex ID
W2895052523

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Cardiac electrophysiological computational models are often developed from previously published models. The new models may incorporate additional features to adapt the model to a different species or may upgrade a specific ionic formulation based on newly available experimental data. A relevant challenge in the development of a new model is the estimation of certain ionic current conductances that cannot be reliably identified from experiments. A common strategy to estimate those conductances is by means of constrained non-linear least-squares optimization. In this work, a novel methodology is proposed for estimation of ionic current conductances of cardiac electrophysiological models by using a response surface approximation-based constrained optimization with trust region management. Polynomial response surfaces of a number of electrophysiological markers were built using statistical sampling methods. These markers included action potential duration (APD), triangulation, diastolic and systolic intracellular calcium concentration, and time constants of APD rate adaptation. The proposed methodology was applied to update the Carro et al. human ventricular action potential model after incorporation of intracellular potassium ([K+]i) dynamics. While the Carro et al. model was well suited for investigation of arrhythmogenesis, it did not allow simulation of [K+]i changes. With the methodology proposed in this study, the updated Carro et al. human ventricular model could be used to simulate [K+]i changes in response to varying extracellular potassium ([K+]o) levels. Additionally, it rendered values of evaluated electrophysiological markers within physiologically plausible ranges. The optimal values of ionic current conductances in the updated model were found in a notably shorter time than with previously proposed methodologies. As a conclusion, the response surface optimization-based approach proposed in this study allows estimating ionic current conductances of cardiac electrophysiological computational models while guaranteeing replication of key electrophysiological features and with an important reduction in computational cost with respect to previously published approaches. The updated Carro et al. model developed in this study is thus suitable for the investigation of arrhythmic risk-related conditions, including those involving large changes in potassium concentration.

본문 88,686자

본문 펼치기
~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0204411&domain=pdf&date_stamp=2018-10-03)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0204411&domain=pdf&date_stamp=2018-10-03)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0204411&domain=pdf&date_stamp=2018-10-03)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0204411&domain=pdf&date_stamp=2018-10-03)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0204411&domain=pdf&date_stamp=2018-10-03)</u>~~ OPEN ACCESS Citation: Carro J, Pueyo E, Rodrı´guez Matas JF (2018) A response surface optimization approach to adjust ionic current conductances of cardiac electrophysiological models. Application to the study of potassium level changes. PLoS ONE [13(10): e0204411. https://doi.org/10.1371/journal.](https://doi.org/10.1371/journal.pone.0204411) [pone.0204411](https://doi.org/10.1371/journal.pone.0204411) Editor: Agustı´n Guerrero-Hernandez, Cinvestav IPN, MEXICO Received: March 7, 2018 Accepted: September 7, 2018 Published: October 3, 2018 Copyright: © 2018 Carro et al. This is an open access article distributed under the terms of the [Creative Commons Attribution License, which](http://creativecommons.org/licenses/by/4.0/) permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability Statement: All relevant data are within the paper. Funding: This work was supported by Ministerio [de Economı´a y Competitividad (http://www.](http://www.mineco.gob.es) [mineco.gob.es) under project DPI2016-75458-R,](http://www.mineco.gob.es) by CIBER in Bioengineering, Biomaterials & [Nanomedicne (CIBER-BBN, http://www.ciber-bbn.](http://www.ciber-bbn.es/) [es/) through Instituto de Salud Carlos III (http://](http://www.ciber-bbn.es/) [www.isciii.es/), by Grupo Consolidado BSICoS](http://www.isciii.es/) (T39_17R) and Grupo Consolidado AMB RESEARCH ARTICLE # A response surface optimization approach to adjust ionic current conductances of cardiac electrophysiological models. Application to the study of potassium level changes [Jesu´s CarroID](http://orcid.org/0000-0001-7789-2973) <sup>1,2,3</sup> *, Esther Pueyo <sup>2,3</sup> , Jose´ F. Rodrı´guez Matas <sup>2,4</sup> 1 Universidad San Jorge, Villanueva de Ga´llego, Zaragoza, Spain, 2 Arago´n Institute for Engineering Research, University of Zaragoza, IIS Arago´n, Spain, 3 CIBER in Bioengineering, Biomaterials & Nanomedicne (CIBER-BBN), Spain, 4 LaBS, Department of Chemistry, Materials and Chemical Engineering “Giulio Natta”, Politecnico di Milano, Italy - jcarro@usj.es ### Abstract Cardiac electrophysiological computational models are often developed from previously published models. The new models may incorporate additional features to adapt the model to a different species or may upgrade a specific ionic formulation based on newly available experimental data. A relevant challenge in the development of a new model is the estimation of certain ionic current conductances that cannot be reliably identified from experiments. A common strategy to estimate those conductances is by means of constrained non-linear least-squares optimization. In this work, a novel methodology is proposed for estimation of ionic current conductances of cardiac electrophysiological models by using a response sur face approximation-based constrained optimization with trust region management. Polyno mial response surfaces of a number of electrophysiological markers were built using statistical sampling methods. These markers included action potential duration (APD), trian gulation, diastolic and systolic intracellular calcium concentration, and time constants of APD rate adaptation. The proposed methodology was applied to update the Carro _et al_ . human ventricular action potential model after incorporation of intracellular potassium ([ _K_ <sup>+</sup> ] _i_ ) dynamics. While the Carro _et al_ . model was well suited for investigation of arrhythmogenesis, it did not allow simulation of [ _K_ <sup>+</sup> ] _i_ changes. With the methodology proposed in this study, the updated Carro _et al_ . human ventricular model could be used to simulate [ _K_ <sup>+</sup> ] _i_ changes in response to varying extracellular potassium ([ _K_ <sup>+</sup> ] _o_ ) levels. Additionally, it ren dered values of evaluated electrophysiological markers within physiologically plausible ranges. The optimal values of ionic current conductances in the updated model were found in a notably shorter time than with previously proposed methodologies. As a conclusion, the response surface optimization-based approach proposed in this study allows estimating ionic current conductances of cardiac electrophysiological computational models while guaranteeing replication of key electrophysiological features and with an important reduc tion in computational cost with respect to previously published approaches. The updated [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 1 / 23 [(T24_17R), from DGA (http://www.aragon.es) and](http://www.aragon.es) [European Social Fund (http://ec.europa.eu/esf/](http://ec.europa.eu/esf/home.jsp) [home.jsp), and by the European Research Council](http://ec.europa.eu/esf/home.jsp) [(ERC, https://erc.europa.eu/) through project ERC-](https://erc.europa.eu/) 2014-StG 638284. Competing interests: The authors have declared that no competing interests exist. A response surface optimization approach to adjust ionic current conductances of cardiac models Carro _et al_ . model developed in this study is thus suitable for the investigation of arrhythmic risk-related conditions, including those involving large changes in potassium concentration. 1 Introduction The last decades have seen an extraordinary development of cardiac computational electrophysiological models. The possibilities they offer to investigate the electrical behavior of the heart together with the large increase in computing capability have boosted such development. This has been accompanied in many instances by an increase in model complexity, even if the main principles and structure of the first published models remain unaltered. An action potential (AP) model is described by a system of coupled differential equations that involve the transmembrane current flow as well as dynamic changes in intracellular ionic concentrations. For each ionic current a mathematical formulation is employed to represent characteristics like gating or permeability of the corresponding ion channels. Those formulations rely on a number of model parameters which values are commonly estimated based on experimental data obtained from specific protocols for each ionic current. In this context parameter estimation presents various shortcomings intrinsic to the voltage-clamp experimental protocols [1]: i) insufficient separation of ionic current activation and inactivation processes; ii) use of non-selective pharmacological ion channel blockers; and iii) measurement of non-physiological solutions. Despite these limitations, most parameter values of individual ionic currents have been identified in the past using independent sets of experiments. However, parameters describing ionic current conductances have not always been successfully characterized from experimental datasets, in large part due to the sensitivity of some ion channels to the cell isolation procedure performed before application of the voltage-clamp protocols [2]. Also, experimental studies may have purposely selected cells with large ionic currents, which interfere with model development based on such data [3]. For those reasons, a common procedure to identify individual ionic current conductances is based on model parameter fitting aimed at reproducing plausible values of electrophysiological AP properties like AP duration (APD), triangulation or upstroke velocity [4, 5]. Other models include also constraints based on experimental data measured after blocking certain ionic currents [6], imposed to obtain a correct input resistance [3], or based on additional properties like APD rate adaptation and rate dependence of ionic concentrations [7]. Cardiac electrophysiological computational models are commonly used to analyze the effect of drugs or to study the mechanisms underlying pathological conditions. Under those circumstances, the correct characterization of ionic current conductances is crucial. Overestimation or underestimation of current conductance values could lead to completely erroneous predictions. For this reason, while for many years the adjustment of current conductances in cardiac computational models has been frequently performed manually [8], a number of techniques have been developed in recent years to help in the process of parameter identification. Gradient descent methods [9, 10] and genetic algorithms [11–14] have been used for this purpose in several studies. Gradient descent methods rely on computing local gradients of the error function to determine a search direction towards a minimum. On the other hand, genetic algorithms use ideas from evolutionary biology and test different combinations (populations) of parameters to optimize the error function. In each iteration they create a new population based on the best results from previous iterations. [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 2 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models Gradient descent methods and genetic algorithms have a small degree of parallelization and, thus, other techniques with higher parallelization capability could better exploit the possibilities of current computing infrastructures. In this work a novel methodology is proposed for identification of parameters describing ionic current conductances of cardiac electrophysiological models by using an optimization algorithm with trust region management [15]. The algorithm minimizes an objective function subject to non-linear constraints associated with a number of electrophysiological properties. The objective function and constraints are approximated by polynomial response surfaces which allow the optimization algorithm searching for a solution to the problem without performing a direct evaluation of the model. The use of a response surface helps to reduce the number of iterations of the algorithm and, thus, reduce the time cost of optimizing the model. To guarantee the ability of the model to represent physiological behavior, the region where the solution is searched for is limited based on experimentally reported values of electrophysiological properties like APD, AP triangulation, diastolic and systolic intracellular calcium concentrations and time constants of APD rate adaptation to abrupt changes in cycle length (CL). The proposed methodology is applied to adjust the ionic conductances of the human ventricular _Carro-Rodriguez-Laguna-Pueyo_ (CRLP) model [7] after incorporation of intracellular potassium, [ _K_ <sup>+</sup> ] _i_, dynamics. The modified CRLP model is compared against the most commonly used human ventricular AP models, namely the ten Tusscher-Panfilov 2006 (TP06) [16], Grandi-Pasqualini-Bers (GPB) [4], O’Hara-Rudy (ORd) [17] models as well as with the Carro-Rodriguez-Laguna-Pueyo (CRLP) [7] model. The relevance of accounting for [ _K_ <sup>+</sup> ] _i_ dynamics is demonstrated by simulating a number of transitions in the extracellular potassium concentration, as in hemodialysis studies [18], and comparing the behavior of the original and modified CRLP models. 2 Materials and methods 2.1 Optimization problem 2.1.1 General formulation. A minimization problem with constraints can be written as: min _f_ ð x Þ ð1Þ subject to h ð x Þ ¼ 0 _;_ ð2Þ g ð x Þ � 0 _;_ ð3Þ x <sup>_L_</sup> - x - x <sup>_U_</sup> _;_ ð4Þ where x is the vector of decision variables, x <sup>_L_</sup> and x <sup>_U_</sup> their respective lower and upper bounds, f ( x ) is the objective function, and h ( x ) and g ( x ) are vector functions of equality and inequality constraints, respectively. 2.1.2 Particularization to ionic conductances estimation. The general minimization problem described in previous section was particularized in this study for estimation of ionic current conductances. Since different ionic current conductances _Gi_ may differ by orders of magnitude, the following scaling was adopted for each of the elements of vector x : _xi_ ¼ 20 � _log_ 10 _<u>Gi</u>_ _G_ <sup>0</sup> _i_ _;_ ð5Þ where _Gi_ is the unscaled ionic current conductance and _G_ <sup>0</sup> _i_ <sup>is its initial value in the model.</sup> [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 3 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models The objective function is defined for each particular problem. In this study, it was represented by the integral of the total potassium current during a cardiac cycle at 1 Hz steady-state pacing, as fully described in 2.2.3. No equality constraint function was defined in this case. The inequality constrain function was defined by imposing a number of electrophysiological properties to remain within experimentally observed ranges: m _LL_ - m ð x Þ � m _UU_ ð6Þ where m _LL_ and m _UU_ are the lower and upper bounds delimiting physiological ranges, respectively, and m ( x ) is the vector of electrophysiological properties calculated for x . Eq 6 was reformulated to be consistent with the general formulation of the inequality constraints described in Eq 3: ����� _mj;RR_ _gj_ ð x Þ ¼ <sup>_<u>mj</u>_</sup> <sup>ð</sup> <sup><u>x</u></sup> <sup>Þ �</sup> <sup>_<u>mj;CR</u>_</sup> ����� ð7Þ ��� ~~�~~ - - 1 � 0 _;_ ## where mj;CR ¼ ð mj;UL þ mj;LL Þ = 2 is the central point of the experimental range for the electrophysiological property j and mj;RR ¼ ð mj;UL � mj;LL Þ = 2 is the distance between mj, CR and each of the limits of the experimental range. 2.1.3 Optimization using response surfaces. The optimization algorithm used in this study seeks for a solution of the minimization problem, Eqs 1–4, by solving a sequence of approximate constrained optimization problems within a region of trust. For the iteration _k_ of the algorithm, the approximate problem reads as: min <sup>~</sup> _f_ ð x Þ ð8Þ subject to h ~ð x Þ ¼ 0 _;_ ð9Þ g ~ð x Þ � 0 _;_ ð10Þ k x k� D <sup>_k_</sup> _;_ ð11Þ where <sup>~</sup> _f_ ð x Þ, h <sup>~</sup> ð x Þ and ~ g ð x Þ are response surface approximations (RSA) of _f_ ( x ), h ( x ), and g ( x ) around x <sup>_k_</sup>, respectively, and Δ <sup>_k_</sup> is the corresponding trust region radius. The trust region radius defines a region of trust in which the RSA is assumed to be reliable. The validity of the RSA can be evaluated through the trust region ratio test. For the objective function _f_ ( x ), the trust region ratio for iteration _k_ was defined as: r <sup>_k_</sup> 0 <sup>¼</sup> <sup>_<u>f</u>_</sup> <sup><u>ð</u></sup> <sup><u>x</u></sup> <sup>_k_</sup> <sup><u>Þ �</u></sup> <sup>_<u>f</u>_</sup> <sup><u>ð</u></sup> <sup><u>x</u></sup> <sup>_k;_</sup> <sup>�Þ</sup> ~ _f_ ð x _k_ Þ � ~ _f_ ð x _k;_ �Þ _;_ ð12Þ where _x_ <sup>_k_</sup> <sup>,�</sup> is a solution of the minimization problem given by Eqs 8–11. This definition of the trust region ratio is based on the consideration that r <sup>_k_</sup> 0 <sup>! 1 as the trust region radius Δ</sup> <sup>_k_</sup> <sup>! 0.</sup> trust region ratio is based on the consideration that r <sup>_k_</sup> 0 <sup>! 1 as the trust region radius Δ</sup> <sup>_k_</sup> <sup>! 0.</sup> If r <sup>_k_</sup> 0 <sup>�</sup> <sup>0, the approximation is deemed as unacceptable and, consequently, the trust region</sup> If r <sup>_k_</sup> 0 <sup>�</sup> <sup>0, the approximation is deemed as unacceptable and, consequently, the trust region</sup> radius is reduced. If r <sup>_k_</sup> 0 <sup>�</sup> <sup>1 and k</sup> <sup>x</sup> <sup>_k_</sup> <sup>,�</sup> <sup>−</sup> <sup>x</sup> <sup>_k_</sup> <sup>k = Δ</sup> <sup>_k_</sup> <sup>, the RSA is evaluated as acceptable and Δ</sup> <sup>_k_</sup> <sup>is</sup> radius is reduced. If r <sup>_k_</sup> 0 <sup>�</sup> <sup>1 and k</sup> <sup>x</sup> <sup>_k_</sup> <sup>,�</sup> <sup>−</sup> <sup>x</sup> <sup>_k_</sup> <sup>k = Δ</sup> <sup>_k_</sup> <sup>, the RSA is evaluated as acceptable and Δ</sup> <sup>_k_</sup> <sup>is</sup> increased. If 0 _<_ r <sup>_k_</sup> 0 <sup>_<_</sup> <sup>1, Δ</sup> <sup>_k_</sup> <sup>is kept unchanged, but the RSA is rebuilt around</sup> <sup>_xk_</sup> <sup>,�. Note that</sup> increased. If 0 _<_ r <sup>_k_</sup> 0 <sup>_<_</sup> <sup>1, Δ</sup> <sup>_k_</sup> <sup>is kept unchanged, but the RSA is rebuilt around</sup> <sup>_xk_</sup> <sup>,�. Note that</sup> r <sup>_k_</sup> 0 <sup>_>>_</sup> <sup>1 is also indicative of poor RSA and Δ</sup> <sup>_k_</sup> <sup>is reduced, but the optimizer is considered to be</sup> r <sup>_k_</sup> 0 <sup>_>>_</sup> <sup>1 is also indicative of poor RSA and Δ</sup> <sup>_k_</sup> <sup>is reduced, but the optimizer is considered to be</sup> moving in the right direction. The update of the trust region radius offers significant flexibility [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 4 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models depending on the implementation. A particular updating rule will be presented in the following section. The algorithm proposed in this work is based on the one described in [15] but it simplifies some aspects on how to manage and use the response surfaces and it reduces the number of times the database needs to be generated. Instead of considering the augmented Lagrangian of the problem, the proposal of this study is based on generating the response surface of the model and looking for the minimum in this surface. Subsequently, this solution is validated by using the trust region test in both the minimization function and the constraints of the model. This notably reduces the computational cost, as the database is generated once per iteration rather than every time there is a change in the parameters of the augmented Lagrangian. 2.1.4 Database generation and response surface approximation. One of the key elements of the minimization algorithm is building the RSA of the objective and constraint functions that will be used to solve the approximate minimization problem. To construct a response surface for a function of _n_ variables, a large number of sample points are required. Also, to construct a reliable RSA, the sample points must be adequately distributed. Sampling techniques based on design of experiments are commonly used for this purpose [19]. In this study, full factorial designs, which require 3 <sup>_n_</sup> sampling points, were considered. A full factorial design consists of a three-level factorial: the corner points of a hypercube, plus the center of the hypercube and of each facet, plus the midpoints of the lines connecting the corners of the hypercube. In the next sections, the set of results of the sampling technique in an iteration of the algorithm for both the minimization and constraint functions will be referred to as _data-_ _base_ . Second order polynomial response surfaces were used in all cases. 2.1.5 Minimization algorithm. The minimization algorithm implemented in this work is shown in Fig 1. The database was computed only once per iteration of the algorithm or whenever the solution was rejected and the trust region radius was reduced. The trust region ratio was used to validate the RSA for the objective function and constraints independently. The basic steps of the algorithm shown in Fig 1 are briefly described in the following. The index _k_ indicates the iteration of the algorithm, _i_ indicates the variable index and _j_ represents the constraint index. Step 0: Initialization. Define values for the tolerances _δ_ 1 (solution tolerance), _δ_ 2 (gradient tolerance) and _δ_ 3 (improvement tolerance), the minimum acceptable value _ρL_ for the trust region ratio to consider a trust region as acceptable and an upper limit Δ <sup>max</sup> for the trust region radius. Define an initial value Δ <sup>0</sup> for the size of the trust region and a starting point x <sup>0</sup> for the variables of the problem. Set the iteration counter at _k_ = 0. Step 1: Database generation. Compute the database as described in section 2.1.4. Step 2: Response surfaces. Build the RSA of the objective function and constraints of the problem around the current iterate x <sup>_k_</sup> . Step 3: Find the minimum of the approximate problem. Find the minimum x <sup>_k_</sup> <sup>,�</sup> of the constrained minimization problem defined by Eqs 4–11 in the trust region limited by Δ <sup>_k_</sup> . Step 4: Trust region test. Evaluate _f_ and each of the properties _mi_ in x <sup>_k_</sup> <sup>,�</sup> and calculate the trust region ratio for the objective and constraint functions as in Eq 12. _<u>f</u>_ <u>ð</u> <u>x</u> <sup>_k;_</sup> <sup>�</sup> <u>Þ �</u> _<u>f</u>_ <u>ð</u> <u>x</u> <sup>_k_</sup> <u>Þ</u> r <sup>_k_</sup> 0 ¼ ~ _f_ ð x _k;_ �Þ � ~ _f_ ð x _k_ Þ ð13Þ _<u>mj</u>_ ð <u>x</u> <sup>_k;_</sup> <sup>�</sup> Þ � _<u>mj</u>_ ð <u>x</u> <sup>_k_</sup> Þ <sup>_k_</sup> _j_ ¼ _m_ ~ _j_ ð x <sup>_k_</sup> Þ r <sup>_k_</sup> _j_ ð14Þ _m_ ~ _j_ ð x <sup>_k;_</sup> <sup>�</sup> Þ � _m_ ~ _j_ ð x <sup>_k_</sup> Þ <sup>_;_</sup> <sup>1 �</sup> <sup>_j_</sup> <sup>�</sup> <sup>_M:_</sup> [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 5 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models <u>Fig 1.</u> <u>Flow chart of the proposed algorithm.</u> [https://doi.org/10.1371/journal.pone.0204411.g001](https://doi.org/10.1371/journal.pone.0204411.g001) The solution x <sup>_k_</sup> <sup>,�</sup> was accepted when r <sup>_k_</sup> 0 The solution x <sup>_k_</sup> <sup>,�</sup> was accepted when r <sup>_k_</sup> 0 <sup>_>_</sup> <sup>0 and one of the following two criteria was met:</sup> i) the constraints in g ( x ) were feasible or; ii) jr <sup>_k_</sup> _j_ <sup>�</sup> <sup>1j �</sup> <sup>r</sup> _L_ <sup>_;_</sup> <sup>8</sup> <sup>_j_</sup> <sup>. For this work,</sup> <sup>_ρL_</sup> <sup>= 0.25 was</sup> <sup>_k_</sup> _j_ <sup>�</sup> <sup>1j �</sup> <sup>r</sup> _L_ <sup>_;_</sup> <sup>8</sup> <sup>_j_</sup> <sup>. For this work,</sup> <sup>_ρL_</sup> <sup>= 0.25 was</sup> used. If the solution was accepted, the flag _flgTR_ <sup>_k_</sup> <sup>¼</sup> <sup>_true_</sup> <sup>was set and</sup> <sup>x</sup> <sup>_k_</sup> <sup>+1 ≔</sup> <sup>x</sup> <sup>_k_</sup> <sup>,�, otherwise</sup> _flgTR_ <sup>_k_</sup> <sup>¼</sup> <sup>_false_</sup> <sup>and</sup> <sup>x</sup> <sup>_k_</sup> <sup>+1 ≔</sup> <sup>x</sup> <sup>_k_</sup> <sup>.</sup> used. If the solution was accepted, the flag _flg_ <sup>_k_</sup> _TR_ <sup>_k_</sup> <sup>¼</sup> <sup>_false_</sup> <sup>and</sup> <sup>x</sup> <sup>_k_</sup> <sup>+1 ≔</sup> <sup>x</sup> <sup>_k_</sup> <sup>.</sup> Step 5: Trust region radius update. The trust region radius was updated as follows: ### ( 0 _:_ 25D <sup>_k_</sup> if _flgTR_ <sup>_k_</sup> <sup>¼</sup> <sup>_false;_</sup> D <sup>_k_</sup> <sup>þ1</sup> ¼ D <sup>_k_</sup> if _flgTR_ <sup>_k_</sup> <sup>¼</sup> <sup>_true_</sup> <sup>and</sup> k x <sup>_k;_</sup> <sup>�</sup> - x <sup>_k_</sup> k _<_ D <sup>_k_</sup> _;_ 2D <sup>_k_</sup> if _flgTR_ <sup>_k_</sup> <sup>¼</sup> <sup>_true_</sup> <sup>and</sup> k x <sup>_k;_</sup> <sup>�</sup> - x <sup>_k_</sup> k¼ D <sup>_k_</sup> _:_ ð15Þ Step 6: Algorithm termination. The algorithm ended if one of the following conditions was satisfied: 1. k x <sup>_k_</sup> <sup>+1</sup> - x <sup>_k_</sup> k _< δ_ 1 and _flgTR_ <sup>_k_</sup> <sup>¼</sup> <sup>_true_</sup> <sup>: The distance between the last two accepted iterates was</sup> too small to be significant. [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 6 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models 2. kr _ϕ_ ( x <sup>_k_</sup> <sup>+1</sup> )| _< δ_ 2 and _flgTR_ <sup>_k_</sup> <sup>¼</sup> <sup>_true_</sup> <sup>: The gradient of the Lagrangian function was too small.</sup> The Lagrangian function was defined as: X _M_ _�_ ð x Þ ¼ _f_ ð x Þ þ _j_ ¼1 l <sup>_k_</sup> _j_ <sup>�</sup> <sup>_m_</sup> _j_ <sup>ð</sup> <sup>x</sup> <sup>Þ</sup> ð16Þ where l <sup>_k_</sup> _j_ <sup>are the Lagrange multipliers obtained in the constrained minimization problem</sup> defined by Eqs 4–11 in the trust region (limited by Δ <sup>_k_</sup> ) in Step 3. 3. Δ <sup>_k_</sup> <sup>+1</sup> _< δ_ 3: The trust region radius became too small. If none of these criteria was satisfied, then set _k_ ≔ _k_ + 1 and go to step 1. 2.2 Upgrade of the CRLP model 2.2.1 Human ventricular AP models. Several computational models have been proposed in the last ten to fifteen years to represent the electrical behavior of human ventricular cells. For some years, the _tenTusscher-Panfilov_ model (TP06) [16] was the most commonly used human ventricular model for electrophysiological investigations. In 2010, the _Grandi-Pasqua-_ _lini-Bers_ (GPB) model [4] was developed based on the Shannon _et al_ . [20] rabbit ventricular model. The GPB model provided a detailed description of intracellular calcium dynamics and calcium buffers that allowed more accurate representation of certain experimental behaviors than the TP06 model [7]. The _O’Hara-Rudy_ _dynamic_ (ORd) model was proposed in 2011 [17] based on more extensive experimental data from undiseased human ventricles. In the same year, a modification of the GPB model was proposed as the _Carro-Rodriguez-Laguna-Pueyo_ (CRLP) model [7]. This modification improved the GPB model response to allow replication of various experimentally-measured risk-related markers, thus rendering it more suitable for investigation of cardiac arrhythmias. In 2015, Himeno _et al_ . proposed a new human ventricular cell model [21]. As opposed to the previously described models, the Himeno et al. model included a description of excitation-contraction. The model comparison performed in the present study was restricted to purely electrophysiological models like the TP06, GPB, ORd and CRLP models. One of the differences between the CRLP model and the ORd and TP06 models lies in the representation of [ _K_ <sup>+</sup> ] _i_ dynamics. In the CRLP model, as in the GPB model, [ _K_ <sup>+</sup> ] _i_ was assumed to be constant. Under steady-state conditions, [ _K_ <sup>+</sup> ] _i_ variations during an AP can be neglected. Nevertheless, when there is a change in the investigated conditions or if the model is somewhat altered, [ _K_ <sup>+</sup> ] _i_ may reach a new steady-state value. This is the case, for instance, when the stimulation frequency is varied, as [ _K_ <sup>+</sup> ] _i_ becomes reduced in response to increased stimulation frequency [17, 22]. Another scenario where [ _K_ <sup>+</sup> ] _i_ dynamics are relevant is in the simulation of acute ischemia. Dutta et al. showed the limitations of using the GPB model with constant [ _K_ <sup>+</sup> ] _i_ [23]. In the present work, the methodology described in section 2.1 was used to incorporate [ _K_ <sup>+</sup> ] _i_ dynamics into the CRLP model while retaining its capacity to reproduce experimentally observed values of arrhythmic risk-related markers. 2.2.2 [ _K_ <sup>+</sup> ] _i_ dynamics in the CRLP model. [ _K_ <sup>+</sup> ] _i_ dynamics were introduced through the following equation: _<u>d</u>_ _<u>Cmem</u>_ _dt_ <sup>½</sup> <sup>_K_</sup> <sup>þ�</sup> <sup>_i_</sup> <sup>¼ �</sup> <sup>_IK;tot_</sup> <sup>�</sup> _Vmyo_ - _Frdy_ ð17Þ where _IKtot_ is the total potassium current, _Cmem_ is the membrane specific capacitance, _Vmyo_ is the bulk cytosol volume and _Frdy_ is Faraday’s constant. [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 7 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models _IKtot_ was calculated as the sum of all potassium currents and the stimulus current: _IKtot_ ¼ _Ito_ þ _IKr_ þ _IKs_ þ _IK1_ - 2 � _INa;K_ þ _ICaK_ þ _IKp_ þ _Istim_ ð18Þ where _Ito_ is the _transient outward_ potassium current, _IKr_ is the _rapidly activating_ potassium current, _IKs_ is the _slowly activating_ potassium current, _IK1_ is the _inward rectifier_ potassium current, _INa,K_ is the _sodium-potassium pump_ current, _ICaK_ is the current generate by potassium ions passing through the _L-type calcium channels_, _IKp_ is the _plateau_ potassium current, and _Istim_ is the stimulus current. If Eq 17 is directly added to the CRLP and GPB models, [ _K_ <sup>+</sup> ] _i_ drifts (Fig 2, panels a) and c), respectively). The continuous increase in [ _K_ <sup>+</sup> ] _i_ is due to a larger potassium influx in each cardiac beat, which can in turn be explained by an imbalance in the potassium current. Although it is not straightforward to establish a physiological range for [ _K_ <sup>+</sup> ] _i_ because there are no experimental measurements of this concentration, all human ventricular cell models published in the literature, despite having different [ _K_ <sup>+</sup> ] _i_ values under steady-state conditions, they all lie within the range 120-145 mM. This range is in agreement with the corresponding experimentally reported values for the resting membrane potential, which is close to the Nernst potential for potassium [17]. In Fig 2, panels b) and d), the integral of the total potassium current during one cardiac cycle is shown, which gives an idea of how far the models are from equilibrium. The above noted issue associated with the introduction of [ _K_ <sup>+</sup> ] _i_ dynamics into the CRLP model can be sorted out by readjusting the current conductances to maintain [ _K_ <sup>+</sup> ] _i_ homeostasis. Since, at the same time, the performance of the model in terms of representation of electrophysiological behavior wants to be retained, a constrained optimization problem was formulated in this study. This problem was tackled by applying the response surface-based optimization methods presented in 2.1. For further model assessment, optimization was performed as described in the next paragraph while considering different initial [ _K_ <sup>+</sup> ] _i_ values in the range 120-145 mM. 2.2.3 Optimization-driven model parameter update. A new set of current conductances for the modified CRLP model was sought such that potassium homeostasis was preserved while a number of electrophysiological properties were guaranteed to remain within experimental limits. This was stated as a constrained optimization problem of the form: min �Z �2 _IK;tot_ ð x Þ ð19Þ _<CL>_ subject to m _LL_ - m ð x Þ � m _UU;_ ð20Þ x <sup>_L_</sup> - x - x <sup>_U_</sup> _;_ ð21Þ where x is the vector of scaled current conductances (see 2.1.2), with lower an upper bounds x <sup>_L_</sup> and x <sup>_U_</sup>, respectively, <sup>R</sup> and x <sup>_U_</sup>, respectively, <sup>R</sup> _<CL>_ <sup>represents the integral during a cardiac cycle and</sup> <sup>m</sup> <sup>is a vector</sup> function of selected electrophysiological properties with lower and upper physiological bounds defined by vectors m _LL_ and m _UU_ . Initialization was defined based on the epicardial CRLP model (where [ _K_ <sup>+</sup> ] _i_ takes a constant value of 138 mM). Other initializations were additionally tested, as described in 2.2.2. 2.2.4 Constraint functions. Seven ventricular electrophysiological properties of epicardial cells were considered for definition of inequality constraints in 2.2.3: [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 8 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models Fig 2. Temporal evolution of [ _K_ <sup>+</sup> ] _i_ in CRLP and GPB epicardiacl cell models after introducing [ _K_ <sup>+</sup> ] _i_ dynamics. a) and c) show [ _K_ <sup>+</sup> ] _i_ evolution when the models (CRLP and GPB, respectively) are stimulated with a CL of 1000 ms. b) <u>and d) show the evolution of the integral of</u> _<u>IK</u>_ <u>,</u> _<u>tot</u>_ <u>during one cycle for the same simulation as in a) and c).</u> [https://doi.org/10.1371/journal.pone.0204411.g002](https://doi.org/10.1371/journal.pone.0204411.g002) - APD90 : APD is considered the main preclinical marker of drug cardiotoxicity. APD prolongation has been linked to long QT syndrome and increased risk of developing Torsades de Pointes [24, 25]. In this study, APD90 was used to denote AP duration at 90% repolarization. - Triangulation : This marker quantifies the shape of the final part of the AP and is defined as the difference between APD at 90% and 50% of repolarization. Low triangulation values indicate square APs, while high values indicate triangular APs. Triangulation has been proposed as a marker of pro-arrhythmia [24], with long APD90 values without triangular APs considered as anti-arrhythmic and with triangular APs considered as pro-arrhythmic in general. - Systolic and diastolic intracellular calcium ([ _Ca_ <sup>2+</sup> ] _i_ ) levels : Calcium transient properties evaluated at different pacing frequencies have been reported as arrhythmic risk markers [26, 27]. In this study, diastolic (resting level) and systolic (peak value) calcium transient levels were evaluated at 0.5 Hz and 1 Hz steady-state pacing. - Time constants of APD90 adaptation to abrupt changes in CL : Adaptation of ventricular repolarization duration to abrupt changes in CL has been proposed as an arrhythmic risk marker [28]. In this study, the dynamics of APD90 adaptation to abrupt changes in CL were fitted by two exponentials with associated time constants _τfast_ and _τslow_, following the methodology proposed in Pueyo _et al_ . [29]. Only _τslow_ has been considered since there is no available quantitative experimental data on _τfast_ values. [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 9 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models Two stimulation protocols were used to calculate the above described markers: - Steady-state protocol : A train of 3,000 stimulation pulses was delivered at a given CL. Simulations were carried out using two different CL values: 1,000 and 2,000 ms. The evaluated markers were: APD90 and triangulation at 1,000 ms; and diastolic and systolic [ _Ca_ <sup>2+</sup> ] _i_ at 1,000 and 2,000 ms. - Abrupt changes in CL protocol : The cell was stimulated with a CL of 1,000 ms for 8 minutes and then with a CL of 600 ms for additional 8 minutes. APD90 dynamics after the abrupt CL change were best fitted by two exponentials, the second of which was characterized by _τslow_ . 2.2.5 Physiological bounds for constraint functions. Lower and upper bounds m _LL_ and m _UU_ were defined according to physiological experimental values reported in the literature for the analyzed properties. The selected range for APD90 was 280-310 ms. Even though some studies have reported wider ranges, up to 271-366 ms [30–32], a restricted interval was used to keep the model within the same range of existing human ventricular cell models [4, 5, 7, 16, 17]. The range for triangulation was 44-112 ms [31, 32]. For the diastolic and systolic [ _Ca_ <sup>2+</sup> ] _i_ levels at 1 Hz and 0.5 Hz stimulation, the CRLP model, as occurs with other recent human ventricular AP models (GPB, ORd, TP06, TP04) [4, 5, 7, 16, 17, 33, 34], is out of the physiological range reported in the literature [35, 36]. For that reason, the physiological range was extended to ensure a feasible solution of the optimization problem. Nevertheless, the optimal solution was evaluated to confirm that either it let the model lie within physiological range or at least improved the results of the CRLP model. The physiological range for _τslow_ was set to 70-110 s [37]. Table 1 summarizes the evaluated markers and their physiological ranges in the second column, whereas the third column indicates the lower and upper bounds used for the optimization. 2.2.6 Sensitivity analysis. Prior to solving the minimization problem, a sensitivity analysis was performed on the CRLP model following the methodology described by Romero _et al_ . [34]. The aim was to identify the conductances that most notably influenced the objective function (the integral of the total potassium current) and the constraints (electrophysiological properties) in order to define the set of decision variables for the optimization. For the sensitivity analysis, the conductances were varied by ±30% one at a time. Fourteen conductances were considered in the sensitivity analysis, namely: _Gto_, the maximal conductance of the transient outward potassium current; _GKs_, the maximal conductance of the slowly activating potassium current; _GpCa_, the maximal conductance of the sarcolemmal calcium pump; _GKr_, the maximal conductance of the rapidly activating potassium current; _GKp_, the maximal conductance of the plateau potassium current; _GNaK_, the maximal activity of the Na Table 1. Electrophysiological markers evaluated in the proposed response surface approximation-based optimization. <u>Physiol. Range</u> <u>Selected Range</u> <u>CRLP Model</u> <u>This work</u> <u>APD90 (ms)</u> <u>271-366</u> <u>280-310</u> <u>305.6</u> <u>280.9</u> <u>Triangulation (ms)</u> <u>44-112</u> <u>44-112</u> <u>78</u> <u>84.6</u> <u>Sys. [</u> _<u>Ca</u>_ <sup>2+</sup> <u>]</u> _<u>i</u>_ <u>1Hz (</u> _<u>μ</u>_ <u>M)</u> <u>1.59-2.01</u> <u>0.602-2.01</u> <u>0.602</u> <u>0.701</u> <u>Sys. [</u> _<u>Ca</u>_ <sup>2+</sup> <u>]</u> _<u>i</u>_ <u>0.5Hz (</u> _<u>μ</u>_ <u>M)</u> <u>0.71-1.68</u> <u>0.523-1.68</u> <u>0.523</u> <u>0.664</u> <u>Dia. [</u> _<u>Ca</u>_ <sup>2+</sup> <u>]</u> _<u>i</u>_ <u>1Hz (</u> _<u>μ</u>_ <u>M)</u> <u>0.20-0.33</u> <u>0.097-0.33</u> <u>0.097</u> <u>0.100</u> <u>Dia. [</u> _<u>Ca</u>_ <sup>2+</sup> <u>]</u> _<u>i</u>_ <u>0.5Hz (</u> _<u>μ</u>_ <u>M)</u> <u>0.14-0.32</u> <u>0.091-0.32</u> <u>0.091</u> <u>0.096</u> _<u>τslow</u>_ <u>(s)</u> <u>70-110</u> <u>70-110</u> <u>105.6</u> <u>106.0</u> ~~R~~ _<u>CL</u>_ <sup>_<u>I</u>_</sup> _<u>K</u>_ <u>,</u> _<u>tot</u>_ <sup><u>�</u></sup> <sup>_<u>dt</u>_</sup> <sup><u>(ms �</u></sup> <sup><u>pA/pF)</u></sup> -28.52 -3.9 � 10 <sup>−9</sup> [https://doi.org/10.1371/journal.pone.0204411.t001](https://doi.org/10.1371/journal.pone.0204411.t001) [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 10 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models K pump; _Gncx_, the maximal activity of the Na-Ca exchanger; _GCaL_, the maximal conductance of the L-Type calcium current; _GK_ 1, the maximal conductance of the inward rectifier potassium current; _GNa_, the maximal conductance of the fast sodium current; _GClCa_, the maximal conductance of the calcium-activated chloride current; _GNa_, _Bk_, the maximal conductance of the background sodium current; _GCl_, _Bk_, the maximal conductance of the background chloride current; and _GCa_, _Bk_, the maximal conductance of the background calcium current. For each property _m_ and conductance _p_, the percentage of change ( _Dm_ ; _p_ ; _a_ ) and sensitivity ( _Sm_ ; _p_ ; _a_ ) were calculated as follows [34]: _Dm_ ; _p_ ; _a_ ¼ <sup>_<u>Mp</u>_</sup> <sup>;</sup> <sup>_<u>a</u>_</sup> <sup>�</sup> <sup>_<u>Mcontrol</u>_</sup> _Mcontrol_ - 100 _;_ ð22Þ _Sm_ ; _p_ ; _a_ ¼ <sup>_<u>Dm</u>_</sup> <sup>;</sup> <sup>_<u>p</u>_</sup> <sup>;</sup> <sup>_<u>a</u>_</sup> <sup>�</sup> <sup>_<u>Dm</u>_</sup> <sup>;</sup> <sup>_<u>p</u>_</sup> <sup>;�</sup> <sup>_<u>a</u>_</sup> - 100 _;_ ð23Þ 2 � _a_ where _Mp_ ; _a_ is the value of property _m_ when the conductance _p_ is varied by the percentage _a_ and _Mcontrol_ is the value of property _m_ under control conditions. As shown above, sensitivity ( _Sm_ ; _p_ ; _a_ ) is calculated as the ratio of the difference between the percentage of change ( _Dm_ ; _p_ ; _a_ - _Dm_ ; _p_ ;− _a_ ) and the interval of change (2 � _a_ ). In particular, for this study _a_ = 30%: _Sm_ ; _p_ ;0 _:_ 3 ¼ <sup>_<u>Dm</u>_</sup> <sup>;</sup> <sup>_<u>p</u>_</sup> <sup>;0</sup> <sup>_:_</sup> <sup>3</sup> <sup>�</sup> <sup>_<u>Dm</u>_</sup> <sup>;</sup> <sup>_<u>p</u>_</sup> <sup>;�</sup> <sup>0</sup> <sup>_:_</sup> <sup>3</sup> - 100 ¼ <sup>_<u>Mp</u>_</sup> <sup>;0</sup> <sup>_:_</sup> <sup>3</sup> <sup>�</sup> <sup>_<u>Mp</u>_</sup> <sup>;�</sup> <sup>0</sup> <sup>_:_</sup> <sup>3</sup> 2 � 0 _:_ 3 _Mcontrol_ - <sup><u>105</u></sup> ð24Þ 6 Sensitivity was calculated for each of the electrophysiological markers described in section 2.2.4 and for the integral of the total potassium current ( _IK_, _tot_ ) during one cardiac cycle at 1 Hz steady-state pacing. 2.2.7 Model comparison. Considering the difficulty of directly comparing the absolute value of each conductance for different computational models, due to the dependence on the whole current formulation, ionic current traces calculated during a cardiac cycle at 1 Hz steady-state pacing were compared for the CRLP, TP06, GPB and ORd models. The comparisons aimed at verifying that the modified CRLP model had current densities of similar magnitude and ionic currents of similar shapes as calculated with other published models. 2.3 Frequency-dependence behavior Pacing at different frequencies was simulated to assess whether the modified CRLP model retained the frequency-dependence behavior of the original CRLP model. To this end, _APD_ 90 was calculated at steady-state for CLs ranging from 250 to 5000 ms (in each case computed after pacing for 3,000 cycles). 2.4 Simulation of changes in potassium concentration Hypokalemic and hyperkalemic conditions were simulated with the original and the modified CRLP models. Two types of simulations were performed to compare the models with the experimental results. First, the effect of changing [ _K_ <sup>+</sup> ] _o_ was assessed when the cell was not stimulated to compare with the experimental results described in [38]. Subsquently, and following the experiments performed in [18], the extracellular potassium concentration, [ _K_ <sup>+</sup> ] _o_, was increased from 2 mM to 7 mM in 0.5 mM steps using a homogeneous 4-cm long fiber composed of epicardial cells. The physiological [ _K_ <sup>+</sup> ] _o_ value of 5.4 mM replaced the value of 5.5 mM in the simulations [18]. The conductivity _σ_, defining the velocity of the stimulus propagation, was set to render a Conduction Velocity (CV) close to 65 cm/s under control conditions [39]. The cell capacitance [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 11 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models was set to _Cm_ = 1 _μ_ F/cm <sup>2</sup> . For each [ _K_ <sup>+</sup> ] _o_ value, the model was first stabilized (without stimulation) until the product of the gates _h_ - _j_ reached 99% of the steady-state value _hss_ - _jss_, which was subsequently followed by 1 Hz pacing simulation. Stimulus current pulses twice the diastolic threshold were applied at one end of the cable. The diastolic threshold was defined as the minimum amplitude required for propagating five pulses along the fiber. The model was studied by stimulating the tissue with a train of 100 basic stimulations (S1) delivered at a CL of 1,000 ms. [ _K_ <sup>+</sup> ] _i_ was measured at the end of each stimulus at five different positions along the cable situated at distances from the origin of 1.5, 1.75, 2, 2.25 and 2.5 cm. The average value over the five locations was calculated. 2.5 Implementation The CRLP model was implemented in Matlab based on the original CellML file [7]. The code used to compute the simulations and to calculate the different markers is freely available at [https://github.com/ChusCarro/MatCardiacMLab/releases/tag/0.1.0.](https://github.com/ChusCarro/MatCardiacMLab/releases/tag/0.1.0) The minimization algorithm was implemented in Matlab. For 1D tissue simulations, a semi-implicit operator-splitting scheme implemented in Fortran was used to solve the propagation [40] with a space discretization of Δ _x_ = 0.1 mm and a time discretization of Δ _t_ = 0.002 ms, as in [7]. All computations were performed by using the high performance computing cluster (ICTS) [“NANBIOSIS”. Details about the cluster can be found at: http://www.nanbiosis.es/](http://www.nanbiosis.es/u27-e1-hermes-cluster) [u27-e1-hermes-cluster.](http://www.nanbiosis.es/u27-e1-hermes-cluster) 3 Results 3.1 Sensitivity analysis Results of the sensitivity analysis applied to the epicardial version of the CRLP model are shown in Fig 3. The value of the integral of the total potassium current, _IK_, _tot_, in one cardiac cycle was highly dependent on the conductance of the background chloride current, _GCl_, _bk_, and the L-type calcium current, _GCaL_ ( _S_ 30 values of -412.62% and 396.83%, respectively). Other Fig 3. Results of the sensitivity analysis applied to the original CRLP model. The blue scale indicates relative sensitivity for each marker. White color indicates maximum relative sensitivity and dark blue color indicates that property and parameter are independent. Percentages in the white boxes indicate the absolute sensitivity of the property. A minus sign in a box indicates that marker and model parameter vary inversely. ‘Trian’ stands for <u>Triangulation, ‘Sys’ stands for systolic and ‘Dia’ stands for diastolic.</u> [https://doi.org/10.1371/journal.pone.0204411.g003](https://doi.org/10.1371/journal.pone.0204411.g003) [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 12 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models currents were also found to play an important role in regulating potassium homeostasis: _GNaK_, 199.46%; _GK_ 1, -152.06%; _Gto_, -110.57%; _GKr_, -81.16%; and _Gncx_ 62.72%. The currents with the largest effect on the APD were found to be the same as for the objective function, although the sensitivities were notably reduced: _GCl_, _bk_, -48.56%; and _GCaL_, 33.41%. Triangulation was mainly modulated by: _GK_ 1, -57.7664%; and _GKr_, -20.1113%. Diastolic and systolic [ _Ca_ <sup>2+</sup> ] _i_ values were mostly influenced by _GCaL_ (27.65% and 171.71%, respectively). These markers were also influenced by changes in the following conductances: _GNaK_ (-16.08%, -78.62%), _Gncx_ (-15.74%, -74.48%), _GCl_, _bk_ (-14.53%, -80.66%) and _GCa_, _bk_ (11.51%, 47.46%). Regarding _τslow_, _GNaK_ was the conductance with the largest effect on this marker (-128.37%), with the remaining conductances not playing a significant role. Based on these results, five conductances were selected as decision variables for the minimization problem described in 2.2.3, namely: _GCl_, _bk_, _GCaL_, _Gncx_, _GK_ 1, and _Gto_ . Of note, _GNaK_ was discarded because any modification on this conductance significantly influenced _τslow_, with this effect not being counterbalanced by changes in any other conductance (see Fig 3). 3.2 Non-linear optimization The optimization algorithm found a minimum after four iterations. Variations in the updated current conductances with respect to their initial values were: _GCl_, _bk_, +19.34%; _GCaL_, +3.93%; _Gncx_, -33.25%; _GK_ 1, -14.08%; and _Gto_, +22.35%. With this new set of conductance values, and after introducing [ _K_ <sup>+</sup> ] _i_ dynamics in the model, [ _K_ <sup>+</sup> ] _i_ stabilized at 138 mM. The value of the electrophysiological markers are described in Table 1. All markers were within physiological ranges or closer than with the original CRLP model (last column in Table 1). When the model was optimized while considering different initial [ _K_ <sup>+</sup> ] _i_ values in the range 120-145 mM, results were practically coincident with those reported above for [ _K_ <sup>+</sup> ] _i_ initialized at 138 mM. At steady-state, [ _K_ <sup>+</sup> ] _i_ reached a value of 138 mM as well, differences in the values of the markers where below 1% and the maximum difference between optimal conductances was lower than 2.5%. In this case, the algorithm required six iterations rather than four to reach the optimal solution. 3.3 Model comparison To evaluate the impact of the new values for the estimated ionic conductances in the modified CRLP model, the AP and the associated ionic currents ( _ICaL_, _IK_ 1, _Incx_, _ICl_, _bk_ and _Ito_ ) were compared with the equivalent properties in the original CRLP model and in other human ventricular cell models. The results are shown in Fig 4. Other currents that were not considered for the optimization but that could be altered as well, like _IKr_, _IKs_ and _IKp_, are shown in Fig 5. The main differences in the AP between the original and modified CRLP models were a decrease in the membrane potential during the _plateau_ phase as well as shortening of the APD. There were small differences in the peak value of some currents, but in all cases the modified CRLP model was within the range of the other models or within experimentally reported bounds. _ICaL_ peak was larger in the modified model with respect to the GPB model and the original CRLP model, but smaller than in the TP06 model. _IK_ 1 peak was slightly smaller in the modified model with respect to the original CRLP model, which had the smallest peak value among all ventricular models, but in any case within the range reported experimentally (0.41.8 pA/pF [31, 41]). An important finding was that, while _Gncx_ and _GCl_, _bk_ in the modified CRLP model were significantly different from those in the original CRLP model (-33.25% and +19.34% respectively), the effects in terms of ionic current traces led to both _Incx_ and _ICl_, _bk_ not being notably [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 13 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models Fig 4. Model comparison. Blue lines represent the results of this work with inclusion of [ _K_ <sup>+</sup> ] _i_ dynamics, green lines represent the CRLP model, red lines represent the GPB model, cyan lines represent the TP06 model and purple lines represent the ORd model. All the figures show results at steady-state (after pacing for 3,000 cycles at a CL of 1000 ms). a) Action potential; b) Intracellular potassium concentration; c) Sodium-calcium exchanger Current; d) L-type calcium current; e) Inward potassium current; f) Transient outward potassium current; and g) Background chloride <u>Current.</u> [https://doi.org/10.1371/journal.pone.0204411.g004](https://doi.org/10.1371/journal.pone.0204411.g004) different from those in the original CRLP model. The _IKp_ current remained as in the original model, while _IKs_ was different but took really small values in both cases. _IKr_ was diminished in amplitude by 32.6% and its integral during a cycle was reduced by 30% with respect to the CRLP model. The extent of APD prolongation following blockade of this current was 10% for the modified CRLP model, as compared to 14% for the original CRLP model, being both values within experimentally defined limits [42]. [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 14 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models Fig 5. Model comparison. The colors in this figure are the same as those used in Fig 4. Results are shown at steadystate (after pacing for 3,000 cycles at a CL of 1000 ms). The graphics on the right are zoomed versions of the graphics on the left. a) Rapid delayed rectifier potassium current; b) Slow delayed rectifier potassium current; and c) Plateau <u>potassium current.</u> [https://doi.org/10.1371/journal.pone.0204411.g005](https://doi.org/10.1371/journal.pone.0204411.g005) 3.4 Frequency response Fig 6 shows steady-state normalized _APD_ 90 values calculated with the original and modified CRLP models. Normalization was performed with respect to the _APD_ 90 value for CL = 1000 ms. Both models presented very similar behaviors, with the only relevant difference being observed for CL = 250 ms. For this CL, the modified CRLP model showed alternans, while the original CRLP model did not. 3.5 Response to changes in extracellular potassium Fig 7a shows the temporal evolution of membrane potential following changes in [ _K_ <sup>+</sup> ] _o_ for an unstimulated cell simulated with the modified CRLP model. During the first 100 ms, membrane potential varied following the corresponding change in [ _K_ <sup>+</sup> ] _o_, in line with the results reported in [38]. Fig 7b shows the time needed to reach 90% of the steady-state membrane potential ( _t_ 90%). The value for _t_ 90% in the simulation for the same change in [ _K_ <sup>+</sup> ] _o_ than in [38] [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 15 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models <u>Fig 6.</u> <u>Steady-state</u> _<u>APD</u>_ <u>90 values as a function of pacing CL.</u> [https://doi.org/10.1371/journal.pone.0204411.g006](https://doi.org/10.1371/journal.pone.0204411.g006) (from 4.4 mM to 6.6 mM) was 16.2 ms, which is somewhat faster than the experimentally reported results in [38] for rabbit (80 ms) and rat (147 ms) ventricular myocytes. Fig 8a shows a snapshot of [ _K_ <sup>+</sup> ] _i_ values calculated with the modified CRLP model at different times following changes in [ _K_ <sup>+</sup> ] _o_ as described in 2.4. Fig 8b shows the temporal evolution of [ _K_ <sup>+</sup> ] _i_ in response to changes in [ _K_ <sup>+</sup> ] _o_ . Under control conditions, [ _K_ <sup>+</sup> ] _i_ remained constant in time. As expected, following simulated hyperkalemia ([ _K_ <sup>+</sup> ] _o >_ 5.4 _mM_ ), [ _K_ <sup>+</sup> ] _i_ increased as [ _K_ <sup>+</sup> ] _o_ increased, whereas for simulated hypokalemia ([ _K_ <sup>+</sup> ] _o <_ 5.4 _mM_ ), [ _K_ <sup>+</sup> ] _i_ decreased in response to [ _K_ <sup>+</sup> ] _o_ decreases. For [ _K_ <sup>+</sup> ] _o_ - 2.0 _mM_, tissue became inexcitable. In Table 2, the steady-state value of [ _K_ <sup>+</sup> ] _i_ in the optimized CRLP model is shown for each simulated [ _K_ <sup>+</sup> ] _o_ value. 3.6 Computational cost Each iteration of the optimization algorithm involved computations associated with a number of stimulation protocols. In Table 3, a summary of the computational cost is shown for each of the protocols. In each iteration, the protocols were run twice: one for the generation of the database (243 simulations in parallel) and another one for the evaluation of the solution (6 simulations in parallel). The variance in the computation times is due to the fact that Fig 7. Results for an unstimulated cell simulated with the modified CRLP model following changes in [ _K_ <sup>+</sup> ] _o_ . a) Temporal <u>evolution of membrane potential; b) Time to achieve 90% of the steady-state membrane potential (</u> _<u>t</u>_ <u>90%).</u> [https://doi.org/10.1371/journal.pone.0204411.g007](https://doi.org/10.1371/journal.pone.0204411.g007) [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 16 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models Fig 8. [ _K_ <sup>+</sup> ] _i_ evolution following [ _K_ <sup>+</sup> ] _o_ changes simulated with the modified CRLP model. a) [ _K_ <sup>+</sup> ] _i_ dependence on <u>[</u> _<u>K</u>_ <sup>+</sup> <u>]</u> _<u>o</u>_ <u>at different time instants; b) time course of [</u> _<u>K</u>_ <sup>+</sup> <u>]</u> _<u>i</u>_ <u>for different [</u> _<u>K</u>_ <sup>+</sup> <u>]</u> _<u>o</u>_ <u>values.</u> [https://doi.org/10.1371/journal.pone.0204411.g008](https://doi.org/10.1371/journal.pone.0204411.g008) Table 2. Steady-state values of [ _K_ <sup>+</sup> ] _i_ for different [ _K_ <sup>+</sup> ] _o_ values as calculated with the optimized CRLP model. <u>[</u> _<u><mark>K</mark></u>_ <sup>+</sup> <u>]</u> _<u><mark>o</mark></u>_ <u>(mM)</u> <u>[</u> _<u><mark>K</mark></u>_ <sup>+</sup> <u>]</u> _<u><mark>i</mark></u>_ <u>(mM)</u> <u>2.5</u> <u>73.5</u> <u>3.0</u> <u>84.8</u> <u>3.5</u> <u>95.8</u> <u>4.0</u> <u>107.2</u> <u>4.5</u> <u>118.3</u> <u>5.0</u> <u>129.3</u> <u>5.4</u> <u>138.0</u> <u>6.0</u> <u>151.4</u> <u>6.5</u> <u>161.6</u> <u>7.0</u> <u>172.5</u> [https://doi.org/10.1371/journal.pone.0204411.t002](https://doi.org/10.1371/journal.pone.0204411.t002) computations were run in different nodes of a high performance computing cluster, namely the one described in section 2.5. The four iterations of the optimization algorithm were computed in 23 hours and 16 minutes. 4 Discussion This work proposes a mathematical framework to adjust ionic current conductances of cardiac AP models by using response surface approximation-based optimization. The framework has been applied to update a previously published human ventricular AP model, the CRLP model, by incorporating [ _K_ <sup>+</sup> ] _i_ dynamics. Such incorporation involves readjustment of ionic current conductances to avoid drifting in intracellular potassium. While adjusting for current Table 3. Computational cost of the different protocols used for the optimization. <u>Protocol</u> <u>Mean</u> <u>STD</u> <u>Max</u> <u>Steady-state CL = 1000 ms</u> <u>01:31:45</u> <u>00:41:31</u> <u>02:29:31</u> <u>Steady-state CL = 2000 ms</u> <u>02:35:38</u> <u>01:03:47</u> <u>03:41:11</u> <u>APD Rate Adaptation</u> <u>00:28:36</u> <u>00:14:17</u> <u>00:53:57</u> [https://doi.org/10.1371/journal.pone.0204411.t003](https://doi.org/10.1371/journal.pone.0204411.t003) [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 17 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models conductances, a number of electrophysiological properties are required to remain within available experimental ranges by properly defining constraints to the optimization problem that is being solved. The proposed framework can be easily extended to solve other problems frequently arising when developing cardiac computational models, for instance related to the update of existing models to reproduce the response to pharmacological ion channel inhibitions on top of baseline conditions. In the following subsections, the main aspects of the proposed methodology and the results obtained in this work are discussed. 4.1 Response surface optimization The use of response surfaces to minimize an objective function subject to a number of constraints, as proposed in this study, allows reaching a solution to the proposed problem in a small number of iterations, thus reducing the computational cost with respect to other previously published approaches. In [15], Rodriguez _et al_ . proposed an algorithm that uses augmented Lagrangian techniques and relies on successively building RSA of the augmented Lagrangian to solve a minimization problem like that defined by Eqs 1–4. In this study, the trust region ratio was used to independently validate the RSA for the objective function and the constraints instead of considering the augmented Lagrangian of the problem. Our proposal led to a reduction in the number of times the database was generated and, thus, simplified the implementation. The model that is optimized in the present work is much more complex than those used in [15], but the number of times the database was generated was smaller than in all the cases described in [15]. Also, differently to other optimization algorithms based on e.g. Genetic Algorithms [12, 14], the response surface approach proposed in this study guarantees the convergence to a local minimum of the problem when the response surfaces are built such that they match the objective function up to the first order around the point where the approximation is built. In addition, our response surface approach allows identifying a potential minimum anywhere within the trust region, not necessarily contained in the database. Finally, in this work the proposed optimization algorithm was used to solve a problem where a new characteristic was added to a human ventricular cell model, the CRLP model, while a number of electrophysiological markers were guaranteed to remain within physiological range or closer to it than with the original CRLP model. In other studies, like [43], the aim of the analysis is similar, but, as opposed to the present study, the objective function is defined to include multiple electrophysiological properties, for some of which a physiological range may be available while for others it may not, rather than considering the electrophsyiological properties as elements to define the constraints imposed in the optimization. In any case, the same response surface approximation-based optimization algorithm employed in the present study could be applied to the problem defined in [43]. 4.2 Database generation The size of the database depends on the selected sampling technique. In this study a three-level full factorial design was used for sampling, which involved 3 <sup>_N_</sup> sample points, with _N_ the number of variables to be adjusted (five in this study). However, the proposed optimization framework is independent of the sampling strategy or the size of the database as long as the database provides enough information to fit the response surface. For instance, increasing the factorial number from 3 to 5 (the database size increased from 3 <sup>5</sup> = 243 to 5 <sup>5</sup> = 3125 sample points) only reduced the total number of iterations from 4 to 3, without changing the identified optimum. However, the computational cost increased tenfold. [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 18 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models The advantage of using factorial designs is that they provide unbiased information for parameter identification with polynomial RSAs since they provide optimal space filling [19]. However, other sampling strategies are also possible. Monte Carlo simulations represent a very flexible sampling strategy where the optimal number of sampling points can be defined in terms of the type of RSA to be used. In this regard, Monte Carlo simulations were used in [44] to perform sensitivity analysis in electrophysiological models by means of linear multivariate regression. In addition to generating the required data for model fitting, Monte Carlo simulations were also used to perform population-based simulation studies, as in Wamsley _et al_ . [45]. In this work, the full factorial technique was implemented in order to guarantee that the algorithm was not limited by the sampling technique since the generated database is sufficient to build a second order response surface. However, as mentioned above, other techniques could be tested to reduce the computational cost when a larger number of current conductances are involved or when large parallel computing capacity is not available. 4.3 Computational cost The major benefit of the methodology proposed in this study in terms of computational cost is the high degree of parallelization. It should be noted that the global computation time depends mainly on two factors: the employed cell model and the stimulation protocols that are performed. As compared to the CRLP or GPB models, which take long computation times, the computational time for a model like TP06 could be reduced to just a few hours. For the computations of this study a high performance computing cluster was used. The number of simulations involved per iteration makes it possible to use other types of infrastructures such as GPUs. Nevertheless, the computation times associated with the presented response surface approximation-based methodology are short if compared with those for the same optimization solved by using a genetic algorithm, which could require around 100 generations and would cost more than 350 hours, even if all individuals in the population were simulated in parallel. In [12], 500 generations were needed to fit the model, which would still involve longer computation times. 4.4 Definition of the optimization problem In this work, the integral of the total potassium current ( _IK_, _tot_ ) during one cardiac cycle was selected as the objective function for minimization. This selection was made to maintain [ _K_ <sup>+</sup> ] _i_ homeostasis after incorporation of [ _K_ <sup>+</sup> ] _i_ dynamics into the CRLP human ventricular model. Optimal current conductances were identified, with additional constraints imposed to guarantee that fundamental electrophysiological properties took values within experimental limits. For some of those properties the physiological range reported in experimental studies of the literature is extremely large. To avoid a solution for the modified CRLP model that, although in physiological range, was very far from the average experimental behavior, the range of allowed APD values was somewhat restricted, as described in 2.2.5. 4.5 Model comparison The adjusted CRLP model developed in this study was compared with previous human ventricular AP models published in the literature, namely the CRLP, GPB, TP06 and ORd models. This comparison was made in terms of AP traces, [ _K_ <sup>+</sup> ] _i_ concentrations and _ICaL_, _IK_ 1, _Incx_, _ICl_, _bk_ and _Ito_ currents. In practically all cases, the results obtained for the adjusted CRLP model were along the lines of those obtained with the other models. The only current that was found to be smaller for the modified CRLP model as compared to the other models, including the original [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 19 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models CRLP model, was _IKr_ . This reduced current led to shorter APD prolongation following _IKr_ blockade, but still within experimentally reported limits. Specifically, in [42] an average APD prolongation of 56.3% with a standard deviation of 34.6% was reported. The difference between the mean experimental prolongation and that obtained for the modified CRLP model was within twice the experimental standard deviation. One of the differences between the GPB / CRLP models and the other human ventricular models is the inclusion of the _ICl_, _bk_ current. This current was expected to have a minor role in modulating electrophysiological properties, but, as reported in [33], APD showed the highest sensitivity (-86%) to changes in the maximal ionic conductance of the _ICl_, _bk_ current. In the CRLP model, this sensitivity was reduced (-46%) but it was still large. As there is similarity between the sensitivities of the APD and the integral of the total potassium current to variations in ionic conductances (see Fig 3), the _ICl_, _bk_ current ended up having a very important indirect role in modulating potassium balance. As shown in the presented results, major differences between the modified and the original CRLP models include APD shortening and decrease in the membrane potential during the _pla-_ _teau_ phase. Regarding the latter, experimental results [46] show that the plateau voltage takes values around 18 mV, while in the modified CRLP model the plateau voltage is 8 mV. Differences in _Incx_ and _ICl_, _bk_, even if not large, could still underlie those major deviations of the modified CRLP model with respect to the original one. Future studies could include the membrane potential during the _plateau_ phase as an electrophysiological marker to be included in the optimization algorithm for model refinement. This could definitely have an impact on balancing the currents involved in this phase of the AP. Our results demonstrate that with the proposed methodology it was possible to successfully update the CRLP model by incorporating [ _K_ <sup>+</sup> ] _i_ dynamics while keeping the model’s ability to reproduce risk-related markers for investigation of cardiac arrhythmias. As described in Table 1, the evaluated risk markers remain within experimental limits or are closer to their physiological values than with the original CRLP model. 4.6 Response to potassium concentration changes While for some investigations the assumption of constant [ _K_ <sup>+</sup> ] _i_ may be valid, there are many situations where [ _K_ <sup>+</sup> ] _i_ varies, for instance following changes in the frequency of stimulation or in [ _K_ <sup>+</sup> ] _o_ values. As shown in 2.2.2, the assumption of constant [ _K_ <sup>+</sup> ] _i_ may also hide an imbalance between potassium currents and [ _K_ <sup>+</sup> ] _i_, as the latter is not allowed to change. Simulation results obtained when varying the level of [ _K_ <sup>+</sup> ] _o_ allowed confirming that both the incorporation of [ _K_ <sup>+</sup> ] _i_ dynamics and the use of the optimization algorithm to readjust the ionic conductances improved the CRLP model for simulation of abnormal conditions (see section 3.5). Although there are no experimental measurements of [ _K_ <sup>+</sup> ] _i_, the model can be assessed by using measurements that indirectly validate its behavior. On the one hand, the model is able to reproduce behaviors similar to those of the experimental results presented in [38]. On the other hand, the inclusion of [ _K_ <sup>+</sup> ] _i_ dynamics make it possible to evaluate variations in [ _K_ <sup>+</sup> ] _i_ in response to [ _K_ <sup>+</sup> ] _o_ changes like those reported in hemodialysis scenarios [18]. In this latter case, simulated [ _K_ <sup>+</sup> ] _i_ variations were in the expected direction as to compensate for the effects of changing [ _K_ <sup>+</sup> ] _o_ . When [ _K_ <sup>+</sup> ] _o_ increases, there is an increase in the Nernst potential for potassium and, thus, a reduction in the driving force of potassium, which diminishes the amount of potassium leaving the cell. Additionally, an increase in [ _K_ <sup>+</sup> ] _o_ alters the current through the sodium-potassium pump. Both effects contribute to increase [ _K_ <sup>+</sup> ] _i_, which leads to a reduction in the Nernst potential for potassium, thus returning the cell to an equilibrium state. [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 20 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models 5 Conclusions The optimization framework proposed in this study allows estimating ionic current conductances of AP models at an affordable computational cost while guaranteeing physiologically plausible values of selected electrophysiological properties. This framework has been applied to introduce [ _K_ <sup>+</sup> ] _i_ dynamics into an existing human ventricular AP model, namely the CRLP model. Solving the formulated optimization problem avoids the imbalance generated in the CRLP model after introducing [ _K_ <sup>+</sup> ] _i_ dynamics, without deteriorating the performance of the model in terms of representation of electrophysiological behavior and arrhythmic risk-related properties. The updated CRLP model built in this study is thus suitable for investigation of cardiac arrhythmias, particularly under conditions involving large changes in [ _K_ <sup>+</sup> ] _i_ . Acknowledgments The computation was performed by the ICTS “NANBIOSIS”, more specifically by the High Performance Computing Unit of the CIBER-BBN at the University of Zaragoza. Author Contributions Conceptualization: Jesu´s Carro, Esther Pueyo, Jose´ F. Rodrı´guez Matas. Formal analysis: Jesu´s Carro, Jose´ F. Rodrı´guez Matas. Funding acquisition: Esther Pueyo, Jose´ F. Rodrı´guez Matas. Investigation: Jesu´s Carro. Methodology: Jesu´s Carro, Esther Pueyo, Jose´ F. Rodrı´guez Matas. Software: Jesu´s Carro. Supervision: Esther Pueyo, Jose´ F. Rodrı´guez Matas. Validation: Jose´ F. Rodrı´guez Matas. Visualization: Jesu´s Carro. Writing – original draft: Jesu´s Carro. Writing – review & editing: Esther Pueyo, Jose´ F. Rodrı´guez Matas. References 1. Krogh-Madsen T, Sobie EA, Christini DJ. Improving cardiomyocyte model fidelity and utility via dynamic [electrophysiology protocols and optimization algorithms. J Physiol. 2016; 594(9):2525–2536. https://](https://doi.org/10.1113/JP270618) [doi.org/10.1113/JP270618 PMID: 26661516](https://doi.org/10.1113/JP270618) 2. Yue L, Feng J, Li GR, Nattel S. Transient outward and delayed rectifier currents in canine atrium: prop[erties and role of isolation methods. Am J Physiol. 1996; 270(6 Pt 2):H2157–68. https://doi.org/10.](https://doi.org/10.1152/ajpheart.1996.270.6.H2157) [1152/ajpheart.1996.270.6.H2157 PMID: 8764269](https://doi.org/10.1152/ajpheart.1996.270.6.H2157) 3. Courtemanche M, Ramirez RJ, Nattel S. Ionic mechanisms underlying human atrial action potential properties: Insights from a mathematical model. Am J of Physiol. 1998; 275(1):H301–H321. 4. Grandi E, Pasqualini FS, Bers DM. A novel computational model of the human ventricular action poten[tial and Ca transient. J Mol Cell Cardiol. 2010; 48:112–121. https://doi.org/10.1016/j.yjmcc.2009.09.019](https://doi.org/10.1016/j.yjmcc.2009.09.019) [PMID: 19835882](http://www.ncbi.nlm.nih.gov/pubmed/19835882) 5. ten Tusscher K, Noble D, Noble PJ, Panfilov A. A model for human ventricular tissue. Am J Physiol [Heart Circ Physiol. 2004; 286(4):H1573–1589. https://doi.org/10.1152/ajpheart.00794.2003 PMID:](https://doi.org/10.1152/ajpheart.00794.2003) [14656705](http://www.ncbi.nlm.nih.gov/pubmed/14656705) 6. Zeng J, Laurita KR, Rosenbaum DS, Rudy Y. Two components of the delayed rectifier K <sup>+</sup> current in ventricular myocytes of the guinea pig type. Theoretical formulation and their role in repolarization. Circ [Res. 1995; 77(1):140–152. https://doi.org/10.1161/01.RES.77.1.140 PMID: 7788872](https://doi.org/10.1161/01.RES.77.1.140) [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 21 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models 7. Carro J, Rodrı´guez JF, Laguna P, Pueyo E. A human ventricular cell model for investigation of cardiac [arrhythmias under hyperkalaemic conditions. Philos T Roy Soc A. 2011; 369(1954):4205–4232. https://](https://doi.org/10.1098/rsta.2011.0127) [doi.org/10.1098/rsta.2011.0127](https://doi.org/10.1098/rsta.2011.0127) 8. Nygren A, Leon LJ, Giles WR. Simulations of the human atrial action potential. Phil Trans A. 2001; [359(1783):1111–1125. https://doi.org/10.1098/rsta.2001.0819](https://doi.org/10.1098/rsta.2001.0819) 9. Dokos S, Lovell NH. Parameter estimation in cardiac ionic models. Prog Biophys Mol Bio. 2004; [85(2–3):407–431. http://dx.doi.org/10.1016/j.pbiomolbio.2004.02.002.](http://dx.doi.org/10.1016/j.pbiomolbio.2004.02.002) 10. Guo T, Abed AA, Lovell NH, Dokos S. Optimisation of a Generic Ionic Model of Cardiac Myocyte Electri[cal Activity. Computational and Mathematical Methods in Medicine. 2013; 2013:1–20. https://doi.org/](https://doi.org/10.1155/2013/407917) [10.1155/2013/407917](https://doi.org/10.1155/2013/407917) 11. Bot CT, Kherlopian AR, Ortega FA, Christini DJ, Krogh-Madsen T. Rapid Genetic Algorithm Optimization of a Mouse Computational Model: Benefits for Anthropomorphization of Neonatal Mouse Cardio[myocytes. Front Physiol. 2012; 421(3). https://doi.org/10.3389/fphys.2012.00421](https://doi.org/10.3389/fphys.2012.00421) 12. Groenendaal W, Ortega FA, Kherlopian AR, Zygmunt AC, Krogh-Madsen T, Christini DJ. Cell-Specific [Cardiac Electrophysiology Models. PLOS Comput Bio. 2015; 11(4). https://doi.org/10.1371/journal.](https://doi.org/10.1371/journal.pcbi.1004242) [pcbi.1004242](https://doi.org/10.1371/journal.pcbi.1004242) 13. Kaur J, Nygren A, Vigmond EJ. Fitting Membrane Resistance along with Action Potential Shape in Cardiac Myocytes Improves Convergence: Application of a Multi-Objective Parallel Genetic Algorithm. [PLOS ONE. 2014; 9(9):1–10. https://doi.org/10.1371/journal.pone.0107984](https://doi.org/10.1371/journal.pone.0107984) 14. Syed Z, Vigmond E, Nattel S, Leon LJ. Atrial cell action potential parameter fitting using genetic algo[rithms. Med Biol Eng Comput. 2005; 43(5):561–571. https://doi.org/10.1007/BF02351029 PMID:](https://doi.org/10.1007/BF02351029) [16411628](http://www.ncbi.nlm.nih.gov/pubmed/16411628) 15. Rodrı´guez JF, Renaud JE, Watson LT. Trust region augmented lagrangian methods for sequential [response surface approximation and optimization. J Mech Design. 1998; 120(1):58–66. https://doi.org/](https://doi.org/10.1115/1.2826677) [10.1115/1.2826677](https://doi.org/10.1115/1.2826677) 16. ten Tusscher K, Panfilov A. Alternans and spiral breakup in a human ventricular tissue model. Am J [Physiol Heart Circ Physiol. 2006; 291:H1088–H1100. https://doi.org/10.1152/ajpheart.00109.2006](https://doi.org/10.1152/ajpheart.00109.2006) [PMID: 16565318](http://www.ncbi.nlm.nih.gov/pubmed/16565318) 17. O’Hara T, Vira´g L, Varro´ A, Rudy Y. Simulation of the undiseased human cardiac ventricular action [potential: Model formulation and experimental validation. PLOS Comput Bio. 2011; 7(5). https://doi.org/](https://doi.org/10.1371/journal.pcbi.1002061) [10.1371/journal.pcbi.1002061](https://doi.org/10.1371/journal.pcbi.1002061) 18. Corsi C, Cortesi M, Callisesi G, De Bie J, Napolitano C, Santoro A, et al. Noninvasive quantification of [blood potassium concentration from ECG in hemodialysis patients. Sci Rep. 2017; 7:42492. https://doi.](https://doi.org/10.1038/srep42492) [org/10.1038/srep42492 PMID: 28198403](https://doi.org/10.1038/srep42492) 19. Box GEP, Hunter JS, G HW. Statistics for Experimenters: Design, Innovation, and Discovery. 2nd ed. Wiley Interscience; 2005. 20. Shannon TR, Wang F, Puglisi J, Weber C, Bers DM. A mathematical treatment of integrated Ca dynam[ics within the ventricular myocyte. Biophys J. 2004; 87(5):3351–3371. https://doi.org/10.1529/biophysj.](https://doi.org/10.1529/biophysj.104.047449) [104.047449 PMID: 15347581](https://doi.org/10.1529/biophysj.104.047449) 21. Himeno Y, Asakura K, Cha C, Memida H, Powell T, Amano A, et al. A Human Ventricular Myocyte Model with a Refined Representation of Excitation-Contraction Coupling. Biophys J. 2015; 109: [415–427. https://doi.org/10.1016/j.bpj.2015.06.017 PMID: 26200878](https://doi.org/10.1016/j.bpj.2015.06.017) 22. Livshitz L, Rudy Y. Uniqueness and Stability of Action Potential Models during Rest, Pacing, and Conduction Using Problem-Solving Environment. Bio J. 2009; 97:1265–1276. 23. Dutta S, Minchole´ A, Quinn TA, Rodrı´guez B. Electrophysiological properties of computational human ventricular cell action potential models under acute ischemic conditions. Prog Biophys Mol Bio. 2017; [https://doi.org/10.1016/j.pbiomolbio.2017.02.007](https://doi.org/10.1016/j.pbiomolbio.2017.02.007) 24. Hondeghem LM, Carlsson L, Duker G. Instability and triangulation of the action potential predict serious proarrhythmia, but action potential duration prolongation is antiarrhythmic. Circ. 2001; 103:2004–2013. [https://doi.org/10.1161/01.CIR.103.15.2004](https://doi.org/10.1161/01.CIR.103.15.2004) 25. Volders PG, Vos MA, Szabo B, Sipido KR, de Groot SH, Gorgels AP, et al. Progress in the understanding of cardiac early afterdepolarizations and torsades de pointes: time to revise current concepts. Cardi[ovasc Res. 2000; 46:376–392. https://doi.org/10.1016/S0008-6363(00)00022-5 PMID: 10912449](https://doi.org/10.1016/S0008-6363%0x2800%0x2900022-5) 26. Bers DM, Despa S. Cardiac myocytes Ca <sup>2+</sup> and Na <sup>+</sup> regulation in normal and failing hearts. J Pharm [Sci. 2006; 100:315–322. https://doi.org/10.1254/jphs.CPJ06001X](https://doi.org/10.1254/jphs.CPJ06001X) 27. Pieske B, Maier LS, Bers DM, Hasenfuss G. Ca <sup>2+</sup> handling and sarcoplasmic reticulum Ca <sup>2+</sup> content in [isolated failing and nonfailing human myocardium. Circ Res. 1999; 85:38–46. https://doi.org/10.1161/](https://doi.org/10.1161/01.RES.85.1.38) [01.RES.85.1.38 PMID: 10400909](https://doi.org/10.1161/01.RES.85.1.38) [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 22 / 23 A response surface optimization approach to adjust ionic current conductances of cardiac models 28. Pueyo E, Smetana P, Caminal P, de Luna AB, Malik M, Laguna P. Characterization of QT interval adaptation to RR interval changes and its use as a risk-stratifier of arrhythmic mortality in amiodarone-treated [survivors of acute myocardial infarction. IEEE Trans Biomed Eng. 2004; 51:1511–1520. https://doi.org/](https://doi.org/10.1109/TBME.2004.828050) [10.1109/TBME.2004.828050 PMID: 15376499](https://doi.org/10.1109/TBME.2004.828050) 29. Pueyo E, Husti Z, Hornyik T, Baczko´ I, Laguna P, Varro´ A, et al. Mechanisms of ventricular rate adapta[tion as a predictor of arrhythmic risk. Am J Physiol Heart Circ Physiol. 2010; 298:H1577–H1587. https://](https://doi.org/10.1152/ajpheart.00936.2009) [doi.org/10.1152/ajpheart.00936.2009 PMID: 20207815](https://doi.org/10.1152/ajpheart.00936.2009) 30. Drouin E, Charpentier F, Gauthier C, Laurent K, Marec HL. Electrophysiologic characteristics of cells spanning the left ventricular wall of human heart: Evidence for presence of M cells. J Am Coll Cardiol. [1995; 26:185–192. https://doi.org/10.1016/0735-1097(95)00167-X PMID: 7797750](https://doi.org/10.1016/0735-1097%0x2895%0x2900167-X) 31. Li GR, Feng J, Yue L, Carrier M. Transmural heterogeneity of action potentials and _Ito_ 1 in myocytes iso[lated from the human right ventricle. Am J Physiol Heart Circ Physiol. 1998; 275:H369–377. https://doi.](https://doi.org/10.1152/ajpheart.1998.275.2.H369) [org/10.1152/ajpheart.1998.275.2.H369](https://doi.org/10.1152/ajpheart.1998.275.2.H369) 32. Li GR, Yang B, Feng J, Bosch RF, Carrier M, Nattel S. Transmembrane _ICa_ contributes to ratedependent changes of action potentials in human ventricular myocytes. Am J Physiol Heart Circ Phy[siol. 1999; 276:H98–106. https://doi.org/10.1152/ajpheart.1999.276.1.H98](https://doi.org/10.1152/ajpheart.1999.276.1.H98) 33. Carro J, Rodrı´guez-Matas JF, Monasterio V, Pueyo E. Limitations in electrophysiological model development and validation caused by differences between simulations and experimental protocols. Prog [Biophys Mol Bio. 2016. https://doi.org/10.1016/j.pbiomolbio.2016.11.006](https://doi.org/10.1016/j.pbiomolbio.2016.11.006) 34. Romero L, Pueyo E, Fink M, Rodrı´guez B. Impact of ionic current variability on human ventricular cellu[lar electrophysiology. Am J Physiol Heart Circ Physiol. 2009; 297:H1436–1445. https://doi.org/10.1152/](https://doi.org/10.1152/ajpheart.00263.2009) [ajpheart.00263.2009 PMID: 19648254](https://doi.org/10.1152/ajpheart.00263.2009) 35. Beuckelmann DJ, Nabauer M, Erdmann E. Intracellular calcium handling in isolated ventricular myocytes from patients with terminal heart failure. Am Heart J. 1992; 85:1046–1055. 36. Schmidt U, Hajjar RJ, Helm PA, Kim CS, Doye AA, Gwathmey JK. Contribution of abnormal sarcoplasmic reticulum ATPase activity to systolic and diastolic dysfunction in human heart failure. J Mol Cell Car[diol. 1998; 30:1929–1937. https://doi.org/10.1006/jmcc.1998.0748 PMID: 9799647](https://doi.org/10.1006/jmcc.1998.0748) 37. Franz MR, Swerdlow CD, Liem LB, Schaefer J. Cycle length dependence of human actionpPotential [duration in vivo. Am Clin Inves. 1988; 82:972–979. https://doi.org/10.1172/JCI113706](https://doi.org/10.1172/JCI113706) 38. Yao A, Spitzer KW, Ito N, Zaniboni M, Lorell BH, Barry WH. The restriction of diffusion of cations at the external surface of cardiac myocytes varies between species. Cell Calcium. 1997; 22(6):431–438. [https://doi.org/10.1016/S0143-4160(97)90070-1. PMID: 9502192](https://doi.org/10.1016/S0143-4160%0x2897%0x2990070-1) 39. Taggart P, Sutton P, T O, Coronel R, Trimlett R, Pugsley W. Inhomogeneous transmural conduction during early ischemia in patients with coronary artery disease. J Mol Cell Cardiol. 2000; 32:621–639. [https://doi.org/10.1006/jmcc.2000.1105 PMID: 10756118](https://doi.org/10.1006/jmcc.2000.1105) 40. Heidenreich E, Ferrero JM, Doblare´ M, Rodrı´guez JF. Adaptive macro finite elements for the numerical solution of monodomain equations in cardiac electrophysiology. Ann Biomed Eng. 2010; 38(7): [2331–2345. https://doi.org/10.1007/s10439-010-9997-2 PMID: 20238165](https://doi.org/10.1007/s10439-010-9997-2) 41. Fink M, Noble D, Virag L, Varro A, Giles WR. Contributions of HERG K+ current to repolarization of the [human ventricular action potential. Prog Biophys Mol Bio. 2008; 96:357–376. https://doi.org/10.1016/j.](https://doi.org/10.1016/j.pbiomolbio.2007.07.011) [pbiomolbio.2007.07.011](https://doi.org/10.1016/j.pbiomolbio.2007.07.011) 42. Jost N, Vira´g L, Comtois P, O <sup>¨</sup> rdo¨g B, Szuts V, Sepre´nyi G, et al. Molecular basis of repolarization [reserve differences between dogs and man. J Physiol. 2013; 591:4189–4206. https://doi.org/10.1113/](https://doi.org/10.1113/jphysiol.2013.261198) [jphysiol.2013.261198 PMID: 23878377](https://doi.org/10.1113/jphysiol.2013.261198) 43. Fabbri A, Fantini M, Wilders R, Severi S. Computational analysis of the human sinus node action poten[tial: model development and effects of mutations. J Physiol. 2017; 595(7):2365–2396. https://doi.org/](https://doi.org/10.1113/JP273259) [10.1113/JP273259 PMID: 28185290](https://doi.org/10.1113/JP273259) 44. Sobie EA. Parameter sensitivity analysis in electrophysiological models using multivariable regression. [Buophys J. 2009; 96(4):1264–1274. https://doi.org/10.1016/j.bpj.2008.10.056](https://doi.org/10.1016/j.bpj.2008.10.056) 45. Walmsley J, Rodriguez JF, Mirams GR, Burrage K, Efimov IR, Rodriguez B. mRNA Expression Levels in Failing Human Hearts Predict Cellular Electrophysiological Remodeling: A Population-Based Simula[tion Study. PLOS ONE. 2013; 8(2):e56359. https://doi.org/10.1371/journal.pone.0056359 PMID:](https://doi.org/10.1371/journal.pone.0056359) [23437117](http://www.ncbi.nlm.nih.gov/pubmed/23437117) 46. Drouin E, Lande G, Charpentier F. Amiodarone reduces transmural heterogeneity of repolarization in [the human heart. J Am Coll Cardiol. 1998; 32(4):1063–1067. https://doi.org/10.1016/S0735-1097(98)](https://doi.org/10.1016/S0735-1097%0x2898%0x2900330-1) [00330-1. PMID: 9768733](https://doi.org/10.1016/S0735-1097%0x2898%0x2900330-1) [PLOS ONE | https://doi org/10 1371/journal pone 0204411](https://doi.org/10.1371/journal.pone.0204411) October 3 2018 23 / 23

섹션 본문 86문단 · 47,854자

(제목 없음)

1Cardiac electrophysiological computational models are often developed from previously published models. The new models may incorporate additional features to adapt the model to a different species or may upgrade a specific ionic formulation based on newly available experimental data. A relevant challenge in the development of a new model is the estimation of certain ionic current conductances that cannot be reliably identified from experiments. A common strategy to estimate those conductances is by means of constrained non-linear least-squares optimization. In this work, a novel methodology is proposed for estimation of ionic current conductances of cardiac electrophysiological models by using a response surface approximation-based constrained optimization with trust region management. Polynomial response surfaces of a number of electrophysiological markers were built using statistical sampling methods. These markers included action potential duration (APD), triangulation, diastolic and systolic intracellular calcium concentration, and time constants of APD rate adaptation. The proposed methodology was applied to update the Carro et al. human ventricular action potential model after incorporation of intracellular potassium ([K + ] i ) dynamics. While the Carro et al. model was well suited for investigation of arrhythmogenesis, it did not allow simulation of [K + ] i changes. With the methodology proposed in this study, the updated Carro et al. human ventricular model could be used to simulate [K + ] i changes in response to varying extracellular potassium ([K + ] o ) levels. Additionally, it rendered values of evaluated electrophysiological markers within physiologically plausible ranges.The optimal values of ionic current conductances in the updated model were found in a notably shorter time than with previously proposed methodologies. As a conclusion, the response surface optimization-based approach proposed in this study allows estimating ionic current conductances of cardiac electrophysiological computational models while guaranteeing replication of key electrophysiological features and with an important reduction in computational cost with respect to previously published approaches. The updated PLOS ONE | https://doi.

Introduction

2The last decades have seen an extraordinary development of cardiac computational electrophysiological models. The possibilities they offer to investigate the electrical behavior of the heart together with the large increase in computing capability have boosted such development. This has been accompanied in many instances by an increase in model complexity, even if the main principles and structure of the first published models remain unaltered.

3An action potential (AP) model is described by a system of coupled differential equations that involve the transmembrane current flow as well as dynamic changes in intracellular ionic concentrations. For each ionic current a mathematical formulation is employed to represent characteristics like gating or permeability of the corresponding ion channels. Those formulations rely on a number of model parameters which values are commonly estimated based on experimental data obtained from specific protocols for each ionic current. In this context parameter estimation presents various shortcomings intrinsic to the voltage-clamp experimental protocols [1]: i) insufficient separation of ionic current activation and inactivation processes; ii) use of non-selective pharmacological ion channel blockers; and iii) measurement of non-physiological solutions.

4Despite these limitations, most parameter values of individual ionic currents have been identified in the past using independent sets of experiments. However, parameters describing ionic current conductances have not always been successfully characterized from experimental datasets, in large part due to the sensitivity of some ion channels to the cell isolation procedure performed before application of the voltage-clamp protocols [2]. Also, experimental studies may have purposely selected cells with large ionic currents, which interfere with model development based on such data [3]. For those reasons, a common procedure to identify individual ionic current conductances is based on model parameter fitting aimed at reproducing plausible values of electrophysiological AP properties like AP duration (APD), triangulation or upstroke velocity [4,5]. Other models include also constraints based on experimental data measured after blocking certain ionic currents [6], imposed to obtain a correct input resistance [3], or based on additional properties like APD rate adaptation and rate dependence of ionic concentrations [7].

5Cardiac electrophysiological computational models are commonly used to analyze the effect of drugs or to study the mechanisms underlying pathological conditions. Under those circumstances, the correct characterization of ionic current conductances is crucial. Overestimation or underestimation of current conductance values could lead to completely erroneous predictions. For this reason, while for many years the adjustment of current conductances in cardiac computational models has been frequently performed manually [8], a number of techniques have been developed in recent years to help in the process of parameter identification. Gradient descent methods [9,10] and genetic algorithms [11][12][13][14] have been used for this purpose in several studies. Gradient descent methods rely on computing local gradients of the error function to determine a search direction towards a minimum. On the other hand, genetic algorithms use ideas from evolutionary biology and test different combinations (populations) of parameters to optimize the error function. In each iteration they create a new population based on the best results from previous iterations. Gradient descent methods and genetic algorithms have a small degree of parallelization and, thus, other techniques with higher parallelization capability could better exploit the possibilities of current computing infrastructures. In this work a novel methodology is proposed for identification of parameters describing ionic current conductances of cardiac electrophysiological models by using an optimization algorithm with trust region management [15]. The algorithm minimizes an objective function subject to non-linear constraints associated with a number of electrophysiological properties. The objective function and constraints are approximated by polynomial response surfaces which allow the optimization algorithm searching for a solution to the problem without performing a direct evaluation of the model. The use of a response surface helps to reduce the number of iterations of the algorithm and, thus, reduce the time cost of optimizing the model. To guarantee the ability of the model to represent physiological behavior, the region where the solution is searched for is limited based on experimentally reported values of electrophysiological properties like APD, AP triangulation, diastolic and systolic intracellular calcium concentrations and time constants of APD rate adaptation to abrupt changes in cycle length (CL). The proposed methodology is applied to adjust the ionic conductances of the human ventricular Carro-Rodriguez-Laguna-Pueyo (CRLP) model [7] after incorporation of intracellular potassium, [K + ] i , dynamics. The modified CRLP model is compared against the most commonly used human ventricular AP models, namely the ten Tusscher-Panfilov 2006 (TP06) [16], Grandi-Pasqualini-Bers (GPB) [4], O'Hara-Rudy (ORd) [17] models as well as with the Carro-Rodriguez-Laguna-Pueyo (CRLP) [7] model.

6The relevance of accounting for [K + ] i dynamics is demonstrated by simulating a number of transitions in the extracellular potassium concentration, as in hemodialysis studies [18], and comparing the behavior of the original and modified CRLP models.

General formulation.

7A minimization problem with constraints can be written as:

8subject to

9gðxÞ ! 0; ð3Þ

10where x is the vector of decision variables, x L and x U their respective lower and upper bounds, f(x) is the objective function, and h(x) and g(x) are vector functions of equality and inequality constraints, respectively. 2.1.2 Particularization to ionic conductances estimation. The general minimization problem described in previous section was particularized in this study for estimation of ionic current conductances. Since different ionic current conductances G i may differ by orders of magnitude, the following scaling was adopted for each of the elements of vector x:

11where G i is the unscaled ionic current conductance and G 0 i is its initial value in the model.

12The objective function is defined for each particular problem. In this study, it was represented by the integral of the total potassium current during a cardiac cycle at 1 Hz steady-state pacing, as fully described in 2.2.3. No equality constraint function was defined in this case. The inequality constrain function was defined by imposing a number of electrophysiological properties to remain within experimentally observed ranges:

13where m LL and m UU are the lower and upper bounds delimiting physiological ranges, respectively, and m(x) is the vector of electrophysiological properties calculated for x. Eq 6 was reformulated to be consistent with the general formulation of the inequality constraints described in Eq 3:

14where m j;CR ¼ ðm j;UL þ m j;LL Þ =2 is the central point of the experimental range for the electrophysiological property j and m j;RR ¼ ðm j;UL À m j;LL Þ =2 is the distance between m j,CR and each of the limits of the experimental range.

Optimization using response surfaces.

15The optimization algorithm used in this study seeks for a solution of the minimization problem, Eqs 1-4, by solving a sequence of approximate constrained optimization problems within a region of trust. For the iteration k of the algorithm, the approximate problem reads as:

16subject toh

17wheref ðxÞ,hðxÞ andgðxÞ are response surface approximations (RSA) of f(x), h(x), and g(x) around x k , respectively, and Δ k is the corresponding trust region radius. The trust region radius defines a region of trust in which the RSA is assumed to be reliable. The validity of the RSA can be evaluated through the trust region ratio test. For the objective function f(x), the trust region ratio for iteration k was defined as:

18where x k,Ã is a solution of the minimization problem given by . This definition of the trust region ratio is based on the consideration that r k 0 ! 1 as the trust region radius Δ k ! 0. If r k 0 0, the approximation is deemed as unacceptable and, consequently, the trust region radius is reduced. If r k 0 % 1 and kx k,Ã − x k k = Δ k , the RSA is evaluated as acceptable and Δ k is increased. If 0 < r k 0 < 1, Δ k is kept unchanged, but the RSA is rebuilt around x k,Ã . Note that r k 0 >> 1 is also indicative of poor RSA and Δ k is reduced, but the optimizer is considered to be moving in the right direction. The update of the trust region radius offers significant flexibility depending on the implementation. A particular updating rule will be presented in the following section.

19The algorithm proposed in this work is based on the one described in [15] but it simplifies some aspects on how to manage and use the response surfaces and it reduces the number of times the database needs to be generated. Instead of considering the augmented Lagrangian of the problem, the proposal of this study is based on generating the response surface of the model and looking for the minimum in this surface. Subsequently, this solution is validated by using the trust region test in both the minimization function and the constraints of the model. This notably reduces the computational cost, as the database is generated once per iteration rather than every time there is a change in the parameters of the augmented Lagrangian.

202.1.4 Database generation and response surface approximation. One of the key elements of the minimization algorithm is building the RSA of the objective and constraint functions that will be used to solve the approximate minimization problem. To construct a response surface for a function of n variables, a large number of sample points are required. Also, to construct a reliable RSA, the sample points must be adequately distributed. Sampling techniques based on design of experiments are commonly used for this purpose [19]. In this study, full factorial designs, which require 3 n sampling points, were considered. A full factorial design consists of a three-level factorial: the corner points of a hypercube, plus the center of the hypercube and of each facet, plus the midpoints of the lines connecting the corners of the hypercube. In the next sections, the set of results of the sampling technique in an iteration of the algorithm for both the minimization and constraint functions will be referred to as database. Second order polynomial response surfaces were used in all cases.

Minimization algorithm.

21The minimization algorithm implemented in this work is shown in Fig 1. The database was computed only once per iteration of the algorithm or whenever the solution was rejected and the trust region radius was reduced. The trust region ratio was used to validate the RSA for the objective function and constraints independently.

22The basic steps of the algorithm shown in Fig 1 are briefly described in the following. The index k indicates the iteration of the algorithm, i indicates the variable index and j represents the constraint index.

23Step 0: Initialization. Define values for the tolerances δ 1 (solution tolerance), δ 2 (gradient tolerance) and δ 3 (improvement tolerance), the minimum acceptable value ρ L for the trust region ratio to consider a trust region as acceptable and an upper limit Δ max for the trust region radius. Define an initial value Δ 0 for the size of the trust region and a starting point x 0 for the variables of the problem. Set the iteration counter at k = 0.

24Step 1: Database generation. Compute the database as described in section 2.1.4.

25Step 2: Response surfaces. Build the RSA of the objective function and constraints of the problem around the current iterate x k .

26Step 3: Find the minimum of the approximate problem. Find the minimum x k,Ã of the constrained minimization problem defined by Eqs 4-11 in the trust region limited by Δ k .

27Step 4: Trust region test. Evaluate f and each of the properties m i in x k,Ã and calculate the trust region ratio for the objective and constraint functions as in Eq 12.

28The solution x k,Ã was accepted when r k 0 > 0 and one of the following two criteria was met: i) the constraints in g(x) were feasible or; ii) jr k j À 1j r L ; 8j. For this work, ρ L = 0.25 was used. If the solution was accepted, the flag flg k TR ¼ true was set and x k+1 ≔ x k,Ã , otherwise flg k TR ¼ false and x k+1 ≔ x k .

29Step 5: Trust region radius update. The trust region radius was updated as follows:

30Step 6: Algorithm termination. The algorithm ended if one of the following conditions was satisfied:

311. kx k+1 − x k k < δ 1 and flg k TR ¼ true: The distance between the last two accepted iterates was too small to be significant. 2. krϕ(x k+1 )| < δ 2 and flg k TR ¼ true: The gradient of the Lagrangian function was too small. The Lagrangian function was defined as:

32where l k j are the Lagrange multipliers obtained in the constrained minimization problem defined by Eqs 4-11 in the trust region (limited by Δ k ) in Step 3.

333. Δ k+1 < δ 3 : The trust region radius became too small.

34If none of these criteria was satisfied, then set k ≔ k + 1 and go to step 1.

Upgrade of the CRLP model 2.2.1 Human ventricular AP models.

35Several computational models have been proposed in the last ten to fifteen years to represent the electrical behavior of human ventricular cells. For some years, the tenTusscher-Panfilov model (TP06) [16] was the most commonly used human ventricular model for electrophysiological investigations. In 2010, the Grandi-Pasqualini-Bers (GPB) model [4] was developed based on the Shannon et al. [20] rabbit ventricular model. The GPB model provided a detailed description of intracellular calcium dynamics and calcium buffers that allowed more accurate representation of certain experimental behaviors than the TP06 model [7]. The O'Hara-Rudy dynamic (ORd) model was proposed in 2011 [17] based on more extensive experimental data from undiseased human ventricles. In the same year, a modification of the GPB model was proposed as the Carro-Rodriguez-Laguna-Pueyo (CRLP) model [7]. This modification improved the GPB model response to allow replication of various experimentally-measured risk-related markers, thus rendering it more suitable for investigation of cardiac arrhythmias. In 2015, Himeno et al. proposed a new human ventricular cell model [21]. As opposed to the previously described models, the Himeno et al. model included a description of excitation-contraction. The model comparison performed in the present study was restricted to purely electrophysiological models like the TP06, GPB, ORd and CRLP models.

36One of the differences between the CRLP model and the ORd and TP06 models lies in the representation of [K + ] i dynamics. In the CRLP model, as in the GPB model, [K + ] i was assumed to be constant. Under steady-state conditions, [K + ] i variations during an AP can be neglected. Nevertheless, when there is a change in the investigated conditions or if the model is somewhat altered, [K + ] i may reach a new steady-state value. This is the case, for instance, when the stimulation frequency is varied, as [K + ] i becomes reduced in response to increased stimulation frequency [17,22]. Another scenario where [K + ] i dynamics are relevant is in the simulation of acute ischemia. Dutta et al. showed the limitations of using the GPB model with constant [K + ] i [23]. In the present work, the methodology described in section 2.1 was used to incorporate [K + ] i dynamics into the CRLP model while retaining its capacity to reproduce experimentally observed values of arrhythmic risk-related markers.

[K + ] i dynamics in the CRLP model.

37[K + ] i dynamics were introduced through the following equation:

38where I K tot is the total potassium current, C mem is the membrane specific capacitance, V myo is the bulk cytosol volume and F rdy is Faraday's constant.

39I K tot was calculated as the sum of all potassium currents and the stimulus current:

40where I to is the transient outward potassium current, I Kr is the rapidly activating potassium current, I Ks is the slowly activating potassium current, I K1 is the inward rectifier potassium current, I Na,K is the sodium-potassium pump current, I CaK is the current generate by potassium ions passing through the L-type calcium channels, I Kp is the plateau potassium current, and I stim is the stimulus current. If Eq 17 is directly added to the CRLP and GPB models, [K + ] i drifts (Fig 2, panels a) and c), respectively). The continuous increase in [K + ] i is due to a larger potassium influx in each cardiac beat, which can in turn be explained by an imbalance in the potassium current. Although it is not straightforward to establish a physiological range for [K + ] i because there are no experimental measurements of this concentration, all human ventricular cell models published in the literature, despite having different [K + ] i values under steady-state conditions, they all lie within the range 120-145 mM. This range is in agreement with the corresponding experimentally reported values for the resting membrane potential, which is close to the Nernst potential for potassium [17].

41In Fig 2, panels b) and d), the integral of the total potassium current during one cardiac cycle is shown, which gives an idea of how far the models are from equilibrium. The above noted issue associated with the introduction of [K + ] i dynamics into the CRLP model can be sorted out by readjusting the current conductances to maintain [K + ] i homeostasis. Since, at the same time, the performance of the model in terms of representation of electrophysiological behavior wants to be retained, a constrained optimization problem was formulated in this study. This problem was tackled by applying the response surface-based optimization methods presented in 2.1.

42For further model assessment, optimization was performed as described in the next paragraph while considering different initial [K + ] i values in the range 120-145 mM.

Optimization-driven model parameter update.

43A new set of current conductances for the modified CRLP model was sought such that potassium homeostasis was preserved while a number of electrophysiological properties were guaranteed to remain within experimental limits. This was stated as a constrained optimization problem of the form:

44subject to m LL mðxÞ m UU ; ð20Þ • APD 90 : APD is considered the main preclinical marker of drug cardiotoxicity. APD prolongation has been linked to long QT syndrome and increased risk of developing Torsades de Pointes [24,25]. In this study, APD 90 was used to denote AP duration at 90% repolarization.

45• Triangulation: This marker quantifies the shape of the final part of the AP and is defined as the difference between APD at 90% and 50% of repolarization. Low triangulation values indicate square APs, while high values indicate triangular APs. Triangulation has been proposed as a marker of pro-arrhythmia [24], with long APD 90 values without triangular APs considered as anti-arrhythmic and with triangular APs considered as pro-arrhythmic in general.

46• Systolic and diastolic intracellular calcium ([Ca 2+ ] i ) levels: Calcium transient properties evaluated at different pacing frequencies have been reported as arrhythmic risk markers [26,27]. In this study, diastolic (resting level) and systolic (peak value) calcium transient levels were evaluated at 0.5 Hz and 1 Hz steady-state pacing.

47• Time constants of APD 90 adaptation to abrupt changes in CL: Adaptation of ventricular repolarization duration to abrupt changes in CL has been proposed as an arrhythmic risk marker [28]. In this study, the dynamics of APD 90 adaptation to abrupt changes in CL were fitted by two exponentials with associated time constants τ fast and τ slow , following the methodology proposed in Pueyo et al. [29]. Only τ slow has been considered since there is no available quantitative experimental data on τ fast values. Two stimulation protocols were used to calculate the above described markers:

48• Steady-state protocol: A train of 3,000 stimulation pulses was delivered at a given CL. Simulations were carried out using two different CL values: 1,000 and 2,000 ms. The evaluated markers were: APD 90 and triangulation at 1,000 ms; and diastolic and systolic [Ca 2+ ] i at 1,000 and 2,000 ms.

49• Abrupt changes in CL protocol: The cell was stimulated with a CL of 1,000 ms for 8 minutes and then with a CL of 600 ms for additional 8 minutes. APD 90 dynamics after the abrupt CL change were best fitted by two exponentials, the second of which was characterized by τ slow .

Physiological bounds for constraint functions.

50Lower and upper bounds m LL and m UU were defined according to physiological experimental values reported in the literature for the analyzed properties. The selected range for APD 90 was 280-310 ms. Even though some studies have reported wider ranges, up to 271-366 ms [30][31][32], a restricted interval was used to keep the model within the same range of existing human ventricular cell models [4,5,7,16,17]. The range for triangulation was 44-112 ms [31,32]. For the diastolic and systolic [Ca 2+ ] i levels at 1 Hz and 0.5 Hz stimulation, the CRLP model, as occurs with other recent human ventricular AP models (GPB, ORd, TP06, TP04) [4,5,7,16,17,33,34], is out of the physiological range reported in the literature [35,36]. For that reason, the physiological range was extended to ensure a feasible solution of the optimization problem. Nevertheless, the optimal solution was evaluated to confirm that either it let the model lie within physiological range or at least improved the results of the CRLP model. The physiological range for τ slow was set to 70-110 s [37]. Table 1 summarizes the evaluated markers and their physiological ranges in the second column, whereas the third column indicates the lower and upper bounds used for the optimization.

512.2.6 Sensitivity analysis. Prior to solving the minimization problem, a sensitivity analysis was performed on the CRLP model following the methodology described by Romero et al. [34]. The aim was to identify the conductances that most notably influenced the objective function (the integral of the total potassium current) and the constraints (electrophysiological properties) in order to define the set of decision variables for the optimization.

52For the sensitivity analysis, the conductances were varied by ±30% one at a time. Fourteen conductances were considered in the sensitivity analysis, namely: G to , the maximal conductance of the transient outward potassium current; G Ks , the maximal conductance of the slowly activating potassium current; G pCa , the maximal conductance of the sarcolemmal calcium pump; G Kr , the maximal conductance of the rapidly activating potassium current; G Kp , the maximal conductance of the plateau potassium current; G NaK , the maximal activity of the Na- K pump; G ncx , the maximal activity of the Na-Ca exchanger; G CaL , the maximal conductance of the L-Type calcium current; G K1 , the maximal conductance of the inward rectifier potassium current; G Na , the maximal conductance of the fast sodium current; G ClCa , the maximal conductance of the calcium-activated chloride current; G Na,Bk , the maximal conductance of the background sodium current; G Cl,Bk , the maximal conductance of the background chloride current; and G Ca,Bk , the maximal conductance of the background calcium current. For each property m and conductance p, the percentage of change (D m;p;a ) and sensitivity (S m;p;a ) were calculated as follows [34]:

53Sensitivity was calculated for each of the electrophysiological markers described in section 2.2.4 and for the integral of the total potassium current (I K,tot ) during one cardiac cycle at 1 Hz steady-state pacing.

Model comparison.

54Considering the difficulty of directly comparing the absolute value of each conductance for different computational models, due to the dependence on the whole current formulation, ionic current traces calculated during a cardiac cycle at 1 Hz steady-state pacing were compared for the CRLP, TP06, GPB and ORd models. The comparisons aimed at verifying that the modified CRLP model had current densities of similar magnitude and ionic currents of similar shapes as calculated with other published models.

Frequency-dependence behavior

55Pacing at different frequencies was simulated to assess whether the modified CRLP model retained the frequency-dependence behavior of the original CRLP model. To this end, APD 90 was calculated at steady-state for CLs ranging from 250 to 5000 ms (in each case computed after pacing for 3,000 cycles).

Simulation of changes in potassium concentration

56Hypokalemic and hyperkalemic conditions were simulated with the original and the modified CRLP models. Two types of simulations were performed to compare the models with the experimental results.

57First, the effect of changing [K + ] o was assessed when the cell was not stimulated to compare with the experimental results described in [38]. Subsquently, and following the experiments performed in [18], the extracellular potassium concentration, [K + ] o , was increased from 2 mM to 7 mM in 0.5 mM steps using a homogeneous 4-cm long fiber composed of epicardial cells. The physiological [K + ] o value of 5.4 mM replaced the value of 5.5 mM in the simulations [18]. The conductivity σ, defining the velocity of the stimulus propagation, was set to render a Conduction Velocity (CV) close to 65 cm/s under control conditions [39]. The cell capacitance was set to C m = 1 μF/cm 2 . For each [K + ] o value, the model was first stabilized (without stimulation) until the product of the gates h Á j reached 99% of the steady-state value h ss Á j ss , which was subsequently followed by 1 Hz pacing simulation. Stimulus current pulses twice the diastolic threshold were applied at one end of the cable. The diastolic threshold was defined as the minimum amplitude required for propagating five pulses along the fiber. The model was studied by stimulating the tissue with a train of 100 basic stimulations (S1) delivered at a CL of 1,000 ms.

58[K + ] i was measured at the end of each stimulus at five different positions along the cable situated at distances from the origin of 1.5, 1.75, 2, 2.25 and 2.5 cm. The average value over the five locations was calculated.

Implementation

59The CRLP model was implemented in Matlab based on the original CellML file [7]. The code used to compute the simulations and to calculate the different markers is freely available at https://github.com/ChusCarro/MatCardiacMLab/releases/tag/0.1.0.

60The minimization algorithm was implemented in Matlab. For 1D tissue simulations, a semi-implicit operator-splitting scheme implemented in Fortran was used to solve the propagation [40] with a space discretization of Δx = 0.1 mm and a time discretization of Δt = 0.002 ms, as in [7].

61All computations were performed by using the high performance computing cluster (ICTS) "NANBIOSIS". Details about the cluster can be found at: http://www.nanbiosis.es/ u27-e1-hermes-cluster.

Sensitivity analysis

62Results of the sensitivity analysis applied to the epicardial version of the CRLP model are shown in Fig 3. The value of the integral of the total potassium current, I K,tot , in one cardiac cycle was highly dependent on the conductance of the background chloride current, G Cl,bk , and the L-type calcium current, G CaL (S 30 values of -412.62% and 396.83%, respectively). Other currents were also found to play an important role in regulating potassium homeostasis: G NaK , 199.46%; G K1 , -152.06%; G to , -110.57%; G Kr , -81.16%; and G ncx 62.72%. The currents with the largest effect on the APD were found to be the same as for the objective function, although the sensitivities were notably reduced: G Cl,bk , -48.56%; and G CaL , 33.41%. Triangulation was mainly modulated by: G K1 , -57.7664%; and G Kr , -20.1113%. Diastolic and systolic [Ca 2+ ] i values were mostly influenced by G CaL (27.65% and 171.71%, respectively). These markers were also influenced by changes in the following conductances: G NaK (-16.08%, -78.62%), G ncx (-15.74%, -74.48%), G Cl,bk (-14.53%, -80.66%) and G Ca,bk (11.51%, 47.46%). Regarding τ slow , G NaK was the conductance with the largest effect on this marker (-128.37%), with the remaining conductances not playing a significant role.

63Based on these results, five conductances were selected as decision variables for the minimization problem described in 2. 2.3, namely: G Cl,bk , G CaL , G ncx , G K1 , and G to . Of note, G NaK was discarded because any modification on this conductance significantly influenced τ slow , with this effect not being counterbalanced by changes in any other conductance (see Fig 3).

Non-linear optimization

64The optimization algorithm found a minimum after four iterations. Variations in the updated current conductances with respect to their initial values were: G Cl,bk , +19.34%; G CaL , +3.93%; G ncx , -33.25%; G K1 , -14.08%; and G to , +22.35%.

65With this new set of conductance values, and after introducing [K + ] i dynamics in the model, [K + ] i stabilized at 138 mM. The value of the electrophysiological markers are described in Table 1. All markers were within physiological ranges or closer than with the original CRLP model (last column in Table 1).

66When the model was optimized while considering different initial [K + ] i values in the range 120-145 mM, results were practically coincident with those reported above for [K + ] i initialized at 138 mM. At steady-state, [K + ] i reached a value of 138 mM as well, differences in the values of the markers where below 1% and the maximum difference between optimal conductances was lower than 2.5%. In this case, the algorithm required six iterations rather than four to reach the optimal solution.

Model comparison

67To evaluate the impact of the new values for the estimated ionic conductances in the modified CRLP model, the AP and the associated ionic currents (I CaL , I K1 , I ncx , I Cl,bk and I to ) were compared with the equivalent properties in the original CRLP model and in other human ventricular cell models. The results are shown in Fig 4. Other currents that were not considered for the optimization but that could be altered as well, like I Kr , I Ks and I Kp , are shown in Fig 5. The main differences in the AP between the original and modified CRLP models were a decrease in the membrane potential during the plateau phase as well as shortening of the APD. There were small differences in the peak value of some currents, but in all cases the modified CRLP model was within the range of the other models or within experimentally reported bounds. I CaL peak was larger in the modified model with respect to the GPB model and the original CRLP model, but smaller than in the TP06 model. I K1 peak was slightly smaller in the modified model with respect to the original CRLP model, which had the smallest peak value among all ventricular models, but in any case within the range reported experimentally (0.4-1.8 pA/pF [31,41]).

68An important finding was that, while G ncx and G Cl,bk in the modified CRLP model were significantly different from those in the original CRLP model (-33.25% and +19.34% respectively), the effects in terms of ionic current traces led to both I ncx and I Cl,bk not being notably different from those in the original CRLP model. The I Kp current remained as in the original model, while I Ks was different but took really small values in both cases. I Kr was diminished in amplitude by 32.6% and its integral during a cycle was reduced by 30% with respect to the CRLP model. The extent of APD prolongation following blockade of this current was 10% for the modified CRLP model, as compared to 14% for the original CRLP model, being both values within experimentally defined limits [42]. [38]. Fig 7b shows the time needed to reach 90% of the steady-state membrane potential (t 90% ). The value for t 90% in the simulation for the same change in [K + ] o than in [38] (from 4.4 mM to 6.6 mM) was 16.2 ms, which is somewhat faster than the experimentally reported results in [38] for rabbit (80 ms) and rat (147 ms) ventricular myocytes. Table 2, the steady-state value of [K + ] i in the optimized CRLP model is shown for each simulated [K + ] o value.

Computational cost

69Each iteration of the optimization algorithm involved computations associated with a number of stimulation protocols. In Table 3, a summary of the computational cost is shown for each of the protocols. In each iteration, the protocols were run twice: one for the generation of the database (243 simulations in parallel) and another one for the evaluation of the solution (6 simulations in parallel). The variance in the computation times is due to the fact that computations were run in different nodes of a high performance computing cluster, namely the one described in section 2.5. The four iterations of the optimization algorithm were computed in 23 hours and 16 minutes.

Discussion

70This work proposes a mathematical framework to adjust ionic current conductances of cardiac AP models by using response surface approximation-based optimization. The framework has been applied to update a previously published human ventricular AP model, the CRLP model, by incorporating [K + ] i dynamics. Such incorporation involves readjustment of ionic current conductances to avoid drifting in intracellular potassium. While adjusting for current conductances, a number of electrophysiological properties are required to remain within available experimental ranges by properly defining constraints to the optimization problem that is being solved. The proposed framework can be easily extended to solve other problems frequently arising when developing cardiac computational models, for instance related to the update of existing models to reproduce the response to pharmacological ion channel inhibitions on top of baseline conditions. In the following subsections, the main aspects of the proposed methodology and the results obtained in this work are discussed.

Response surface optimization

71The use of response surfaces to minimize an objective function subject to a number of constraints, as proposed in this study, allows reaching a solution to the proposed problem in a small number of iterations, thus reducing the computational cost with respect to other previously published approaches. In [15], Rodriguez et al. proposed an algorithm that uses augmented Lagrangian techniques and relies on successively building RSA of the augmented Lagrangian to solve a minimization problem like that defined by Eqs 1-4. In this study, the trust region ratio was used to independently validate the RSA for the objective function and the constraints instead of considering the augmented Lagrangian of the problem. Our proposal led to a reduction in the number of times the database was generated and, thus, simplified the implementation. The model that is optimized in the present work is much more complex than those used in [15], but the number of times the database was generated was smaller than in all the cases described in [15]. Also, differently to other optimization algorithms based on e.g. Genetic Algorithms [12,14], the response surface approach proposed in this study guarantees the convergence to a local minimum of the problem when the response surfaces are built such that they match the objective function up to the first order around the point where the approximation is built. In addition, our response surface approach allows identifying a potential minimum anywhere within the trust region, not necessarily contained in the database.

72Finally, in this work the proposed optimization algorithm was used to solve a problem where a new characteristic was added to a human ventricular cell model, the CRLP model, while a number of electrophysiological markers were guaranteed to remain within physiological range or closer to it than with the original CRLP model. In other studies, like [43], the aim of the analysis is similar, but, as opposed to the present study, the objective function is defined to include multiple electrophysiological properties, for some of which a physiological range may be available while for others it may not, rather than considering the electrophsyiological properties as elements to define the constraints imposed in the optimization. In any case, the same response surface approximation-based optimization algorithm employed in the present study could be applied to the problem defined in [43].

Database generation

73The size of the database depends on the selected sampling technique. In this study a three-level full factorial design was used for sampling, which involved 3 N sample points, with N the number of variables to be adjusted (five in this study). However, the proposed optimization framework is independent of the sampling strategy or the size of the database as long as the database provides enough information to fit the response surface. For instance, increasing the factorial number from 3 to 5 (the database size increased from 3 5 = 243 to 5 5 = 3125 sample points) only reduced the total number of iterations from 4 to 3, without changing the identified optimum. However, the computational cost increased tenfold.

74The advantage of using factorial designs is that they provide unbiased information for parameter identification with polynomial RSAs since they provide optimal space filling [19]. However, other sampling strategies are also possible. Monte Carlo simulations represent a very flexible sampling strategy where the optimal number of sampling points can be defined in terms of the type of RSA to be used. In this regard, Monte Carlo simulations were used in [44] to perform sensitivity analysis in electrophysiological models by means of linear multivariate regression. In addition to generating the required data for model fitting, Monte Carlo simulations were also used to perform population-based simulation studies, as in Wamsley et al. [45].

75In this work, the full factorial technique was implemented in order to guarantee that the algorithm was not limited by the sampling technique since the generated database is sufficient to build a second order response surface. However, as mentioned above, other techniques could be tested to reduce the computational cost when a larger number of current conductances are involved or when large parallel computing capacity is not available.

Computational cost

76The major benefit of the methodology proposed in this study in terms of computational cost is the high degree of parallelization. It should be noted that the global computation time depends mainly on two factors: the employed cell model and the stimulation protocols that are performed. As compared to the CRLP or GPB models, which take long computation times, the computational time for a model like TP06 could be reduced to just a few hours. For the computations of this study a high performance computing cluster was used. The number of simulations involved per iteration makes it possible to use other types of infrastructures such as GPUs.

77Nevertheless, the computation times associated with the presented response surface approximation-based methodology are short if compared with those for the same optimization solved by using a genetic algorithm, which could require around 100 generations and would cost more than 350 hours, even if all individuals in the population were simulated in parallel. In [12], 500 generations were needed to fit the model, which would still involve longer computation times.

Definition of the optimization problem

78In this work, the integral of the total potassium current (I K,tot ) during one cardiac cycle was selected as the objective function for minimization. This selection was made to maintain [K + ] i homeostasis after incorporation of [K + ] i dynamics into the CRLP human ventricular model. Optimal current conductances were identified, with additional constraints imposed to guarantee that fundamental electrophysiological properties took values within experimental limits. For some of those properties the physiological range reported in experimental studies of the literature is extremely large. To avoid a solution for the modified CRLP model that, although in physiological range, was very far from the average experimental behavior, the range of allowed APD values was somewhat restricted, as described in 2.2.5.

Model comparison

79The adjusted CRLP model developed in this study was compared with previous human ventricular AP models published in the literature, namely the CRLP, GPB, TP06 and ORd models. This comparison was made in terms of AP traces, [K + ] i concentrations and I CaL , I K1 , I ncx , I Cl,bk and I to currents. In practically all cases, the results obtained for the adjusted CRLP model were along the lines of those obtained with the other models. The only current that was found to be smaller for the modified CRLP model as compared to the other models, including the original CRLP model, was I Kr . This reduced current led to shorter APD prolongation following I Kr blockade, but still within experimentally reported limits. Specifically, in [42] an average APD prolongation of 56.3% with a standard deviation of 34.6% was reported. The difference between the mean experimental prolongation and that obtained for the modified CRLP model was within twice the experimental standard deviation.

80One of the differences between the GPB / CRLP models and the other human ventricular models is the inclusion of the I Cl,bk current. This current was expected to have a minor role in modulating electrophysiological properties, but, as reported in [33], APD showed the highest sensitivity (-86%) to changes in the maximal ionic conductance of the I Cl,bk current. In the CRLP model, this sensitivity was reduced (-46%) but it was still large. As there is similarity between the sensitivities of the APD and the integral of the total potassium current to variations in ionic conductances (see Fig 3), the I Cl,bk current ended up having a very important indirect role in modulating potassium balance.

81As shown in the presented results, major differences between the modified and the original CRLP models include APD shortening and decrease in the membrane potential during the plateau phase. Regarding the latter, experimental results [46] show that the plateau voltage takes values around 18 mV, while in the modified CRLP model the plateau voltage is 8 mV. Differences in I ncx and I Cl,bk , even if not large, could still underlie those major deviations of the modified CRLP model with respect to the original one. Future studies could include the membrane potential during the plateau phase as an electrophysiological marker to be included in the optimization algorithm for model refinement. This could definitely have an impact on balancing the currents involved in this phase of the AP.

82Our results demonstrate that with the proposed methodology it was possible to successfully update the CRLP model by incorporating [K + ] i dynamics while keeping the model's ability to reproduce risk-related markers for investigation of cardiac arrhythmias. As described in Table 1, the evaluated risk markers remain within experimental limits or are closer to their physiological values than with the original CRLP model.

Response to potassium concentration changes

83While for some investigations the assumption of constant [K + ] i may be valid, there are many situations where [K + ] i varies, for instance following changes in the frequency of stimulation or in [K + ] o values. As shown in 2.2.2, the assumption of constant [K + ] i may also hide an imbalance between potassium currents and [K + ] i , as the latter is not allowed to change.

84Simulation results obtained when varying the level of [K + ] o allowed confirming that both the incorporation of [K + ] i dynamics and the use of the optimization algorithm to readjust the ionic conductances improved the CRLP model for simulation of abnormal conditions (see section 3.5). Although there are no experimental measurements of [K + ] i , the model can be assessed by using measurements that indirectly validate its behavior. On the one hand, the model is able to reproduce behaviors similar to those of the experimental results presented in [38]. On the other hand, the inclusion of [K + ] i dynamics make it possible to evaluate variations in [K + ] i in response to [K + ] o changes like those reported in hemodialysis scenarios [18]. In this latter case, simulated [K + ] i variations were in the expected direction as to compensate for the effects of changing [K + ] o .

85When [K + ] o increases, there is an increase in the Nernst potential for potassium and, thus, a reduction in the driving force of potassium, which diminishes the amount of potassium leaving the cell. Additionally, an increase in [K + ] o alters the current through the sodium-potassium pump. Both effects contribute to increase [K + ] i , which leads to a reduction in the Nernst potential for potassium, thus returning the cell to an equilibrium state.

Conclusions

86The optimization framework proposed in this study allows estimating ionic current conductances of AP models at an affordable computational cost while guaranteeing physiologically plausible values of selected electrophysiological properties. This framework has been applied to introduce [K + ] i dynamics into an existing human ventricular AP model, namely the CRLP model. Solving the formulated optimization problem avoids the imbalance generated in the CRLP model after introducing [K + ] i dynamics, without deteriorating the performance of the model in terms of representation of electrophysiological behavior and arrhythmic risk-related properties. The updated CRLP model built in this study is thus suitable for investigation of cardiac arrhythmias, particularly under conditions involving large changes in [K + ] i .

참고문헌 49건

  1. Parameter Sensitivity Analysis in Electrophysiological Models Using Multivariable Regression Biophysical Journal · Elsevier BV · 2009 10.1016/j.bpj.2008.10.056
  2. Rapid Genetic Algorithm Optimization of a Mouse Computational Model: Benefits for Anthropomorphization of Neonatal Mouse Cardiomyocytes Frontiers in Physiology · Frontiers Media · 2012 10.3389/fphys.2012.00421
  3. Simulations of the human atrial action potential Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2001 10.1098/rsta.2001.0819
  4. Statistics for Experimenters: Design, Innovation, and Discovery Journal of the American Statistical Association · 2006 10.1198/jasa.2006.s139
  5. Intracellular calcium handling in isolated ventricular myocytes from patients with terminal heart failure. Circulation · Lippincott Williams & Wilkins · 1992 10.1161/01.cir.85.3.1046
  6. A Mathematical Treatment of Integrated Ca Dynamics within the Ventricular Myocyte Biophysical Journal · Elsevier BV · 2004 10.1529/biophysj.104.047449
  7. Fitting Membrane Resistance along with Action Potential Shape in Cardiac Myocytes Improves Convergence: Application of a Multi-Objective Parallel Genetic Algorithm PLoS ONE · Public Library of Science · 2014 10.1371/journal.pone.0107984
  8. Electrophysiologic characteristics of cells spanning the left ventricular wall of human heart: Evidence for presence of M cells Journal of the American College of Cardiology · Elsevier BV · 1995 10.1016/0735-1097(95)00167-x
  9. Rapid Development of Non-Alcoholic Steatohepatitis in Psammomys obesus (Israeli Sand Rat) PLoS ONE · Public Library of Science · 2014 10.1371/journal.pone.0092656
  10. mRNA Expression Levels in Failing Human Hearts Predict Cellular Electrophysiological Remodeling: A Population-Based Simulation Study PLoS ONE · Public Library of Science · 2013 10.1371/journal.pone.0056359
  11. Progress in the understanding of cardiac early afterdepolarizations and torsades de pointes: time to revise current concepts Cardiovascular Research · Oxford University Press · 2000 10.1016/s0008-6363(00)00022-5
  12. Cardiac Myocytes Ca2+ and Na+ Regulation in Normal and Failing Hearts Journal of Pharmacological Sciences · Elsevier BV · 2006 10.1254/jphs.cpj06001x
  13. Cycle length dependence of human action potential duration in vivo. Effects of single extrastimuli, sudden sustained rate acceleration and deceleration, and different steady-state frequencies. Journal of Clinical Investigation · American Society for Clinical Investigation · 1988 10.1172/jci113706
  14. Amiodarone reduces transmural heterogeneity of repolarization in the human heart Journal of the American College of Cardiology · Elsevier BV · 1998 10.1016/s0735-1097(98)00330-1
  15. Contribution of Abnormal Sarcoplasmic Reticulum ATPase Activity to Systolic and Diastolic Dysfunction in Human Heart Failure Journal of Molecular and Cellular Cardiology · Elsevier BV · 1998 10.1006/jmcc.1998.0748
  16. Adaptive Macro Finite Elements for the Numerical Solution of Monodomain Equations in Cardiac Electrophysiology Annals of Biomedical Engineering · Springer Science+Business Media · 2010 10.1007/s10439-010-9997-2
  17. Cell-Specific Cardiac Electrophysiology Models PLoS Computational Biology · Public Library of Science · 2015 10.1371/journal.pcbi.1004242
  18. Optimisation of a Generic Ionic Model of Cardiac Myocyte Electrical Activity Computational and Mathematical Methods in Medicine · Hindawi Publishing Corporation · 2013 10.1155/2013/706195
  19. Contributions of HERG <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si92.gif" overflow="scroll"><mml:msup><mml:mrow><mml:mi mathvariant="normal">K</mml:mi></mml:mrow><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msup></mml:math> current to repolarization of the human ventricular action potential Progress in Biophysics and Molecular Biology · Elsevier BV · 2007 10.1016/j.pbiomolbio.2007.07.011
  20. A novel computational model of the human ventricular action potential and Ca transient Journal of Molecular and Cellular Cardiology · Elsevier BV · 2009 10.1016/j.yjmcc.2009.09.019
  21. Instability and Triangulation of the Action Potential Predict Serious Proarrhythmia, but Action Potential Duration Prolongation Is Antiarrhythmic Circulation · Lippincott Williams & Wilkins · 2001 10.1161/01.cir.103.15.2004
  22. Uniqueness and Stability of Action Potential Models during Rest, Pacing, and Conduction Using Problem-Solving Environment Biophysical Journal · Elsevier BV · 2009 10.1016/j.bpj.2009.05.062
  23. Trust Region Augmented Lagrangian Methods for Sequential Response Surface Approximation and Optimization Journal of Mechanical Design · American Society of Mechanical Engineers · 1998 10.1115/1.2826677
  24. Erratum to “Optimisation of a Generic Ionic Model of Cardiac Myocyte Electrical Activity” Computational and Mathematical Methods in Medicine · Hindawi Publishing Corporation · 2013 10.1155/2013/213563
  25. The restriction of diffusion of cations at the external surface of cardiac myocytes varies between species Cell Calcium · Elsevier BV · 1997 10.1016/s0143-4160(97)90070-1
  26. Ionic mechanisms underlying human atrial action potential properties: insights from a mathematical model AJP Heart and Circulatory Physiology · American Physical Society · 1998 10.1152/ajpheart.1998.275.1.h301
  27. Mechanisms of ventricular rate adaptation as a predictor of arrhythmic risk AJP Heart and Circulatory Physiology · American Physical Society · 2010 10.1152/ajpheart.00936.2009
  28. Atrial cell action potential parameter fitting using genetic algorithms Medical & Biological Engineering & Computing · Springer Science+Business Media · 2005 10.1007/bf02351029
  29. Simulation of the Undiseased Human Cardiac Ventricular Action Potential: Model Formulation and Experimental Validation PLoS Computational Biology · Public Library of Science · 2011 10.1371/journal.pcbi.1002061
  30. A Human Ventricular Myocyte Model with a Refined Representation of Excitation-Contraction Coupling Biophysical Journal · Elsevier BV · 2015 10.1016/j.bpj.2015.06.017
  31. Ionic mechanisms limiting cardiac repolarization reserve in humans compared to dogs The Journal of Physiology · Wiley · 2013 10.1113/jphysiol.2013.261198
  32. Two Components of the Delayed Rectifier K <sup>+</sup> Current in Ventricular Myocytes of the Guinea Pig Type Circulation Research · Lippincott Williams & Wilkins · 1995 10.1161/01.res.77.1.140
  33. A human ventricular cell model for investigation of cardiac arrhythmias under hyperkalaemic conditions Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2011 10.1098/rsta.2011.0127
  34. A model for human ventricular tissue AJP Heart and Circulatory Physiology · American Physical Society · 2004 10.1152/ajpheart.00794.2003
  35. Ca <sup>2+</sup> Handling and Sarcoplasmic Reticulum Ca <sup>2+</sup> Content in Isolated Failing and Nonfailing Human Myocardium Circulation Research · Lippincott Williams & Wilkins · 1999 10.1161/01.res.85.1.38
  36. Impact of ionic current variability on human ventricular cellular electrophysiology AJP Heart and Circulatory Physiology · American Physical Society · 2009 10.1152/ajpheart.00263.2009
  37. Inhomogeneous Transmural Conduction During Early Ischaemia in Patients with Coronary Artery Disease Journal of Molecular and Cellular Cardiology · Elsevier BV · 2000 10.1006/jmcc.2000.1105
  38. Parameter estimation in cardiac ionic models Progress in Biophysics and Molecular Biology · Elsevier BV · 2004 10.1016/j.pbiomolbio.2004.02.002
  39. Transmural heterogeneity of action potentials and<i>I</i> <sub>to1</sub> in myocytes isolated from the human right ventricle AJP Heart and Circulatory Physiology · American Physical Society · 1998 10.1152/ajpheart.1998.275.2.h369
  40. Alternans and spiral breakup in a human ventricular tissue model AJP Heart and Circulatory Physiology · American Physical Society · 2006 10.1152/ajpheart.00109.2006
  41. Characterization of QT Interval Adaptation to RR Interval Changes and Its Use as a Risk-Stratifier of Arrhythmic Mortality in Amiodarone-Treated Survivors of Acute Myocardial Infarction IEEE Transactions on Biomedical Engineering · Institute of Electrical and Electronics Engineers · 2004 10.1109/tbme.2004.828050
  42. Transient outward and delayed rectifier currents in canine atrium: properties and role of isolation methods AJP Heart and Circulatory Physiology · American Physical Society · 1996 10.1152/ajpheart.1996.270.6.h2157
  43. Improving cardiomyocyte model fidelity and utility via dynamic electrophysiology protocols and optimization algorithms The Journal of Physiology · Wiley · 2015 10.1113/jp270618
  44. Transmembrane<i>I</i> <sub>Ca</sub> contributes to rate-dependent changes of action potentials in human ventricular myocytes AJP Heart and Circulatory Physiology · American Physical Society · 1999 10.1152/ajpheart.1999.276.1.h98
  45. Limitations in electrophysiological model development and validation caused by differences between simulations and experimental protocols Progress in Biophysics and Molecular Biology · Elsevier BV · 2016 10.1016/j.pbiomolbio.2016.11.006
  46. Computational analysis of the human sinus node action potential: model development and effects of mutations The Journal of Physiology · Wiley · 2017 10.1113/jp273259
  47. Noninvasive quantification of blood potassium concentration from ECG in hemodialysis patients Scientific Reports · Nature Portfolio · 2017 10.1038/srep42492
  48. Electrophysiological properties of computational human ventricular cell action potential models under acute ischemic conditions Progress in Biophysics and Molecular Biology · Elsevier BV · 2017 10.1016/j.pbiomolbio.2017.02.007
  49. Intracellular calcium handling in isolated ventricular myocytes from patients with terminal heart failure. Circulation · Lippincott Williams & Wilkins · 1992 10.1161/01.cir.85.3.1046