Location: Carro, Rodriguez, Laguna, Pueyo (2011) @ 410dd4a6508c / Carro_Rodriguez_Laguna_Pueyo_2011_EPI.cellml

Author:
jcarro <devnull@localhost>
Date:
2014-04-28 17:56:23+02:00
Desc:
First upload
Permanent Source URI:
http://models.cellml.org/workspace/66b/rawfile/410dd4a6508c2a99de0ee3a79b8b886e2336a3de/Carro_Rodriguez_Laguna_Pueyo_2011_EPI.cellml

<?xml version="1.0" encoding="utf-8"?>
<!--
This CellML file was generated on 10/07/2013 at 13:29:34 using:

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

CellML 1.0 was used to generate this model
http://www.cellml.org/
-->
<model name="Carro_Rodriguez_Laguna_Pueyo_2011_EPI" cmeta:id="Carro_Rodriguez_Laguna_Pueyo_2011_EPI" 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 name="millivolt">
      <unit units="volt" prefix="milli"/>
   </units>
   <units name="millivolt2">
      <unit units="millivolt" exponent="2"/>
   </units>
   <units name="millisecond">
      <unit units="second" prefix="milli"/>
   </units>
   <units name="millimole">
      <unit units="mole" prefix="milli"/>
   </units>
   <units name="millimolar">
      <unit units="millimole"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units name="millimolar4">
      <unit units="millimolar" exponent="4"/>
   </units>
   <units name="decimetre">
      <unit units="metre" prefix="deci"/>
   </units>
   <units name="micrometre">
      <unit units="metre" prefix="micro"/>
   </units>
   <units name="micrometre2">
      <unit units="metre" prefix="micro" exponent="2"/>
   </units>
   <units name="micrometre3">
      <unit units="metre" prefix="micro" exponent="3"/>
   </units>
   <units name="microF">
      <unit units="farad" prefix="micro"/>
   </units>
   <units name="centter_per_second">
      <unit units="meter" exponent="-2"/>
      <unit units="second" exponent="-1"/>
   </units>
   <units name="coulomb_per_mole">
      <unit units="coulomb"/>
      <unit units="mole" exponent="-1"/>
   </units>
   <units name="joule_per_kmole_kelvin">
      <unit units="joule"/>
      <unit units="mole" prefix="kilo" exponent="-1"/>
      <unit units="kelvin" exponent="-1"/>
   </units>
   <units name="picoA_per_picoF">
      <unit units="ampere"/>
      <unit units="farad" exponent="-1"/>
   </units>
   <units name="milliS_per_microF">
      <unit units="siemens" prefix="milli"/>
      <unit units="farad" prefix="micro" exponent="-1"/>
   </units>
   <units name="per_milliV">
      <unit units="volt" prefix="milli" exponent="-1"/>
   </units>
   <units name="per_millis">
      <unit units="millisecond" exponent="-1"/>
   </units>
   <units name="per_milliM_per_millis">
      <unit units="millimolar" exponent="-1"/>
      <unit units="millisecond" exponent="-1"/>
   </units>
   <units name="milliM_per_millis">
      <unit units="millimolar"/>
      <unit units="millisecond" exponent="-1"/>
   </units>
   <units name="per_milliM2_per_millis">
      <unit units="millimolar" exponent="-2"/>
      <unit units="millisecond" exponent="-1"/>
   </units>
   <units name="microm_per_L">
      <unit units="metre" prefix="micro"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units name="L_per_millis">
      <unit units="litre"/>
      <unit units="second" prefix="milli" exponent="-1"/>
   </units>
   <units name="per_microm">
      <unit units="micrometre" exponent="-1"/>
   </units>
   <units name="litre_per_farad_millisecond">
      <unit units="litre"/>
      <unit units="farad" exponent="-1"/>
      <unit units="second" prefix="milli" exponent="-1"/>
   </units>
   <component name="environment">
      <variable name="t" units="millisecond" public_interface="out"/>
   </component>
   <component name="membrane">
      <variable name="V" units="millivolt" initial_value="-8.413368e1" public_interface="out"/>
      <variable name="R" units="joule_per_kmole_kelvin" initial_value="8314" public_interface="out"/>
      <variable name="T" units="kelvin" initial_value="310" public_interface="out"/>
      <variable name="Frdy" units="coulomb_per_mole" initial_value="96485" public_interface="out"/>
      <variable name="FoRT" units="per_milliV" public_interface="out"/>
      <variable name="C_mem" units="farad" initial_value="1.381e-10" public_interface="out"/>
      <variable name="t" units="millisecond" public_interface="in"/>
      <variable name="I_Na_tot_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Na_tot_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_ClCa" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Cl_Bk" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Ca_tot_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Ca_tot_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_K_tot" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Na_tot" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Cl_tot" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_tot" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_tot" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Stim" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Stim_Start" units="millisecond" initial_value="0" public_interface="out"/>
      <variable name="I_Stim_Amplitude" units="picoA_per_picoF" initial_value="40"/>
      <variable name="I_Stim_Period" units="millisecond" initial_value="1000"/>
      <variable name="I_Stim_PulseDuration" units="millisecond" initial_value="1"/>
      <variable name="F_junc" units="dimensionless" initial_value="0.11" public_interface="out"/>
      <variable name="F_sl" units="dimensionless" public_interface="out"/>
      <variable name="F_junc_Ca_L" units="dimensionless" initial_value="0.9" public_interface="out"/>
      <variable name="F_sl_Ca_L" units="dimensionless" public_interface="out"/>
      <variable name="V_cell" units="litre" public_interface="out"/>
      <variable name="Length_cell" units="decimetre" initial_value="100e-5" public_interface="out"/>
      <variable name="Radius_cell" units="decimetre" initial_value="10.25e-5" public_interface="out"/>
      <variable name="V_myo" units="litre" public_interface="out"/>
      <variable name="V_sl" units="litre" public_interface="out"/>
      <variable name="V_sr" units="litre" public_interface="out"/>
      <variable name="V_junc" units="litre" public_interface="out"/>
      <variable name="J_Ca_juncsl" units="L_per_millis" initial_value="8.2413e-13" public_interface="out"/>
      <variable name="J_Ca_slmyo" units="L_per_millis" initial_value="3.7243e-12" public_interface="out"/>
      <variable name="J_Na_juncsl" units="L_per_millis" initial_value="1.8313e-14" public_interface="out"/>
      <variable name="J_Na_slmyo" units="L_per_millis" initial_value="1.6386e-12" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>V_cell</ci>
            <apply>
               <times/>
               <pi/>
               <apply>
                  <power/>
                  <ci>Radius_cell</ci>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
               <ci>Length_cell</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>V_myo</ci>
            <apply>
               <times/>
               <cn cellml:units="dimensionless">0.65</cn>
               <ci>V_cell</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>V_sr</ci>
            <apply>
               <times/>
               <cn cellml:units="dimensionless">0.035</cn>
               <ci>V_cell</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>V_sl</ci>
            <apply>
               <times/>
               <cn cellml:units="dimensionless">0.02</cn>
               <ci>V_cell</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>V_junc</ci>
            <apply>
               <times/>
               <cn type="e-notation" cellml:units="dimensionless">5.39   <sep/>
               -4</cn>
               <ci>V_cell</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>FoRT</ci>
            <apply>
               <divide/>
               <ci>Frdy</ci>
               <apply>
                  <times/>
                  <ci>R</ci>
                  <ci>T</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>F_sl</ci>
            <apply>
               <minus/>
               <cn cellml:units="dimensionless">1</cn>
               <ci>F_junc</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>F_sl_Ca_L</ci>
            <apply>
               <minus/>
               <cn cellml:units="dimensionless">1</cn>
               <ci>F_junc_Ca_L</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Stim</ci>
            <piecewise>
               <piece>
                  <ci>I_Stim_Amplitude</ci>
                  <apply>
                     <leq/>
                     <apply>
                        <minus/>
                        <apply>
                           <minus/>
                           <ci>t</ci>
                           <ci>I_Stim_Start</ci>
                        </apply>
                        <apply>
                           <times/>
                           <apply>
                              <floor/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <minus/>
                                    <ci>t</ci>
                                    <ci>I_Stim_Start</ci>
                                 </apply>
                                 <ci>I_Stim_Period</ci>
                              </apply>
                           </apply>
                           <ci>I_Stim_Period</ci>
                        </apply>
                     </apply>
                     <ci>I_Stim_PulseDuration</ci>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="picoA_per_picoF">0</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>I_Na_tot</ci>
            <apply>
               <plus/>
               <ci>I_Na_tot_junc</ci>
               <ci>I_Na_tot_sl</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Cl_tot</ci>
            <apply>
               <plus/>
               <ci>I_ClCa</ci>
               <ci>I_Cl_Bk</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_tot</ci>
            <apply>
               <plus/>
               <ci>I_Ca_tot_junc</ci>
               <ci>I_Ca_tot_sl</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_tot</ci>
            <apply>
               <plus/>
               <ci>I_Na_tot</ci>
               <ci>I_Cl_tot</ci>
               <ci>I_Ca_tot</ci>
               <ci>I_K_tot</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>V</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <ci>I_tot</ci>
                  <ci>I_Stim</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Fast_Na_Current">
      <variable name="I_Na_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Na_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Na" units="picoA_per_picoF" public_interface="out"/>
      <variable name="E_Na_sl" units="millivolt" public_interface="in"/>
      <variable name="E_Na_junc" units="millivolt" public_interface="in"/>
      <variable name="F_junc" units="dimensionless" public_interface="in"/>
      <variable name="F_sl" units="dimensionless" public_interface="in"/>
      <variable name="G_Na" units="milliS_per_microF" initial_value="18.86" public_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="m" units="dimensionless" initial_value="2.163678e-3" public_interface="out"/>
      <variable name="m_ss" units="dimensionless" public_interface="out"/>
      <variable name="tau_m" units="millisecond" public_interface="out"/>
      <variable name="a_h" units="dimensionless" public_interface="out"/>
      <variable name="b_h" units="dimensionless" public_interface="out"/>
      <variable name="tau_h" units="millisecond" public_interface="out"/>
      <variable name="h" units="dimensionless" initial_value="7.13497e-1" public_interface="out"/>
      <variable name="h_ss" units="dimensionless" public_interface="out"/>
      <variable name="a_j" units="dimensionless" public_interface="out"/>
      <variable name="b_j" units="dimensionless" public_interface="out"/>
      <variable name="tau_j" units="millisecond" public_interface="out"/>
      <variable name="j" units="dimensionless" initial_value="7.128671e-1" public_interface="out"/>
      <variable name="j_ss" units="dimensionless" public_interface="out"/>
      <variable name="t" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>m_ss</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <power/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <plus/>
                                 <cn cellml:units="millivolt">56.86</cn>
                                 <ci>V</ci>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">9.03</cn>
                        </apply>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_m</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <cn cellml:units="millisecond">0.1292</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <minus/>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">45.79</cn>
                              </apply>
                              <cn cellml:units="millivolt">15.54</cn>
                           </apply>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <cn cellml:units="millisecond">0.06487</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <minus/>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <apply>
                                 <minus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">4.823</cn>
                              </apply>
                              <cn cellml:units="millivolt">51.12</cn>
                           </apply>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>a_h</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0</cn>
                  <apply>
                     <geq/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="millivolt">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.057</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">80</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">6.8</cn>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>b_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">5.9231</cn>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">10.66</cn>
                                 </apply>
                              </apply>
                              <cn cellml:units="millivolt">11.1</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <geq/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="millivolt">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2.7</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_milliV">0.079</cn>
                              <ci>V</ci>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <cn type="e-notation" cellml:units="dimensionless">3.1   <sep/>
                        5</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_milliV">0.3485</cn>
                              <ci>V</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>a_j</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0</cn>
                  <apply>
                     <geq/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="millivolt">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn type="e-notation" cellml:units="per_milliV">2.5428   <sep/>
                                 4</cn>
                              </apply>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <times/>
                                    <cn cellml:units="per_milliV">0.2444</cn>
                                    <ci>V</ci>
                                 </apply>
                              </apply>
                           </apply>
                           <apply>
                              <times/>
                              <cn type="e-notation" cellml:units="per_milliV">6.948   <sep/>
                              -6</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <times/>
                                    <apply>
                                       <minus/>
                                       <cn cellml:units="per_milliV">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_milliV">0.311</cn>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">79.23</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>b_j</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.6</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_milliV">0.057</cn>
                              <ci>V</ci>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_milliV">0.1</cn>
                              </apply>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">32</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <geq/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="millivolt">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.02424</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_milliV">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_milliV">0.1378</cn>
                              </apply>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">40.14</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>tau_h</ci>
            <apply>
               <divide/>
               <cn cellml:units="millisecond">1</cn>
               <apply>
                  <plus/>
                  <ci>a_h</ci>
                  <ci>b_h</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>h_ss</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <power/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">71.55</cn>
                           </apply>
                           <cn cellml:units="millivolt">7.43</cn>
                        </apply>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_j</ci>
            <apply>
               <divide/>
               <cn cellml:units="millisecond">1</cn>
               <apply>
                  <plus/>
                  <ci>a_j</ci>
                  <ci>b_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>j_ss</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <power/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">71.55</cn>
                           </apply>
                           <cn cellml:units="millivolt">7.43</cn>
                        </apply>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>m</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>m_ss</ci>
                  <ci>m</ci>
               </apply>
               <ci>tau_m</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>h</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>h_ss</ci>
                  <ci>h</ci>
               </apply>
               <ci>tau_h</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>j</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>j_ss</ci>
                  <ci>j</ci>
               </apply>
               <ci>tau_j</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Na_junc</ci>
            <apply>
               <times/>
               <ci>F_junc</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_junc</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Na_sl</ci>
            <apply>
               <times/>
               <ci>F_sl</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_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Na</ci>
            <apply>
               <plus/>
               <ci>I_Na_junc</ci>
               <ci>I_Na_sl</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Background_Na_Current">
      <variable name="I_Na_Bk_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Na_Bk_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Na_Bk" units="picoA_per_picoF" public_interface="out"/>
      <variable name="F_junc" units="dimensionless" public_interface="in"/>
      <variable name="F_sl" units="dimensionless" public_interface="in"/>
      <variable name="E_Na_junc" units="millivolt" public_interface="in"/>
      <variable name="E_Na_sl" units="millivolt" public_interface="in"/>
      <variable name="G_Na_B" units="milliS_per_microF" initial_value="0.597e-3" public_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>I_Na_Bk_junc</ci>
            <apply>
               <times/>
               <ci>F_junc</ci>
               <ci>G_Na_B</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Na_junc</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Na_Bk_sl</ci>
            <apply>
               <times/>
               <ci>F_sl</ci>
               <ci>G_Na_B</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Na_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Na_Bk</ci>
            <apply>
               <plus/>
               <ci>I_Na_Bk_junc</ci>
               <ci>I_Na_Bk_sl</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Na_K_Pump_Current">
      <variable name="Na_o" units="millimolar" public_interface="in"/>
      <variable name="sigma" units="dimensionless" public_interface="out"/>
      <variable name="FoRT" units="per_milliV" public_interface="in"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="f_NaK" units="dimensionless" public_interface="out"/>
      <variable name="F_junc" units="dimensionless" public_interface="in"/>
      <variable name="F_sl" units="dimensionless" public_interface="in"/>
      <variable name="I_NaK_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_NaK_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_NaK" units="picoA_per_picoF" public_interface="out"/>
      <variable name="Ibar_NaK" units="picoA_per_picoF" initial_value="0.99" public_interface="out"/>
      <variable name="K_o" units="millimolar" public_interface="in"/>
      <variable name="Na_j" units="millimolar" public_interface="in"/>
      <variable name="Na_sl" units="millimolar" public_interface="in"/>
      <variable name="Km_Ko" units="millimolar" initial_value="1.5" public_interface="out"/>
      <variable name="Km_Naip" units="millimolar" initial_value="11" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>sigma</ci>
            <apply>
               <divide/>
               <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>
               <cn cellml:units="dimensionless">7</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>f_NaK</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.1245</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">0.1</cn>
                           </apply>
                           <ci>V</ci>
                           <ci>FoRT</ci>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.0365</cn>
                     <ci>sigma</ci>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <ci>V</ci>
                           </apply>
                           <ci>FoRT</ci>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_NaK_junc</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>F_junc</ci>
                  <ci>Ibar_NaK</ci>
                  <ci>f_NaK</ci>
                  <ci>K_o</ci>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <power/>
                        <apply>
                           <divide/>
                           <ci>Km_Naip</ci>
                           <ci>Na_j</ci>
                        </apply>
                        <cn cellml:units="dimensionless">4</cn>
                     </apply>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>K_o</ci>
                     <ci>Km_Ko</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_NaK_sl</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>F_sl</ci>
                  <ci>Ibar_NaK</ci>
                  <ci>f_NaK</ci>
                  <ci>K_o</ci>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <power/>
                        <apply>
                           <divide/>
                           <ci>Km_Naip</ci>
                           <ci>Na_sl</ci>
                        </apply>
                        <cn cellml:units="dimensionless">4</cn>
                     </apply>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>K_o</ci>
                     <ci>Km_Ko</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_NaK</ci>
            <apply>
               <plus/>
               <ci>I_NaK_junc</ci>
               <ci>I_NaK_sl</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Rapidly_Activating_K_Current">
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="x_r_ss" units="dimensionless" public_interface="out"/>
      <variable name="x_Kr" units="dimensionless" initial_value="1.516232e-2" public_interface="out"/>
      <variable name="r_Kr" units="dimensionless" public_interface="out"/>
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="G_Kr" units="milliS_per_microF" initial_value="0.035" public_interface="out"/>
      <variable name="tau_xr" units="millisecond" public_interface="out"/>
      <variable name="I_Kr" units="picoA_per_picoF" public_interface="out"/>
      <variable name="K_o" units="millimolar" public_interface="in"/>
      <variable name="t" units="millisecond" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>x_r_ss</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">10</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_xr</ci>
            <apply>
               <plus/>
               <apply>
                  <divide/>
                  <cn cellml:units="millisecond">3300</cn>
                  <apply>
                     <times/>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">22</cn>
                                 </apply>
                                 <ci>V</ci>
                              </apply>
                              <cn cellml:units="millivolt">9</cn>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">11</cn>
                              </apply>
                              <cn cellml:units="millivolt">9</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <divide/>
                  <cn cellml:units="millisecond">230</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">40</cn>
                           </apply>
                           <cn cellml:units="millivolt">20</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>x_Kr</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>x_r_ss</ci>
                  <ci>x_Kr</ci>
               </apply>
               <ci>tau_xr</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>r_Kr</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">74</cn>
                        </apply>
                        <cn cellml:units="millivolt">24</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Kr</ci>
            <apply>
               <times/>
               <ci>G_Kr</ci>
               <apply>
                  <root/>
                  <apply>
                     <divide/>
                     <ci>K_o</ci>
                     <cn cellml:units="millimolar">5.4</cn>
                  </apply>
               </apply>
               <ci>x_Kr</ci>
               <ci>r_Kr</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Slowly_Activating_K_Current">
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="x_s_ss" units="dimensionless" public_interface="out"/>
      <variable name="tau_xs" units="millisecond" public_interface="out"/>
      <variable name="t" units="millisecond" public_interface="in"/>
      <variable name="x_Ks" units="dimensionless" initial_value="3.549354e-3" public_interface="out"/>
      <variable name="E_Ks" units="millivolt" public_interface="in"/>
      <variable name="F_junc" units="dimensionless" public_interface="in"/>
      <variable name="F_sl" units="dimensionless" public_interface="in"/>
      <variable name="G_Ks_junc" units="milliS_per_microF" initial_value="0.0035" public_interface="out"/>
      <variable name="G_Ks_sl" units="milliS_per_microF" initial_value="0.0035" public_interface="out"/>
      <variable name="I_Ks_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ks_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ks" units="picoA_per_picoF" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>x_s_ss</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">3.8</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">14.25</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_xs</ci>
            <apply>
               <divide/>
               <cn cellml:units="millisecond">990.1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">2.436</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">14.12</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>x_Ks</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>x_s_ss</ci>
                  <ci>x_Ks</ci>
               </apply>
               <ci>tau_xs</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ks_junc</ci>
            <apply>
               <times/>
               <ci>F_junc</ci>
               <ci>G_Ks_junc</ci>
               <apply>
                  <power/>
                  <ci>x_Ks</ci>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Ks</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ks_sl</ci>
            <apply>
               <times/>
               <ci>F_sl</ci>
               <ci>G_Ks_sl</ci>
               <apply>
                  <power/>
                  <ci>x_Ks</ci>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Ks</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ks</ci>
            <apply>
               <plus/>
               <ci>I_Ks_junc</ci>
               <ci>I_Ks_sl</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Plateau_K_Current">
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="kp_Kp" units="dimensionless" public_interface="out"/>
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="G_Kp" units="milliS_per_microF" initial_value="0.002" public_interface="out"/>
      <variable name="I_Kp" units="picoA_per_picoF" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>kp_Kp</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">7.488</cn>
                        <apply>
                           <divide/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">5.98</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Kp</ci>
            <apply>
               <times/>
               <ci>G_Kp</ci>
               <ci>kp_Kp</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Transient_Outward_K_Current">
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="x_to_ss" units="dimensionless" public_interface="out"/>
      <variable name="y_to_ss" units="dimensionless" public_interface="out"/>
      <variable name="tau_x_tos" units="millisecond" public_interface="out"/>
      <variable name="tau_y_tos" units="millisecond" public_interface="out"/>
      <variable name="tau_x_tof" units="millisecond" public_interface="out"/>
      <variable name="tau_y_tof" units="millisecond" public_interface="out"/>
      <variable name="t" units="millisecond" public_interface="in"/>
      <variable name="x_to_s" units="dimensionless" initial_value="3.584727e-4" public_interface="out"/>
      <variable name="y_to_s" units="dimensionless" initial_value="8.087629e-1" public_interface="out"/>
      <variable name="x_to_f" units="dimensionless" initial_value="3.584625e-4" public_interface="out"/>
      <variable name="y_to_f" units="dimensionless" initial_value="9.999976e-1" public_interface="out"/>
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="G_to_s" units="milliS_per_microF" initial_value="0.0156" public_interface="out"/>
      <variable name="G_to_f" units="milliS_per_microF" initial_value="0.1144" public_interface="out"/>
      <variable name="I_to_s" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_to_f" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_to" units="picoA_per_picoF" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>x_to_ss</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/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">19</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">13</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>y_to_ss</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">19.5</cn>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_x_tos</ci>
            <apply>
               <plus/>
               <apply>
                  <divide/>
                  <cn cellml:units="millisecond">9</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">3</cn>
                           </apply>
                           <cn cellml:units="millivolt">15</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="millisecond">0.5</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_y_tos</ci>
            <apply>
               <plus/>
               <apply>
                  <divide/>
                  <cn cellml:units="millisecond">800</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">60</cn>
                           </apply>
                           <cn cellml:units="millivolt">10</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="millisecond">30</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>x_to_s</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>x_to_ss</ci>
                  <ci>x_to_s</ci>
               </apply>
               <ci>tau_x_tos</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>y_to_s</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>y_to_ss</ci>
                  <ci>y_to_s</ci>
               </apply>
               <ci>tau_y_tos</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_x_tof</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <cn cellml:units="millisecond">8.5</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <minus/>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">45</cn>
                              </apply>
                              <cn cellml:units="millivolt">50</cn>
                           </apply>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="millisecond">0.5</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_y_tof</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <cn cellml:units="millisecond">85</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <power/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="millivolt">40</cn>
                              </apply>
                              <cn cellml:units="dimensionless">2</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt2">220</cn>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="millisecond">7</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>x_to_f</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>x_to_ss</ci>
                  <ci>x_to_f</ci>
               </apply>
               <ci>tau_x_tof</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>y_to_f</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>y_to_ss</ci>
                  <ci>y_to_f</ci>
               </apply>
               <ci>tau_y_tof</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_to_s</ci>
            <apply>
               <times/>
               <ci>G_to_s</ci>
               <ci>x_to_s</ci>
               <ci>y_to_s</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_to_f</ci>
            <apply>
               <times/>
               <ci>G_to_f</ci>
               <ci>x_to_f</ci>
               <ci>y_to_f</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_to</ci>
            <apply>
               <plus/>
               <ci>I_to_s</ci>
               <ci>I_to_f</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Inward_Rectifier_K_Current">
      <variable name="E_K" units="millivolt" public_interface="in"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="a_K1" units="dimensionless" public_interface="out"/>
      <variable name="b_K1" units="dimensionless" public_interface="out"/>
      <variable name="K1_ss" units="dimensionless" public_interface="out"/>
      <variable name="I_K1" units="picoA_per_picoF" public_interface="out"/>
      <variable name="K_o" units="millimolar" public_interface="in"/>
      <variable name="G_K1" units="milliS_per_microF" initial_value="0.57153" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>a_K1</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">4.0938</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_milliV">0.12165</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <ci>V</ci>
                              <ci>E_K</ci>
                           </apply>
                           <cn cellml:units="millivolt">49.9344</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>b_K1</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">15.7197</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <cn cellml:units="per_milliV">0.06739</cn>
                           <apply>
                              <minus/>
                              <apply>
                                 <minus/>
                                 <ci>V</ci>
                                 <ci>E_K</ci>
                              </apply>
                              <cn cellml:units="millivolt">3.2571</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_milliV">0.06175</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <ci>V</ci>
                              <ci>E_K</ci>
                           </apply>
                           <cn cellml:units="millivolt">594.31</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <cn cellml:units="per_milliV">0.16285</cn>
                        </apply>
                        <apply>
                           <plus/>
                           <apply>
                              <minus/>
                              <ci>V</ci>
                              <ci>E_K</ci>
                           </apply>
                           <cn cellml:units="millivolt">14.2067</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>K1_ss</ci>
            <apply>
               <divide/>
               <ci>a_K1</ci>
               <apply>
                  <plus/>
                  <ci>a_K1</ci>
                  <ci>b_K1</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_K1</ci>
            <apply>
               <times/>
               <ci>G_K1</ci>
               <apply>
                  <root/>
                  <apply>
                     <divide/>
                     <ci>K_o</ci>
                     <cn cellml:units="millimolar">5.4</cn>
                  </apply>
               </apply>
               <ci>K1_ss</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Ca_Activated_Cl_Current">
      <variable name="I_ClCa" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_ClCa_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_ClCa_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="Ca_j" units="millimolar" public_interface="in"/>
      <variable name="Ca_sl" units="millimolar" public_interface="in"/>
      <variable name="E_Cl" units="millivolt" public_interface="in"/>
      <variable name="F_junc" units="dimensionless" public_interface="in"/>
      <variable name="F_sl" units="dimensionless" public_interface="in"/>
      <variable name="G_ClCa" units="milliS_per_microF" initial_value="0.054813" public_interface="out"/>
      <variable name="Kd_ClCa" units="millimolar" initial_value="100e-3" public_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>I_ClCa_junc</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>F_junc</ci>
                     <ci>G_ClCa</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <divide/>
                        <ci>Kd_ClCa</ci>
                        <ci>Ca_j</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Cl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_ClCa_sl</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>F_sl</ci>
                     <ci>G_ClCa</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <divide/>
                        <ci>Kd_ClCa</ci>
                        <ci>Ca_sl</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Cl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_ClCa</ci>
            <apply>
               <plus/>
               <ci>I_ClCa_junc</ci>
               <ci>I_ClCa_sl</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Background_Cl_Current">
      <variable name="I_Cl_Bk" units="picoA_per_picoF" public_interface="out"/>
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="E_Cl" units="millivolt" public_interface="in"/>
      <variable name="G_Cl_B" units="milliS_per_microF" initial_value="9e-3"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>I_Cl_Bk</ci>
            <apply>
               <times/>
               <ci>G_Cl_B</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Cl</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="L_Type_Calcium_Current">
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="F_junc_Ca_L" units="dimensionless" public_interface="in"/>
      <variable name="F_sl_Ca_L" units="dimensionless" public_interface="in"/>
      <variable name="d_ss" units="dimensionless" public_interface="out"/>
      <variable name="alpha_d" units="millisecond" public_interface="out"/>
      <variable name="beta_d" units="dimensionless" public_interface="out"/>
      <variable name="gamma_d" units="millisecond" public_interface="out"/>
      <variable name="tau_d" units="millisecond" public_interface="out"/>
      <variable name="f_ss" units="dimensionless" public_interface="out"/>
      <variable name="alpha_f" units="millisecond" public_interface="out"/>
      <variable name="beta_f" units="millisecond" public_interface="out"/>
      <variable name="gamma_f" units="millisecond" public_interface="out"/>
      <variable name="tau_f" units="millisecond" public_interface="out"/>
      <variable name="f_2_ss" units="dimensionless" public_interface="out"/>
      <variable name="alpha_f_2" units="millisecond" public_interface="out"/>
      <variable name="beta_f_2" units="millisecond" public_interface="out"/>
      <variable name="gamma_f_2" units="millisecond" public_interface="out"/>
      <variable name="tau_f_2" units="millisecond" public_interface="out"/>
      <variable name="d" units="dimensionless" initial_value="1.871177e-6" public_interface="out"/>
      <variable name="f" units="dimensionless" initial_value="9.804391e-1" public_interface="out"/>
      <variable name="f_2" units="dimensionless" initial_value="9.99401e-1" public_interface="out"/>
      <variable name="f_Ca_B_j" units="dimensionless" initial_value="2.847118e-2" public_interface="out"/>
      <variable name="f_Ca_B_sl" units="dimensionless" initial_value="1.692189e-2" public_interface="out"/>
      <variable name="t" units="millisecond" public_interface="in"/>
      <variable name="Frdy" units="coulomb_per_mole" public_interface="in"/>
      <variable name="FoRT" units="per_milliV" public_interface="in"/>
      <variable name="K_o" units="millimolar" public_interface="in"/>
      <variable name="K_i" units="millimolar" public_interface="in"/>
      <variable name="Ca_o" units="millimolar" public_interface="in"/>
      <variable name="Ca_j" units="millimolar" public_interface="in"/>
      <variable name="Ca_sl" units="millimolar" public_interface="in"/>
      <variable name="Na_j" units="millimolar" public_interface="in"/>
      <variable name="Na_sl" units="millimolar" public_interface="in"/>
      <variable name="Na_o" units="millimolar" public_interface="in"/>
      <variable name="Ibar_Ca_j" units="picoA_per_picoF" public_interface="out"/>
      <variable name="Ibar_Ca_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="Ibar_K" units="picoA_per_picoF" public_interface="out"/>
      <variable name="Ibar_Na_j" units="picoA_per_picoF" public_interface="out"/>
      <variable name="Ibar_Na_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="p_Ca" units="litre_per_farad_millisecond" initial_value="1.9887e-4" public_interface="out"/>
      <variable name="p_Na" units="litre_per_farad_millisecond" initial_value="3.0375e-9" public_interface="out"/>
      <variable name="p_K" units="litre_per_farad_millisecond" initial_value="5.4675e-8" public_interface="out"/>
      <variable name="I_Ca_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_Na_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_Na_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_Na" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_K" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_L" units="picoA_per_picoF" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>d_ss</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">5</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">6</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_d</ci>
            <apply>
               <plus/>
               <apply>
                  <divide/>
                  <cn cellml:units="millisecond">1.4</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="millivolt">35</cn>
                              </apply>
                              <ci>V</ci>
                           </apply>
                           <cn cellml:units="millivolt">13</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="millisecond">0.25</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_d</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1.4</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">5</cn>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>gamma_d</ci>
            <apply>
               <divide/>
               <cn cellml:units="millisecond">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">50</cn>
                           <ci>V</ci>
                        </apply>
                        <cn cellml:units="millivolt">20</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_d</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <ci>alpha_d</ci>
                  <ci>beta_d</ci>
               </apply>
               <ci>gamma_d</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>f_ss</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">20</cn>
                        </apply>
                        <cn cellml:units="millivolt">7</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_f</ci>
            <apply>
               <times/>
               <cn cellml:units="millisecond">1102.5</cn>
               <apply>
                  <exp/>
                  <apply>
                     <minus/>
                     <apply>
                        <power/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">27</cn>
                           </apply>
                           <cn cellml:units="millivolt">15</cn>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_f</ci>
            <apply>
               <divide/>
               <cn cellml:units="millisecond">200</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">13</cn>
                           <ci>V</ci>
                        </apply>
                        <cn cellml:units="millivolt">10</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>gamma_f</ci>
            <apply>
               <plus/>
               <apply>
                  <divide/>
                  <cn cellml:units="millisecond">180</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">30</cn>
                           </apply>
                           <cn cellml:units="millivolt">10</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="millisecond">20</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_f</ci>
            <apply>
               <plus/>
               <ci>alpha_f</ci>
               <ci>beta_f</ci>
               <ci>gamma_f</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>f_2_ss</ci>
            <apply>
               <plus/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">0.67</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">35</cn>
                           </apply>
                           <cn cellml:units="millivolt">7</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">0.33</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_f_2</ci>
            <apply>
               <times/>
               <cn cellml:units="millisecond">300</cn>
               <apply>
                  <exp/>
                  <apply>
                     <divide/>
                     <apply>
                        <minus/>
                        <apply>
                           <power/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="millivolt">25</cn>
                           </apply>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                     <cn cellml:units="millivolt2">170</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_f_2</ci>
            <apply>
               <divide/>
               <cn cellml:units="millisecond">31</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <cn cellml:units="millivolt">25</cn>
                           <ci>V</ci>
                        </apply>
                        <cn cellml:units="millivolt">10</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>gamma_f_2</ci>
            <apply>
               <divide/>
               <cn cellml:units="millisecond">16</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="millivolt">30</cn>
                        </apply>
                        <cn cellml:units="millivolt">10</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_f_2</ci>
            <apply>
               <plus/>
               <ci>alpha_f_2</ci>
               <ci>beta_f_2</ci>
               <ci>gamma_f_2</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>d</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>d_ss</ci>
                  <ci>d</ci>
               </apply>
               <ci>tau_d</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>f</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>f_ss</ci>
                  <ci>f</ci>
               </apply>
               <ci>tau_f</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>f_2</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>f_2_ss</ci>
                  <ci>f_2</ci>
               </apply>
               <ci>tau_f_2</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>f_Ca_B_j</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <cn cellml:units="per_milliM_per_millis">1.7</cn>
                  <ci>Ca_j</ci>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <ci>f_Ca_B_j</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <cn type="e-notation" cellml:units="per_millis">11.9   <sep/>
                  -3</cn>
                  <ci>f_Ca_B_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>f_Ca_B_sl</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <cn cellml:units="per_milliM_per_millis">1.7</cn>
                  <ci>Ca_sl</ci>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <ci>f_Ca_B_sl</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <cn type="e-notation" cellml:units="per_millis">11.9   <sep/>
                  -3</cn>
                  <ci>f_Ca_B_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ibar_Ca_j</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>p_Ca</ci>
                  <ci>V</ci>
                  <ci>Frdy</ci>
                  <ci>FoRT</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <times/>
                        <ci>Ca_j</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">2</cn>
                              <ci>V</ci>
                              <ci>FoRT</ci>
                           </apply>
                        </apply>
                     </apply>
                     <ci>Ca_o</ci>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <ci>V</ci>
                        <ci>FoRT</ci>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ibar_Ca_sl</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>p_Ca</ci>
                  <ci>V</ci>
                  <ci>Frdy</ci>
                  <ci>FoRT</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <times/>
                        <ci>Ca_sl</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">2</cn>
                              <ci>V</ci>
                              <ci>FoRT</ci>
                           </apply>
                        </apply>
                     </apply>
                     <ci>Ca_o</ci>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <ci>V</ci>
                        <ci>FoRT</ci>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ibar_K</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>p_K</ci>
                  <ci>V</ci>
                  <ci>Frdy</ci>
                  <ci>FoRT</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <times/>
                        <ci>K_i</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <ci>V</ci>
                              <ci>FoRT</ci>
                           </apply>
                        </apply>
                     </apply>
                     <ci>K_o</ci>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <ci>V</ci>
                        <ci>FoRT</ci>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ibar_Na_j</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>p_Na</ci>
                  <ci>V</ci>
                  <ci>Frdy</ci>
                  <ci>FoRT</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <times/>
                        <ci>Na_j</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <ci>V</ci>
                              <ci>FoRT</ci>
                           </apply>
                        </apply>
                     </apply>
                     <ci>Na_o</ci>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <ci>V</ci>
                        <ci>FoRT</ci>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ibar_Na_sl</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>p_Na</ci>
                  <ci>V</ci>
                  <ci>Frdy</ci>
                  <ci>FoRT</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <times/>
                        <ci>Na_sl</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <ci>V</ci>
                              <ci>FoRT</ci>
                           </apply>
                        </apply>
                     </apply>
                     <ci>Na_o</ci>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <ci>V</ci>
                        <ci>FoRT</ci>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_junc</ci>
            <apply>
               <times/>
               <ci>F_junc_Ca_L</ci>
               <ci>Ibar_Ca_j</ci>
               <ci>d</ci>
               <ci>f</ci>
               <ci>f_2</ci>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <ci>f_Ca_B_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_sl</ci>
            <apply>
               <times/>
               <ci>F_sl_Ca_L</ci>
               <ci>Ibar_Ca_sl</ci>
               <ci>d</ci>
               <ci>f</ci>
               <ci>f_2</ci>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <ci>f_Ca_B_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca</ci>
            <apply>
               <plus/>
               <ci>I_Ca_junc</ci>
               <ci>I_Ca_sl</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_K</ci>
            <apply>
               <times/>
               <ci>Ibar_K</ci>
               <ci>d</ci>
               <ci>f</ci>
               <ci>f_2</ci>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <ci>F_junc_Ca_L</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>f_Ca_B_j</ci>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <ci>F_sl_Ca_L</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>f_Ca_B_sl</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_Na_junc</ci>
            <apply>
               <times/>
               <ci>F_junc_Ca_L</ci>
               <ci>Ibar_Na_j</ci>
               <ci>d</ci>
               <ci>f</ci>
               <ci>f_2</ci>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <ci>f_Ca_B_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_Na_sl</ci>
            <apply>
               <times/>
               <ci>F_sl_Ca_L</ci>
               <ci>Ibar_Na_sl</ci>
               <ci>d</ci>
               <ci>f</ci>
               <ci>f_2</ci>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <ci>f_Ca_B_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_Na</ci>
            <apply>
               <plus/>
               <ci>I_Ca_Na_junc</ci>
               <ci>I_Ca_Na_sl</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_L</ci>
            <apply>
               <plus/>
               <ci>I_Ca</ci>
               <ci>I_Ca_K</ci>
               <ci>I_Ca_Na</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Na_Ca_Exchanger_Current">
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="FoRT" units="per_milliV" public_interface="in"/>
      <variable name="F_junc" units="dimensionless" public_interface="in"/>
      <variable name="F_sl" units="dimensionless" public_interface="in"/>
      <variable name="Ca_o" units="millimolar" public_interface="in"/>
      <variable name="Ca_j" units="millimolar" public_interface="in"/>
      <variable name="Ca_sl" units="millimolar" public_interface="in"/>
      <variable name="Na_o" units="millimolar" public_interface="in"/>
      <variable name="Na_j" units="millimolar" public_interface="in"/>
      <variable name="Na_sl" units="millimolar" public_interface="in"/>
      <variable name="Ka_junc" units="dimensionless" public_interface="out"/>
      <variable name="Ka_sl" units="dimensionless" public_interface="out"/>
      <variable name="Kd_act" units="millimolar" initial_value="0.15e-3" public_interface="out"/>
      <variable name="Km_Ca_i" units="millimolar" initial_value="3.59e-3" public_interface="out"/>
      <variable name="Km_Ca_o" units="millimolar" initial_value="1.3" public_interface="out"/>
      <variable name="Km_Na_i" units="millimolar" initial_value="12.29" public_interface="out"/>
      <variable name="Km_Na_o" units="millimolar" initial_value="87.5" public_interface="out"/>
      <variable name="k_sat" units="dimensionless" initial_value="0.32" public_interface="out"/>
      <variable name="nu" units="dimensionless" initial_value="0.27" public_interface="out"/>
      <variable name="s1_junc" units="millimolar4" public_interface="out"/>
      <variable name="s2_junc" units="millimolar4" public_interface="out"/>
      <variable name="s3_junc" units="millimolar4" public_interface="out"/>
      <variable name="s1_sl" units="millimolar4" public_interface="out"/>
      <variable name="s2_sl" units="millimolar4" public_interface="out"/>
      <variable name="s3_sl" units="millimolar4" public_interface="out"/>
      <variable name="Ibar_NCX" units="picoA_per_picoF" initial_value="4.5" public_interface="out"/>
      <variable name="I_ncx_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_ncx_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_ncx" units="picoA_per_picoF" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Ka_junc</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <power/>
                     <apply>
                        <divide/>
                        <ci>Kd_act</ci>
                        <ci>Ca_j</ci>
                     </apply>
                     <cn cellml:units="dimensionless">2</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ka_sl</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <power/>
                     <apply>
                        <divide/>
                        <ci>Kd_act</ci>
                        <ci>Ca_sl</ci>
                     </apply>
                     <cn cellml:units="dimensionless">2</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>s1_junc</ci>
            <apply>
               <times/>
               <apply>
                  <exp/>
                  <apply>
                     <times/>
                     <ci>nu</ci>
                     <ci>V</ci>
                     <ci>FoRT</ci>
                  </apply>
               </apply>
               <apply>
                  <power/>
                  <ci>Na_j</ci>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
               <ci>Ca_o</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>s1_sl</ci>
            <apply>
               <times/>
               <apply>
                  <exp/>
                  <apply>
                     <times/>
                     <ci>nu</ci>
                     <ci>V</ci>
                     <ci>FoRT</ci>
                  </apply>
               </apply>
               <apply>
                  <power/>
                  <ci>Na_sl</ci>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
               <ci>Ca_o</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>s2_junc</ci>
            <apply>
               <times/>
               <apply>
                  <exp/>
                  <apply>
                     <times/>
                     <apply>
                        <minus/>
                        <ci>nu</ci>
                        <cn cellml:units="dimensionless">1</cn>
                     </apply>
                     <ci>V</ci>
                     <ci>FoRT</ci>
                  </apply>
               </apply>
               <apply>
                  <power/>
                  <ci>Na_o</ci>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
               <ci>Ca_j</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>s2_sl</ci>
            <apply>
               <times/>
               <apply>
                  <exp/>
                  <apply>
                     <times/>
                     <apply>
                        <minus/>
                        <ci>nu</ci>
                        <cn cellml:units="dimensionless">1</cn>
                     </apply>
                     <ci>V</ci>
                     <ci>FoRT</ci>
                  </apply>
               </apply>
               <apply>
                  <power/>
                  <ci>Na_o</ci>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
               <ci>Ca_sl</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>s3_junc</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <ci>Km_Ca_i</ci>
                  <apply>
                     <power/>
                     <ci>Na_o</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <power/>
                        <apply>
                           <divide/>
                           <ci>Na_j</ci>
                           <ci>Km_Na_i</ci>
                        </apply>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <power/>
                     <ci>Km_Na_o</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
                  <ci>Ca_j</ci>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <divide/>
                        <ci>Ca_j</ci>
                        <ci>Km_Ca_i</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>Km_Ca_o</ci>
                  <apply>
                     <power/>
                     <ci>Na_j</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <power/>
                     <ci>Na_j</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
                  <ci>Ca_o</ci>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <power/>
                     <ci>Na_o</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
                  <ci>Ca_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>s3_sl</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <ci>Km_Ca_i</ci>
                  <apply>
                     <power/>
                     <ci>Na_o</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <power/>
                        <apply>
                           <divide/>
                           <ci>Na_sl</ci>
                           <ci>Km_Na_i</ci>
                        </apply>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <power/>
                     <ci>Km_Na_o</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
                  <ci>Ca_sl</ci>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <divide/>
                        <ci>Ca_sl</ci>
                        <ci>Km_Ca_i</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>Km_Ca_o</ci>
                  <apply>
                     <power/>
                     <ci>Na_sl</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <power/>
                     <ci>Na_sl</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
                  <ci>Ca_o</ci>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <power/>
                     <ci>Na_o</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
                  <ci>Ca_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_ncx_junc</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>F_junc</ci>
                  <ci>Ibar_NCX</ci>
                  <ci>Ka_junc</ci>
                  <apply>
                     <minus/>
                     <ci>s1_junc</ci>
                     <ci>s2_junc</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>s3_junc</ci>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <ci>k_sat</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>nu</ci>
                                 <cn cellml:units="dimensionless">1</cn>
                              </apply>
                              <ci>V</ci>
                              <ci>FoRT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_ncx_sl</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>F_sl</ci>
                  <ci>Ibar_NCX</ci>
                  <ci>Ka_sl</ci>
                  <apply>
                     <minus/>
                     <ci>s1_sl</ci>
                     <ci>s2_sl</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>s3_sl</ci>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <ci>k_sat</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>nu</ci>
                                 <cn cellml:units="dimensionless">1</cn>
                              </apply>
                              <ci>V</ci>
                              <ci>FoRT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_ncx</ci>
            <apply>
               <plus/>
               <ci>I_ncx_junc</ci>
               <ci>I_ncx_sl</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Sarcolemmal_Ca_Pump_Current">
      <variable name="Ca_j" units="millimolar" public_interface="in"/>
      <variable name="Ca_sl" units="millimolar" public_interface="in"/>
      <variable name="F_junc" units="dimensionless" public_interface="in"/>
      <variable name="F_sl" units="dimensionless" public_interface="in"/>
      <variable name="Km_P_Ca" units="millimolar" initial_value="0.5e-3" public_interface="out"/>
      <variable name="Ibar_PMCA" units="picoA_per_picoF" initial_value="0.0673" public_interface="out"/>
      <variable name="I_pCa_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_pCa_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_pCa" units="picoA_per_picoF" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>I_pCa_junc</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>F_junc</ci>
                  <ci>Ibar_PMCA</ci>
                  <apply>
                     <power/>
                     <ci>Ca_j</ci>
                     <cn cellml:units="dimensionless">1.6</cn>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <apply>
                     <power/>
                     <ci>Km_P_Ca</ci>
                     <cn cellml:units="dimensionless">1.6</cn>
                  </apply>
                  <apply>
                     <power/>
                     <ci>Ca_j</ci>
                     <cn cellml:units="dimensionless">1.6</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_pCa_sl</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>F_sl</ci>
                  <ci>Ibar_PMCA</ci>
                  <apply>
                     <power/>
                     <ci>Ca_sl</ci>
                     <cn cellml:units="dimensionless">1.6</cn>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <apply>
                     <power/>
                     <ci>Km_P_Ca</ci>
                     <cn cellml:units="dimensionless">1.6</cn>
                  </apply>
                  <apply>
                     <power/>
                     <ci>Ca_sl</ci>
                     <cn cellml:units="dimensionless">1.6</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_pCa</ci>
            <apply>
               <plus/>
               <ci>I_pCa_junc</ci>
               <ci>I_pCa_sl</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Background_Ca_Current">
      <variable name="V" units="millivolt" public_interface="in"/>
      <variable name="F_sl" units="dimensionless" public_interface="in"/>
      <variable name="F_junc" units="dimensionless" public_interface="in"/>
      <variable name="E_Ca_sl" units="millivolt" public_interface="in"/>
      <variable name="E_Ca_junc" units="millivolt" public_interface="in"/>
      <variable name="G_Ca_B" units="milliS_per_microF" initial_value="5.513e-4" public_interface="out"/>
      <variable name="I_Ca_Bk_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_Bk_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_Bk" units="picoA_per_picoF" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>I_Ca_Bk_junc</ci>
            <apply>
               <times/>
               <ci>F_junc</ci>
               <ci>G_Ca_B</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Ca_junc</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_Bk_sl</ci>
            <apply>
               <times/>
               <ci>F_sl</ci>
               <ci>G_Ca_B</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Ca_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_Bk</ci>
            <apply>
               <plus/>
               <ci>I_Ca_Bk_junc</ci>
               <ci>I_Ca_Bk_sl</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="SR_Fluxes">
      <variable name="Max_SR" units="dimensionless" initial_value="15" public_interface="out"/>
      <variable name="Min_SR" units="dimensionless" initial_value="1" public_interface="out"/>
      <variable name="Ca_SR" units="millimolar" public_interface="in"/>
      <variable name="ec50_SR" units="millimolar" initial_value="0.45" public_interface="out"/>
      <variable name="k_Ca_SR" units="dimensionless" public_interface="out"/>
      <variable name="ko_Ca" units="per_milliM2_per_millis" initial_value="10" public_interface="out"/>
      <variable name="ko_SR_Ca" units="per_milliM2_per_millis" public_interface="out"/>
      <variable name="ki_Ca" units="per_milliM_per_millis" initial_value="0.5" public_interface="out"/>
      <variable name="ki_SR_Ca" units="per_milliM_per_millis" public_interface="out"/>
      <variable name="ki_m" units="per_millis" initial_value="0.005" public_interface="out"/>
      <variable name="ko_m" units="per_millis" initial_value="0.06" public_interface="out"/>
      <variable name="ks" units="per_millis" initial_value="25" public_interface="out"/>
      <variable name="Km_f" units="millimolar" initial_value="0.246e-3" public_interface="out"/>
      <variable name="Km_r" units="millimolar" initial_value="1.7" public_interface="out"/>
      <variable name="J_SR_Ca_rel" units="milliM_per_millis" public_interface="out"/>
      <variable name="J_SR_leak" units="milliM_per_millis" public_interface="out"/>
      <variable name="J_ser_Ca" units="milliM_per_millis" public_interface="out"/>
      <variable name="t" units="millisecond" public_interface="in"/>
      <variable name="RI" units="dimensionless" public_interface="out"/>
      <variable name="Ry_Rr" units="dimensionless" initial_value="8.886338e-1" public_interface="out"/>
      <variable name="Ry_Ro" units="dimensionless" initial_value="1.126209e-6" public_interface="out"/>
      <variable name="Ry_Ri" units="dimensionless" initial_value="1.411382e-7" public_interface="out"/>
      <variable name="Ca_j" units="millimolar" public_interface="in"/>
      <variable name="Ca_i" units="millimolar" public_interface="in"/>
      <variable name="V_max_SR_CaP" units="milliM_per_millis" initial_value="5.3114e-3" public_interface="out"/>
      <variable name="hill_SR_CaP" units="dimensionless" initial_value="1.787" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>k_Ca_SR</ci>
            <apply>
               <minus/>
               <ci>Max_SR</ci>
               <apply>
                  <divide/>
                  <apply>
                     <minus/>
                     <ci>Max_SR</ci>
                     <ci>Min_SR</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <power/>
                        <apply>
                           <divide/>
                           <ci>ec50_SR</ci>
                           <ci>Ca_SR</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2.5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>ko_SR_Ca</ci>
            <apply>
               <divide/>
               <ci>ko_Ca</ci>
               <ci>k_Ca_SR</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>ki_SR_Ca</ci>
            <apply>
               <times/>
               <ci>ki_Ca</ci>
               <ci>k_Ca_SR</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>RI</ci>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <ci>Ry_Rr</ci>
                  </apply>
                  <ci>Ry_Ro</ci>
               </apply>
               <ci>Ry_Ri</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Ry_Rr</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <ci>ki_m</ci>
                     <ci>RI</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>ki_SR_Ca</ci>
                     <ci>Ca_j</ci>
                     <ci>Ry_Rr</ci>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <ci>ko_SR_Ca</ci>
                     <apply>
                        <power/>
                        <ci>Ca_j</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <ci>Ry_Rr</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>ko_m</ci>
                     <ci>Ry_Ro</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Ry_Ro</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <ci>ko_SR_Ca</ci>
                     <apply>
                        <power/>
                        <ci>Ca_j</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <ci>Ry_Rr</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>ko_m</ci>
                     <ci>Ry_Ro</ci>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <ci>ki_SR_Ca</ci>
                     <ci>Ca_j</ci>
                     <ci>Ry_Ro</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>ki_m</ci>
                     <ci>Ry_Ri</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Ry_Ri</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <ci>ki_SR_Ca</ci>
                     <ci>Ca_j</ci>
                     <ci>Ry_Ro</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>ki_m</ci>
                     <ci>Ry_Ri</ci>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <ci>ko_m</ci>
                     <ci>Ry_Ri</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>ko_SR_Ca</ci>
                     <apply>
                        <power/>
                        <ci>Ca_j</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <ci>RI</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>J_SR_Ca_rel</ci>
            <apply>
               <times/>
               <ci>ks</ci>
               <ci>Ry_Ro</ci>
               <apply>
                  <minus/>
                  <ci>Ca_SR</ci>
                  <ci>Ca_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>J_ser_Ca</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>V_max_SR_CaP</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <power/>
                        <apply>
                           <divide/>
                           <ci>Ca_i</ci>
                           <ci>Km_f</ci>
                        </apply>
                        <ci>hill_SR_CaP</ci>
                     </apply>
                     <apply>
                        <power/>
                        <apply>
                           <divide/>
                           <ci>Ca_SR</ci>
                           <ci>Km_r</ci>
                        </apply>
                        <ci>hill_SR_CaP</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <power/>
                     <apply>
                        <divide/>
                        <ci>Ca_i</ci>
                        <ci>Km_f</ci>
                     </apply>
                     <ci>hill_SR_CaP</ci>
                  </apply>
                  <apply>
                     <power/>
                     <apply>
                        <divide/>
                        <ci>Ca_SR</ci>
                        <ci>Km_r</ci>
                     </apply>
                     <ci>hill_SR_CaP</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>J_SR_leak</ci>
            <apply>
               <times/>
               <cn type="e-notation" cellml:units="per_millis">5.348   <sep/>
               -6</cn>
               <apply>
                  <minus/>
                  <ci>Ca_SR</ci>
                  <ci>Ca_j</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Cytosolic_Ca_Buffers">
      <variable name="t" units="millisecond" public_interface="in"/>
      <variable name="Ca_i" units="millimolar" public_interface="in"/>
      <variable name="Mg_i" units="millimolar" public_interface="in"/>
      <variable name="TnC_l" units="millimolar" initial_value="9.757237e-3" public_interface="out"/>
      <variable name="TnC_h_c" units="millimolar" initial_value="1.225914e-1" public_interface="out"/>
      <variable name="TnC_h_m" units="millimolar" initial_value="8.12201e-3" public_interface="out"/>
      <variable name="CaM" units="millimolar" initial_value="3.267494e-4" public_interface="out"/>
      <variable name="Myo_c" units="millimolar" initial_value="2.520383e-3" public_interface="out"/>
      <variable name="Myo_m" units="millimolar" initial_value="1.369529e-1" public_interface="out"/>
      <variable name="SRB" units="millimolar" initial_value="2.373753e-3" public_interface="out"/>
      <variable name="k_off_TnC_l" units="per_millis" initial_value="19.6e-3" public_interface="out"/>
      <variable name="k_off_TnC_h_Ca" units="per_millis" initial_value="0.032e-3" public_interface="out"/>
      <variable name="k_off_TnC_h_Mg" units="per_millis" initial_value="3.33e-3" public_interface="out"/>
      <variable name="k_off_CaM" units="per_millis" initial_value="238e-3" public_interface="out"/>
      <variable name="k_off_myo_Ca" units="per_millis" initial_value="0.46e-3" public_interface="out"/>
      <variable name="k_off_myo_Mg" units="per_millis" initial_value="0.057e-3" public_interface="out"/>
      <variable name="k_off_SR" units="per_millis" initial_value="60e-3" public_interface="out"/>
      <variable name="k_on_TnC_l" units="per_milliM_per_millis" initial_value="32.7" public_interface="out"/>
      <variable name="k_on_TnC_h_Ca" units="per_milliM_per_millis" initial_value="2.37" public_interface="out"/>
      <variable name="k_on_TnC_h_Mg" units="per_milliM_per_millis" initial_value="3e-3" public_interface="out"/>
      <variable name="k_on_CaM" units="per_milliM_per_millis" initial_value="34" public_interface="out"/>
      <variable name="k_on_myo_Ca" units="per_milliM_per_millis" initial_value="13.8" public_interface="out"/>
      <variable name="k_on_myo_Mg" units="per_milliM_per_millis" initial_value="0.0157" public_interface="out"/>
      <variable name="k_on_SR" units="per_milliM_per_millis" initial_value="100" public_interface="out"/>
      <variable name="B_max_TnC_low" units="millimolar" initial_value="70e-3" public_interface="out"/>
      <variable name="B_max_TnC_high" units="millimolar" initial_value="140e-3" public_interface="out"/>
      <variable name="B_max_CaM" units="millimolar" initial_value="24e-3" public_interface="out"/>
      <variable name="B_max_myosin" units="millimolar" initial_value="140e-3" public_interface="out"/>
      <variable name="B_max_SR" units="millimolar" initial_value="17.1e-3" public_interface="out"/>
      <variable name="J_Ca_B_cytosol" units="milliM_per_millis" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>TnC_l</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_TnC_l</ci>
                  <ci>Ca_i</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_TnC_low</ci>
                     <ci>TnC_l</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_TnC_l</ci>
                  <ci>TnC_l</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>TnC_h_c</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_TnC_h_Ca</ci>
                  <ci>Ca_i</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <minus/>
                        <ci>B_max_TnC_high</ci>
                        <ci>TnC_h_c</ci>
                     </apply>
                     <ci>TnC_h_m</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_TnC_h_Ca</ci>
                  <ci>TnC_h_c</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>TnC_h_m</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_TnC_h_Mg</ci>
                  <ci>Mg_i</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <minus/>
                        <ci>B_max_TnC_high</ci>
                        <ci>TnC_h_c</ci>
                     </apply>
                     <ci>TnC_h_m</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_TnC_h_Mg</ci>
                  <ci>TnC_h_m</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>CaM</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_CaM</ci>
                  <ci>Ca_i</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_CaM</ci>
                     <ci>CaM</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_CaM</ci>
                  <ci>CaM</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Myo_c</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_myo_Ca</ci>
                  <ci>Ca_i</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <minus/>
                        <ci>B_max_myosin</ci>
                        <ci>Myo_c</ci>
                     </apply>
                     <ci>Myo_m</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_myo_Ca</ci>
                  <ci>Myo_c</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Myo_m</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_myo_Mg</ci>
                  <ci>Mg_i</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <minus/>
                        <ci>B_max_myosin</ci>
                        <ci>Myo_c</ci>
                     </apply>
                     <ci>Myo_m</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_myo_Mg</ci>
                  <ci>Myo_m</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>SRB</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_SR</ci>
                  <ci>Ca_i</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_SR</ci>
                     <ci>SRB</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_SR</ci>
                  <ci>SRB</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>J_Ca_B_cytosol</ci>
            <apply>
               <plus/>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>TnC_l</ci>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>TnC_h_c</ci>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>TnC_h_m</ci>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>CaM</ci>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>Myo_c</ci>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>Myo_m</ci>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>SRB</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Junctional_and_SL_Ca_Buffers">
      <variable name="t" units="millisecond" public_interface="in"/>
      <variable name="V_myo" units="litre" public_interface="in"/>
      <variable name="V_sl" units="litre" public_interface="in"/>
      <variable name="V_junc" units="litre" public_interface="in"/>
      <variable name="B_max_SL_low_j" units="millimolar" public_interface="out"/>
      <variable name="B_max_SL_low_sl" units="millimolar" public_interface="out"/>
      <variable name="B_max_SL_high_j" units="millimolar" public_interface="out"/>
      <variable name="B_max_SL_high_sl" units="millimolar" public_interface="out"/>
      <variable name="k_off_sl_l" units="per_millis" initial_value="1.3" public_interface="out"/>
      <variable name="k_off_sl_h" units="per_millis" initial_value="30e-3" public_interface="out"/>
      <variable name="k_on_sl_l" units="per_milliM_per_millis" initial_value="100" public_interface="out"/>
      <variable name="k_on_sl_h" units="per_milliM_per_millis" initial_value="100" public_interface="out"/>
      <variable name="Ca_j" units="millimolar" public_interface="in"/>
      <variable name="Ca_sl" units="millimolar" public_interface="in"/>
      <variable name="SLL_j" units="millimolar" initial_value="8.563314e-3" public_interface="out"/>
      <variable name="SLL_sl" units="millimolar" initial_value="1.097424e-2" public_interface="out"/>
      <variable name="SLH_j" units="millimolar" initial_value="8.053908e-2" public_interface="out"/>
      <variable name="SLH_sl" units="millimolar" initial_value="1.235381e-1" public_interface="out"/>
      <variable name="J_Ca_B_junction" units="milliM_per_millis" public_interface="out"/>
      <variable name="J_Ca_B_sl" units="milliM_per_millis" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>B_max_SL_low_sl</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn type="e-notation" cellml:units="millimolar">37.4   <sep/>
                  -3</cn>
                  <ci>V_myo</ci>
               </apply>
               <ci>V_sl</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>B_max_SL_low_j</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn type="e-notation" cellml:units="millimolar">4.6   <sep/>
                  -4</cn>
                  <ci>V_myo</ci>
               </apply>
               <ci>V_junc</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>B_max_SL_high_sl</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn type="e-notation" cellml:units="millimolar">13.4   <sep/>
                  -3</cn>
                  <ci>V_myo</ci>
               </apply>
               <ci>V_sl</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>B_max_SL_high_j</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn type="e-notation" cellml:units="millimolar">1.65   <sep/>
                  -4</cn>
                  <ci>V_myo</ci>
               </apply>
               <ci>V_junc</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>SLL_j</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_sl_l</ci>
                  <ci>Ca_j</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_SL_low_j</ci>
                     <ci>SLL_j</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_sl_l</ci>
                  <ci>SLL_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>SLL_sl</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_sl_l</ci>
                  <ci>Ca_sl</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_SL_low_sl</ci>
                     <ci>SLL_sl</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_sl_l</ci>
                  <ci>SLL_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>SLH_j</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_sl_h</ci>
                  <ci>Ca_j</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_SL_high_j</ci>
                     <ci>SLH_j</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_sl_h</ci>
                  <ci>SLH_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>SLH_sl</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_sl_h</ci>
                  <ci>Ca_sl</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_SL_high_sl</ci>
                     <ci>SLH_sl</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_sl_h</ci>
                  <ci>SLH_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>J_Ca_B_junction</ci>
            <apply>
               <plus/>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>SLL_j</ci>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>SLH_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>J_Ca_B_sl</ci>
            <apply>
               <plus/>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>SLL_sl</ci>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>SLH_sl</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Sodium_Concentrations">
      <variable name="B_max_Na_j" units="millimolar" initial_value="7.561" public_interface="out"/>
      <variable name="B_max_Na_sl" units="millimolar" initial_value="1.65" public_interface="out"/>
      <variable name="k_off_Na" units="per_millis" initial_value="1e-3" public_interface="out"/>
      <variable name="k_on_Na" units="per_milliM_per_millis" initial_value="0.1e-3" public_interface="out"/>
      <variable name="I_Na_tot_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Na_tot_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="Na_j" units="millimolar" initial_value="1.007931e1" public_interface="out"/>
      <variable name="Na_sl" units="millimolar" initial_value="1.00781e1" public_interface="out"/>
      <variable name="Na_i" units="millimolar" initial_value="1.007825e1" public_interface="out"/>
      <variable name="Na_o" units="millimolar" initial_value="140" public_interface="out"/>
      <variable name="Na_B_j" units="millimolar" initial_value="3.796195e0" public_interface="out"/>
      <variable name="Na_B_sl" units="millimolar" initial_value="8.283308e-1" public_interface="out"/>
      <variable name="I_Ca_Na_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Ca_Na_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Na_Bk_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Na_Bk_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Na_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Na_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_NaK_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_NaK_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_ncx_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_ncx_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="J_Na_juncsl" units="L_per_millis" public_interface="in"/>
      <variable name="J_Na_slmyo" units="L_per_millis" public_interface="in"/>
      <variable name="V_junc" units="litre" public_interface="in"/>
      <variable name="V_sl" units="litre" public_interface="in"/>
      <variable name="V_myo" units="litre" public_interface="in"/>
      <variable name="t" units="millisecond" public_interface="in"/>
      <variable name="C_mem" units="farad" public_interface="in"/>
      <variable name="Frdy" units="coulomb_per_mole" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>I_Na_tot_junc</ci>
            <apply>
               <plus/>
               <ci>I_Na_junc</ci>
               <ci>I_Na_Bk_junc</ci>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">3</cn>
                  <ci>I_ncx_junc</ci>
               </apply>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">3</cn>
                  <ci>I_NaK_junc</ci>
               </apply>
               <ci>I_Ca_Na_junc</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Na_tot_sl</ci>
            <apply>
               <plus/>
               <ci>I_Na_sl</ci>
               <ci>I_Na_Bk_sl</ci>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">3</cn>
                  <ci>I_ncx_sl</ci>
               </apply>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">3</cn>
                  <ci>I_NaK_sl</ci>
               </apply>
               <ci>I_Ca_Na_sl</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Na_j</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <plus/>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <ci>I_Na_tot_junc</ci>
                        </apply>
                        <ci>C_mem</ci>
                     </apply>
                     <apply>
                        <times/>
                        <ci>V_junc</ci>
                        <ci>Frdy</ci>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <ci>J_Na_juncsl</ci>
                        <ci>V_junc</ci>
                     </apply>
                     <apply>
                        <minus/>
                        <ci>Na_sl</ci>
                        <ci>Na_j</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>Na_B_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Na_sl</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <plus/>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <ci>I_Na_tot_sl</ci>
                        </apply>
                        <ci>C_mem</ci>
                     </apply>
                     <apply>
                        <times/>
                        <ci>V_sl</ci>
                        <ci>Frdy</ci>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <ci>J_Na_juncsl</ci>
                        <ci>V_sl</ci>
                     </apply>
                     <apply>
                        <minus/>
                        <ci>Na_j</ci>
                        <ci>Na_sl</ci>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <ci>J_Na_slmyo</ci>
                        <ci>V_sl</ci>
                     </apply>
                     <apply>
                        <minus/>
                        <ci>Na_i</ci>
                        <ci>Na_sl</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>Na_B_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Na_i</ci>
            </apply>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <ci>J_Na_slmyo</ci>
                  <ci>V_myo</ci>
               </apply>
               <apply>
                  <minus/>
                  <ci>Na_sl</ci>
                  <ci>Na_i</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Na_B_j</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_Na</ci>
                  <ci>Na_j</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_Na_j</ci>
                     <ci>Na_B_j</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_Na</ci>
                  <ci>Na_B_j</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Na_B_sl</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_Na</ci>
                  <ci>Na_sl</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_Na_sl</ci>
                     <ci>Na_B_sl</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_Na</ci>
                  <ci>Na_B_sl</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Potassium_Concentrations">
      <variable name="I_K_tot" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_to" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Kr" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Ks" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_K1" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_NaK" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Ca_K" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Kp" units="picoA_per_picoF" public_interface="in"/>
      <variable name="K_i" units="millimolar" initial_value="138" public_interface="out"/>
      <variable name="K_o" units="millimolar" initial_value="5.4" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>I_K_tot</ci>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <ci>I_to</ci>
                     <ci>I_Kr</ci>
                     <ci>I_Ks</ci>
                     <ci>I_K1</ci>
                  </apply>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">2</cn>
                     <ci>I_NaK</ci>
                  </apply>
               </apply>
               <ci>I_Ca_K</ci>
               <ci>I_Kp</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Calcium_Concentrations">
      <variable name="I_Ca_tot_junc" units="picoA_per_picoF" public_interface="out"/>
      <variable name="I_Ca_tot_sl" units="picoA_per_picoF" public_interface="out"/>
      <variable name="Ca_j" units="millimolar" initial_value="2.038197e-4" public_interface="out"/>
      <variable name="Ca_sl" units="millimolar" initial_value="1.184305e-4" public_interface="out"/>
      <variable name="Ca_i" units="millimolar" initial_value="9.658067e-5" public_interface="out"/>
      <variable name="Ca_o" units="millimolar" initial_value="1.8" public_interface="out"/>
      <variable name="Ca_SR" units="millimolar" initial_value="6.093596e-1" public_interface="out"/>
      <variable name="I_Ca_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Ca_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Ca_Bk_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_Ca_Bk_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_pCa_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_pCa_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_ncx_junc" units="picoA_per_picoF" public_interface="in"/>
      <variable name="I_ncx_sl" units="picoA_per_picoF" public_interface="in"/>
      <variable name="J_Ca_B_junction" units="milliM_per_millis" public_interface="in"/>
      <variable name="J_Ca_B_sl" units="milliM_per_millis" public_interface="in"/>
      <variable name="J_Ca_B_cytosol" units="milliM_per_millis" public_interface="in"/>
      <variable name="J_SR_Ca_rel" units="milliM_per_millis" public_interface="in"/>
      <variable name="J_SR_leak" units="milliM_per_millis" public_interface="in"/>
      <variable name="J_Ca_juncsl" units="L_per_millis" public_interface="in"/>
      <variable name="J_Ca_slmyo" units="L_per_millis" public_interface="in"/>
      <variable name="J_ser_Ca" units="milliM_per_millis" public_interface="in"/>
      <variable name="V_myo" units="litre" public_interface="in"/>
      <variable name="V_sl" units="litre" public_interface="in"/>
      <variable name="V_sr" units="litre" public_interface="in"/>
      <variable name="V_junc" units="litre" public_interface="in"/>
      <variable name="t" units="millisecond" public_interface="in"/>
      <variable name="C_mem" units="farad" public_interface="in"/>
      <variable name="Frdy" units="coulomb_per_mole" public_interface="in"/>
      <variable name="B_max_csqn" units="millimolar" public_interface="out"/>
      <variable name="Csqn_b" units="millimolar" initial_value="1.258048e0" public_interface="out"/>
      <variable name="k_off_csqn" units="per_millis" initial_value="65" public_interface="out"/>
      <variable name="k_on_csqn" units="per_milliM_per_millis" initial_value="100" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>I_Ca_tot_junc</ci>
            <apply>
               <minus/>
               <apply>
                  <plus/>
                  <ci>I_Ca_junc</ci>
                  <ci>I_Ca_Bk_junc</ci>
                  <ci>I_pCa_junc</ci>
               </apply>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">2</cn>
                  <ci>I_ncx_junc</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>I_Ca_tot_sl</ci>
            <apply>
               <minus/>
               <apply>
                  <plus/>
                  <ci>I_Ca_sl</ci>
                  <ci>I_Ca_Bk_sl</ci>
                  <ci>I_pCa_sl</ci>
               </apply>
               <apply>
                  <times/>
                  <cn cellml:units="dimensionless">2</cn>
                  <ci>I_ncx_sl</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>B_max_csqn</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn type="e-notation" cellml:units="millimolar">140   <sep/>
                  -3</cn>
                  <ci>V_myo</ci>
               </apply>
               <ci>V_sr</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Csqn_b</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_on_csqn</ci>
                  <ci>Ca_SR</ci>
                  <apply>
                     <minus/>
                     <ci>B_max_csqn</ci>
                     <ci>Csqn_b</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_off_csqn</ci>
                  <ci>Csqn_b</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Ca_j</ci>
            </apply>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <ci>I_Ca_tot_junc</ci>
                           </apply>
                           <ci>C_mem</ci>
                        </apply>
                        <apply>
                           <times/>
                           <ci>V_junc</ci>
                           <cn cellml:units="dimensionless">2</cn>
                           <ci>Frdy</ci>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <apply>
                           <divide/>
                           <ci>J_Ca_juncsl</ci>
                           <ci>V_junc</ci>
                        </apply>
                        <apply>
                           <minus/>
                           <ci>Ca_sl</ci>
                           <ci>Ca_j</ci>
                        </apply>
                     </apply>
                  </apply>
                  <ci>J_Ca_B_junction</ci>
               </apply>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>J_SR_Ca_rel</ci>
                     <ci>V_sr</ci>
                  </apply>
                  <ci>V_junc</ci>
               </apply>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>J_SR_leak</ci>
                     <ci>V_myo</ci>
                  </apply>
                  <ci>V_junc</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Ca_sl</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <plus/>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <ci>I_Ca_tot_sl</ci>
                        </apply>
                        <ci>C_mem</ci>
                     </apply>
                     <apply>
                        <times/>
                        <ci>V_sl</ci>
                        <cn cellml:units="dimensionless">2</cn>
                        <ci>Frdy</ci>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <ci>J_Ca_juncsl</ci>
                        <ci>V_sl</ci>
                     </apply>
                     <apply>
                        <minus/>
                        <ci>Ca_j</ci>
                        <ci>Ca_sl</ci>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <ci>J_Ca_slmyo</ci>
                        <ci>V_sl</ci>
                     </apply>
                     <apply>
                        <minus/>
                        <ci>Ca_i</ci>
                        <ci>Ca_sl</ci>
                     </apply>
                  </apply>
               </apply>
               <ci>J_Ca_B_sl</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Ca_i</ci>
            </apply>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <ci>J_ser_Ca</ci>
                        </apply>
                        <ci>V_sr</ci>
                     </apply>
                     <ci>V_myo</ci>
                  </apply>
                  <ci>J_Ca_B_cytosol</ci>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <divide/>
                     <ci>J_Ca_slmyo</ci>
                     <ci>V_myo</ci>
                  </apply>
                  <apply>
                     <minus/>
                     <ci>Ca_sl</ci>
                     <ci>Ca_i</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>Ca_SR</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <ci>J_ser_Ca</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <ci>J_SR_leak</ci>
                           <ci>V_myo</ci>
                        </apply>
                        <ci>V_sr</ci>
                     </apply>
                     <ci>J_SR_Ca_rel</ci>
                  </apply>
               </apply>
               <apply>
                  <diff/>
                  <bvar>
                     <ci>t</ci>
                  </bvar>
                  <ci>Csqn_b</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Magnesium_Concentrations">
      <variable name="Mg_i" units="millimolar" initial_value="1" public_interface="out"/>
   </component>
   <component name="Chlorine_Concentrations">
      <variable name="Cl_i" units="millimolar" initial_value="15" public_interface="out"/>
      <variable name="Cl_o" units="millimolar" initial_value="150" public_interface="out"/>
   </component>
   <component name="Nerst_Potentials">
      <variable name="E_Na_junc" units="millivolt" public_interface="out"/>
      <variable name="E_Na_sl" units="millivolt" public_interface="out"/>
      <variable name="E_K" units="millivolt" public_interface="out"/>
      <variable name="E_Ks" units="millivolt" public_interface="out"/>
      <variable name="E_Ca_junc" units="millivolt" public_interface="out"/>
      <variable name="E_Ca_sl" units="millivolt" public_interface="out"/>
      <variable name="E_Cl" units="millivolt" public_interface="out"/>
      <variable name="FoRT" units="per_milliV" public_interface="in"/>
      <variable name="Na_o" units="millimolar" public_interface="in"/>
      <variable name="Na_j" units="millimolar" public_interface="in"/>
      <variable name="Na_sl" units="millimolar" public_interface="in"/>
      <variable name="Na_i" units="millimolar" public_interface="in"/>
      <variable name="K_i" units="millimolar" public_interface="in"/>
      <variable name="K_o" units="millimolar" public_interface="in"/>
      <variable name="Ca_o" units="millimolar" public_interface="in"/>
      <variable name="Ca_j" units="millimolar" public_interface="in"/>
      <variable name="Ca_sl" 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="p_Na_K" units="dimensionless" initial_value="0.01833" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>E_Na_junc</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1</cn>
                  <ci>FoRT</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Na_o</ci>
                     <ci>Na_j</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_Na_sl</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1</cn>
                  <ci>FoRT</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Na_o</ci>
                     <ci>Na_sl</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_Ks</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1</cn>
                  <ci>FoRT</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <apply>
                        <plus/>
                        <ci>K_o</ci>
                        <apply>
                           <times/>
                           <ci>p_Na_K</ci>
                           <ci>Na_o</ci>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <ci>K_i</ci>
                        <apply>
                           <times/>
                           <ci>p_Na_K</ci>
                           <ci>Na_i</ci>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_K</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1</cn>
                  <ci>FoRT</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>K_o</ci>
                     <ci>K_i</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_Ca_junc</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">2</cn>
                     <ci>FoRT</ci>
                  </apply>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Ca_o</ci>
                     <ci>Ca_j</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_Ca_sl</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">2</cn>
                     <ci>FoRT</ci>
                  </apply>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Ca_o</ci>
                     <ci>Ca_sl</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_Cl</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1</cn>
                  <ci>FoRT</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Cl_i</ci>
                     <ci>Cl_o</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <group>
      <relationship_ref relationship="containment"/>
      <component_ref component="membrane">
         <component_ref component="Fast_Na_Current"/>
         <component_ref component="L_Type_Calcium_Current"/>
         <component_ref component="Inward_Rectifier_K_Current"/>
         <component_ref component="Rapidly_Activating_K_Current"/>
         <component_ref component="Slowly_Activating_K_Current"/>
         <component_ref component="Plateau_K_Current"/>
         <component_ref component="Background_Ca_Current"/>
         <component_ref component="Na_K_Pump_Current"/>
         <component_ref component="Na_Ca_Exchanger_Current"/>
         <component_ref component="Transient_Outward_K_Current"/>
         <component_ref component="Sarcolemmal_Ca_Pump_Current"/>
         <component_ref component="Background_Cl_Current"/>
         <component_ref component="Background_Na_Current"/>
         <component_ref component="Ca_Activated_Cl_Current"/>
         <component_ref component="SR_Fluxes"/>
         <component_ref component="Cytosolic_Ca_Buffers"/>
         <component_ref component="Junctional_and_SL_Ca_Buffers"/>
         <component_ref component="Magnesium_Concentrations"/>
         <component_ref component="Nerst_Potentials"/>
         <component_ref component="Potassium_Concentrations"/>
         <component_ref component="Calcium_Concentrations"/>
         <component_ref component="Chlorine_Concentrations"/>
         <component_ref component="Sodium_Concentrations"/>
      </component_ref>
   </group>
   <connection>
      <map_components component_1="environment" component_2="membrane"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="Fast_Na_Current"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="Rapidly_Activating_K_Current"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="Slowly_Activating_K_Current"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="Transient_Outward_K_Current"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="L_Type_Calcium_Current"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="SR_Fluxes"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="Cytosolic_Ca_Buffers"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="Junctional_and_SL_Ca_Buffers"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="Sodium_Concentrations"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="t" variable_2="t"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Fast_Na_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="F_junc" variable_2="F_junc"/>
      <map_variables variable_1="F_sl" variable_2="F_sl"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Background_Na_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="F_junc" variable_2="F_junc"/>
      <map_variables variable_1="F_sl" variable_2="F_sl"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Na_K_Pump_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="F_junc" variable_2="F_junc"/>
      <map_variables variable_1="F_sl" variable_2="F_sl"/>
      <map_variables variable_1="FoRT" variable_2="FoRT"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Sarcolemmal_Ca_Pump_Current"/>
      <map_variables variable_1="F_junc" variable_2="F_junc"/>
      <map_variables variable_1="F_sl" variable_2="F_sl"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Rapidly_Activating_K_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Slowly_Activating_K_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="F_junc" variable_2="F_junc"/>
      <map_variables variable_1="F_sl" variable_2="F_sl"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Plateau_K_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Inward_Rectifier_K_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Transient_Outward_K_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Ca_Activated_Cl_Current"/>
      <map_variables variable_1="I_ClCa" variable_2="I_ClCa"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="F_junc" variable_2="F_junc"/>
      <map_variables variable_1="F_sl" variable_2="F_sl"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="L_Type_Calcium_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="F_junc_Ca_L" variable_2="F_junc_Ca_L"/>
      <map_variables variable_1="F_sl_Ca_L" variable_2="F_sl_Ca_L"/>
      <map_variables variable_1="Frdy" variable_2="Frdy"/>
      <map_variables variable_1="FoRT" variable_2="FoRT"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Na_Ca_Exchanger_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="F_junc" variable_2="F_junc"/>
      <map_variables variable_1="F_sl" variable_2="F_sl"/>
      <map_variables variable_1="FoRT" variable_2="FoRT"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Background_Ca_Current"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="F_junc" variable_2="F_junc"/>
      <map_variables variable_1="F_sl" variable_2="F_sl"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Background_Cl_Current"/>
      <map_variables variable_1="I_Cl_Bk" variable_2="I_Cl_Bk"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Sodium_Concentrations"/>
      <map_variables variable_1="I_Na_tot_junc" variable_2="I_Na_tot_junc"/>
      <map_variables variable_1="I_Na_tot_sl" variable_2="I_Na_tot_sl"/>
      <map_variables variable_1="J_Na_juncsl" variable_2="J_Na_juncsl"/>
      <map_variables variable_1="J_Na_slmyo" variable_2="J_Na_slmyo"/>
      <map_variables variable_1="Frdy" variable_2="Frdy"/>
      <map_variables variable_1="V_myo" variable_2="V_myo"/>
      <map_variables variable_1="V_sl" variable_2="V_sl"/>
      <map_variables variable_1="V_junc" variable_2="V_junc"/>
      <map_variables variable_1="C_mem" variable_2="C_mem"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Potassium_Concentrations"/>
      <map_variables variable_1="I_K_tot" variable_2="I_K_tot"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="I_Ca_tot_junc" variable_2="I_Ca_tot_junc"/>
      <map_variables variable_1="I_Ca_tot_sl" variable_2="I_Ca_tot_sl"/>
      <map_variables variable_1="V_myo" variable_2="V_myo"/>
      <map_variables variable_1="V_sl" variable_2="V_sl"/>
      <map_variables variable_1="V_sr" variable_2="V_sr"/>
      <map_variables variable_1="V_junc" variable_2="V_junc"/>
      <map_variables variable_1="C_mem" variable_2="C_mem"/>
      <map_variables variable_1="Frdy" variable_2="Frdy"/>
      <map_variables variable_1="J_Ca_juncsl" variable_2="J_Ca_juncsl"/>
      <map_variables variable_1="J_Ca_slmyo" variable_2="J_Ca_slmyo"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Nerst_Potentials"/>
      <map_variables variable_1="FoRT" variable_2="FoRT"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="Junctional_and_SL_Ca_Buffers"/>
      <map_variables variable_1="V_myo" variable_2="V_myo"/>
      <map_variables variable_1="V_junc" variable_2="V_junc"/>
      <map_variables variable_1="V_sl" variable_2="V_sl"/>
   </connection>
   <connection>
      <map_components component_1="Na_K_Pump_Current" component_2="Sodium_Concentrations"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
      <map_variables variable_1="Na_sl" variable_2="Na_sl"/>
      <map_variables variable_1="Na_j" variable_2="Na_j"/>
      <map_variables variable_1="I_NaK_junc" variable_2="I_NaK_junc"/>
      <map_variables variable_1="I_NaK_sl" variable_2="I_NaK_sl"/>
   </connection>
   <connection>
      <map_components component_1="Na_Ca_Exchanger_Current" component_2="Sodium_Concentrations"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
      <map_variables variable_1="Na_sl" variable_2="Na_sl"/>
      <map_variables variable_1="Na_j" variable_2="Na_j"/>
      <map_variables variable_1="I_ncx_junc" variable_2="I_ncx_junc"/>
      <map_variables variable_1="I_ncx_sl" variable_2="I_ncx_sl"/>
   </connection>
   <connection>
      <map_components component_1="L_Type_Calcium_Current" component_2="Sodium_Concentrations"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
      <map_variables variable_1="Na_sl" variable_2="Na_sl"/>
      <map_variables variable_1="Na_j" variable_2="Na_j"/>
      <map_variables variable_1="I_Ca_Na_junc" variable_2="I_Ca_Na_junc"/>
      <map_variables variable_1="I_Ca_Na_sl" variable_2="I_Ca_Na_sl"/>
   </connection>
   <connection>
      <map_components component_1="Na_K_Pump_Current" component_2="Potassium_Concentrations"/>
      <map_variables variable_1="I_NaK" variable_2="I_NaK"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Potassium_Concentrations"/>
      <map_variables variable_1="K_i" variable_2="K_i"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
   </connection>
   <connection>
      <map_components component_1="Inward_Rectifier_K_Current" component_2="Potassium_Concentrations"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
      <map_variables variable_1="I_K1" variable_2="I_K1"/>
   </connection>
   <connection>
      <map_components component_1="Slowly_Activating_K_Current" component_2="Potassium_Concentrations"/>
      <map_variables variable_1="I_Ks" variable_2="I_Ks"/>
   </connection>
   <connection>
      <map_components component_1="Rapidly_Activating_K_Current" component_2="Potassium_Concentrations"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
      <map_variables variable_1="I_Kr" variable_2="I_Kr"/>
   </connection>
   <connection>
      <map_components component_1="Plateau_K_Current" component_2="Potassium_Concentrations"/>
      <map_variables variable_1="I_Kp" variable_2="I_Kp"/>
   </connection>
   <connection>
      <map_components component_1="L_Type_Calcium_Current" component_2="Potassium_Concentrations"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
      <map_variables variable_1="K_i" variable_2="K_i"/>
      <map_variables variable_1="I_Ca_K" variable_2="I_Ca_K"/>
   </connection>
   <connection>
      <map_components component_1="Transient_Outward_K_Current" component_2="Potassium_Concentrations"/>
      <map_variables variable_1="I_to" variable_2="I_to"/>
   </connection>
   <connection>
      <map_components component_1="L_Type_Calcium_Current" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
      <map_variables variable_1="Ca_j" variable_2="Ca_j"/>
      <map_variables variable_1="Ca_sl" variable_2="Ca_sl"/>
      <map_variables variable_1="I_Ca_junc" variable_2="I_Ca_junc"/>
      <map_variables variable_1="I_Ca_sl" variable_2="I_Ca_sl"/>
   </connection>
   <connection>
      <map_components component_1="Ca_Activated_Cl_Current" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="Ca_j" variable_2="Ca_j"/>
      <map_variables variable_1="Ca_sl" variable_2="Ca_sl"/>
   </connection>
   <connection>
      <map_components component_1="Na_Ca_Exchanger_Current" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
      <map_variables variable_1="Ca_j" variable_2="Ca_j"/>
      <map_variables variable_1="Ca_sl" variable_2="Ca_sl"/>
      <map_variables variable_1="I_ncx_sl" variable_2="I_ncx_sl"/>
      <map_variables variable_1="I_ncx_junc" variable_2="I_ncx_junc"/>
   </connection>
   <connection>
      <map_components component_1="Sarcolemmal_Ca_Pump_Current" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="Ca_j" variable_2="Ca_j"/>
      <map_variables variable_1="Ca_sl" variable_2="Ca_sl"/>
      <map_variables variable_1="I_pCa_junc" variable_2="I_pCa_junc"/>
      <map_variables variable_1="I_pCa_sl" variable_2="I_pCa_sl"/>
   </connection>
   <connection>
      <map_components component_1="SR_Fluxes" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="Ca_SR" variable_2="Ca_SR"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="Ca_j" variable_2="Ca_j"/>
      <map_variables variable_1="J_SR_Ca_rel" variable_2="J_SR_Ca_rel"/>
      <map_variables variable_1="J_SR_leak" variable_2="J_SR_leak"/>
      <map_variables variable_1="J_ser_Ca" variable_2="J_ser_Ca"/>
   </connection>
   <connection>
      <map_components component_1="Cytosolic_Ca_Buffers" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="J_Ca_B_cytosol" variable_2="J_Ca_B_cytosol"/>
   </connection>
   <connection>
      <map_components component_1="Junctional_and_SL_Ca_Buffers" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="Ca_j" variable_2="Ca_j"/>
      <map_variables variable_1="Ca_sl" variable_2="Ca_sl"/>
      <map_variables variable_1="J_Ca_B_junction" variable_2="J_Ca_B_junction"/>
      <map_variables variable_1="J_Ca_B_sl" variable_2="J_Ca_B_sl"/>
   </connection>
   <connection>
      <map_components component_1="Background_Ca_Current" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="I_Ca_Bk_junc" variable_2="I_Ca_Bk_junc"/>
      <map_variables variable_1="I_Ca_Bk_sl" variable_2="I_Ca_Bk_sl"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Calcium_Concentrations"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
      <map_variables variable_1="Ca_sl" variable_2="Ca_sl"/>
      <map_variables variable_1="Ca_j" variable_2="Ca_j"/>
   </connection>
   <connection>
      <map_components component_1="Fast_Na_Current" component_2="Sodium_Concentrations"/>
      <map_variables variable_1="I_Na_junc" variable_2="I_Na_junc"/>
      <map_variables variable_1="I_Na_sl" variable_2="I_Na_sl"/>
   </connection>
   <connection>
      <map_components component_1="Background_Na_Current" component_2="Sodium_Concentrations"/>
      <map_variables variable_1="I_Na_Bk_junc" variable_2="I_Na_Bk_junc"/>
      <map_variables variable_1="I_Na_Bk_sl" variable_2="I_Na_Bk_sl"/>
   </connection>
   <connection>
      <map_components component_1="Cytosolic_Ca_Buffers" component_2="Magnesium_Concentrations"/>
      <map_variables variable_1="Mg_i" variable_2="Mg_i"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Chlorine_Concentrations"/>
      <map_variables variable_1="Cl_o" variable_2="Cl_o"/>
      <map_variables variable_1="Cl_i" variable_2="Cl_i"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Background_Cl_Current"/>
      <map_variables variable_1="E_Cl" variable_2="E_Cl"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Fast_Na_Current"/>
      <map_variables variable_1="E_Na_sl" variable_2="E_Na_sl"/>
      <map_variables variable_1="E_Na_junc" variable_2="E_Na_junc"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Background_Na_Current"/>
      <map_variables variable_1="E_Na_sl" variable_2="E_Na_sl"/>
      <map_variables variable_1="E_Na_junc" variable_2="E_Na_junc"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Rapidly_Activating_K_Current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Slowly_Activating_K_Current"/>
      <map_variables variable_1="E_Ks" variable_2="E_Ks"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Plateau_K_Current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Transient_Outward_K_Current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Inward_Rectifier_K_Current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Ca_Activated_Cl_Current"/>
      <map_variables variable_1="E_Cl" variable_2="E_Cl"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Background_Ca_Current"/>
      <map_variables variable_1="E_Ca_junc" variable_2="E_Ca_junc"/>
      <map_variables variable_1="E_Ca_sl" variable_2="E_Ca_sl"/>
   </connection>
   <connection>
      <map_components component_1="Nerst_Potentials" component_2="Sodium_Concentrations"/>
      <map_variables variable_1="Na_sl" variable_2="Na_sl"/>
      <map_variables variable_1="Na_j" variable_2="Na_j"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
      <map_variables variable_1="Na_i" variable_2="Na_i"/>
   </connection>
</model>