Rendering of the source text

<?xml version="1.0" encoding="utf-8"?>
<!--
This CellML file was generated on 28/07/2017 at 15:22:02 using:

COR (0.9.31.1409)
Copyright 2002-2017 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="varela_2016" cmeta:id="varela_2016" 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="millisecond">
      <unit units="second" prefix="milli"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_millisecond">
      <unit units="millisecond" exponent="-1"/>
   </units>
   <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_millivolt_millisecond">
      <unit units="millivolt" exponent="-1"/>
      <unit units="millisecond" 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="millimolar_per_millisecond">
      <unit units="millimolar"/>
      <unit units="millisecond" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millisecond_per_millimolar">
      <unit units="millisecond"/>
      <unit units="millimolar" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="picoA">
      <unit units="ampere" prefix="pico"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="picoA_per_picoF">
      <unit units="ampere" prefix="pico"/>
      <unit units="farad" prefix="pico" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="nanoS_per_picoF">
      <unit units="siemens" prefix="nano"/>
      <unit units="farad" prefix="pico" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="picoF">
      <unit units="farad" prefix="pico"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="micrometre_3">
      <unit units="metre" prefix="micro" exponent="3"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_micrometre_3">
      <unit units="metre" prefix="micro" exponent="-3"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="mm2">
      <unit units="metre" prefix="milli" exponent="2"/>
   </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_millimole">
      <unit units="coulomb"/>
      <unit units="mole" prefix="milli" exponent="-1"/>
   </units>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="environment">
      <variable name="time" units="millisecond" public_interface="out"/>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="membrane">
      <variable name="V" units="millivolt" initial_value="-85.53" public_interface="out"/>
      <variable name="R" units="joule_per_mole_kelvin" initial_value="8.3143" public_interface="out"/>
      <variable name="T" units="kelvin" initial_value="310" public_interface="out"/>
      <variable name="F" units="coulomb_per_millimole" initial_value="96.4867" public_interface="out"/>
      <variable name="Cm" units="picoF" initial_value="100" public_interface="out"/>
      <variable name="i_st" units="picoA"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <variable name="i_Na" units="picoA" public_interface="in"/>
      <variable name="i_K1" units="picoA" public_interface="in"/>
      <variable name="i_to" units="picoA" public_interface="in"/>
      <variable name="i_Kur" units="picoA" public_interface="in"/>
      <variable name="i_Kr" units="picoA" public_interface="in"/>
      <variable name="i_Ks" units="picoA" public_interface="in"/>
      <variable name="i_Ca_L" units="picoA" public_interface="in"/>
      <variable name="i_CaP" units="picoA" public_interface="in"/>
      <variable name="i_NaK" units="picoA" public_interface="in"/>
      <variable name="i_NaCa" units="picoA" public_interface="in"/>
      <variable name="i_B_Na" units="picoA" public_interface="in"/>
      <variable name="i_B_Ca" units="picoA" public_interface="in"/>
      <variable name="i_B_Cl" units="picoA" public_interface="in"/>
      <variable name="i_K_Ach" units="picoA" public_interface="in"/>
      <variable name="stim_start" units="millisecond" initial_value="50"/>
      <variable name="stim_end" units="millisecond" initial_value="50000"/>
      <variable name="stim_period" units="millisecond" initial_value="1000"/>
      <variable name="stim_duration" units="millisecond" initial_value="2"/>
      <variable name="stim_amplitude" units="picoA" initial_value="-2000"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_st</ci>
            <piecewise>
               <piece>
                  <ci>stim_amplitude</ci>
                  <apply>
                     <and/>
                     <apply>
                        <geq/>
                        <ci>time</ci>
                        <ci>stim_start</ci>
                     </apply>
                     <apply>
                        <leq/>
                        <ci>time</ci>
                        <ci>stim_end</ci>
                     </apply>
                     <apply>
                        <leq/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <ci>time</ci>
                              <ci>stim_start</ci>
                           </apply>
                           <apply>
                              <times/>
                              <apply>
                                 <floor/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <minus/>
                                       <ci>time</ci>
                                       <ci>stim_start</ci>
                                    </apply>
                                    <ci>stim_period</ci>
                                 </apply>
                              </apply>
                              <ci>stim_period</ci>
                           </apply>
                        </apply>
                        <ci>stim_duration</ci>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="picoA">0</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>V</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <ci>i_Na</ci>
                     <ci>i_K1</ci>
                     <ci>i_to</ci>
                     <ci>i_Kur</ci>
                     <ci>i_Kr</ci>
                     <ci>i_Ks</ci>
                     <ci>i_B_Na</ci>
                     <ci>i_B_Ca</ci>
                     <ci>i_NaK</ci>
                     <ci>i_CaP</ci>
                     <ci>i_NaCa</ci>
                     <ci>i_Ca_L</ci>
                     <ci>i_st</ci>
                     <ci>i_B_Cl</ci>
                     <ci>i_K_Ach</ci>
                  </apply>
               </apply>
               <ci>Cm</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="fast_sodium_current">
      <variable name="i_Na" units="picoA" public_interface="out"/>
      <variable name="E_Na" units="millivolt" public_interface="out"/>
      <variable name="g_Na" units="nanoS_per_picoF" initial_value="7.8"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in" private_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in" private_interface="out"/>
      <variable name="Na_i" units="millimolar" public_interface="in"/>
      <variable name="Na_o" units="millimolar" public_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_millimole" public_interface="in"/>
      <variable name="T" units="kelvin" 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"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_Na</ci>
            <apply>
               <times/>
               <ci>Cm</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>V</ci>
                  <ci>E_Na</ci>
               </apply>
            </apply>
         </apply>
         <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>Na_o</ci>
                     <ci>Na_i</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="fast_sodium_current_m_gate">
      <variable name="m" units="dimensionless" initial_value="1.972e-3" public_interface="out"/>
      <variable name="alpha_m" units="per_millisecond"/>
      <variable name="beta_m" units="per_millisecond"/>
      <variable name="m_inf" units="dimensionless"/>
      <variable name="tau_m" units="millisecond"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_m</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="per_millisecond">3.2</cn>
                  <apply>
                     <eq/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="millivolt">47.13</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt_millisecond">0.32</cn>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">47.13</cn>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">0.1</cn>
                              </apply>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">47.13</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>beta_m</ci>
            <apply>
               <times/>
               <cn cellml:units="per_millisecond">0.08</cn>
               <apply>
                  <exp/>
                  <apply>
                     <divide/>
                     <apply>
                        <minus/>
                        <ci>V</ci>
                     </apply>
                     <cn cellml:units="millivolt">11</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>m_inf</ci>
            <apply>
               <divide/>
               <ci>alpha_m</ci>
               <apply>
                  <plus/>
                  <ci>alpha_m</ci>
                  <ci>beta_m</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_m</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <ci>alpha_m</ci>
                  <ci>beta_m</ci>
               </apply>
            </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="fast_sodium_current_h_gate">
      <variable name="h" units="dimensionless" initial_value="9.791e-1" public_interface="out"/>
      <variable name="alpha_h" units="per_millisecond"/>
      <variable name="beta_h" units="per_millisecond"/>
      <variable name="h_inf" units="dimensionless"/>
      <variable name="tau_h" units="millisecond"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <times/>
                     <cn cellml:units="per_millisecond">0.135</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">80</cn>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="millivolt">6.8</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="millivolt">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="per_millisecond">0</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>beta_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millisecond">3.56</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">0.079</cn>
                              <ci>V</ci>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <cn type="e-notation" cellml:units="per_millisecond">3.1   <sep/>
                        5</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">0.35</cn>
                              <ci>V</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="millivolt">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <cn cellml:units="millisecond">0.13</cn>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <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>h_inf</ci>
            <apply>
               <divide/>
               <ci>alpha_h</ci>
               <apply>
                  <plus/>
                  <ci>alpha_h</ci>
                  <ci>beta_h</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_h</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <ci>alpha_h</ci>
                  <ci>beta_h</ci>
               </apply>
            </apply>
         </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="fast_sodium_current_j_gate">
      <variable name="j" units="dimensionless" initial_value="9.869e-1" public_interface="out"/>
      <variable name="alpha_j" units="per_millisecond"/>
      <variable name="beta_j" units="per_millisecond"/>
      <variable name="j_inf" units="dimensionless"/>
      <variable name="tau_j" units="millisecond"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_j</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn type="e-notation" cellml:units="per_millivolt_millisecond">1.2714   <sep/>
                                 5</cn>
                              </apply>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <times/>
                                    <cn cellml:units="per_millivolt">0.2444</cn>
                                    <ci>V</ci>
                                 </apply>
                              </apply>
                           </apply>
                           <apply>
                              <times/>
                              <cn type="e-notation" cellml:units="per_millivolt_millisecond">3.474   <sep/>
                              -5</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <times/>
                                    <apply>
                                       <minus/>
                                       <cn cellml:units="per_millivolt">0.04391</cn>
                                    </apply>
                                    <ci>V</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <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/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">79.23</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="millivolt">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="per_millisecond">0</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>beta_j</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millisecond">0.1212</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">0.01052</cn>
                              </apply>
                              <ci>V</ci>
                           </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/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">40.14</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="millivolt">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millisecond">0.3</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn type="e-notation" cellml:units="per_millivolt">2.535   <sep/>
                                 -7</cn>
                              </apply>
                              <ci>V</ci>
                           </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/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">32</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>j_inf</ci>
            <apply>
               <divide/>
               <ci>alpha_j</ci>
               <apply>
                  <plus/>
                  <ci>alpha_j</ci>
                  <ci>beta_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_j</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <ci>alpha_j</ci>
                  <ci>beta_j</ci>
               </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="time_independent_potassium_current">
      <variable name="i_K1" units="picoA" public_interface="out"/>
      <variable name="E_K" units="millivolt" public_interface="out"/>
      <variable name="g_K1" units="nanoS_per_picoF" initial_value="0.036"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="K_o" units="millimolar" public_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_millimole" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="K_i" units="millimolar" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <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>K_o</ci>
                     <ci>K_i</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_K1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>Cm</ci>
                  <ci>g_K1</ci>
                  <apply>
                     <minus/>
                     <ci>V</ci>
                     <ci>E_K</ci>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">0.66</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt">0.078</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <ci>V</ci>
                              <ci>E_K</ci>
                           </apply>
                           <cn cellml:units="dimensionless">18</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="transient_outward_K_current">
      <variable name="i_to" units="picoA" public_interface="out"/>
      <variable name="g_to" units="nanoS_per_picoF" initial_value="0.07104"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in" private_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in" private_interface="out"/>
      <variable name="oa" units="dimensionless" private_interface="in"/>
      <variable name="oi" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_to</ci>
            <apply>
               <times/>
               <ci>Cm</ci>
               <ci>g_to</ci>
               <apply>
                  <power/>
                  <ci>oa</ci>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
               <ci>oi</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="transient_outward_K_current_oa_gate">
      <variable name="oa" units="dimensionless" initial_value="7.164e-2" public_interface="out"/>
      <variable name="tau_oa" units="millisecond"/>
      <variable name="oa_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>tau_oa</ci>
            <apply>
               <divide/>
               <cn cellml:units="millisecond">0.4</cn>
               <apply>
                  <exp/>
                  <apply>
                     <divide/>
                     <apply>
                        <minus/>
                        <ci>V</ci>
                        <cn cellml:units="millivolt">15</cn>
                     </apply>
                     <cn cellml:units="millivolt">20</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>oa_infinity</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">12</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">11.5</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <divide/>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>oa</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>oa_infinity</ci>
                  <ci>oa</ci>
               </apply>
               <ci>tau_oa</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="transient_outward_K_current_oi_gate">
      <variable name="oi" units="dimensionless" initial_value="9.992e-1" public_interface="out"/>
      <variable name="alpha_oi" units="per_millisecond"/>
      <variable name="beta_oi" units="per_millisecond"/>
      <variable name="tau_oi" units="millisecond"/>
      <variable name="oi_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_oi</ci>
            <apply>
               <divide/>
               <cn cellml:units="per_millisecond">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1.2</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">95.2</cn>
                        </apply>
                        <cn cellml:units="millivolt">5.85</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_oi</ci>
            <apply>
               <divide/>
               <cn cellml:units="per_millisecond">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">9.54</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">48</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">20</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_oi</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <ci>alpha_oi</ci>
                  <ci>beta_oi</ci>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>oi_infinity</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">31</cn>
                        </apply>
                        <cn cellml:units="millivolt">6.45</cn>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>oi</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>oi_infinity</ci>
                  <ci>oi</ci>
               </apply>
               <ci>tau_oi</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="ultrarapid_delayed_rectifier_K_current">
      <variable name="i_Kur" units="picoA" public_interface="out"/>
      <variable name="g_Kur" units="nanoS_per_picoF" initial_value="0.0115" public_interface="out"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in" private_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in" private_interface="out"/>
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="ua" units="dimensionless" private_interface="in"/>
      <variable name="ui" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_Kur</ci>
            <apply>
               <times/>
               <ci>Cm</ci>
               <ci>g_Kur</ci>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">3</cn>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <minus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">14</cn>
                              </apply>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="millivolt">6</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <power/>
                  <ci>ua</ci>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
               <ci>ui</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="ultrarapid_delayed_rectifier_K_current_ua_gate">
      <variable name="ua" units="dimensionless" initial_value="0.05869" public_interface="out"/>
      <variable name="alpha_ua" units="per_millisecond"/>
      <variable name="beta_ua" units="per_millisecond"/>
      <variable name="tau_ua" units="millisecond"/>
      <variable name="ua_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_ua</ci>
            <apply>
               <divide/>
               <cn cellml:units="per_millisecond">1.47</cn>
               <apply>
                  <plus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">33.2</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">30.63</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">27.6</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">30.65</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_ua</ci>
            <apply>
               <divide/>
               <cn cellml:units="per_millisecond">0.42</cn>
               <apply>
                  <plus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">26.64</cn>
                        </apply>
                        <cn cellml:units="millivolt">2.49</cn>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">44.41</cn>
                        </apply>
                        <cn cellml:units="millivolt">20.36</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_ua</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <ci>alpha_ua</ci>
                  <ci>beta_ua</ci>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>ua_infinity</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">2.81</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">9.49</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <divide/>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>ua</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>ua_infinity</ci>
                  <ci>ua</ci>
               </apply>
               <ci>tau_ua</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="ultrarapid_delayed_rectifier_K_current_ui_gate">
      <variable name="ui" units="dimensionless" initial_value="9.987e-1" public_interface="out"/>
      <variable name="alpha_ui" units="per_millisecond"/>
      <variable name="beta_ui" units="per_millisecond"/>
      <variable name="tau_ui" units="millisecond"/>
      <variable name="ui_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_ui</ci>
            <apply>
               <divide/>
               <cn cellml:units="per_millisecond">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">21</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">185</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">28</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_ui</ci>
            <apply>
               <times/>
               <cn cellml:units="per_millisecond">1</cn>
               <apply>
                  <exp/>
                  <apply>
                     <divide/>
                     <apply>
                        <minus/>
                        <ci>V</ci>
                        <cn cellml:units="millivolt">158</cn>
                     </apply>
                     <cn cellml:units="millivolt">16</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_ui</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <ci>alpha_ui</ci>
                  <ci>beta_ui</ci>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>ui_infinity</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">99.45</cn>
                        </apply>
                        <cn cellml:units="millivolt">27.48</cn>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>ui</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>ui_infinity</ci>
                  <ci>ui</ci>
               </apply>
               <ci>tau_ui</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="rapid_delayed_rectifier_K_current">
      <variable name="i_Kr" units="picoA" public_interface="out"/>
      <variable name="g_Kr" units="nanoS_per_picoF" initial_value="0.022475"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in" private_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in" private_interface="out"/>
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="xr" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_Kr</ci>
            <apply>
               <times/>
               <ci>Cm</ci>
               <ci>g_Kr</ci>
               <ci>xr</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">0.6</cn>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">0.5</cn>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.5</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">8</cn>
                                 </apply>
                                 <cn cellml:units="millivolt">24.4</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="rapid_delayed_rectifier_K_current_xr_gate">
      <variable name="xr" units="dimensionless" initial_value="7.433e-7" public_interface="out"/>
      <variable name="alpha_xr" units="per_millisecond"/>
      <variable name="beta_xr" units="per_millisecond"/>
      <variable name="tau_xr" units="millisecond"/>
      <variable name="xr_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_xr</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="per_millivolt_millisecond">0.04</cn>
                  <apply>
                     <minus/>
                     <ci>V</ci>
                     <cn cellml:units="millivolt">248</cn>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">248</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">28</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_xr</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="per_millivolt_millisecond">0.028</cn>
                  <apply>
                     <plus/>
                     <ci>V</ci>
                     <cn cellml:units="millivolt">163</cn>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">163</cn>
                        </apply>
                        <cn cellml:units="millivolt">21</cn>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_xr</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <ci>alpha_xr</ci>
                  <ci>beta_xr</ci>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>xr_infinity</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">7.654</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">5.377</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>xr</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>xr_infinity</ci>
                  <ci>xr</ci>
               </apply>
               <ci>tau_xr</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="slow_delayed_rectifier_K_current">
      <variable name="i_Ks" units="picoA" public_interface="out"/>
      <variable name="g_Ks" units="nanoS_per_picoF" initial_value="0.0832"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in" private_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in" private_interface="out"/>
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="xs" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_Ks</ci>
            <apply>
               <times/>
               <ci>Cm</ci>
               <ci>g_Ks</ci>
               <apply>
                  <power/>
                  <ci>xs</ci>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="slow_delayed_rectifier_K_current_xs_gate">
      <variable name="xs" units="dimensionless" initial_value="0.01791" public_interface="out"/>
      <variable name="alpha_xs" units="per_millisecond"/>
      <variable name="beta_xs" units="per_millisecond"/>
      <variable name="tau_xs" units="millisecond"/>
      <variable name="xs_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_xs</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="per_millisecond">0.00115</cn>
                  <apply>
                     <lt/>
                     <apply>
                        <abs/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">28.5</cn>
                        </apply>
                     </apply>
                     <cn type="e-notation" cellml:units="millivolt">1   <sep/>
                     -10</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt_millisecond">0.00001</cn>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">28.5</cn>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">28.5</cn>
                              </apply>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="millivolt">115</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>beta_xs</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="per_millisecond">0.000759</cn>
                  <apply>
                     <lt/>
                     <apply>
                        <abs/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">28.5</cn>
                        </apply>
                     </apply>
                     <cn type="e-notation" cellml:units="millivolt">1   <sep/>
                     -10</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt_millisecond">0.00023</cn>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">28.5</cn>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">28.5</cn>
                              </apply>
                              <cn cellml:units="millivolt">3.3</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1</cn>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>tau_xs</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <ci>alpha_xs</ci>
                  <ci>beta_xs</ci>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>xs_infinity</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">13</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">12</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">0.5</cn>
               </apply>
            </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_K_Ach">
      <variable name="i_K_Ach" units="picoA" public_interface="out"/>
      <variable name="g_K_Ach" units="nanoS_per_picoF" initial_value="0.0065"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in" private_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in" private_interface="out"/>
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="xa" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_K_Ach</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>Cm</ci>
                  <ci>g_K_Ach</ci>
                  <ci>xa</ci>
                  <apply>
                     <minus/>
                     <ci>V</ci>
                     <ci>E_K</ci>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">0.1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.078</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <ci>V</ci>
                              <ci>E_K</ci>
                           </apply>
                           <cn cellml:units="millivolt">65</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_K_Ach_xa_gate">
      <variable name="xa" units="dimensionless" initial_value="1e-5" public_interface="out"/>
      <variable name="tau_xa" units="millisecond"/>
      <variable name="xa_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>tau_xa</ci>
            <apply>
               <plus/>
               <cn cellml:units="per_millisecond">360</cn>
               <apply>
                  <times/>
                  <cn cellml:units="per_millisecond">130</cn>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">130</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">50</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>xa_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>
                              <minus/>
                              <cn cellml:units="millivolt">93</cn>
                           </apply>
                           <ci>V</ci>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">15.2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>xa</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>xa_infinity</ci>
                  <ci>xa</ci>
               </apply>
               <ci>tau_xa</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="L_type_Ca_channel">
      <variable name="i_Ca_L" units="picoA" public_interface="out"/>
      <variable name="g_Ca_L" units="nanoS_per_picoF" initial_value="0.255"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in" private_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in" private_interface="out"/>
      <variable name="Ca_i" units="millimolar" public_interface="in" private_interface="out"/>
      <variable name="d" units="dimensionless" private_interface="in"/>
      <variable name="f" units="dimensionless" private_interface="in"/>
      <variable name="f_Ca" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_Ca_L</ci>
            <apply>
               <times/>
               <ci>Cm</ci>
               <ci>g_Ca_L</ci>
               <ci>d</ci>
               <ci>f</ci>
               <ci>f_Ca</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <cn cellml:units="millivolt">60</cn>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="L_type_Ca_channel_d_gate">
      <variable name="d" units="dimensionless" initial_value="4.757e-6" public_interface="out"/>
      <variable name="d_infinity" units="dimensionless"/>
      <variable name="tau_d" units="millisecond"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>d_infinity</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <ci>V</ci>
                           </apply>
                           <cn cellml:units="millivolt">2</cn>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_d</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="millisecond">0.763</cn>
                  <apply>
                     <lt/>
                     <apply>
                        <abs/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">10</cn>
                        </apply>
                     </apply>
                     <cn type="e-notation" cellml:units="millivolt">1   <sep/>
                     -10</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">10</cn>
                              </apply>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="millivolt">6.24</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt_millisecond">0.035</cn>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">10</cn>
                        </apply>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">10</cn>
                                 </apply>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">6.24</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </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="L_type_Ca_channel_f_gate">
      <variable name="f" units="dimensionless" initial_value="0.9999" public_interface="out"/>
      <variable name="f_infinity" units="dimensionless"/>
      <variable name="tau_f" units="millisecond"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>f_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">34</cn>
                        </apply>
                        <cn cellml:units="millivolt">6.3</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_f</ci>
            <apply>
               <divide/>
               <cn cellml:units="millisecond">400</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="millisecond">1</cn>
                  <apply>
                     <times/>
                     <cn cellml:units="millisecond">4.5</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <minus/>
                           <apply>
                              <power/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">9</cn>
                                 </apply>
                                 <cn cellml:units="per_millivolt">0.0265</cn>
                              </apply>
                              <cn cellml:units="dimensionless">2</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>f</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>f_infinity</ci>
                  <ci>f</ci>
               </apply>
               <ci>tau_f</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="L_type_Ca_channel_f_Ca_gate">
      <variable name="f_Ca" units="dimensionless" initial_value="0.7484" public_interface="out"/>
      <variable name="f_Ca_infinity" units="dimensionless"/>
      <variable name="tau_f_Ca" units="millisecond"/>
      <variable name="Ca_i" units="millimolar" public_interface="in"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>f_Ca_infinity</ci>
            <apply>
               <plus/>
               <cn cellml:units="dimensionless">0.29</cn>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">0.8</cn>
                  <apply>
                     <power/>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <ci>Ca_i</ci>
                              <cn type="e-notation" cellml:units="millimolar">1.2   <sep/>
                              -4</cn>
                           </apply>
                           <cn type="e-notation" cellml:units="millimolar">6   <sep/>
                           -5</cn>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_f_Ca</ci>
            <cn cellml:units="millisecond">2</cn>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>f_Ca</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>f_Ca_infinity</ci>
                  <ci>f_Ca</ci>
               </apply>
               <ci>tau_f_Ca</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="sodium_potassium_pump">
      <variable name="i_NaK" units="picoA" public_interface="out"/>
      <variable name="Km_Na_i" units="millimolar" initial_value="10"/>
      <variable name="Km_K_o" units="millimolar" initial_value="1.5"/>
      <variable name="i_NaK_max" units="picoA_per_picoF" initial_value="0.6"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="f_NaK" units="dimensionless"/>
      <variable name="sigma" units="dimensionless"/>
      <variable name="K_o" units="millimolar" public_interface="in"/>
      <variable name="Na_i" units="millimolar" public_interface="in"/>
      <variable name="Na_o" units="millimolar" public_interface="in"/>
      <variable name="V" units="millivolt" 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_millimole" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>sigma</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1</cn>
                  <cn cellml:units="dimensionless">7</cn>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Na_o</ci>
                        <cn cellml:units="millimolar">67.3</cn>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>f_NaK</ci>
            <apply>
               <power/>
               <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>F</ci>
                              <ci>V</ci>
                           </apply>
                           <apply>
                              <times/>
                              <ci>R</ci>
                              <ci>T</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.0365</cn>
                     <ci>sigma</ci>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>F</ci>
                              </apply>
                              <ci>V</ci>
                           </apply>
                           <apply>
                              <times/>
                              <ci>R</ci>
                              <ci>T</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_NaK</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>Cm</ci>
                        <ci>i_NaK_max</ci>
                        <ci>f_NaK</ci>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <ci>Km_Na_i</ci>
                              <ci>Na_i</ci>
                           </apply>
                           <cn cellml:units="dimensionless">1.5</cn>
                        </apply>
                     </apply>
                  </apply>
                  <ci>K_o</ci>
               </apply>
               <apply>
                  <plus/>
                  <ci>K_o</ci>
                  <ci>Km_K_o</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="background_currents">
      <variable name="i_B_Na" units="picoA" public_interface="out"/>
      <variable name="i_B_Ca" units="picoA" public_interface="out"/>
      <variable name="i_B_Cl" units="picoA" public_interface="out"/>
      <variable name="g_B_Na" units="nanoS_per_picoF" initial_value="1e-5"/>
      <variable name="g_B_Ca" units="nanoS_per_picoF" initial_value="1e-5"/>
      <variable name="g_B_Cl" units="nanoS_per_picoF" initial_value="0.0055"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="E_Na" units="millivolt" public_interface="in"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="Ca_i" units="millimolar" public_interface="in"/>
      <variable name="Ca_o" units="millimolar" public_interface="in"/>
      <variable name="Cl_i" units="millimolar" public_interface="in"/>
      <variable name="Cl_o" units="millimolar" public_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_millimole" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_B_Na</ci>
            <apply>
               <times/>
               <ci>Cm</ci>
               <ci>g_B_Na</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Na</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_B_Ca</ci>
            <apply>
               <times/>
               <ci>Cm</ci>
               <ci>g_B_Ca</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <ci>R</ci>
                           <ci>T</ci>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">2</cn>
                           <ci>F</ci>
                        </apply>
                     </apply>
                     <apply>
                        <ln/>
                        <apply>
                           <divide/>
                           <ci>Ca_o</ci>
                           <ci>Ca_i</ci>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_B_Cl</ci>
            <apply>
               <times/>
               <ci>Cm</ci>
               <ci>g_B_Cl</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <ci>R</ci>
                           <ci>T</ci>
                        </apply>
                        <ci>F</ci>
                     </apply>
                     <apply>
                        <ln/>
                        <apply>
                           <divide/>
                           <ci>Cl_i</ci>
                           <ci>Cl_o</ci>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Na_Ca_exchanger_current">
      <variable name="i_NaCa" units="picoA" public_interface="out"/>
      <variable name="I_NaCa_max" units="picoA_per_picoF" initial_value="1600"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="K_mNa" units="millimolar" initial_value="87.5"/>
      <variable name="K_mCa" units="millimolar" initial_value="1.38"/>
      <variable name="K_sat" units="dimensionless" initial_value="0.1"/>
      <variable name="gamma" units="dimensionless" initial_value="0.35"/>
      <variable name="V" units="millivolt" 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_millimole" public_interface="in"/>
      <variable name="Na_i" units="millimolar" public_interface="in"/>
      <variable name="Na_o" units="millimolar" public_interface="in"/>
      <variable name="Ca_i" units="millimolar" public_interface="in"/>
      <variable name="Ca_o" units="millimolar" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_NaCa</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>Cm</ci>
                  <ci>I_NaCa_max</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <times/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <ci>gamma</ci>
                                 <ci>F</ci>
                                 <ci>V</ci>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <power/>
                           <ci>Na_i</ci>
                           <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Ca_o</ci>
                     </apply>
                     <apply>
                        <times/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>gamma</ci>
                                    <cn cellml:units="dimensionless">1</cn>
                                 </apply>
                                 <ci>F</ci>
                                 <ci>V</ci>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <power/>
                           <ci>Na_o</ci>
                           <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Ca_i</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>K_mNa</ci>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>Na_o</ci>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>K_mCa</ci>
                     <ci>Ca_o</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <ci>K_sat</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>gamma</ci>
                                    <cn cellml:units="dimensionless">1</cn>
                                 </apply>
                                 <ci>V</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="sarcolemmal_calcium_pump_current">
      <variable name="i_CaP" units="picoA" public_interface="out"/>
      <variable name="i_CaP_max" units="picoA_per_picoF" initial_value="0.275"/>
      <variable name="Cm" units="picoF" public_interface="in"/>
      <variable name="Ca_i" units="millimolar" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_CaP</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>Cm</ci>
                  <ci>i_CaP_max</ci>
                  <ci>Ca_i</ci>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="millimolar">0.0005</cn>
                  <ci>Ca_i</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Ca_release_current_from_JSR">
      <variable name="i_rel" units="millimolar_per_millisecond" public_interface="out"/>
      <variable name="Fn" units="dimensionless" private_interface="out"/>
      <variable name="K_rel" units="per_millisecond" initial_value="8"/>
      <variable name="V_rel" units="micrometre_3" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in" private_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in" private_interface="out"/>
      <variable name="Ca_i" units="millimolar" public_interface="in"/>
      <variable name="Ca_rel" units="millimolar" public_interface="in"/>
      <variable name="i_Ca_L" units="picoA" public_interface="in"/>
      <variable name="i_NaCa" units="picoA" public_interface="in"/>
      <variable name="F" units="coulomb_per_millimole" public_interface="in"/>
      <variable name="u" units="dimensionless" private_interface="in"/>
      <variable name="v" units="dimensionless" private_interface="in"/>
      <variable name="w" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Fn</ci>
            <apply>
               <times/>
               <cn type="e-notation" cellml:units="millisecond_per_millimolar">1   <sep/>
               3</cn>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <cn type="e-notation" cellml:units="per_micrometre_3">1   <sep/>
                     -15</cn>
                     <ci>V_rel</ci>
                     <ci>i_rel</ci>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <cn type="e-notation" cellml:units="per_micrometre_3">1   <sep/>
                        -15</cn>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">2</cn>
                           <ci>F</ci>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.5</cn>
                           <ci>i_Ca_L</ci>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.2</cn>
                           <ci>i_NaCa</ci>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_rel</ci>
            <apply>
               <times/>
               <ci>K_rel</ci>
               <apply>
                  <power/>
                  <ci>u</ci>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
               <ci>v</ci>
               <ci>w</ci>
               <apply>
                  <minus/>
                  <ci>Ca_rel</ci>
                  <ci>Ca_i</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Ca_release_current_from_JSR_u_gate">
      <variable name="u" units="dimensionless" initial_value="0" public_interface="out"/>
      <variable name="tau_u" units="millisecond"/>
      <variable name="u_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <variable name="Fn" units="dimensionless" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>tau_u</ci>
            <cn cellml:units="millisecond">11.2</cn>
         </apply>
         <apply>
            <eq/>
            <ci>u_infinity</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <ci>Fn</ci>
                              <cn type="e-notation" cellml:units="dimensionless">3.4175   <sep/>
                              -13</cn>
                           </apply>
                        </apply>
                        <cn type="e-notation" cellml:units="dimensionless">13.67   <sep/>
                        -16</cn>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>u</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>u_infinity</ci>
                  <ci>u</ci>
               </apply>
               <ci>tau_u</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Ca_release_current_from_JSR_v_gate">
      <variable name="v" units="dimensionless" initial_value="1" public_interface="out"/>
      <variable name="tau_v" units="millisecond"/>
      <variable name="v_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <variable name="Fn" units="dimensionless" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>tau_v</ci>
            <apply>
               <plus/>
               <cn cellml:units="millisecond">1.91</cn>
               <apply>
                  <times/>
                  <cn cellml:units="millisecond">2.09</cn>
                  <apply>
                     <power/>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <minus/>
                                    <ci>Fn</ci>
                                    <cn type="e-notation" cellml:units="dimensionless">3.4175   <sep/>
                                    -13</cn>
                                 </apply>
                              </apply>
                              <cn type="e-notation" cellml:units="dimensionless">13.67   <sep/>
                              -16</cn>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_infinity</ci>
            <apply>
               <minus/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <power/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <minus/>
                                 <ci>Fn</ci>
                                 <cn type="e-notation" cellml:units="dimensionless">6.835   <sep/>
                                 -14</cn>
                              </apply>
                           </apply>
                           <cn type="e-notation" cellml:units="dimensionless">13.67   <sep/>
                           -16</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>v</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>v_infinity</ci>
                  <ci>v</ci>
               </apply>
               <ci>tau_v</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Ca_release_current_from_JSR_w_gate">
      <variable name="w" units="dimensionless" initial_value="0.9993" public_interface="out"/>
      <variable name="tau_w" units="millisecond"/>
      <variable name="w_infinity" units="dimensionless"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>tau_w</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="millisecond">6</cn>
                        <cn cellml:units="dimensionless">0.2</cn>
                     </apply>
                     <cn cellml:units="dimensionless">1.3</cn>
                  </apply>
                  <apply>
                     <lt/>
                     <apply>
                        <abs/>
                        <apply>
                           <minus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">7.9</cn>
                        </apply>
                     </apply>
                     <cn type="e-notation" cellml:units="millivolt">1   <sep/>
                     -10</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="millisecond">6</cn>
                        <apply>
                           <minus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <minus/>
                                    <apply>
                                       <minus/>
                                       <ci>V</ci>
                                       <cn cellml:units="millivolt">7.9</cn>
                                    </apply>
                                 </apply>
                                 <cn cellml:units="millivolt">5</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">0.3</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <minus/>
                                       <apply>
                                          <minus/>
                                          <ci>V</ci>
                                          <cn cellml:units="millivolt">7.9</cn>
                                       </apply>
                                    </apply>
                                    <cn cellml:units="millivolt">5</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <cn cellml:units="per_millivolt">1</cn>
                        <apply>
                           <minus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">7.9</cn>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>w_infinity</ci>
            <apply>
               <minus/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <power/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <minus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">40</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">17</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>w</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>w_infinity</ci>
                  <ci>w</ci>
               </apply>
               <ci>tau_w</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="transfer_current_from_NSR_to_JSR">
      <variable name="i_tr" units="millimolar_per_millisecond" public_interface="out"/>
      <variable name="tau_tr" units="millisecond" initial_value="180"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <variable name="Ca_rel" units="millimolar" public_interface="in"/>
      <variable name="Ca_up" units="millimolar" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_tr</ci>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>Ca_up</ci>
                  <ci>Ca_rel</ci>
               </apply>
               <ci>tau_tr</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Ca_uptake_current_by_the_NSR">
      <variable name="I_up_max" units="millimolar_per_millisecond" initial_value="0.0035" public_interface="out"/>
      <variable name="i_up" units="millimolar_per_millisecond" public_interface="out"/>
      <variable name="K_up" units="millimolar" initial_value="6e-4"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <variable name="Ca_i" units="millimolar" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_up</ci>
            <apply>
               <divide/>
               <ci>I_up_max</ci>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <ci>K_up</ci>
                     <ci>Ca_i</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Ca_leak_current_by_the_NSR">
      <variable name="i_up_leak" units="millimolar_per_millisecond" public_interface="out"/>
      <variable name="Ca_up_max" units="millimolar" initial_value="27"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <variable name="Ca_up" units="millimolar" public_interface="in"/>
      <variable name="I_up_max" units="millimolar_per_millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_up_leak</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>I_up_max</ci>
                  <ci>Ca_up</ci>
               </apply>
               <ci>Ca_up_max</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Ca_buffers">
      <variable name="CMDN_max" units="millimolar" initial_value="0.045" public_interface="out"/>
      <variable name="TRPN_max" units="millimolar" initial_value="0.35" public_interface="out"/>
      <variable name="CSQN_max" units="millimolar" initial_value="10" public_interface="out"/>
      <variable name="Ca_CMDN" units="millimolar" initial_value="1.856e-3" public_interface="out"/>
      <variable name="Ca_TRPN" units="millimolar" initial_value="7.022e-3" public_interface="out"/>
      <variable name="Ca_CSQN" units="millimolar" initial_value="6.432" public_interface="out"/>
      <variable name="var_CMDN" units="millimolar" public_interface="out"/>
      <variable name="var_TRPN" units="millimolar" public_interface="out"/>
      <variable name="var_CSQN" units="millimolar" public_interface="out"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <variable name="Ca_i" units="millimolar" public_interface="in"/>
      <variable name="Ca_rel" units="millimolar" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>var_CMDN</ci>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">200</cn>
                  <ci>Ca_i</ci>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <divide/>
                        <ci>Ca_CMDN</ci>
                        <ci>CMDN_max</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.476</cn>
                     <ci>Ca_CMDN</ci>
                  </apply>
                  <ci>CMDN_max</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>var_TRPN</ci>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">78.4</cn>
                  <ci>Ca_i</ci>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <divide/>
                        <ci>Ca_TRPN</ci>
                        <ci>TRPN_max</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.392</cn>
                     <ci>Ca_TRPN</ci>
                  </apply>
                  <ci>TRPN_max</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>var_CSQN</ci>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">0.48</cn>
                  <ci>Ca_rel</ci>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <divide/>
                        <ci>Ca_CSQN</ci>
                        <ci>CSQN_max</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.4</cn>
                     <ci>Ca_CSQN</ci>
                  </apply>
                  <ci>CSQN_max</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_CMDN</ci>
            </apply>
            <apply>
               <times/>
               <ci>var_CMDN</ci>
               <ci>CMDN_max</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_TRPN</ci>
            </apply>
            <apply>
               <times/>
               <ci>var_TRPN</ci>
               <ci>TRPN_max</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_CSQN</ci>
            </apply>
            <apply>
               <times/>
               <ci>var_CSQN</ci>
               <ci>CSQN_max</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="intracellular_ion_concentrations">
      <variable name="Na_i" units="millimolar" initial_value="11.75" public_interface="out"/>
      <variable name="Ca_i" units="millimolar" initial_value="1.024e-4" public_interface="out"/>
      <variable name="Cl_i" units="millimolar" initial_value="29.26" public_interface="out"/>
      <variable name="K_i" units="millimolar" initial_value="138.4" public_interface="out"/>
      <variable name="Ca_rel" units="millimolar" initial_value="1.502" public_interface="out"/>
      <variable name="Ca_up" units="millimolar" initial_value="1.502" public_interface="out"/>
      <variable name="V_cell" units="micrometre_3" initial_value="20100"/>
      <variable name="V_i" units="micrometre_3"/>
      <variable name="V_rel" units="micrometre_3" public_interface="out"/>
      <variable name="V_up" units="micrometre_3"/>
      <variable name="time" units="millisecond" public_interface="in"/>
      <variable name="F" units="coulomb_per_millimole" public_interface="in"/>
      <variable name="i_NaK" units="picoA" public_interface="in"/>
      <variable name="i_K_Ach" units="picoA" public_interface="in"/>
      <variable name="i_NaCa" units="picoA" public_interface="in"/>
      <variable name="i_B_Na" units="picoA" public_interface="in"/>
      <variable name="i_Na" units="picoA" public_interface="in"/>
      <variable name="i_K1" units="picoA" public_interface="in"/>
      <variable name="i_to" units="picoA" public_interface="in"/>
      <variable name="i_Kur" units="picoA" public_interface="in"/>
      <variable name="i_Kr" units="picoA" public_interface="in"/>
      <variable name="i_Ks" units="picoA" public_interface="in"/>
      <variable name="i_CaP" units="picoA" public_interface="in"/>
      <variable name="i_Ca_L" units="picoA" public_interface="in"/>
      <variable name="i_B_Ca" units="picoA" public_interface="in"/>
      <variable name="i_B_Cl" units="picoA" public_interface="in"/>
      <variable name="i_up" units="millimolar_per_millisecond" public_interface="in"/>
      <variable name="i_up_leak" units="millimolar_per_millisecond" public_interface="in"/>
      <variable name="i_tr" units="millimolar_per_millisecond" public_interface="in"/>
      <variable name="i_rel" units="millimolar_per_millisecond" public_interface="in"/>
      <variable name="CMDN_max" units="millimolar" public_interface="in"/>
      <variable name="TRPN_max" units="millimolar" public_interface="in"/>
      <variable name="var_CMDN" units="millimolar" public_interface="in"/>
      <variable name="var_TRPN" units="millimolar" public_interface="in"/>
      <variable name="var_CSQN" units="millimolar" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>V_i</ci>
            <apply>
               <times/>
               <ci>V_cell</ci>
               <cn cellml:units="dimensionless">0.68</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>V_rel</ci>
            <apply>
               <times/>
               <cn cellml:units="dimensionless">0.0048</cn>
               <ci>V_cell</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>V_up</ci>
            <apply>
               <times/>
               <cn cellml:units="dimensionless">0.0552</cn>
               <ci>V_cell</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Na_i</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                     <ci>i_NaK</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">3</cn>
                        <ci>i_NaCa</ci>
                     </apply>
                     <ci>i_B_Na</ci>
                     <ci>i_Na</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>V_i</ci>
                  <ci>F</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>K_i</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">2</cn>
                     <ci>i_NaK</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>i_K1</ci>
                     <ci>i_to</ci>
                     <ci>i_Kur</ci>
                     <ci>i_Kr</ci>
                     <ci>i_Ks</ci>
                     <ci>i_K_Ach</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>V_i</ci>
                  <ci>F</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Cl_i</ci>
            </apply>
            <apply>
               <divide/>
               <ci>i_B_Cl</ci>
               <apply>
                  <times/>
                  <ci>V_i</ci>
                  <ci>F</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_i</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">2</cn>
                              <ci>i_NaCa</ci>
                           </apply>
                           <apply>
                              <plus/>
                              <ci>i_CaP</ci>
                              <ci>i_Ca_L</ci>
                              <ci>i_B_Ca</ci>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">2</cn>
                           <ci>V_i</ci>
                           <ci>F</ci>
                        </apply>
                     </apply>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>V_up</ci>
                              <apply>
                                 <minus/>
                                 <ci>i_up_leak</ci>
                                 <ci>i_up</ci>
                              </apply>
                           </apply>
                           <apply>
                              <times/>
                              <ci>i_rel</ci>
                              <ci>V_rel</ci>
                           </apply>
                        </apply>
                        <ci>V_i</ci>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <ci>TRPN_max</ci>
                     <ci>var_TRPN</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>CMDN_max</ci>
                  <ci>var_CMDN</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_up</ci>
            </apply>
            <apply>
               <minus/>
               <ci>i_up</ci>
               <apply>
                  <plus/>
                  <ci>i_up_leak</ci>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>i_tr</ci>
                        <ci>V_rel</ci>
                     </apply>
                     <ci>V_up</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_rel</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <ci>i_tr</ci>
                  <ci>i_rel</ci>
               </apply>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">31</cn>
                  <ci>var_CSQN</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="standard_ionic_concentrations">
      <variable name="Na_o" units="millimolar" initial_value="140" public_interface="out"/>
      <variable name="Ca_o" units="millimolar" initial_value="1.8" public_interface="out"/>
      <variable name="K_o" units="millimolar" initial_value="5.4" public_interface="out"/>
      <variable name="Cl_o" units="millimolar" initial_value="132" public_interface="out"/>
   </component>
   <group xmlns="http://www.cellml.org/cellml/1.0#">
      <relationship_ref relationship="containment"/>
      <component_ref component="membrane">
         <component_ref component="fast_sodium_current">
            <component_ref component="fast_sodium_current_m_gate"/>
            <component_ref component="fast_sodium_current_h_gate"/>
            <component_ref component="fast_sodium_current_j_gate"/>
         </component_ref>
         <component_ref component="time_independent_potassium_current"/>
         <component_ref component="transient_outward_K_current">
            <component_ref component="transient_outward_K_current_oa_gate"/>
            <component_ref component="transient_outward_K_current_oi_gate"/>
         </component_ref>
         <component_ref component="ultrarapid_delayed_rectifier_K_current">
            <component_ref component="ultrarapid_delayed_rectifier_K_current_ua_gate"/>
            <component_ref component="ultrarapid_delayed_rectifier_K_current_ui_gate"/>
         </component_ref>
         <component_ref component="rapid_delayed_rectifier_K_current">
            <component_ref component="rapid_delayed_rectifier_K_current_xr_gate"/>
         </component_ref>
         <component_ref component="slow_delayed_rectifier_K_current">
            <component_ref component="slow_delayed_rectifier_K_current_xs_gate"/>
         </component_ref>
         <component_ref component="L_type_Ca_channel">
            <component_ref component="L_type_Ca_channel_d_gate"/>
            <component_ref component="L_type_Ca_channel_f_gate"/>
            <component_ref component="L_type_Ca_channel_f_Ca_gate"/>
         </component_ref>
         <component_ref component="sodium_potassium_pump"/>
         <component_ref component="background_currents"/>
         <component_ref component="Na_Ca_exchanger_current"/>
         <component_ref component="sarcolemmal_calcium_pump_current"/>
         <component_ref component="i_K_Ach">
            <component_ref component="i_K_Ach_xa_gate"/>
         </component_ref>
         <component_ref component="Ca_release_current_from_JSR">
            <component_ref component="Ca_release_current_from_JSR_u_gate"/>
            <component_ref component="Ca_release_current_from_JSR_v_gate"/>
            <component_ref component="Ca_release_current_from_JSR_w_gate"/>
         </component_ref>
         <component_ref component="transfer_current_from_NSR_to_JSR"/>
         <component_ref component="Ca_uptake_current_by_the_NSR"/>
         <component_ref component="Ca_leak_current_by_the_NSR"/>
         <component_ref component="Ca_buffers"/>
         <component_ref component="intracellular_ion_concentrations"/>
         <component_ref component="standard_ionic_concentrations"/>
      </component_ref>
   </group>
   <group xmlns="http://www.cellml.org/cellml/1.0#">
      <relationship_ref relationship="encapsulation"/>
      <component_ref component="fast_sodium_current">
         <component_ref component="fast_sodium_current_m_gate"/>
         <component_ref component="fast_sodium_current_h_gate"/>
         <component_ref component="fast_sodium_current_j_gate"/>
      </component_ref>
      <component_ref component="transient_outward_K_current">
         <component_ref component="transient_outward_K_current_oa_gate"/>
         <component_ref component="transient_outward_K_current_oi_gate"/>
      </component_ref>
      <component_ref component="ultrarapid_delayed_rectifier_K_current">
         <component_ref component="ultrarapid_delayed_rectifier_K_current_ua_gate"/>
         <component_ref component="ultrarapid_delayed_rectifier_K_current_ui_gate"/>
      </component_ref>
      <component_ref component="rapid_delayed_rectifier_K_current">
         <component_ref component="rapid_delayed_rectifier_K_current_xr_gate"/>
      </component_ref>
      <component_ref component="i_K_Ach">
         <component_ref component="i_K_Ach_xa_gate"/>
      </component_ref>
      <component_ref component="slow_delayed_rectifier_K_current">
         <component_ref component="slow_delayed_rectifier_K_current_xs_gate"/>
      </component_ref>
      <component_ref component="L_type_Ca_channel">
         <component_ref component="L_type_Ca_channel_d_gate"/>
         <component_ref component="L_type_Ca_channel_f_gate"/>
         <component_ref component="L_type_Ca_channel_f_Ca_gate"/>
      </component_ref>
      <component_ref component="Ca_release_current_from_JSR">
         <component_ref component="Ca_release_current_from_JSR_u_gate"/>
         <component_ref component="Ca_release_current_from_JSR_v_gate"/>
         <component_ref component="Ca_release_current_from_JSR_w_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="fast_sodium_current" 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="transient_outward_K_current" 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="ultrarapid_delayed_rectifier_K_current" 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="rapid_delayed_rectifier_K_current" 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="slow_delayed_rectifier_K_current" 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="L_type_Ca_channel" 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_K_Ach" 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="Ca_release_current_from_JSR" 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="transfer_current_from_NSR_to_JSR" 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="Ca_uptake_current_by_the_NSR" 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="Ca_leak_current_by_the_NSR" 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="Ca_buffers" 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="intracellular_ion_concentrations" 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="membrane" component_2="fast_sodium_current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_Na" variable_2="i_Na"/>
      <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="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="time_independent_potassium_current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_K1" variable_2="i_K1"/>
      <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="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="transient_outward_K_current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_to" variable_2="i_to"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="ultrarapid_delayed_rectifier_K_current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_Kur" variable_2="i_Kur"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="i_K_Ach"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_K_Ach" variable_2="i_K_Ach"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="rapid_delayed_rectifier_K_current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_Kr" variable_2="i_Kr"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="slow_delayed_rectifier_K_current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_Ks" variable_2="i_Ks"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="L_type_Ca_channel"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_Ca_L" variable_2="i_Ca_L"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="sodium_potassium_pump"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
      <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="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="background_currents"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_B_Ca" variable_2="i_B_Ca"/>
      <map_variables variable_1="i_B_Na" variable_2="i_B_Na"/>
      <map_variables variable_1="i_B_Cl" variable_2="i_B_Cl"/>
      <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="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="Na_Ca_exchanger_current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
      <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="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="sarcolemmal_calcium_pump_current"/>
      <map_variables variable_1="i_CaP" variable_2="i_CaP"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Ca_release_current_from_JSR" component_2="membrane"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="F" variable_2="F"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="F" variable_2="F"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="fast_sodium_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_Na" variable_2="i_Na"/>
      <map_variables variable_1="Na_i" variable_2="Na_i"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="fast_sodium_current" component_2="standard_ionic_concentrations"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="fast_sodium_current" component_2="background_currents"/>
      <map_variables variable_1="E_Na" variable_2="E_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="time_independent_potassium_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_K1" variable_2="i_K1"/>
      <map_variables variable_1="K_i" variable_2="K_i"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="time_independent_potassium_current" component_2="standard_ionic_concentrations"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="time_independent_potassium_current" component_2="transient_outward_K_current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="time_independent_potassium_current" component_2="i_K_Ach"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="time_independent_potassium_current" component_2="background_currents"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="time_independent_potassium_current" component_2="ultrarapid_delayed_rectifier_K_current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="time_independent_potassium_current" component_2="rapid_delayed_rectifier_K_current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="time_independent_potassium_current" component_2="slow_delayed_rectifier_K_current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="ultrarapid_delayed_rectifier_K_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_Kur" variable_2="i_Kur"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="rapid_delayed_rectifier_K_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_Kr" variable_2="i_Kr"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="slow_delayed_rectifier_K_current" component_2="intracellular_ion_concentrations"/>
      <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_K_Ach" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_K_Ach" variable_2="i_K_Ach"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="intracellular_ion_concentrations" component_2="transient_outward_K_current"/>
      <map_variables variable_1="i_to" variable_2="i_to"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="L_type_Ca_channel" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="i_Ca_L" variable_2="i_Ca_L"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="L_type_Ca_channel" component_2="Ca_release_current_from_JSR"/>
      <map_variables variable_1="i_Ca_L" variable_2="i_Ca_L"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_potassium_pump" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="Na_i" variable_2="Na_i"/>
      <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_potassium_pump" component_2="standard_ionic_concentrations"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="background_currents" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="Cl_i" variable_2="Cl_i"/>
      <map_variables variable_1="i_B_Ca" variable_2="i_B_Ca"/>
      <map_variables variable_1="i_B_Na" variable_2="i_B_Na"/>
      <map_variables variable_1="i_B_Cl" variable_2="i_B_Cl"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="background_currents" component_2="standard_ionic_concentrations"/>
      <map_variables variable_1="Cl_o" variable_2="Cl_o"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Na_Ca_exchanger_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="Na_i" variable_2="Na_i"/>
      <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Na_Ca_exchanger_current" component_2="standard_ionic_concentrations"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Na_Ca_exchanger_current" component_2="Ca_release_current_from_JSR"/>
      <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sarcolemmal_calcium_pump_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_CaP" variable_2="i_CaP"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="intracellular_ion_concentrations" component_2="Ca_release_current_from_JSR"/>
      <map_variables variable_1="i_rel" variable_2="i_rel"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="Ca_rel" variable_2="Ca_rel"/>
      <map_variables variable_1="V_rel" variable_2="V_rel"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="intracellular_ion_concentrations" component_2="transfer_current_from_NSR_to_JSR"/>
      <map_variables variable_1="i_tr" variable_2="i_tr"/>
      <map_variables variable_1="Ca_up" variable_2="Ca_up"/>
      <map_variables variable_1="Ca_rel" variable_2="Ca_rel"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="intracellular_ion_concentrations" component_2="Ca_uptake_current_by_the_NSR"/>
      <map_variables variable_1="i_up" variable_2="i_up"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Ca_leak_current_by_the_NSR" component_2="Ca_uptake_current_by_the_NSR"/>
      <map_variables variable_1="I_up_max" variable_2="I_up_max"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Ca_leak_current_by_the_NSR" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_up_leak" variable_2="i_up_leak"/>
      <map_variables variable_1="Ca_up" variable_2="Ca_up"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Ca_buffers" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="CMDN_max" variable_2="CMDN_max"/>
      <map_variables variable_1="TRPN_max" variable_2="TRPN_max"/>
      <map_variables variable_1="var_CMDN" variable_2="var_CMDN"/>
      <map_variables variable_1="var_TRPN" variable_2="var_TRPN"/>
      <map_variables variable_1="var_CSQN" variable_2="var_CSQN"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="Ca_rel" variable_2="Ca_rel"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="fast_sodium_current" component_2="fast_sodium_current_m_gate"/>
      <map_variables variable_1="m" variable_2="m"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="fast_sodium_current" component_2="fast_sodium_current_h_gate"/>
      <map_variables variable_1="h" variable_2="h"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="fast_sodium_current" component_2="fast_sodium_current_j_gate"/>
      <map_variables variable_1="j" variable_2="j"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="L_type_Ca_channel" component_2="L_type_Ca_channel_d_gate"/>
      <map_variables variable_1="d" variable_2="d"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="L_type_Ca_channel" component_2="L_type_Ca_channel_f_gate"/>
      <map_variables variable_1="f" variable_2="f"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="L_type_Ca_channel" component_2="L_type_Ca_channel_f_Ca_gate"/>
      <map_variables variable_1="f_Ca" variable_2="f_Ca"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="transient_outward_K_current" component_2="transient_outward_K_current_oa_gate"/>
      <map_variables variable_1="oa" variable_2="oa"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="transient_outward_K_current" component_2="transient_outward_K_current_oi_gate"/>
      <map_variables variable_1="oi" variable_2="oi"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_K_Ach" component_2="i_K_Ach_xa_gate"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="xa" variable_2="xa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="ultrarapid_delayed_rectifier_K_current" component_2="ultrarapid_delayed_rectifier_K_current_ua_gate"/>
      <map_variables variable_1="ua" variable_2="ua"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="ultrarapid_delayed_rectifier_K_current" component_2="ultrarapid_delayed_rectifier_K_current_ui_gate"/>
      <map_variables variable_1="ui" variable_2="ui"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="rapid_delayed_rectifier_K_current" component_2="rapid_delayed_rectifier_K_current_xr_gate"/>
      <map_variables variable_1="xr" variable_2="xr"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="slow_delayed_rectifier_K_current" component_2="slow_delayed_rectifier_K_current_xs_gate"/>
      <map_variables variable_1="xs" variable_2="xs"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Ca_release_current_from_JSR" component_2="Ca_release_current_from_JSR_u_gate"/>
      <map_variables variable_1="u" variable_2="u"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="Fn" variable_2="Fn"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Ca_release_current_from_JSR" component_2="Ca_release_current_from_JSR_v_gate"/>
      <map_variables variable_1="v" variable_2="v"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="Fn" variable_2="Fn"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Ca_release_current_from_JSR" component_2="Ca_release_current_from_JSR_w_gate"/>
      <map_variables variable_1="w" variable_2="w"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
</model>