Location: paci_hyttinen_aaltosetala_severi_2013 @ c21ed1c9aa81 / paci_hyttinen_aaltosetala_severi_ventricularVersion.cellml

Author:
Enrico Ravagli <ravae88@gmail.com>
Date:
2013-06-03 15:40:40+02:00
Desc:
Permanent Source URI:
http://models.cellml.org/workspace/593/rawfile/c21ed1c9aa81e4426124cd605b217d7a40562d16/paci_hyttinen_aaltosetala_severi_ventricularVersion.cellml

<?xml version="1.0" encoding="utf-8"?>
<!--
This CellML file was generated on 03/06/2013 at 15:12:46 using:

COR (0.9.31.1409)
Copyright 2002-2013 Dr Alan Garny
http://cor.physiol.ox.ac.uk/ - cor@physiol.ox.ac.uk

CellML 1.0 was used to generate this model
http://www.cellml.org/
-->
<model name="paci_hyttinen_aaltosetala_severi_ventricularVersion" cmeta:id="paci_hyttinen_aaltosetala_severi_ventricularVersion" xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#">
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millivolt">
      <unit units="volt" prefix="milli"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_millivolt">
      <unit units="millivolt" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_volt">
      <unit units="volt" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millivolt_per_volt">
      <unit units="millivolt"/>
      <unit units="volt" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="volt_square">
      <unit units="volt" exponent="2"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millivolt_square">
      <unit units="volt" prefix="milli" exponent="2"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_second">
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millimolar">
      <unit units="mole" prefix="milli"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_millimolar">
      <unit units="millimolar" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millimolar_per_second">
      <unit units="millimolar"/>
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="micrometre">
      <unit units="metre" prefix="micro"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="micrometre_cube">
      <unit units="micrometre" exponent="3"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="metre_cube">
      <unit units="metre" exponent="3"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="metre3_per_um3">
      <unit units="metre_cube"/>
      <unit units="micrometre_cube" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="S_per_F">
      <unit units="siemens"/>
      <unit units="farad" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="metre_cube_per_F_per_s">
      <unit units="metre" exponent="3"/>
      <unit units="farad" exponent="-1"/>
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="A_per_F">
      <unit units="ampere"/>
      <unit units="farad" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="joule_per_mole_kelvin">
      <unit units="joule"/>
      <unit units="mole" exponent="-1"/>
      <unit units="kelvin" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="coulomb_per_mole">
      <unit units="coulomb"/>
      <unit units="mole" exponent="-1"/>
   </units>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="environment">
      <variable name="time" units="second" public_interface="out"/>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Membrane">
      <variable name="Vm" units="volt" initial_value="-0.0743340057623841" public_interface="out"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="i_CaL" units="A_per_F" public_interface="in"/>
      <variable name="i_K1" units="A_per_F" public_interface="in"/>
      <variable name="i_f" units="A_per_F" public_interface="in"/>
      <variable name="i_Na" units="A_per_F" public_interface="in"/>
      <variable name="i_Kr" units="A_per_F" public_interface="in"/>
      <variable name="i_Ks" units="A_per_F" public_interface="in"/>
      <variable name="i_to" units="A_per_F" public_interface="in"/>
      <variable name="i_PCa" units="A_per_F" public_interface="in"/>
      <variable name="i_NaK" units="A_per_F" public_interface="in"/>
      <variable name="i_NaCa" units="A_per_F" public_interface="in"/>
      <variable name="i_b_Ca" units="A_per_F" public_interface="in"/>
      <variable name="i_b_Na" units="A_per_F" public_interface="in"/>
      <variable name="i_stim" units="A_per_F" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Vm</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <ci>i_K1</ci>
                     <ci>i_to</ci>
                     <ci>i_Kr</ci>
                     <ci>i_Ks</ci>
                     <ci>i_CaL</ci>
                     <ci>i_NaK</ci>
                     <ci>i_Na</ci>
                     <ci>i_NaCa</ci>
                     <ci>i_PCa</ci>
                     <ci>i_f</ci>
                     <ci>i_b_Na</ci>
                     <ci>i_b_Ca</ci>
                  </apply>
                  <ci>i_stim</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="stim_mode">
      <variable name="time" units="second" public_interface="in"/>
      <variable name="Cm" units="farad" public_interface="in"/>
      <variable name="stim_flag" units="dimensionless" initial_value="0"/>
      <variable name="i_stim" units="A_per_F" public_interface="out"/>
      <variable name="i_stim_Start" units="second" initial_value="0"/>
      <variable name="i_stim_End" units="second" initial_value="800"/>
      <variable name="i_stim_Amplitude" units="ampere" initial_value="5.5e-10"/>
      <variable name="i_stim_frequency" units="per_second" initial_value="60"/>
      <variable name="i_stim_Period" units="second"/>
      <variable name="i_stim_PulseDuration" units="second" initial_value="0.005"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_stim_Period</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">60</cn>
               <ci>i_stim_frequency</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_stim</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>stim_flag</ci>
                        <ci>i_stim_Amplitude</ci>
                     </apply>
                     <ci>Cm</ci>
                  </apply>
                  <apply>
                     <and/>
                     <apply>
                        <geq/>
                        <ci>time</ci>
                        <ci>i_stim_Start</ci>
                     </apply>
                     <apply>
                        <leq/>
                        <ci>time</ci>
                        <ci>i_stim_End</ci>
                     </apply>
                     <apply>
                        <leq/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <ci>time</ci>
                              <ci>i_stim_Start</ci>
                           </apply>
                           <apply>
                              <times/>
                              <apply>
                                 <floor/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <minus/>
                                       <ci>time</ci>
                                       <ci>i_stim_Start</ci>
                                    </apply>
                                    <ci>i_stim_Period</ci>
                                 </apply>
                              </apply>
                              <ci>i_stim_Period</ci>
                           </apply>
                        </apply>
                        <ci>i_stim_PulseDuration</ci>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="A_per_F">0</cn>
               </otherwise>
            </piecewise>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="current_blockers">
      <variable name="TTX_3uM" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="TTX_10uM" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="TTX_30uM" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="E4031_30nM" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="E4031_100nM" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="nifed_3nM" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="nifed_10nM" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="nifed_30nM" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="nifed_100nM" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="Chromanol_iKs30" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="Chromanol_iKs50" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="Chromanol_iKs70" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="Chromanol_iKs90" units="dimensionless" initial_value="0" public_interface="out"/>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="electric_potentials">
      <variable name="E_Na" units="volt" public_interface="out"/>
      <variable name="E_K" units="volt" public_interface="out"/>
      <variable name="E_Ks" units="volt" public_interface="out"/>
      <variable name="E_Ca" units="volt" public_interface="out"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Nai" units="millimolar" public_interface="in"/>
      <variable name="Nao" units="millimolar" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="Cao" units="millimolar" public_interface="in"/>
      <variable name="Ki" units="millimolar" public_interface="in"/>
      <variable name="Ko" units="millimolar" public_interface="in"/>
      <variable name="PkNa" units="dimensionless" initial_value="0.03"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>E_Na</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Nao</ci>
                     <ci>Nai</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_K</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Ko</ci>
                     <ci>Ki</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_Ks</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <apply>
                        <plus/>
                        <ci>Ko</ci>
                        <apply>
                           <times/>
                           <ci>PkNa</ci>
                           <ci>Nao</ci>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <ci>Ki</ci>
                        <apply>
                           <times/>
                           <ci>PkNa</ci>
                           <ci>Nai</ci>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_Ca</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.5</cn>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Cao</ci>
                     <ci>Cai</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Na">
      <variable name="i_Na" units="A_per_F" public_interface="out"/>
      <variable name="g_Na" units="S_per_F" initial_value="3671.2302"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="E_Na" units="volt" public_interface="in"/>
      <variable name="m" units="dimensionless" private_interface="in"/>
      <variable name="h" units="dimensionless" private_interface="in"/>
      <variable name="j" units="dimensionless" private_interface="in"/>
      <variable name="TTX_3uM" units="dimensionless" public_interface="in"/>
      <variable name="TTX_10uM" units="dimensionless" public_interface="in"/>
      <variable name="TTX_30uM" units="dimensionless" public_interface="in"/>
      <variable name="TTX_coeff" units="dimensionless"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>TTX_coeff</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0.18</cn>
                  <apply>
                     <eq/>
                     <ci>TTX_3uM</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <piece>
                  <cn cellml:units="dimensionless">0.06</cn>
                  <apply>
                     <eq/>
                     <ci>TTX_10uM</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <piece>
                  <cn cellml:units="dimensionless">0.02</cn>
                  <apply>
                     <eq/>
                     <ci>TTX_30uM</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>i_Na</ci>
            <apply>
               <times/>
               <ci>TTX_coeff</ci>
               <ci>g_Na</ci>
               <apply>
                  <power/>
                  <ci>m</ci>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
               <ci>h</ci>
               <ci>j</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_Na</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Na_m_gate">
      <variable name="m" units="dimensionless" initial_value="0.102953468725004" public_interface="out"/>
      <variable name="m_inf" units="dimensionless"/>
      <variable name="tau_m" units="second"/>
      <variable name="alpha_m" units="dimensionless"/>
      <variable name="beta_m" units="dimensionless"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>m_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <power/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>Vm</ci>
                                 </apply>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">34.1</cn>
                           </apply>
                           <cn cellml:units="millivolt">5.9</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">1</cn>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_m</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>Vm</ci>
                              </apply>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">60</cn>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_m</ci>
            <apply>
               <plus/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">0.1</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">35</cn>
                           </apply>
                           <cn cellml:units="millivolt">5</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">0.1</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">50</cn>
                           </apply>
                           <cn cellml:units="millivolt">200</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_m</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="second">1</cn>
                  <ci>alpha_m</ci>
                  <ci>beta_m</ci>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>m</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>m_inf</ci>
                  <ci>m</ci>
               </apply>
               <ci>tau_m</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Na_h_gate">
      <variable name="h" units="dimensionless" initial_value="0.786926637881461" public_interface="out"/>
      <variable name="h_inf" units="dimensionless"/>
      <variable name="alpha_h" units="dimensionless"/>
      <variable name="beta_h" units="dimensionless"/>
      <variable name="tau_h" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>h_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <root/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">72.1</cn>
                           </apply>
                           <cn cellml:units="millivolt">5.7</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.057</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <cn cellml:units="millivolt">80</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">6.8</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">0</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>beta_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2.7</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">0.079</cn>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">3.1</cn>
                        <apply>
                           <power/>
                           <cn cellml:units="dimensionless">10</cn>
                           <cn cellml:units="dimensionless">5</cn>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">0.3485</cn>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">0.77</cn>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.13</cn>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">10.66</cn>
                                 </apply>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">11.1</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>tau_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <cn cellml:units="second">1.5</cn>
                     <apply>
                        <times/>
                        <apply>
                           <plus/>
                           <ci>alpha_h</ci>
                           <ci>beta_h</ci>
                        </apply>
                        <cn cellml:units="dimensionless">1000</cn>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <cn cellml:units="second">2.542</cn>
                     <cn cellml:units="dimensionless">1000</cn>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>h</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>h_inf</ci>
                  <ci>h</ci>
               </apply>
               <ci>tau_h</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Na_j_gate">
      <variable name="j" units="dimensionless" initial_value="0.253943221774722" public_interface="out"/>
      <variable name="j_inf" units="dimensionless"/>
      <variable name="alpha_j" units="dimensionless"/>
      <variable name="beta_j" units="dimensionless"/>
      <variable name="tau_j" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>j_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <root/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">72.1</cn>
                           </apply>
                           <cn cellml:units="millivolt">5.7</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_j</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">25428</cn>
                              </apply>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <times/>
                                    <cn cellml:units="per_millivolt">0.2444</cn>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                              </apply>
                           </apply>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">6.948</cn>
                              <apply>
                                 <power/>
                                 <cn cellml:units="dimensionless">10</cn>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">6</cn>
                                 </apply>
                              </apply>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <times/>
                                    <apply>
                                       <minus/>
                                       <cn cellml:units="per_millivolt">0.04391</cn>
                                    </apply>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">37.78</cn>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">0.311</cn>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <cn cellml:units="millivolt">79.23</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">0</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>beta_j</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.02424</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">0.01052</cn>
                              </apply>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">0.1378</cn>
                              </apply>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <cn cellml:units="millivolt">40.14</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.6</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">0.057</cn>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">0.1</cn>
                              </apply>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <cn cellml:units="millivolt">32</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>tau_j</ci>
            <apply>
               <divide/>
               <cn cellml:units="second">7</cn>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <ci>alpha_j</ci>
                     <ci>beta_j</ci>
                  </apply>
                  <cn cellml:units="dimensionless">1000</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>j</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>j_inf</ci>
                  <ci>j</ci>
               </apply>
               <ci>tau_j</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL">
      <variable name="i_CaL" units="A_per_F" public_interface="out"/>
      <variable name="g_CaL" units="metre_cube_per_F_per_s" initial_value="8.635702e-5"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="Cai" units="millimolar" public_interface="in" private_interface="out"/>
      <variable name="Cao" units="millimolar" public_interface="in" private_interface="out"/>
      <variable name="d" units="dimensionless" public_interface="out" private_interface="in"/>
      <variable name="f1" units="dimensionless" private_interface="in"/>
      <variable name="f2" units="dimensionless" private_interface="in"/>
      <variable name="fCa" units="dimensionless" private_interface="in"/>
      <variable name="nifed_3nM" units="dimensionless" public_interface="in"/>
      <variable name="nifed_10nM" units="dimensionless" public_interface="in"/>
      <variable name="nifed_30nM" units="dimensionless" public_interface="in"/>
      <variable name="nifed_100nM" units="dimensionless" public_interface="in"/>
      <variable name="nifed_coeff" units="dimensionless"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>nifed_coeff</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0.93</cn>
                  <apply>
                     <eq/>
                     <ci>nifed_3nM</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <piece>
                  <cn cellml:units="dimensionless">0.79</cn>
                  <apply>
                     <eq/>
                     <ci>nifed_10nM</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <piece>
                  <cn cellml:units="dimensionless">0.56</cn>
                  <apply>
                     <eq/>
                     <ci>nifed_30nM</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <piece>
                  <cn cellml:units="dimensionless">0.28</cn>
                  <apply>
                     <eq/>
                     <ci>nifed_100nM</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>i_CaL</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <ci>g_CaL</ci>
                           <cn cellml:units="dimensionless">4</cn>
                           <ci>Vm</ci>
                           <apply>
                              <power/>
                              <ci>F</ci>
                              <cn cellml:units="dimensionless">2</cn>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <ci>R</ci>
                           <ci>T</ci>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <apply>
                           <times/>
                           <ci>Cai</ci>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">2</cn>
                                    <ci>Vm</ci>
                                    <ci>F</ci>
                                 </apply>
                                 <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.341</cn>
                           <ci>Cao</ci>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <minus/>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">2</cn>
                              <ci>Vm</ci>
                              <ci>F</ci>
                           </apply>
                           <apply>
                              <times/>
                              <ci>R</ci>
                              <ci>T</ci>
                           </apply>
                        </apply>
                     </apply>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </apply>
               <ci>d</ci>
               <ci>f1</ci>
               <ci>f2</ci>
               <ci>fCa</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL_d_gate">
      <variable name="d" units="dimensionless" initial_value="8.96088425225182e-5" public_interface="out"/>
      <variable name="d_infinity" units="dimensionless"/>
      <variable name="tau_d" units="second"/>
      <variable name="alpha_d" units="dimensionless"/>
      <variable name="beta_d" units="dimensionless"/>
      <variable name="gamma_d" units="dimensionless"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in" private_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>d_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">9.1</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">7</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_d</ci>
            <apply>
               <plus/>
               <cn cellml:units="dimensionless">0.25</cn>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1.4</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>Vm</ci>
                                 </apply>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">35</cn>
                           </apply>
                           <cn cellml:units="millivolt">13</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_d</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1.4</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">5</cn>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>gamma_d</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>Vm</ci>
                              </apply>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">50</cn>
                        </apply>
                        <cn cellml:units="millivolt">20</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_d</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <ci>alpha_d</ci>
                        <ci>beta_d</ci>
                     </apply>
                     <ci>gamma_d</ci>
                  </apply>
                  <cn cellml:units="second">1</cn>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>d</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>d_infinity</ci>
                  <ci>d</ci>
               </apply>
               <ci>tau_d</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL_f1_gate">
      <variable name="f1" units="dimensionless" initial_value="0.970411811263976" public_interface="out"/>
      <variable name="f1_inf" units="dimensionless"/>
      <variable name="tau_f1" units="second"/>
      <variable name="constf1" units="dimensionless"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>f1_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">26</cn>
                        </apply>
                        <cn cellml:units="millivolt">3</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_f1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <cn cellml:units="second">20</cn>
                     <apply>
                        <times/>
                        <cn cellml:units="second">1102.5</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <minus/>
                              <apply>
                                 <power/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <power/>
                                       <apply>
                                          <plus/>
                                          <apply>
                                             <times/>
                                             <ci>Vm</ci>
                                             <cn cellml:units="millivolt_per_volt">1000</cn>
                                          </apply>
                                          <cn cellml:units="millivolt">27</cn>
                                       </apply>
                                       <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                    <cn cellml:units="millivolt_square">15</cn>
                                 </apply>
                                 <cn cellml:units="dimensionless">2</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <divide/>
                        <cn cellml:units="second">200</cn>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">13</cn>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                 </apply>
                                 <cn cellml:units="millivolt">10</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <divide/>
                        <cn cellml:units="second">180</cn>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <plus/>
                                    <cn cellml:units="millivolt">30</cn>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                 </apply>
                                 <cn cellml:units="millivolt">10</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <ci>constf1</ci>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>constf1</ci>
            <piecewise>
               <piece>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millimolar">1433</cn>
                        <apply>
                           <minus/>
                           <ci>Cai</ci>
                           <apply>
                              <times/>
                              <cn cellml:units="millimolar">50</cn>
                              <cn type="e-notation" cellml:units="dimensionless">1   <sep/>
                              -6</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <gt/>
                     <apply>
                        <minus/>
                        <ci>f1_inf</ci>
                        <ci>f1</ci>
                     </apply>
                     <cn cellml:units="dimensionless">0</cn>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>f1</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>f1_inf</ci>
                  <ci>f1</ci>
               </apply>
               <ci>tau_f1</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL_f2_gate">
      <variable name="f2" units="dimensionless" initial_value="0.999965815466749" public_interface="out"/>
      <variable name="f2_inf" units="dimensionless"/>
      <variable name="tau_f2" units="second"/>
      <variable name="constf2" units="dimensionless"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>f2_inf</ci>
            <apply>
               <plus/>
               <cn cellml:units="dimensionless">0.33</cn>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">0.67</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">35</cn>
                           </apply>
                           <cn cellml:units="millivolt">4</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>constf2</ci>
            <cn cellml:units="dimensionless">1</cn>
         </apply>
         <apply>
            <eq/>
            <ci>tau_f2</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <cn cellml:units="second">600</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <power/>
                                    <apply>
                                       <plus/>
                                       <apply>
                                          <times/>
                                          <ci>Vm</ci>
                                          <cn cellml:units="millivolt_per_volt">1000</cn>
                                       </apply>
                                       <cn cellml:units="millivolt">25</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">2</cn>
                                 </apply>
                              </apply>
                              <cn cellml:units="millivolt_square">170</cn>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <divide/>
                        <cn cellml:units="second">31</cn>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">25</cn>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                 </apply>
                                 <cn cellml:units="millivolt">10</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <divide/>
                        <cn cellml:units="second">16</cn>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <plus/>
                                    <cn cellml:units="millivolt">30</cn>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                 </apply>
                                 <cn cellml:units="millivolt">10</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <ci>constf2</ci>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>f2</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>f2_inf</ci>
                  <ci>f2</ci>
               </apply>
               <ci>tau_f2</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL_fCa_gate">
      <variable name="fCa" units="dimensionless" initial_value="0.998925296531804" public_interface="out"/>
      <variable name="constfCa" units="dimensionless"/>
      <variable name="alpha_fCa" units="dimensionless"/>
      <variable name="beta_fCa" units="dimensionless"/>
      <variable name="gamma_fCa" units="dimensionless"/>
      <variable name="fCa_inf" units="dimensionless"/>
      <variable name="tau_fCa" units="second" initial_value="0.002"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_fCa</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <power/>
                     <apply>
                        <divide/>
                        <ci>Cai</ci>
                        <cn cellml:units="millimolar">0.0006</cn>
                     </apply>
                     <cn cellml:units="dimensionless">8</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_fCa</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">0.1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>Cai</ci>
                           <cn cellml:units="millimolar">0.0009</cn>
                        </apply>
                        <cn cellml:units="millimolar">0.0001</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>gamma_fCa</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">0.3</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>Cai</ci>
                           <cn cellml:units="millimolar">0.00075</cn>
                        </apply>
                        <cn cellml:units="millimolar">0.0008</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>fCa_inf</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <ci>alpha_fCa</ci>
                  <ci>beta_fCa</ci>
                  <ci>gamma_fCa</ci>
               </apply>
               <cn cellml:units="dimensionless">1.3156</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>constfCa</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0</cn>
                  <apply>
                     <and/>
                     <apply>
                        <gt/>
                        <ci>Vm</ci>
                        <apply>
                           <minus/>
                           <cn cellml:units="volt">0.06</cn>
                        </apply>
                     </apply>
                     <apply>
                        <gt/>
                        <ci>fCa_inf</ci>
                        <ci>fCa</ci>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>fCa</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>constfCa</ci>
                  <apply>
                     <minus/>
                     <ci>fCa_inf</ci>
                     <ci>fCa</ci>
                  </apply>
               </apply>
               <ci>tau_fCa</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Kr">
      <variable name="i_Kr" units="A_per_F" public_interface="out"/>
      <variable name="g_Kr" units="S_per_F" initial_value="29.8667"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="E_K" units="volt" public_interface="in"/>
      <variable name="Ko" units="millimolar" public_interface="in"/>
      <variable name="Cao" units="millimolar" public_interface="in" private_interface="out"/>
      <variable name="Xr1" units="dimensionless" private_interface="in"/>
      <variable name="Xr2" units="dimensionless" private_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in" private_interface="out"/>
      <variable name="T" units="kelvin" public_interface="in" private_interface="out"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in" private_interface="out"/>
      <variable name="E4031_30nM" units="dimensionless" public_interface="in"/>
      <variable name="E4031_100nM" units="dimensionless" public_interface="in"/>
      <variable name="E4031_coeff" units="dimensionless"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>E4031_coeff</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0.77</cn>
                  <apply>
                     <eq/>
                     <ci>E4031_30nM</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <piece>
                  <cn cellml:units="dimensionless">0.5</cn>
                  <apply>
                     <eq/>
                     <ci>E4031_100nM</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>i_Kr</ci>
            <apply>
               <times/>
               <ci>E4031_coeff</ci>
               <ci>g_Kr</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_K</ci>
               </apply>
               <ci>Xr1</ci>
               <ci>Xr2</ci>
               <apply>
                  <root/>
                  <apply>
                     <divide/>
                     <ci>Ko</ci>
                     <cn cellml:units="millimolar">5.4</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Kr_Xr1_gate">
      <variable name="Xr1" units="dimensionless" initial_value="0.00778547011240132" public_interface="out"/>
      <variable name="Xr1_inf" units="dimensionless"/>
      <variable name="alpha_Xr1" units="dimensionless"/>
      <variable name="beta_Xr1" units="dimensionless"/>
      <variable name="tau_Xr1" units="second"/>
      <variable name="Cao" units="millimolar" public_interface="in"/>
      <variable name="L0" units="dimensionless" initial_value="0.025"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="V_half" units="millivolt"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Q" units="dimensionless" initial_value="2.3"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>V_half</ci>
            <apply>
               <times/>
               <cn cellml:units="millivolt_per_volt">1000</cn>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <ci>R</ci>
                           </apply>
                           <ci>T</ci>
                        </apply>
                        <apply>
                           <times/>
                           <ci>F</ci>
                           <ci>Q</ci>
                        </apply>
                     </apply>
                     <apply>
                        <ln/>
                        <apply>
                           <divide/>
                           <apply>
                              <power/>
                              <apply>
                                 <plus/>
                                 <cn cellml:units="dimensionless">1</cn>
                                 <apply>
                                    <divide/>
                                    <ci>Cao</ci>
                                    <cn cellml:units="millimolar">2.6</cn>
                                 </apply>
                              </apply>
                              <cn cellml:units="dimensionless">4</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>L0</ci>
                              <apply>
                                 <power/>
                                 <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                       <divide/>
                                       <ci>Cao</ci>
                                       <cn cellml:units="millimolar">0.58</cn>
                                    </apply>
                                 </apply>
                                 <cn cellml:units="dimensionless">4</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <cn cellml:units="volt">0.019</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Xr1_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>V_half</ci>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">4.9</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_Xr1</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">450</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <cn cellml:units="millivolt">45</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">10</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_Xr1</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">6</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <cn cellml:units="millivolt">30</cn>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">11.5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_Xr1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="second">1</cn>
                  <ci>alpha_Xr1</ci>
                  <ci>beta_Xr1</ci>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Xr1</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>Xr1_inf</ci>
                  <ci>Xr1</ci>
               </apply>
               <ci>tau_Xr1</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Kr_Xr2_gate">
      <variable name="Xr2" units="dimensionless" initial_value="0.432162576531617" public_interface="out"/>
      <variable name="Xr2_infinity" units="dimensionless"/>
      <variable name="alpha_Xr2" units="dimensionless"/>
      <variable name="beta_Xr2" units="dimensionless"/>
      <variable name="tau_Xr2" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Xr2_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">88</cn>
                        </apply>
                        <cn cellml:units="millivolt">50</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_Xr2</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">3</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <cn cellml:units="millivolt">60</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">20</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_Xr2</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1.12</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <minus/>
                              <cn cellml:units="millivolt">60</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">20</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_Xr2</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="second">1</cn>
                  <ci>alpha_Xr2</ci>
                  <ci>beta_Xr2</ci>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Xr2</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>Xr2_infinity</ci>
                  <ci>Xr2</ci>
               </apply>
               <ci>tau_Xr2</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Ks">
      <variable name="i_Ks" units="A_per_F" public_interface="out"/>
      <variable name="g_Ks" units="S_per_F" initial_value="2.041"/>
      <variable name="E_Ks" units="volt" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="Xs" units="dimensionless" private_interface="in"/>
      <variable name="Chromanol_iKs30" units="dimensionless" public_interface="in"/>
      <variable name="Chromanol_iKs50" units="dimensionless" public_interface="in"/>
      <variable name="Chromanol_iKs70" units="dimensionless" public_interface="in"/>
      <variable name="Chromanol_iKs90" units="dimensionless" public_interface="in"/>
      <variable name="Chromanol_coeff" units="dimensionless"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Chromanol_coeff</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0.7</cn>
                  <apply>
                     <eq/>
                     <ci>Chromanol_iKs30</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <piece>
                  <cn cellml:units="dimensionless">0.5</cn>
                  <apply>
                     <eq/>
                     <ci>Chromanol_iKs50</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <piece>
                  <cn cellml:units="dimensionless">0.3</cn>
                  <apply>
                     <eq/>
                     <ci>Chromanol_iKs70</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <piece>
                  <cn cellml:units="dimensionless">0.1</cn>
                  <apply>
                     <eq/>
                     <ci>Chromanol_iKs90</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>i_Ks</ci>
            <apply>
               <times/>
               <ci>Chromanol_coeff</ci>
               <ci>g_Ks</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_Ks</ci>
               </apply>
               <apply>
                  <power/>
                  <ci>Xs</ci>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">0.6</cn>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <cn cellml:units="millimolar">3.8</cn>
                                 <cn cellml:units="dimensionless">0.00001</cn>
                              </apply>
                              <ci>Cai</ci>
                           </apply>
                           <cn cellml:units="dimensionless">1.4</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Ks_Xs_gate">
      <variable name="Xs" units="dimensionless" initial_value="0.0322944866983666" public_interface="out"/>
      <variable name="Xs_infinity" units="dimensionless"/>
      <variable name="alpha_Xs" units="dimensionless"/>
      <variable name="beta_Xs" units="dimensionless"/>
      <variable name="tau_Xs" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Xs_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>Vm</ci>
                              </apply>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">20</cn>
                        </apply>
                        <cn cellml:units="millivolt">16</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_Xs</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1100</cn>
               <apply>
                  <root/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="millivolt">10</cn>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">6</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_Xs</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <minus/>
                              <cn cellml:units="millivolt">60</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">20</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_Xs</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="second">1</cn>
                  <ci>alpha_Xs</ci>
                  <ci>beta_Xs</ci>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Xs</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>Xs_infinity</ci>
                  <ci>Xs</ci>
               </apply>
               <ci>tau_Xs</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_K1">
      <variable name="i_K1" units="A_per_F" public_interface="out"/>
      <variable name="g_K1" units="S_per_F" initial_value="28.1492"/>
      <variable name="XK1_inf" units="dimensionless"/>
      <variable name="E_K" units="volt" public_interface="in"/>
      <variable name="Ko" units="millimolar" public_interface="in"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="alpha_K1" units="dimensionless"/>
      <variable name="beta_K1" units="dimensionless"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_K1</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">3.91</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt">0.5942</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>E_K</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">200</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_K1</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1.509</cn>
                     </apply>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <cn cellml:units="per_millivolt">0.0002</cn>
                           <apply>
                              <plus/>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <apply>
                                    <times/>
                                    <ci>E_K</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                              </apply>
                              <cn cellml:units="millivolt">100</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt">0.5886</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>E_K</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">10</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt">0.4547</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>E_K</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>XK1_inf</ci>
            <apply>
               <divide/>
               <ci>alpha_K1</ci>
               <apply>
                  <plus/>
                  <ci>alpha_K1</ci>
                  <ci>beta_K1</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_K1</ci>
            <apply>
               <times/>
               <ci>g_K1</ci>
               <ci>XK1_inf</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_K</ci>
               </apply>
               <apply>
                  <root/>
                  <apply>
                     <divide/>
                     <ci>Ko</ci>
                     <cn cellml:units="millimolar">5.4</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_f">
      <variable name="i_f" units="A_per_F" public_interface="out"/>
      <variable name="g_f" units="S_per_F" initial_value="30.10312"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="E_f" units="volt" initial_value="-0.017"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="Xf" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_f</ci>
            <apply>
               <times/>
               <ci>g_f</ci>
               <ci>Xf</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_f</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_f_Xf_gate">
      <variable name="Xf" units="dimensionless" initial_value="0.100615100568753" public_interface="out"/>
      <variable name="Xf_infinity" units="dimensionless"/>
      <variable name="tau_Xf" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Xf_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">77.85</cn>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_Xf</ci>
            <apply>
               <divide/>
               <apply>
                  <divide/>
                  <cn cellml:units="second">1900</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">15</cn>
                           </apply>
                           <cn cellml:units="millivolt">10</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Xf</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>Xf_infinity</ci>
                  <ci>Xf</ci>
               </apply>
               <ci>tau_Xf</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_b_Na">
      <variable name="i_b_Na" units="A_per_F" public_interface="out"/>
      <variable name="g_b_Na" units="S_per_F" initial_value="0.9"/>
      <variable name="E_Na" units="volt" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_b_Na</ci>
            <apply>
               <times/>
               <ci>g_b_Na</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_Na</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_b_Ca">
      <variable name="i_b_Ca" units="A_per_F" public_interface="out"/>
      <variable name="g_b_Ca" units="S_per_F" initial_value="0.69264"/>
      <variable name="E_Ca" units="volt" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_b_Ca</ci>
            <apply>
               <times/>
               <ci>g_b_Ca</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_Ca</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_NaK">
      <variable name="i_NaK" units="A_per_F" public_interface="out"/>
      <variable name="E_Na" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="Nai" units="millimolar" public_interface="in"/>
      <variable name="Ko" units="millimolar" public_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Km_K" units="millimolar" initial_value="1"/>
      <variable name="Km_Na" units="millimolar" initial_value="40"/>
      <variable name="PNaK" units="A_per_F" initial_value="1.841424"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_NaK</ci>
            <apply>
               <divide/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <ci>PNaK</ci>
                           <ci>Ko</ci>
                        </apply>
                        <apply>
                           <plus/>
                           <ci>Ko</ci>
                           <ci>Km_K</ci>
                        </apply>
                     </apply>
                     <ci>Nai</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>Nai</ci>
                     <ci>Km_Na</ci>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.1245</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="dimensionless">0.1</cn>
                              </apply>
                              <ci>Vm</ci>
                              <ci>F</ci>
                           </apply>
                           <apply>
                              <times/>
                              <ci>R</ci>
                              <ci>T</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.0353</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>Vm</ci>
                              </apply>
                              <ci>F</ci>
                           </apply>
                           <apply>
                              <times/>
                              <ci>R</ci>
                              <ci>T</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_NaCa">
      <variable name="i_NaCa" units="A_per_F" public_interface="out"/>
      <variable name="Cao" units="millimolar" public_interface="in"/>
      <variable name="Nao" units="millimolar" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="Nai" units="millimolar" public_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="kNaCa" units="A_per_F" initial_value="4900"/>
      <variable name="alpha" units="dimensionless" initial_value="2.8571432"/>
      <variable name="gamma" units="dimensionless" initial_value="0.35"/>
      <variable name="Ksat" units="dimensionless" initial_value="0.1"/>
      <variable name="KmCa" units="millimolar" initial_value="1.38"/>
      <variable name="KmNai" units="millimolar" initial_value="87.5"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_NaCa</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>kNaCa</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <times/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <ci>gamma</ci>
                                 <ci>Vm</ci>
                                 <ci>F</ci>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <power/>
                           <ci>Nai</ci>
                           <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Cao</ci>
                     </apply>
                     <apply>
                        <times/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>gamma</ci>
                                    <cn cellml:units="dimensionless">1</cn>
                                 </apply>
                                 <ci>Vm</ci>
                                 <ci>F</ci>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <power/>
                           <ci>Nao</ci>
                           <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Cai</ci>
                        <ci>alpha</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>KmNai</ci>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>Nao</ci>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>KmCa</ci>
                     <ci>Cao</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <ci>Ksat</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>gamma</ci>
                                    <cn cellml:units="dimensionless">1</cn>
                                 </apply>
                                 <ci>Vm</ci>
                                 <ci>F</ci>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_PCa">
      <variable name="i_PCa" units="A_per_F" public_interface="out"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="g_PCa" units="A_per_F" initial_value="0.4125"/>
      <variable name="KPCa" units="millimolar" initial_value="0.0005"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_PCa</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>g_PCa</ci>
                  <ci>Cai</ci>
               </apply>
               <apply>
                  <plus/>
                  <ci>Cai</ci>
                  <ci>KPCa</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_to">
      <variable name="i_to" units="A_per_F" public_interface="out"/>
      <variable name="g_to" units="S_per_F" initial_value="29.9038"/>
      <variable name="E_K" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="q" units="dimensionless" private_interface="in"/>
      <variable name="r" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_to</ci>
            <apply>
               <times/>
               <ci>g_to</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_K</ci>
               </apply>
               <ci>q</ci>
               <ci>r</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_to_q_gate">
      <variable name="q" units="dimensionless" initial_value="0.839295925773219" public_interface="out"/>
      <variable name="q_inf" units="dimensionless"/>
      <variable name="tau_q" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>q_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">53</cn>
                        </apply>
                        <cn cellml:units="millivolt">13</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_q</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <cn cellml:units="second">6.06</cn>
                  <apply>
                     <divide/>
                     <cn cellml:units="second">39.102</cn>
                     <apply>
                        <plus/>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.57</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="per_millivolt">0.08</cn>
                                 </apply>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">44</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.065</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <cn cellml:units="per_millivolt">0.1</cn>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">45.93</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>q</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>q_inf</ci>
                  <ci>q</ci>
               </apply>
               <ci>tau_q</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_to_r_gate">
      <variable name="r" units="dimensionless" initial_value="0.00573289893326379" public_interface="out"/>
      <variable name="r_inf" units="dimensionless"/>
      <variable name="tau_r" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>r_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">22.3</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">18.75</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_r</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <cn cellml:units="second">2.75352</cn>
                  <apply>
                     <divide/>
                     <cn cellml:units="second">14.40516</cn>
                     <apply>
                        <plus/>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">1.037</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <cn cellml:units="per_millivolt">0.09</cn>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">30.61</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.369</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="per_millivolt">0.12</cn>
                                 </apply>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">23.84</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>r</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>r_inf</ci>
                  <ci>r</ci>
               </apply>
               <ci>tau_r</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="model_parameters">
      <variable name="Cao" units="millimolar" initial_value="1.8" public_interface="out"/>
      <variable name="Nao" units="millimolar" initial_value="151" public_interface="out"/>
      <variable name="Ki" units="millimolar" initial_value="150" public_interface="out"/>
      <variable name="Ko" units="millimolar" initial_value="5.4" public_interface="out"/>
      <variable name="Cm" units="farad" initial_value="9.87109e-11" public_interface="out"/>
      <variable name="Vc" units="micrometre_cube" initial_value="8800" public_interface="out"/>
      <variable name="V_SR" units="micrometre_cube" initial_value="583.73" public_interface="out"/>
      <variable name="R" units="joule_per_mole_kelvin" initial_value="8.314472" public_interface="out"/>
      <variable name="T" units="kelvin" initial_value="310" public_interface="out"/>
      <variable name="F" units="coulomb_per_mole" initial_value="96485.3415" public_interface="out"/>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="sodium_dynamics">
      <variable name="Nai" units="millimolar" initial_value="10.9248496211574" public_interface="out"/>
      <variable name="Cm" units="farad" public_interface="in"/>
      <variable name="Vc" units="micrometre_cube" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="i_Na" units="A_per_F" public_interface="in"/>
      <variable name="i_b_Na" units="A_per_F" public_interface="in"/>
      <variable name="i_NaK" units="A_per_F" public_interface="in"/>
      <variable name="i_NaCa" units="A_per_F" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Nai</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <minus/>
                     <ci>Cm</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>i_Na</ci>
                     <ci>i_b_Na</ci>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">3</cn>
                        <ci>i_NaK</ci>
                     </apply>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">3</cn>
                        <ci>i_NaCa</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>F</ci>
                  <ci>Vc</ci>
                  <cn type="e-notation" cellml:units="metre3_per_um3">1   <sep/>
                  -18</cn>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="calcium_dynamics">
      <variable name="Cai" units="millimolar" initial_value="1.80773974140477e-5" public_interface="out"/>
      <variable name="Ca_SR" units="millimolar" initial_value="-0.2734234751931"/>
      <variable name="Vc" units="micrometre_cube" public_interface="in"/>
      <variable name="V_SR" units="micrometre_cube" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="Cm" units="farad" public_interface="in"/>
      <variable name="i_CaL" units="A_per_F" public_interface="in"/>
      <variable name="i_PCa" units="A_per_F" public_interface="in"/>
      <variable name="i_b_Ca" units="A_per_F" public_interface="in"/>
      <variable name="i_NaCa" units="A_per_F" public_interface="in"/>
      <variable name="a_rel" units="millimolar_per_second" initial_value="16.464"/>
      <variable name="b_rel" units="millimolar" initial_value="0.25"/>
      <variable name="c_rel" units="millimolar_per_second" initial_value="8.232"/>
      <variable name="g" units="dimensionless" initial_value="0.999999981028517"/>
      <variable name="tau_g" units="second" initial_value="0.002"/>
      <variable name="g_inf" units="dimensionless"/>
      <variable name="Kup" units="millimolar" initial_value="0.00025"/>
      <variable name="Buf_C" units="millimolar" initial_value="0.25"/>
      <variable name="Buf_SR" units="millimolar" initial_value="10"/>
      <variable name="Kbuf_C" units="millimolar" initial_value="0.001"/>
      <variable name="Kbuf_SR" units="millimolar" initial_value="0.3"/>
      <variable name="Cai_bufc" units="dimensionless"/>
      <variable name="Ca_SR_bufSR" units="dimensionless"/>
      <variable name="d" units="dimensionless" public_interface="in"/>
      <variable name="VmaxUp" units="millimolar_per_second" initial_value="0.56064"/>
      <variable name="const2" units="dimensionless"/>
      <variable name="V_leak" units="per_second" initial_value="0.00044444"/>
      <variable name="i_rel" units="millimolar_per_second"/>
      <variable name="i_up" units="millimolar_per_second"/>
      <variable name="i_leak" units="millimolar_per_second"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_rel</ci>
            <apply>
               <times/>
               <apply>
                  <plus/>
                  <ci>c_rel</ci>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>a_rel</ci>
                        <apply>
                           <power/>
                           <ci>Ca_SR</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <apply>
                           <power/>
                           <ci>b_rel</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                        <apply>
                           <power/>
                           <ci>Ca_SR</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <ci>d</ci>
               <ci>g</ci>
               <cn cellml:units="dimensionless">0.0411</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_up</ci>
            <apply>
               <divide/>
               <ci>VmaxUp</ci>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <apply>
                        <power/>
                        <ci>Kup</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>Cai</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_leak</ci>
            <apply>
               <times/>
               <apply>
                  <minus/>
                  <ci>Ca_SR</ci>
                  <ci>Cai</ci>
               </apply>
               <ci>V_leak</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>g_inf</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <ci>Cai</ci>
                              <cn cellml:units="millimolar">0.00035</cn>
                           </apply>
                           <cn cellml:units="dimensionless">6</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <leq/>
                     <ci>Cai</ci>
                     <cn cellml:units="millimolar">0.00035</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <ci>Cai</ci>
                              <cn cellml:units="millimolar">0.00035</cn>
                           </apply>
                           <cn cellml:units="dimensionless">16</cn>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>const2</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0</cn>
                  <apply>
                     <and/>
                     <apply>
                        <gt/>
                        <ci>g_inf</ci>
                        <ci>g</ci>
                     </apply>
                     <apply>
                        <gt/>
                        <ci>Vm</ci>
                        <apply>
                           <minus/>
                           <cn cellml:units="volt">0.06</cn>
                        </apply>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>g</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>const2</ci>
                  <apply>
                     <minus/>
                     <ci>g_inf</ci>
                     <ci>g</ci>
                  </apply>
               </apply>
               <ci>tau_g</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Cai_bufc</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>Buf_C</ci>
                        <ci>Kbuf_C</ci>
                     </apply>
                     <apply>
                        <power/>
                        <apply>
                           <plus/>
                           <ci>Cai</ci>
                           <ci>Kbuf_C</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ca_SR_bufSR</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>Buf_SR</ci>
                        <ci>Kbuf_SR</ci>
                     </apply>
                     <apply>
                        <power/>
                        <apply>
                           <plus/>
                           <ci>Ca_SR</ci>
                           <ci>Kbuf_SR</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Cai</ci>
            </apply>
            <apply>
               <times/>
               <ci>Cai_bufc</ci>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <apply>
                        <minus/>
                        <ci>i_leak</ci>
                        <ci>i_up</ci>
                     </apply>
                     <ci>i_rel</ci>
                  </apply>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <apply>
                              <plus/>
                              <ci>i_CaL</ci>
                              <ci>i_b_Ca</ci>
                              <ci>i_PCa</ci>
                           </apply>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">2</cn>
                              <ci>i_NaCa</ci>
                           </apply>
                        </apply>
                        <ci>Cm</ci>
                     </apply>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <ci>Vc</ci>
                        <ci>F</ci>
                        <cn type="e-notation" cellml:units="metre3_per_um3">1   <sep/>
                        -18</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_SR</ci>
            </apply>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>Ca_SR_bufSR</ci>
                     <ci>Vc</ci>
                  </apply>
                  <ci>V_SR</ci>
               </apply>
               <apply>
                  <minus/>
                  <ci>i_up</ci>
                  <apply>
                     <plus/>
                     <ci>i_rel</ci>
                     <ci>i_leak</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <group xmlns="http://www.cellml.org/cellml/1.0#">
      <relationship_ref relationship="containment"/>
      <component_ref component="Membrane">
         <component_ref component="calcium_dynamics"/>
         <component_ref component="sodium_dynamics"/>
         <component_ref component="model_parameters"/>
         <component_ref component="electric_potentials"/>
         <component_ref component="i_b_Ca"/>
         <component_ref component="i_b_Na"/>
         <component_ref component="i_NaK"/>
         <component_ref component="i_NaCa"/>
         <component_ref component="i_PCa"/>
         <component_ref component="i_K1"/>
         <component_ref component="stim_mode"/>
         <component_ref component="current_blockers"/>
         <component_ref component="i_Na">
            <component_ref component="i_Na_m_gate"/>
            <component_ref component="i_Na_h_gate"/>
            <component_ref component="i_Na_j_gate"/>
         </component_ref>
         <component_ref component="i_CaL">
            <component_ref component="i_CaL_d_gate"/>
            <component_ref component="i_CaL_f1_gate"/>
            <component_ref component="i_CaL_f2_gate"/>
            <component_ref component="i_CaL_fCa_gate"/>
         </component_ref>
         <component_ref component="i_Kr">
            <component_ref component="i_Kr_Xr1_gate"/>
            <component_ref component="i_Kr_Xr2_gate"/>
         </component_ref>
         <component_ref component="i_Ks">
            <component_ref component="i_Ks_Xs_gate"/>
         </component_ref>
         <component_ref component="i_to">
            <component_ref component="i_to_q_gate"/>
            <component_ref component="i_to_r_gate"/>
         </component_ref>
         <component_ref component="i_f">
            <component_ref component="i_f_Xf_gate"/>
         </component_ref>
      </component_ref>
   </group>
   <group xmlns="http://www.cellml.org/cellml/1.0#">
      <relationship_ref relationship="encapsulation"/>
      <component_ref component="i_Na">
         <component_ref component="i_Na_m_gate"/>
         <component_ref component="i_Na_h_gate"/>
         <component_ref component="i_Na_j_gate"/>
      </component_ref>
      <component_ref component="i_CaL">
         <component_ref component="i_CaL_d_gate"/>
         <component_ref component="i_CaL_f1_gate"/>
         <component_ref component="i_CaL_f2_gate"/>
         <component_ref component="i_CaL_fCa_gate"/>
      </component_ref>
      <component_ref component="i_Kr">
         <component_ref component="i_Kr_Xr1_gate"/>
         <component_ref component="i_Kr_Xr2_gate"/>
      </component_ref>
      <component_ref component="i_Ks">
         <component_ref component="i_Ks_Xs_gate"/>
      </component_ref>
      <component_ref component="i_to">
         <component_ref component="i_to_q_gate"/>
         <component_ref component="i_to_r_gate"/>
      </component_ref>
      <component_ref component="i_f">
         <component_ref component="i_f_Xf_gate"/>
      </component_ref>
   </group>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Membrane" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="stim_mode" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_K1" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Ks" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_to" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_f" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaCa" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaK" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_PCa" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="calcium_dynamics" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="stim_mode" component_2="Membrane"/>
      <map_variables variable_1="i_stim" variable_2="i_stim"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_CaL" variable_2="i_CaL"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_K1" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_K1" variable_2="i_K1"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_Na" variable_2="i_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_PCa" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_PCa" variable_2="i_PCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_Kr" variable_2="i_Kr"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Ks" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_Ks" variable_2="i_Ks"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_to" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_to" variable_2="i_to"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_f" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_f" variable_2="i_f"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_b_Na" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_b_Na" variable_2="i_b_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_b_Ca" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_b_Ca" variable_2="i_b_Ca"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaK" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaCa" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="current_blockers" component_2="i_Na"/>
      <map_variables variable_1="TTX_3uM" variable_2="TTX_3uM"/>
      <map_variables variable_1="TTX_10uM" variable_2="TTX_10uM"/>
      <map_variables variable_1="TTX_30uM" variable_2="TTX_30uM"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="current_blockers" component_2="i_Kr"/>
      <map_variables variable_1="E4031_30nM" variable_2="E4031_30nM"/>
      <map_variables variable_1="E4031_100nM" variable_2="E4031_100nM"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="current_blockers" component_2="i_CaL"/>
      <map_variables variable_1="nifed_3nM" variable_2="nifed_3nM"/>
      <map_variables variable_1="nifed_10nM" variable_2="nifed_10nM"/>
      <map_variables variable_1="nifed_30nM" variable_2="nifed_30nM"/>
      <map_variables variable_1="nifed_100nM" variable_2="nifed_100nM"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="current_blockers" component_2="i_Ks"/>
      <map_variables variable_1="Chromanol_iKs30" variable_2="Chromanol_iKs30"/>
      <map_variables variable_1="Chromanol_iKs50" variable_2="Chromanol_iKs50"/>
      <map_variables variable_1="Chromanol_iKs70" variable_2="Chromanol_iKs70"/>
      <map_variables variable_1="Chromanol_iKs90" variable_2="Chromanol_iKs90"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="model_parameters"/>
      <map_variables variable_1="Nao" variable_2="Nao"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
      <map_variables variable_1="Ki" variable_2="Ki"/>
      <map_variables variable_1="Ko" variable_2="Ko"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_Kr"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_Ks"/>
      <map_variables variable_1="E_Ks" variable_2="E_Ks"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_K1"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_to"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_b_Na"/>
      <map_variables variable_1="E_Na" variable_2="E_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_Na"/>
      <map_variables variable_1="E_Na" variable_2="E_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_b_Ca"/>
      <map_variables variable_1="E_Ca" variable_2="E_Ca"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_NaK"/>
      <map_variables variable_1="E_Na" variable_2="E_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="calcium_dynamics"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="i_CaL" variable_2="i_CaL"/>
      <map_variables variable_1="d" variable_2="d"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_PCa" component_2="calcium_dynamics"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="i_PCa" variable_2="i_PCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_b_Na" component_2="sodium_dynamics"/>
      <map_variables variable_1="i_b_Na" variable_2="i_b_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaK" component_2="model_parameters"/>
      <map_variables variable_1="Ko" variable_2="Ko"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaCa" component_2="model_parameters"/>
      <map_variables variable_1="Nao" variable_2="Nao"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaCa" component_2="calcium_dynamics"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_b_Ca" component_2="calcium_dynamics"/>
      <map_variables variable_1="i_b_Ca" variable_2="i_b_Ca"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Ks" component_2="calcium_dynamics"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="stim_mode" component_2="model_parameters"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="calcium_dynamics" component_2="model_parameters"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="Vc" variable_2="Vc"/>
      <map_variables variable_1="V_SR" variable_2="V_SR"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="model_parameters"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="Vc" variable_2="Vc"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="i_Na"/>
      <map_variables variable_1="i_Na" variable_2="i_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="i_NaK"/>
      <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
      <map_variables variable_1="Nai" variable_2="Nai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="i_NaCa"/>
      <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
      <map_variables variable_1="Nai" variable_2="Nai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="calcium_dynamics" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="calcium_dynamics" component_2="electric_potentials"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="electric_potentials"/>
      <map_variables variable_1="Nai" variable_2="Nai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="i_Na_m_gate"/>
      <map_variables variable_1="m" variable_2="m"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="i_Na_j_gate"/>
      <map_variables variable_1="j" variable_2="j"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="i_Na_h_gate"/>
      <map_variables variable_1="h" variable_2="h"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="i_CaL_d_gate"/>
      <map_variables variable_1="d" variable_2="d"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="i_CaL_fCa_gate"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="fCa" variable_2="fCa"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="i_CaL_f1_gate"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="f1" variable_2="f1"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="i_CaL_f2_gate"/>
      <map_variables variable_1="f2" variable_2="f2"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="model_parameters"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="T" variable_2="T"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="model_parameters"/>
      <map_variables variable_1="Ko" variable_2="Ko"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="T" variable_2="T"/>
      <map_variables variable_1="F" variable_2="F"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_K1" component_2="model_parameters"/>
      <map_variables variable_1="Ko" variable_2="Ko"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="i_Kr_Xr1_gate"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
      <map_variables variable_1="Xr1" variable_2="Xr1"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="i_Kr_Xr2_gate"/>
      <map_variables variable_1="Xr2" variable_2="Xr2"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Ks" component_2="i_Ks_Xs_gate"/>
      <map_variables variable_1="Xs" variable_2="Xs"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_to" component_2="i_to_q_gate"/>
      <map_variables variable_1="q" variable_2="q"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_to" component_2="i_to_r_gate"/>
      <map_variables variable_1="r" variable_2="r"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_f" component_2="i_f_Xf_gate"/>
      <map_variables variable_1="Xf" variable_2="Xf"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
</model>