Location: Gattoni 2016 @ 2a10a6a1fb00 / Sham_AB_models / Gattoni_AB6Hz.cellml

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2016-01-18 11:55:52+13:00
Desc:
correct reST formatting
Permanent Source URI:
https://models.physiomeproject.org/workspace/285/rawfile/2a10a6a1fb003356b75b4d8f22fe77a56c4e98f4/Sham_AB_models/Gattoni_AB6Hz.cellml

<?xml version="1.0" encoding="utf-8"?>
<!--
This CellML file was generated on 01/06/2015 at 16:43:35 using:

COR (0.9.31.1409)
Copyright 2002-2015 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="pandit_hinch" cmeta:id="pandit_hinch" 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="ms">
      <unit units="second" prefix="milli"/>
   </units>
   <units name="per_ms">
      <unit units="second" prefix="milli" exponent="-1"/>
   </units>
   <units name="mV">
      <unit units="volt" prefix="milli"/>
   </units>
   <units name="per_mV">
      <unit units="volt" prefix="milli" exponent="-1"/>
   </units>
   <units name="per_mV2">
      <unit units="volt" prefix="milli" exponent="-2"/>
   </units>
   <units name="uL">
      <unit units="litre" prefix="micro"/>
   </units>
   <units name="uA">
      <unit units="ampere" prefix="micro"/>
   </units>
   <units name="uF">
      <unit units="farad" prefix="micro"/>
   </units>
   <units name="uS">
      <unit units="siemens" prefix="micro"/>
   </units>
   <units name="mSi">
      <unit units="siemens" prefix="milli"/>
   </units>
   <units name="mM">
      <unit units="mole" prefix="milli"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units name="mM_per_ms">
      <unit units="mM"/>
      <unit units="second" prefix="milli" exponent="-1"/>
   </units>
   <units name="um3">
      <unit units="meter" prefix="micro" exponent="3"/>
   </units>
   <units name="um3_per_ms">
      <unit units="meter" prefix="micro" exponent="3"/>
      <unit units="second" prefix="milli" exponent="-1"/>
   </units>
   <units name="um3_mM_per_ms">
      <unit units="meter" prefix="micro" exponent="3"/>
      <unit units="mM"/>
      <unit units="second" prefix="milli" exponent="-1"/>
   </units>
   <units name="mM_per_mV_ms">
      <unit units="mM"/>
      <unit units="second" prefix="milli" exponent="-1"/>
      <unit units="volt" prefix="milli" exponent="-1"/>
   </units>
   <units name="per_ms3">
      <unit units="second" prefix="milli" exponent="-3"/>
   </units>
   <units name="per_mM_ms">
      <unit units="mM" exponent="-1"/>
      <unit units="second" prefix="milli" exponent="-1"/>
   </units>
   <units name="mJ_per_mole_K">
      <unit units="joule" prefix="milli"/>
      <unit units="mole" exponent="-1"/>
      <unit units="kelvin" exponent="-1"/>
   </units>
   <units name="C_per_mole">
      <unit units="coulomb"/>
      <unit units="mole" exponent="-1"/>
   </units>
   <units name="N_per_mM2">
      <unit units="newton"/>
      <unit units="metre" prefix="milli" exponent="-2"/>
   </units>
   <units name="millijoule_per_mole_kelvin">
      <unit units="joule" prefix="milli"/>
      <unit units="kelvin" exponent="-1"/>
      <unit units="mole" exponent="-1"/>
   </units>
   <units name="coulomb_per_mole">
      <unit units="coulomb"/>
      <unit units="mole" exponent="-1"/>
   </units>
   <units name="micro_litre">
      <unit units="litre" prefix="micro"/>
   </units>
   <component name="environment">
      <variable name="time" units="ms" public_interface="out"/>
   </component>
   <component name="membrane">
      <variable name="V" units="mV" initial_value="-86.2742001770196" public_interface="out"/>
      <variable name="R" units="millijoule_per_mole_kelvin" initial_value="8314" public_interface="out"/>
      <variable name="T" units="kelvin" initial_value="310" public_interface="out"/>
      <variable name="F" units="coulomb_per_mole" initial_value="96487" public_interface="out"/>
      <variable name="time" units="ms" public_interface="in"/>
      <variable name="Cm" units="uF" initial_value="0.0001"/>
      <variable name="i_Na" units="uA" public_interface="in"/>
      <variable name="i_t" units="uA" public_interface="in"/>
      <variable name="i_ss" units="uA" public_interface="in"/>
      <variable name="i_K1" units="uA" public_interface="in"/>
      <variable name="i_f" units="uA" public_interface="in"/>
      <variable name="i_B_Na" units="uA" public_interface="in"/>
      <variable name="i_B_K" units="uA" public_interface="in"/>
      <variable name="i_NaK" units="uA" public_interface="in"/>
      <variable name="i_Ncx2" units="uA" public_interface="in"/>
      <variable name="i_pCa2" units="uA" public_interface="in"/>
      <variable name="i_LCC2" units="uA" public_interface="in"/>
      <variable name="i_CaB2" units="uA" public_interface="in"/>
      <variable name="i_Stim" units="uA" public_interface="out"/>
      <variable name="stim_period" units="ms" initial_value="170"/>
      <variable name="stim_duration" units="ms" initial_value="3"/>
      <variable name="stim_amplitude" units="uA" initial_value="-0.0012"/>
      <variable name="FVRT" units="dimensionless" public_interface="out"/>
      <variable name="FVRT_Ca" units="dimensionless" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>FVRT</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>F</ci>
                  <ci>V</ci>
               </apply>
               <apply>
                  <times/>
                  <ci>R</ci>
                  <ci>T</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>FVRT_Ca</ci>
            <apply>
               <times/>
               <cn cellml:units="dimensionless">2</cn>
               <ci>FVRT</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_Stim</ci>
            <piecewise>
               <piece>
                  <ci>stim_amplitude</ci>
                  <apply>
                     <and/>
                     <apply>
                        <geq/>
                        <apply>
                           <minus/>
                           <ci>time</ci>
                           <apply>
                              <times/>
                              <apply>
                                 <floor/>
                                 <apply>
                                    <divide/>
                                    <ci>time</ci>
                                    <ci>stim_period</ci>
                                 </apply>
                              </apply>
                              <ci>stim_period</ci>
                           </apply>
                        </apply>
                        <cn cellml:units="ms">0</cn>
                     </apply>
                     <apply>
                        <leq/>
                        <apply>
                           <minus/>
                           <ci>time</ci>
                           <apply>
                              <times/>
                              <apply>
                                 <floor/>
                                 <apply>
                                    <divide/>
                                    <ci>time</ci>
                                    <ci>stim_period</ci>
                                 </apply>
                              </apply>
                              <ci>stim_period</ci>
                           </apply>
                        </apply>
                        <ci>stim_duration</ci>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="uA">0</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>V</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <ci>i_Na</ci>
                     <ci>i_t</ci>
                     <ci>i_ss</ci>
                     <ci>i_f</ci>
                     <ci>i_K1</ci>
                     <ci>i_B_Na</ci>
                     <ci>i_B_K</ci>
                     <ci>i_NaK</ci>
                     <ci>i_CaB2</ci>
                     <ci>i_Ncx2</ci>
                     <ci>i_pCa2</ci>
                     <ci>i_LCC2</ci>
                     <ci>i_Stim</ci>
                  </apply>
               </apply>
               <ci>Cm</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="cell_geometry">
      <variable name="Vmyo" units="um3" initial_value="25850" public_interface="out"/>
      <variable name="Vmyo_uL" units="uL" initial_value="2.585e-5" public_interface="out"/>
      <variable name="VSR_uL" units="uL" initial_value="2.098e-6" public_interface="out"/>
   </component>
   <component name="sodium_current">
      <variable name="i_Na" units="uA" public_interface="out"/>
      <variable name="E_Na" units="mV" public_interface="out"/>
      <variable name="g_Na" units="mSi" initial_value="0.0007"/>
      <variable name="Na_i" units="mM" public_interface="in"/>
      <variable name="Na_o" units="mM" public_interface="in"/>
      <variable name="R" units="millijoule_per_mole_kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in" private_interface="out"/>
      <variable name="V" units="mV" public_interface="in" private_interface="out"/>
      <variable name="m" units="dimensionless" private_interface="in"/>
      <variable name="h" units="dimensionless" private_interface="in"/>
      <variable name="j" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>E_Na</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Na_o</ci>
                     <ci>Na_i</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_Na</ci>
            <apply>
               <times/>
               <ci>g_Na</ci>
               <apply>
                  <power/>
                  <ci>m</ci>
                  <cn cellml:units="dimensionless">3</cn>
               </apply>
               <ci>h</ci>
               <ci>j</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Na</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="sodium_current_m_gate">
      <variable name="m" units="dimensionless" initial_value="0.00174392847776228" public_interface="out"/>
      <variable name="m_infinity" units="dimensionless"/>
      <variable name="tau_m" units="ms"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>m_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">45</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="mV">6.5</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_m</ci>
            <apply>
               <divide/>
               <cn cellml:units="ms">1.36</cn>
               <apply>
                  <plus/>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_mV">0.32</cn>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">47.13</cn>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_mV">0.1</cn>
                              </apply>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="mV">47.13</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.08</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <ci>V</ci>
                           </apply>
                           <cn cellml:units="mV">11</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>m</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>m_infinity</ci>
                  <ci>m</ci>
               </apply>
               <ci>tau_m</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="sodium_current_h_gate">
      <variable name="h" units="dimensionless" initial_value="0.831855538514125" public_interface="out"/>
      <variable name="h_infinity" units="dimensionless"/>
      <variable name="tau_h" units="ms"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>h_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">76.1</cn>
                        </apply>
                        <cn cellml:units="mV">6.07</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <times/>
                     <cn cellml:units="ms">0.4537</cn>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="mV">10.66</cn>
                                 </apply>
                              </apply>
                              <cn cellml:units="mV">11.1</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <geq/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="mV">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <cn cellml:units="ms">3.49</cn>
                     <apply>
                        <plus/>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.135</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <minus/>
                                    <apply>
                                       <plus/>
                                       <ci>V</ci>
                                       <cn cellml:units="mV">80</cn>
                                    </apply>
                                 </apply>
                                 <cn cellml:units="mV">6.8</cn>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">3.56</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <cn cellml:units="per_mV">0.079</cn>
                                 <ci>V</ci>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">310000</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <cn cellml:units="per_mV">0.35</cn>
                                 <ci>V</ci>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>h</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>h_infinity</ci>
                  <ci>h</ci>
               </apply>
               <ci>tau_h</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="sodium_current_j_gate">
      <variable name="j" units="dimensionless" initial_value="0.585528587217805" public_interface="out"/>
      <variable name="j_infinity" units="dimensionless"/>
      <variable name="tau_j" units="ms"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>j_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">76.1</cn>
                        </apply>
                        <cn cellml:units="mV">6.07</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_j</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="ms">11.63</cn>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="per_mV">0.1</cn>
                                 </apply>
                                 <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="mV">32</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <cn cellml:units="per_mV">0.0000002535</cn>
                           </apply>
                           <ci>V</ci>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <geq/>
                     <ci>V</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="mV">40</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <cn cellml:units="ms">3.49</cn>
                     <apply>
                        <plus/>
                        <apply>
                           <times/>
                           <apply>
                              <divide/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="mV">37.78</cn>
                              </apply>
                              <apply>
                                 <plus/>
                                 <cn cellml:units="dimensionless">1</cn>
                                 <apply>
                                    <exp/>
                                    <apply>
                                       <times/>
                                       <cn cellml:units="per_mV">0.311</cn>
                                       <apply>
                                          <plus/>
                                          <ci>V</ci>
                                          <cn cellml:units="mV">79.23</cn>
                                       </apply>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="per_mV">127140</cn>
                                 </apply>
                                 <apply>
                                    <exp/>
                                    <apply>
                                       <times/>
                                       <cn cellml:units="per_mV">0.2444</cn>
                                       <ci>V</ci>
                                    </apply>
                                 </apply>
                              </apply>
                              <apply>
                                 <times/>
                                 <cn cellml:units="per_mV">0.00003474</cn>
                                 <apply>
                                    <exp/>
                                    <apply>
                                       <times/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="per_mV">0.04391</cn>
                                       </apply>
                                       <ci>V</ci>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">0.1212</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <times/>
                                    <apply>
                                       <minus/>
                                       <cn cellml:units="per_mV">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_mV">0.1378</cn>
                                    </apply>
                                    <apply>
                                       <plus/>
                                       <ci>V</ci>
                                       <cn cellml:units="mV">40.14</cn>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>j</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>j_infinity</ci>
                  <ci>j</ci>
               </apply>
               <ci>tau_j</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Ca_independent_transient_outward_K_current">
      <variable name="i_t" units="uA" public_interface="out"/>
      <variable name="E_K" units="mV" public_interface="out"/>
      <variable name="g_t" units="mSi" initial_value="1.4e-5"/>
      <variable name="a" units="dimensionless" initial_value="0.883"/>
      <variable name="b" units="dimensionless" initial_value="0.117"/>
      <variable name="time" units="ms" public_interface="in" private_interface="out"/>
      <variable name="V" units="mV" public_interface="in" private_interface="out"/>
      <variable name="R" units="millijoule_per_mole_kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="K_o" units="mM" public_interface="in"/>
      <variable name="K_i" units="mM" public_interface="in"/>
      <variable name="r" units="dimensionless" private_interface="in"/>
      <variable name="s" units="dimensionless" private_interface="in"/>
      <variable name="s_slow" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>E_K</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>K_o</ci>
                     <ci>K_i</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_t</ci>
            <apply>
               <times/>
               <ci>g_t</ci>
               <ci>r</ci>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <ci>a</ci>
                     <ci>s</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>b</ci>
                     <ci>s_slow</ci>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Ca_independent_transient_outward_K_current_r_gate">
      <variable name="r" units="dimensionless" initial_value="0.00132309740749641" public_interface="out"/>
      <variable name="tau_r" units="ms"/>
      <variable name="r_infinity" units="dimensionless"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>r_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">10.6</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="mV">11.42</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_r</ci>
            <apply>
               <divide/>
               <cn cellml:units="ms">100</cn>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">45.16</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <cn cellml:units="per_mV">0.03577</cn>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="mV">50</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">98.9</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <cn cellml:units="per_mV">0.1</cn>
                           </apply>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="mV">38</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>r</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>r_infinity</ci>
                  <ci>r</ci>
               </apply>
               <ci>tau_r</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Ca_independent_transient_outward_K_current_s_gate">
      <variable name="s" units="dimensionless" initial_value="0.913059928712858" public_interface="out"/>
      <variable name="tau_s" units="ms"/>
      <variable name="s_infinity" units="dimensionless"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>s_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">45.3</cn>
                        </apply>
                        <cn cellml:units="mV">6.8841</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_s</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <cn cellml:units="ms">20</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <minus/>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="mV">70</cn>
                              </apply>
                              <cn cellml:units="mV">25</cn>
                           </apply>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="ms">35</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>s</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>s_infinity</ci>
                  <ci>s</ci>
               </apply>
               <ci>tau_s</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Ca_independent_transient_outward_K_current_s_slow_gate">
      <variable name="s_slow" units="dimensionless" initial_value="0.215036691884835" public_interface="out"/>
      <variable name="tau_s_slow" units="ms"/>
      <variable name="s_slow_infinity" units="dimensionless"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>s_slow_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">45.3</cn>
                        </apply>
                        <cn cellml:units="mV">6.8841</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_s_slow</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <cn cellml:units="ms">1300</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <minus/>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <apply>
                                 <plus/>
                                 <ci>V</ci>
                                 <cn cellml:units="mV">70</cn>
                              </apply>
                              <cn cellml:units="mV">30</cn>
                           </apply>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="ms">35</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>s_slow</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>s_slow_infinity</ci>
                  <ci>s_slow</ci>
               </apply>
               <ci>tau_s_slow</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="steady_state_outward_K_current">
      <variable name="i_ss" units="uA" public_interface="out"/>
      <variable name="g_ss" units="mSi" initial_value="1e-6"/>
      <variable name="time" units="ms" public_interface="in" private_interface="out"/>
      <variable name="V" units="mV" public_interface="in" private_interface="out"/>
      <variable name="E_K" units="mV" public_interface="in"/>
      <variable name="r_ss" units="dimensionless" private_interface="in"/>
      <variable name="s_ss" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_ss</ci>
            <apply>
               <times/>
               <ci>g_ss</ci>
               <ci>r_ss</ci>
               <ci>s_ss</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="steady_state_outward_K_current_r_ss_gate">
      <variable name="r_ss" units="dimensionless" initial_value="0.00178817500396492" public_interface="out"/>
      <variable name="tau_r_ss" units="ms"/>
      <variable name="r_ss_infinity" units="dimensionless"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>r_ss_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">11.5</cn>
                        </apply>
                        <apply>
                           <minus/>
                           <cn cellml:units="mV">11.82</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_r_ss</ci>
            <apply>
               <divide/>
               <cn cellml:units="ms">10000</cn>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">45.16</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <cn cellml:units="per_mV">0.03577</cn>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="mV">50</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">98.9</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <cn cellml:units="per_mV">0.1</cn>
                           </apply>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="mV">38</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>r_ss</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>r_ss_infinity</ci>
                  <ci>r_ss</ci>
               </apply>
               <ci>tau_r_ss</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="steady_state_outward_K_current_s_ss_gate">
      <variable name="s_ss" units="dimensionless" initial_value="0.209855226174927" public_interface="out"/>
      <variable name="tau_s_ss" units="ms"/>
      <variable name="s_ss_infinity" units="dimensionless"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>s_ss_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">87.5</cn>
                        </apply>
                        <cn cellml:units="mV">10.3</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_s_ss</ci>
            <cn cellml:units="ms">2100</cn>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>s_ss</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>s_ss_infinity</ci>
                  <ci>s_ss</ci>
               </apply>
               <ci>tau_s_ss</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="inward_rectifier">
      <variable name="i_K1" units="uA" public_interface="out"/>
      <variable name="g_K1" units="mSi" initial_value="1.5e-5"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="R" units="millijoule_per_mole_kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="K_o" units="mM" public_interface="in"/>
      <variable name="K_i" units="mM" public_interface="in"/>
      <variable name="E_K" units="mV" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_K1</ci>
            <apply>
               <plus/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <apply>
                        <plus/>
                        <apply>
                           <divide/>
                           <cn cellml:units="uA">0.048</cn>
                           <apply>
                              <plus/>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <plus/>
                                       <ci>V</ci>
                                       <cn cellml:units="mV">37</cn>
                                    </apply>
                                    <cn cellml:units="mV">25</cn>
                                 </apply>
                              </apply>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <plus/>
                                       <ci>V</ci>
                                       <cn cellml:units="mV">37</cn>
                                    </apply>
                                    <apply>
                                       <minus/>
                                       <cn cellml:units="mV">25</cn>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <cn cellml:units="uA">0.01</cn>
                     </apply>
                     <cn cellml:units="dimensionless">0.001</cn>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <ci>V</ci>
                              <apply>
                                 <plus/>
                                 <ci>E_K</ci>
                                 <cn cellml:units="mV">76.77</cn>
                              </apply>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="mV">17</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>g_K1</ci>
                     <apply>
                        <minus/>
                        <ci>V</ci>
                        <apply>
                           <plus/>
                           <ci>E_K</ci>
                           <cn cellml:units="mV">1.73</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <cn cellml:units="dimensionless">1.613</cn>
                                 <ci>F</ci>
                                 <apply>
                                    <minus/>
                                    <ci>V</ci>
                                    <apply>
                                       <plus/>
                                       <ci>E_K</ci>
                                       <cn cellml:units="mV">1.73</cn>
                                    </apply>
                                 </apply>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <minus/>
                                 <ci>K_o</ci>
                                 <cn cellml:units="mM">0.9988</cn>
                              </apply>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="mM">0.124</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="hyperpolarisation_activated_current">
      <variable name="i_f" units="uA" public_interface="out"/>
      <variable name="i_f_Na" units="uA" public_interface="out"/>
      <variable name="i_f_K" units="uA" public_interface="out"/>
      <variable name="g_f" units="mSi" initial_value="1.45e-6"/>
      <variable name="f_Na" units="dimensionless" initial_value="0.2"/>
      <variable name="f_K" units="dimensionless"/>
      <variable name="time" units="ms" public_interface="in" private_interface="out"/>
      <variable name="V" units="mV" public_interface="in" private_interface="out"/>
      <variable name="E_K" units="mV" public_interface="in"/>
      <variable name="E_Na" units="mV" public_interface="in"/>
      <variable name="y" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>f_K</ci>
            <apply>
               <minus/>
               <cn cellml:units="dimensionless">1</cn>
               <ci>f_Na</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_f_Na</ci>
            <apply>
               <times/>
               <ci>g_f</ci>
               <ci>y</ci>
               <ci>f_Na</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Na</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_f_K</ci>
            <apply>
               <times/>
               <ci>g_f</ci>
               <ci>y</ci>
               <ci>f_K</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_f</ci>
            <apply>
               <plus/>
               <ci>i_f_Na</ci>
               <ci>i_f_K</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="hyperpolarisation_activated_current_y_gate">
      <variable name="y" units="dimensionless" initial_value="0.0025539544569868" public_interface="out"/>
      <variable name="tau_y" units="ms"/>
      <variable name="y_infinity" units="dimensionless"/>
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>y_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <ci>V</ci>
                           <cn cellml:units="mV">138.6</cn>
                        </apply>
                        <cn cellml:units="mV">10.48</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_y</ci>
            <apply>
               <divide/>
               <cn cellml:units="ms">1000</cn>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.11885</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="mV">80</cn>
                           </apply>
                           <cn cellml:units="mV">28.37</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.5623</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <ci>V</ci>
                              <cn cellml:units="mV">80</cn>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="mV">14.19</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>y</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>y_infinity</ci>
                  <ci>y</ci>
               </apply>
               <ci>tau_y</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="background_currents">
      <variable name="i_B" units="uA" public_interface="out"/>
      <variable name="i_B_Na" units="uA" public_interface="out"/>
      <variable name="i_B_K" units="uA" public_interface="out"/>
      <variable name="g_B_Na" units="mSi" initial_value="8.015e-8"/>
      <variable name="g_B_K" units="mSi" initial_value="1.38e-7"/>
      <variable name="E_Na" units="mV" public_interface="in"/>
      <variable name="E_K" units="mV" public_interface="in"/>
      <variable name="V" units="mV" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_B_Na</ci>
            <apply>
               <times/>
               <ci>g_B_Na</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_Na</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_B_K</ci>
            <apply>
               <times/>
               <ci>g_B_K</ci>
               <apply>
                  <minus/>
                  <ci>V</ci>
                  <ci>E_K</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_B</ci>
            <apply>
               <plus/>
               <ci>i_B_Na</ci>
               <ci>i_B_K</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="sodium_potassium_pump">
      <variable name="i_NaK" units="uA" public_interface="out"/>
      <variable name="i_NaK_max" units="uA" initial_value="0.00138"/>
      <variable name="nu_1" units="dimensionless"/>
      <variable name="gamma1" units="dimensionless" initial_value="3.6"/>
      <variable name="KdNaio" units="mM" initial_value="19"/>
      <variable name="KdNais" units="mM" initial_value="22"/>
      <variable name="KdNaes" units="mM" initial_value="880"/>
      <variable name="Delta" units="dimensionless" initial_value="0.3"/>
      <variable name="alpha" units="mM" initial_value="1.8"/>
      <variable name="K_o" units="mM" public_interface="in"/>
      <variable name="Na_o" units="mM" public_interface="in"/>
      <variable name="Na_i" units="mM" public_interface="in"/>
      <variable name="R" units="millijoule_per_mole_kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="V" units="mV" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>nu_1</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <ci>gamma1</ci>
                  <apply>
                     <power/>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <ci>KdNaio</ci>
                           <ci>Na_i</ci>
                        </apply>
                     </apply>
                     <cn cellml:units="dimensionless">2</cn>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <apply>
                           <divide/>
                           <ci>KdNais</ci>
                           <ci>Na_i</ci>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <times/>
                                    <apply>
                                       <minus/>
                                       <ci>Delta</ci>
                                    </apply>
                                    <ci>F</ci>
                                    <ci>V</ci>
                                 </apply>
                                 <ci>R</ci>
                              </apply>
                              <ci>T</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <power/>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <ci>alpha</ci>
                           <ci>K_o</ci>
                        </apply>
                     </apply>
                     <cn cellml:units="dimensionless">2</cn>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <apply>
                           <divide/>
                           <ci>Na_o</ci>
                           <ci>KdNaes</ci>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <times/>
                                    <apply>
                                       <minus/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="dimensionless">1</cn>
                                          <ci>Delta</ci>
                                       </apply>
                                    </apply>
                                    <ci>F</ci>
                                    <ci>V</ci>
                                 </apply>
                                 <ci>R</ci>
                              </apply>
                              <ci>T</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_NaK</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>i_NaK_max</ci>
                  <apply>
                     <plus/>
                     <ci>gamma1</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </apply>
               <ci>nu_1</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="extracellular_ion_concentrations">
      <variable name="K_o" units="mM" initial_value="5.4" public_interface="out"/>
      <variable name="Na_o" units="mM" initial_value="140" public_interface="out"/>
      <variable name="Ca_o" units="mM" initial_value="1.8" public_interface="out"/>
   </component>
   <component name="CaRU">
      <variable name="g_D" units="um3_per_ms" initial_value="0.1" private_interface="out"/>
      <variable name="J_R" units="um3_per_ms" initial_value="0.02" private_interface="out"/>
      <variable name="J_L" units="um3_per_ms" initial_value="0.0012" private_interface="out"/>
      <variable name="Vmyo" units="um3" public_interface="in" private_interface="out"/>
      <variable name="Vmyo_uL" units="uL" public_interface="in" private_interface="out"/>
      <variable name="N" units="dimensionless" initial_value="50000" private_interface="out"/>
      <variable name="V" units="mV" public_interface="in" private_interface="out"/>
      <variable name="Ca_i" units="mM" public_interface="in" private_interface="out"/>
      <variable name="Ca_o" units="mM" public_interface="in" private_interface="out"/>
      <variable name="Ca_SR" units="mM" public_interface="in" private_interface="out"/>
      <variable name="time" units="ms" public_interface="in" private_interface="out"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in" private_interface="out"/>
      <variable name="FVRT_Ca" units="dimensionless" public_interface="in" private_interface="out"/>
      <variable name="i_RyR2" units="mM_per_ms" public_interface="out" private_interface="in"/>
      <variable name="i_LCC2" units="uA" public_interface="out" private_interface="in"/>
   </component>
   <component name="CaRU_Transitions">
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="C_oc" units="mM" public_interface="in"/>
      <variable name="C_co" units="mM" public_interface="in"/>
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <variable name="V_L" units="mV" initial_value="-13"/>
      <variable name="del_VL" units="mV" initial_value="7"/>
      <variable name="phi_L" units="dimensionless" initial_value="11.5"/>
      <variable name="t_L" units="ms" initial_value="1"/>
      <variable name="tau_L" units="ms" initial_value="1550"/>
      <variable name="t_R" units="ms" initial_value="1.17"/>
      <variable name="tau_R" units="ms" initial_value="2.4"/>
      <variable name="phi_R" units="dimensionless" initial_value="0.05"/>
      <variable name="theta_R" units="dimensionless" initial_value="0.012"/>
      <variable name="K_RyR" units="mM" initial_value="0.065"/>
      <variable name="K_L" units="mM" initial_value="0.00016"/>
      <variable name="a1" units="dimensionless" initial_value="0.0625"/>
      <variable name="b1" units="dimensionless" initial_value="14"/>
      <variable name="c" units="dimensionless" initial_value="0.01"/>
      <variable name="d" units="dimensionless" initial_value="100"/>
      <variable name="expVL" units="dimensionless"/>
      <variable name="alpha_p" units="per_ms" public_interface="out"/>
      <variable name="alpha_m" units="per_ms" public_interface="out"/>
      <variable name="beta_poc" units="per_ms" public_interface="out"/>
      <variable name="beta_pcc" units="per_ms" public_interface="out"/>
      <variable name="beta_m" units="per_ms" public_interface="out"/>
      <variable name="epsilon_pco" units="per_ms" public_interface="out"/>
      <variable name="epsilon_pcc" units="per_ms" public_interface="out"/>
      <variable name="epsilon_m" units="per_ms" public_interface="out"/>
      <variable name="mu_poc" units="per_ms" public_interface="out"/>
      <variable name="mu_pcc" units="per_ms" public_interface="out"/>
      <variable name="mu_moc" units="per_ms" public_interface="out"/>
      <variable name="mu_mcc" units="per_ms" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>expVL</ci>
            <apply>
               <exp/>
               <apply>
                  <divide/>
                  <apply>
                     <minus/>
                     <ci>V</ci>
                     <ci>V_L</ci>
                  </apply>
                  <ci>del_VL</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_p</ci>
            <apply>
               <divide/>
               <ci>expVL</ci>
               <apply>
                  <times/>
                  <ci>t_L</ci>
                  <apply>
                     <plus/>
                     <ci>expVL</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_m</ci>
            <apply>
               <divide/>
               <ci>phi_L</ci>
               <ci>t_L</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_poc</ci>
            <apply>
               <divide/>
               <apply>
                  <power/>
                  <ci>C_oc</ci>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
               <apply>
                  <times/>
                  <ci>t_R</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>C_oc</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>K_RyR</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_pcc</ci>
            <apply>
               <divide/>
               <apply>
                  <power/>
                  <ci>Ca_i</ci>
                  <cn cellml:units="dimensionless">2</cn>
               </apply>
               <apply>
                  <times/>
                  <ci>t_R</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>Ca_i</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>K_RyR</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_m</ci>
            <apply>
               <divide/>
               <ci>phi_R</ci>
               <ci>t_R</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>epsilon_pco</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>C_co</ci>
                  <apply>
                     <plus/>
                     <ci>expVL</ci>
                     <ci>a1</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>tau_L</ci>
                  <ci>K_L</ci>
                  <apply>
                     <plus/>
                     <ci>expVL</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>epsilon_pcc</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>Ca_i</ci>
                  <apply>
                     <plus/>
                     <ci>expVL</ci>
                     <ci>a1</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>tau_L</ci>
                  <ci>K_L</ci>
                  <apply>
                     <plus/>
                     <ci>expVL</ci>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>epsilon_m</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>b1</ci>
                  <apply>
                     <plus/>
                     <ci>expVL</ci>
                     <ci>a1</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>tau_L</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <ci>b1</ci>
                        <ci>expVL</ci>
                     </apply>
                     <ci>a1</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>mu_poc</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <apply>
                     <power/>
                     <ci>C_oc</ci>
                     <cn cellml:units="dimensionless">2</cn>
                  </apply>
                  <apply>
                     <times/>
                     <ci>c</ci>
                     <apply>
                        <power/>
                        <ci>K_RyR</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>tau_R</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>C_oc</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>K_RyR</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>mu_pcc</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <apply>
                     <power/>
                     <ci>Ca_i</ci>
                     <cn cellml:units="dimensionless">2</cn>
                  </apply>
                  <apply>
                     <times/>
                     <ci>c</ci>
                     <apply>
                        <power/>
                        <ci>K_RyR</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>tau_R</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>Ca_i</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>K_RyR</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>mu_moc</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>theta_R</ci>
                  <ci>d</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>C_oc</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <apply>
                        <times/>
                        <ci>c</ci>
                        <apply>
                           <power/>
                           <ci>K_RyR</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>tau_R</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <ci>d</ci>
                        <apply>
                           <power/>
                           <ci>C_oc</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <ci>c</ci>
                        <apply>
                           <power/>
                           <ci>K_RyR</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>mu_mcc</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>theta_R</ci>
                  <ci>d</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>Ca_i</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <apply>
                        <times/>
                        <ci>c</ci>
                        <apply>
                           <power/>
                           <ci>K_RyR</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>tau_R</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <ci>d</ci>
                        <apply>
                           <power/>
                           <ci>Ca_i</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <ci>c</ci>
                        <apply>
                           <power/>
                           <ci>K_RyR</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="DS_Calcium_Concentrations">
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <variable name="Ca_SR" units="mM" public_interface="in"/>
      <variable name="Ca_o" units="mM" public_interface="in"/>
      <variable name="FVRT_Ca" units="dimensionless" public_interface="in"/>
      <variable name="g_D" units="um3_per_ms" public_interface="in"/>
      <variable name="J_R" units="um3_per_ms" public_interface="in"/>
      <variable name="J_L" units="um3_per_ms" public_interface="in"/>
      <variable name="C_cc" units="mM" public_interface="out"/>
      <variable name="C_oc" units="mM" public_interface="out"/>
      <variable name="C_co" units="mM" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>C_cc</ci>
            <ci>Ca_i</ci>
         </apply>
         <apply>
            <eq/>
            <ci>C_co</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <ci>Ca_i</ci>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <ci>J_R</ci>
                        <ci>g_D</ci>
                     </apply>
                     <ci>Ca_SR</ci>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <ci>J_R</ci>
                     <ci>g_D</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>C_oc</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <plus/>
                        <ci>Ca_i</ci>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_L</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <ci>Ca_o</ci>
                              <ci>FVRT_Ca</ci>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <ci>FVRT_Ca</ci>
                                 </apply>
                              </apply>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <ci>FVRT_Ca</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_L</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <ci>FVRT_Ca</ci>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <ci>FVRT_Ca</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <gt/>
                     <apply>
                        <abs/>
                        <ci>FVRT_Ca</ci>
                     </apply>
                     <cn cellml:units="dimensionless">0.000000001</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <plus/>
                        <ci>Ca_i</ci>
                        <apply>
                           <times/>
                           <apply>
                              <divide/>
                              <ci>J_L</ci>
                              <ci>g_D</ci>
                           </apply>
                           <ci>Ca_o</ci>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <ci>J_L</ci>
                           <ci>g_D</ci>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
      </math>
   </component>
   <component name="LCC_and_RyR_fluxes">
      <variable name="g_D" units="um3_per_ms" public_interface="in"/>
      <variable name="J_R" units="um3_per_ms" public_interface="in"/>
      <variable name="J_L" units="um3_per_ms" public_interface="in"/>
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <variable name="Ca_SR" units="mM" public_interface="in"/>
      <variable name="Ca_o" units="mM" public_interface="in"/>
      <variable name="FVRT_Ca" units="dimensionless" public_interface="in"/>
      <variable name="J_Loo" units="um3_mM_per_ms" public_interface="out"/>
      <variable name="J_Loc" units="um3_mM_per_ms" public_interface="out"/>
      <variable name="J_Rco" units="um3_mM_per_ms" public_interface="out"/>
      <variable name="J_Roo" units="um3_mM_per_ms" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>J_Rco</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>J_R</ci>
                  <apply>
                     <minus/>
                     <ci>Ca_SR</ci>
                     <ci>Ca_i</ci>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <ci>J_R</ci>
                     <ci>g_D</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>J_Roo</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>J_R</ci>
                        <apply>
                           <plus/>
                           <apply>
                              <minus/>
                              <ci>Ca_SR</ci>
                              <ci>Ca_i</ci>
                           </apply>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <times/>
                                    <apply>
                                       <divide/>
                                       <ci>J_L</ci>
                                       <ci>g_D</ci>
                                    </apply>
                                    <ci>FVRT_Ca</ci>
                                 </apply>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                       <exp/>
                                       <apply>
                                          <minus/>
                                          <ci>FVRT_Ca</ci>
                                       </apply>
                                    </apply>
                                 </apply>
                              </apply>
                              <apply>
                                 <minus/>
                                 <ci>Ca_SR</ci>
                                 <apply>
                                    <times/>
                                    <ci>Ca_o</ci>
                                    <apply>
                                       <exp/>
                                       <apply>
                                          <minus/>
                                          <ci>FVRT_Ca</ci>
                                       </apply>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <ci>J_R</ci>
                           <ci>g_D</ci>
                        </apply>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_L</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <ci>FVRT_Ca</ci>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <ci>FVRT_Ca</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <gt/>
                     <apply>
                        <abs/>
                        <ci>FVRT_Ca</ci>
                     </apply>
                     <cn cellml:units="dimensionless">0.00001</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>J_R</ci>
                        <apply>
                           <plus/>
                           <apply>
                              <minus/>
                              <ci>Ca_SR</ci>
                              <ci>Ca_i</ci>
                           </apply>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <times/>
                                    <apply>
                                       <divide/>
                                       <ci>J_L</ci>
                                       <ci>g_D</ci>
                                    </apply>
                                    <cn cellml:units="dimensionless">0.00001</cn>
                                 </apply>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                       <exp/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="dimensionless">0.00001</cn>
                                       </apply>
                                    </apply>
                                 </apply>
                              </apply>
                              <apply>
                                 <minus/>
                                 <ci>Ca_SR</ci>
                                 <apply>
                                    <times/>
                                    <ci>Ca_o</ci>
                                    <apply>
                                       <exp/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="dimensionless">0.00001</cn>
                                       </apply>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <ci>J_R</ci>
                           <ci>g_D</ci>
                        </apply>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_L</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <cn cellml:units="dimensionless">0.00001</cn>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">0.00001</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>J_Loc</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <ci>J_L</ci>
                              <ci>FVRT_Ca</ci>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <ci>FVRT_Ca</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <ci>Ca_o</ci>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <ci>FVRT_Ca</ci>
                                 </apply>
                              </apply>
                           </apply>
                           <ci>Ca_i</ci>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_L</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <ci>FVRT_Ca</ci>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <ci>FVRT_Ca</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <gt/>
                     <apply>
                        <abs/>
                        <ci>FVRT_Ca</ci>
                     </apply>
                     <cn cellml:units="dimensionless">0.00001</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <ci>J_L</ci>
                              <cn cellml:units="dimensionless">0.00001</cn>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">0.00001</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <ci>Ca_o</ci>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">0.00001</cn>
                                 </apply>
                              </apply>
                           </apply>
                           <ci>Ca_i</ci>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_L</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <cn cellml:units="dimensionless">0.00001</cn>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">0.00001</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>J_Loo</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <ci>J_L</ci>
                              <ci>FVRT_Ca</ci>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <ci>FVRT_Ca</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <plus/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Ca_o</ci>
                                 <apply>
                                    <exp/>
                                    <apply>
                                       <minus/>
                                       <ci>FVRT_Ca</ci>
                                    </apply>
                                 </apply>
                              </apply>
                              <ci>Ca_i</ci>
                           </apply>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_R</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <times/>
                                    <ci>Ca_o</ci>
                                    <apply>
                                       <exp/>
                                       <apply>
                                          <minus/>
                                          <ci>FVRT_Ca</ci>
                                       </apply>
                                    </apply>
                                 </apply>
                                 <ci>Ca_SR</ci>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <ci>J_R</ci>
                           <ci>g_D</ci>
                        </apply>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_L</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <ci>FVRT_Ca</ci>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <ci>FVRT_Ca</ci>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <gt/>
                     <apply>
                        <abs/>
                        <ci>FVRT_Ca</ci>
                     </apply>
                     <cn cellml:units="dimensionless">0.00001</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <ci>J_L</ci>
                              <cn cellml:units="dimensionless">0.00001</cn>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">0.00001</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <plus/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Ca_o</ci>
                                 <apply>
                                    <exp/>
                                    <apply>
                                       <minus/>
                                       <cn cellml:units="dimensionless">0.00001</cn>
                                    </apply>
                                 </apply>
                              </apply>
                              <ci>Ca_i</ci>
                           </apply>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_R</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <times/>
                                    <ci>Ca_o</ci>
                                    <apply>
                                       <exp/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="dimensionless">0.00001</cn>
                                       </apply>
                                    </apply>
                                 </apply>
                                 <ci>Ca_SR</ci>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <ci>J_R</ci>
                           <ci>g_D</ci>
                        </apply>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <apply>
                                 <divide/>
                                 <ci>J_L</ci>
                                 <ci>g_D</ci>
                              </apply>
                              <cn cellml:units="dimensionless">0.00001</cn>
                           </apply>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">0.00001</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
      </math>
   </component>
   <component name="CaRU_states">
      <variable name="alpha_p" units="per_ms" public_interface="in"/>
      <variable name="alpha_m" units="per_ms" public_interface="in"/>
      <variable name="beta_pcc" units="per_ms" public_interface="in"/>
      <variable name="beta_poc" units="per_ms" public_interface="in"/>
      <variable name="beta_m" units="per_ms" public_interface="in"/>
      <variable name="denom" units="per_ms3"/>
      <variable name="P1" units="dimensionless" public_interface="out"/>
      <variable name="P2" units="dimensionless" public_interface="out"/>
      <variable name="P3" units="dimensionless" public_interface="out"/>
      <variable name="P4" units="dimensionless" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>denom</ci>
            <apply>
               <times/>
               <apply>
                  <plus/>
                  <ci>alpha_p</ci>
                  <ci>alpha_m</ci>
               </apply>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <apply>
                        <plus/>
                        <ci>alpha_m</ci>
                        <ci>beta_m</ci>
                        <ci>beta_poc</ci>
                     </apply>
                     <apply>
                        <plus/>
                        <ci>beta_m</ci>
                        <ci>beta_pcc</ci>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <ci>alpha_p</ci>
                     <apply>
                        <plus/>
                        <ci>beta_m</ci>
                        <ci>beta_poc</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>P1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>alpha_p</ci>
                  <ci>beta_m</ci>
                  <apply>
                     <plus/>
                     <ci>alpha_p</ci>
                     <ci>alpha_m</ci>
                     <ci>beta_m</ci>
                     <ci>beta_pcc</ci>
                  </apply>
               </apply>
               <ci>denom</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>P2</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>alpha_m</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <ci>beta_pcc</ci>
                        <apply>
                           <plus/>
                           <ci>alpha_m</ci>
                           <ci>beta_m</ci>
                           <ci>beta_poc</ci>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <ci>beta_poc</ci>
                        <ci>alpha_p</ci>
                     </apply>
                  </apply>
               </apply>
               <ci>denom</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>P3</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>alpha_p</ci>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <ci>beta_poc</ci>
                        <apply>
                           <plus/>
                           <ci>alpha_p</ci>
                           <ci>beta_m</ci>
                           <ci>beta_pcc</ci>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <ci>beta_pcc</ci>
                        <ci>alpha_m</ci>
                     </apply>
                  </apply>
               </apply>
               <ci>denom</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>P4</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>alpha_m</ci>
                  <ci>beta_m</ci>
                  <apply>
                     <plus/>
                     <ci>alpha_m</ci>
                     <ci>alpha_p</ci>
                     <ci>beta_m</ci>
                     <ci>beta_poc</ci>
                  </apply>
               </apply>
               <ci>denom</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="CaRU_reduced_states">
      <variable name="P1" units="dimensionless" public_interface="in"/>
      <variable name="P4" units="dimensionless" public_interface="in"/>
      <variable name="P2" units="dimensionless" public_interface="in"/>
      <variable name="alpha_p" units="per_ms" public_interface="in"/>
      <variable name="alpha_m" units="per_ms" public_interface="in"/>
      <variable name="beta_pcc" units="per_ms" public_interface="in"/>
      <variable name="beta_m" units="per_ms" public_interface="in"/>
      <variable name="epsilon_pco" units="per_ms" public_interface="in"/>
      <variable name="epsilon_pcc" units="per_ms" public_interface="in"/>
      <variable name="epsilon_m" units="per_ms" public_interface="in"/>
      <variable name="mu_poc" units="per_ms" public_interface="in"/>
      <variable name="mu_pcc" units="per_ms" public_interface="in"/>
      <variable name="mu_moc" units="per_ms" public_interface="in"/>
      <variable name="mu_mcc" units="per_ms" public_interface="in"/>
      <variable name="r_1" units="per_ms" public_interface="out"/>
      <variable name="r_2" units="per_ms" public_interface="out"/>
      <variable name="r_3" units="per_ms" public_interface="out"/>
      <variable name="r_4" units="per_ms" public_interface="out"/>
      <variable name="r_5" units="per_ms" public_interface="out"/>
      <variable name="r_6" units="per_ms" public_interface="out"/>
      <variable name="r_7" units="per_ms" public_interface="out"/>
      <variable name="r_8" units="per_ms" public_interface="out"/>
      <variable name="z_1" units="dimensionless" initial_value="0.650490049579104" public_interface="out"/>
      <variable name="z_2" units="dimensionless" initial_value="0.00570189155987283" public_interface="out"/>
      <variable name="z_3" units="dimensionless" initial_value="0.340821224038804" public_interface="out"/>
      <variable name="z_4" units="dimensionless" public_interface="out"/>
      <variable name="time" units="ms" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>r_1</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <ci>P1</ci>
                  <ci>mu_poc</ci>
               </apply>
               <apply>
                  <times/>
                  <ci>P4</ci>
                  <ci>mu_pcc</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>r_2</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <ci>alpha_p</ci>
                     <ci>mu_moc</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>alpha_m</ci>
                     <ci>mu_mcc</ci>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <ci>alpha_p</ci>
                  <ci>alpha_m</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>r_3</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>beta_m</ci>
                  <ci>mu_pcc</ci>
               </apply>
               <apply>
                  <plus/>
                  <ci>beta_m</ci>
                  <ci>beta_pcc</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>r_4</ci>
            <ci>mu_mcc</ci>
         </apply>
         <apply>
            <eq/>
            <ci>r_5</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <ci>P2</ci>
                  <ci>epsilon_pco</ci>
               </apply>
               <apply>
                  <times/>
                  <ci>P4</ci>
                  <ci>epsilon_pcc</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>r_6</ci>
            <ci>epsilon_m</ci>
         </apply>
         <apply>
            <eq/>
            <ci>r_7</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>alpha_m</ci>
                  <ci>epsilon_pcc</ci>
               </apply>
               <apply>
                  <plus/>
                  <ci>alpha_p</ci>
                  <ci>alpha_m</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>r_8</ci>
            <ci>epsilon_m</ci>
         </apply>
         <apply>
            <eq/>
            <ci>z_4</ci>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <minus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <ci>z_1</ci>
                  </apply>
                  <ci>z_2</ci>
               </apply>
               <ci>z_3</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>z_1</ci>
            </apply>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <apply>
                     <minus/>
                     <apply>
                        <plus/>
                        <ci>r_1</ci>
                        <ci>r_5</ci>
                     </apply>
                  </apply>
                  <ci>z_1</ci>
               </apply>
               <apply>
                  <times/>
                  <ci>r_2</ci>
                  <ci>z_2</ci>
               </apply>
               <apply>
                  <times/>
                  <ci>r_6</ci>
                  <ci>z_3</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>z_2</ci>
            </apply>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <ci>r_1</ci>
                     <ci>z_1</ci>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <plus/>
                        <ci>r_2</ci>
                        <ci>r_7</ci>
                     </apply>
                     <ci>z_2</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>r_8</ci>
                  <ci>z_4</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>z_3</ci>
            </apply>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <ci>r_5</ci>
                     <ci>z_1</ci>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <plus/>
                        <ci>r_6</ci>
                        <ci>r_3</ci>
                     </apply>
                     <ci>z_3</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>r_4</ci>
                  <ci>z_4</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="RyR_current">
      <variable name="P3" units="dimensionless" public_interface="in"/>
      <variable name="P2" units="dimensionless" public_interface="in"/>
      <variable name="P1" units="dimensionless" public_interface="in"/>
      <variable name="beta_pcc" units="per_ms" public_interface="in"/>
      <variable name="beta_m" units="per_ms" public_interface="in"/>
      <variable name="J_Roo" units="um3_mM_per_ms" public_interface="in"/>
      <variable name="J_Rco" units="um3_mM_per_ms" public_interface="in"/>
      <variable name="z_1" units="dimensionless" public_interface="in"/>
      <variable name="z_3" units="dimensionless" public_interface="in"/>
      <variable name="Vmyo" units="um3" public_interface="in"/>
      <variable name="N" units="dimensionless" public_interface="in"/>
      <variable name="J_R1" units="um3_mM_per_ms" public_interface="out"/>
      <variable name="J_R3" units="um3_mM_per_ms" public_interface="out"/>
      <variable name="i_RyR1" units="mM_per_ms" public_interface="out"/>
      <variable name="i_RyR2" units="mM_per_ms" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>J_R1</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <ci>P3</ci>
                  <ci>J_Roo</ci>
               </apply>
               <apply>
                  <times/>
                  <ci>J_Rco</ci>
                  <ci>P2</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>J_R3</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>J_Rco</ci>
                  <ci>beta_pcc</ci>
               </apply>
               <apply>
                  <plus/>
                  <ci>beta_m</ci>
                  <ci>beta_pcc</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_RyR1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <ci>z_1</ci>
                        <ci>J_R1</ci>
                     </apply>
                     <apply>
                        <times/>
                        <ci>z_3</ci>
                        <ci>J_R3</ci>
                     </apply>
                  </apply>
                  <ci>N</ci>
               </apply>
               <ci>Vmyo</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_RyR2</ci>
            <ci>i_RyR1</ci>
         </apply>
      </math>
   </component>
   <component name="LCC_current">
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="P3" units="dimensionless" public_interface="in"/>
      <variable name="P1" units="dimensionless" public_interface="in"/>
      <variable name="alpha_p" units="per_ms" public_interface="in"/>
      <variable name="alpha_m" units="per_ms" public_interface="in"/>
      <variable name="J_Loo" units="um3_mM_per_ms" public_interface="in"/>
      <variable name="J_Loc" units="um3_mM_per_ms" public_interface="in"/>
      <variable name="z_1" units="dimensionless" public_interface="in"/>
      <variable name="z_2" units="dimensionless" public_interface="in"/>
      <variable name="Vmyo" units="um3" public_interface="in"/>
      <variable name="Vmyo_uL" units="uL" public_interface="in"/>
      <variable name="N" units="dimensionless" public_interface="in"/>
      <variable name="J_L1" units="um3_mM_per_ms" public_interface="out"/>
      <variable name="J_L2" units="um3_mM_per_ms" public_interface="out"/>
      <variable name="i_LCC1" units="mM_per_ms" public_interface="out"/>
      <variable name="i_LCC2" units="uA" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>J_L1</ci>
            <apply>
               <plus/>
               <apply>
                  <times/>
                  <ci>J_Loo</ci>
                  <ci>P3</ci>
               </apply>
               <apply>
                  <times/>
                  <ci>J_Loc</ci>
                  <ci>P1</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>J_L2</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>J_Loc</ci>
                  <ci>alpha_p</ci>
               </apply>
               <apply>
                  <plus/>
                  <ci>alpha_p</ci>
                  <ci>alpha_m</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_LCC1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <ci>z_1</ci>
                        <ci>J_L1</ci>
                     </apply>
                     <apply>
                        <times/>
                        <ci>z_2</ci>
                        <ci>J_L2</ci>
                     </apply>
                  </apply>
                  <ci>N</ci>
               </apply>
               <ci>Vmyo</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_LCC2</ci>
            <apply>
               <times/>
               <apply>
                  <minus/>
                  <ci>i_LCC1</ci>
               </apply>
               <cn cellml:units="dimensionless">2</cn>
               <ci>F</ci>
               <ci>Vmyo_uL</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Na_Ca_Exchanger">
      <variable name="FVRT" units="dimensionless" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Vmyo_uL" units="uL" public_interface="in" private_interface="out"/>
      <variable name="K_mNa" units="mM" initial_value="87.5"/>
      <variable name="K_mCa" units="mM" initial_value="1.38"/>
      <variable name="eta" units="dimensionless" initial_value="0.35"/>
      <variable name="k_sat" units="dimensionless" initial_value="0.1"/>
      <variable name="g_NCX" units="mM_per_ms" initial_value="0.0456"/>
      <variable name="Na_i" units="mM" public_interface="in"/>
      <variable name="Na_o" units="mM" public_interface="in"/>
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <variable name="Ca_o" units="mM" public_interface="in"/>
      <variable name="i_Ncx1" units="mM_per_ms" public_interface="out"/>
      <variable name="i_Ncx2" units="uA" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_Ncx1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>g_NCX</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <times/>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <ci>eta</ci>
                              <ci>FVRT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <power/>
                           <ci>Na_i</ci>
                           <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Ca_o</ci>
                     </apply>
                     <apply>
                        <times/>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>eta</ci>
                                 <cn cellml:units="dimensionless">1</cn>
                              </apply>
                              <ci>FVRT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <power/>
                           <ci>Na_o</ci>
                           <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Ca_i</ci>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>Na_o</ci>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>K_mNa</ci>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>Ca_o</ci>
                     <ci>K_mCa</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <ci>k_sat</ci>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>eta</ci>
                                 <cn cellml:units="dimensionless">1</cn>
                              </apply>
                              <ci>FVRT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_Ncx2</ci>
            <apply>
               <times/>
               <ci>i_Ncx1</ci>
               <ci>F</ci>
               <ci>Vmyo_uL</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="SERCA">
      <variable name="g_SERCA" units="mM_per_ms" initial_value="0.00049"/>
      <variable name="K_SERCA" units="mM" initial_value="0.00025"/>
      <variable name="i_SERCA" units="mM_per_ms" public_interface="out"/>
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_SERCA</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>g_SERCA</ci>
                  <apply>
                     <power/>
                     <ci>Ca_i</ci>
                     <cn cellml:units="dimensionless">2</cn>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <apply>
                     <power/>
                     <ci>K_SERCA</ci>
                     <cn cellml:units="dimensionless">2</cn>
                  </apply>
                  <apply>
                     <power/>
                     <ci>Ca_i</ci>
                     <cn cellml:units="dimensionless">2</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="SarcolemMal_Ca_pump">
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Vmyo_uL" units="uL" public_interface="in" private_interface="out"/>
      <variable name="g_pCa" units="mM_per_ms" initial_value="5e-6"/>
      <variable name="K_mpCa" units="mM" initial_value="0.00035"/>
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <variable name="i_pCa1" units="mM_per_ms" public_interface="out"/>
      <variable name="i_pCa2" units="uA" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_pCa1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>g_pCa</ci>
                  <ci>Ca_i</ci>
               </apply>
               <apply>
                  <plus/>
                  <ci>K_mpCa</ci>
                  <ci>Ca_i</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_pCa2</ci>
            <apply>
               <times/>
               <ci>i_pCa1</ci>
               <cn cellml:units="dimensionless">2</cn>
               <ci>F</ci>
               <ci>Vmyo_uL</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="Background_Ca_current">
      <variable name="V" units="mV" public_interface="in"/>
      <variable name="R" units="mJ_per_mole_K" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="C_per_mole" public_interface="in"/>
      <variable name="Vmyo_uL" units="uL" public_interface="in" private_interface="out"/>
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <variable name="Ca_o" units="mM" public_interface="in"/>
      <variable name="E_Ca" units="mV" public_interface="out"/>
      <variable name="g_CaB" units="mM_per_mV_ms" initial_value="6e-9"/>
      <variable name="i_CaB1" units="mM_per_ms" public_interface="out"/>
      <variable name="i_CaB2" units="uA" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>E_Ca</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">2</cn>
                     <ci>F</ci>
                  </apply>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Ca_o</ci>
                     <ci>Ca_i</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_CaB1</ci>
            <apply>
               <times/>
               <ci>g_CaB</ci>
               <apply>
                  <minus/>
                  <ci>E_Ca</ci>
                  <ci>V</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_CaB2</ci>
            <apply>
               <times/>
               <apply>
                  <minus/>
                  <ci>i_CaB1</ci>
               </apply>
               <cn cellml:units="dimensionless">2</cn>
               <ci>F</ci>
               <ci>Vmyo_uL</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component name="SR_Ca_leak_current">
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <variable name="Ca_SR" units="mM" public_interface="in"/>
      <variable name="g_SRl" units="per_ms" initial_value="1e-6"/>
      <variable name="i_SR" units="mM_per_ms" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_SR</ci>
            <apply>
               <times/>
               <ci>g_SRl</ci>
               <apply>
                  <minus/>
                  <ci>Ca_SR</ci>
                  <ci>Ca_i</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="troponin_Ca_buffer">
      <variable name="k_m_TRPN" units="per_ms" initial_value="0.04"/>
      <variable name="k_p_TRPN" units="per_mM_ms" initial_value="40"/>
      <variable name="B_TRPN" units="mM" initial_value="0.07"/>
      <variable name="TRPN" units="mM" public_interface="in"/>
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <variable name="i_TRPN" units="mM_per_ms" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_TRPN</ci>
            <apply>
               <minus/>
               <apply>
                  <times/>
                  <ci>k_m_TRPN</ci>
                  <apply>
                     <minus/>
                     <ci>B_TRPN</ci>
                     <ci>TRPN</ci>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>k_p_TRPN</ci>
                  <ci>TRPN</ci>
                  <ci>Ca_i</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="calmodulin_Ca_buffer">
      <variable name="k_CMDN" units="mM" initial_value="0.002382"/>
      <variable name="B_CMDN" units="mM" initial_value="0.05"/>
      <variable name="Ca_i" units="mM" public_interface="in"/>
      <variable name="beta_CMDN" units="dimensionless" public_interface="out"/>
      <variable name="EGTA_tot" units="mM" initial_value="0"/>
      <variable name="KmEGTA" units="mM" initial_value="0.00015"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>beta_CMDN</ci>
            <apply>
               <power/>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>k_CMDN</ci>
                        <ci>B_CMDN</ci>
                     </apply>
                     <apply>
                        <power/>
                        <apply>
                           <plus/>
                           <ci>k_CMDN</ci>
                           <ci>Ca_i</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>EGTA_tot</ci>
                        <ci>KmEGTA</ci>
                     </apply>
                     <apply>
                        <power/>
                        <apply>
                           <plus/>
                           <ci>KmEGTA</ci>
                           <ci>Ca_i</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <minus/>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component name="intracellular_ion_concentrations">
      <variable name="Na_i" units="mM" initial_value="10.83563050735" public_interface="out"/>
      <variable name="Ca_i" units="mM" initial_value="0.000145080891755077" public_interface="out"/>
      <variable name="K_i" units="mM" initial_value="140.1638657529" public_interface="out"/>
      <variable name="Ca_SR" units="mM" initial_value="1.78499523287115" public_interface="out"/>
      <variable name="TRPN" units="mM" initial_value="0.0590608556435992" public_interface="out"/>
      <variable name="Vmyo_uL" units="uL" public_interface="in"/>
      <variable name="VSR_uL" units="uL" public_interface="in"/>
      <variable name="time" units="ms" public_interface="in"/>
      <variable name="F" units="C_per_mole" public_interface="in"/>
      <variable name="beta_CMDN" units="dimensionless" public_interface="in"/>
      <variable name="i_Na" units="uA" public_interface="in"/>
      <variable name="i_B_Na" units="uA" public_interface="in"/>
      <variable name="i_B_K" units="uA" public_interface="in"/>
      <variable name="i_f_Na" units="uA" public_interface="in"/>
      <variable name="i_f_K" units="uA" public_interface="in"/>
      <variable name="i_ss" units="uA" public_interface="in"/>
      <variable name="i_SERCA" units="mM_per_ms" public_interface="in"/>
      <variable name="i_pCa2" units="uA" public_interface="in"/>
      <variable name="i_CaB2" units="uA" public_interface="in"/>
      <variable name="i_TRPN" units="mM_per_ms" public_interface="in"/>
      <variable name="i_SR" units="mM_per_ms" public_interface="in"/>
      <variable name="i_Ncx2" units="uA" public_interface="in"/>
      <variable name="i_RyR2" units="mM_per_ms" public_interface="in"/>
      <variable name="i_LCC2" units="uA" public_interface="in"/>
      <variable name="i_Stim" units="uA" public_interface="in"/>
      <variable name="i_t" units="uA" public_interface="in"/>
      <variable name="i_K1" units="uA" public_interface="in"/>
      <variable name="i_NaK" units="uA" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Na_i</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <minus/>
                     <apply>
                        <plus/>
                        <ci>i_Na</ci>
                        <ci>i_B_Na</ci>
                        <apply>
                           <times/>
                           <ci>i_Ncx2</ci>
                           <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <apply>
                           <times/>
                           <ci>i_NaK</ci>
                           <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>i_f_Na</ci>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
               <apply>
                  <times/>
                  <ci>Vmyo_uL</ci>
                  <ci>F</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>K_i</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <minus/>
                     <apply>
                        <plus/>
                        <ci>i_Stim</ci>
                        <ci>i_ss</ci>
                        <ci>i_B_K</ci>
                        <ci>i_t</ci>
                        <ci>i_K1</ci>
                        <ci>i_f_K</ci>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">2</cn>
                           </apply>
                           <ci>i_NaK</ci>
                        </apply>
                     </apply>
                  </apply>
                  <cn cellml:units="dimensionless">1</cn>
               </apply>
               <apply>
                  <times/>
                  <ci>Vmyo_uL</ci>
                  <ci>F</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>TRPN</ci>
            </apply>
            <ci>i_TRPN</ci>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_i</ci>
            </apply>
            <apply>
               <times/>
               <ci>beta_CMDN</ci>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <apply>
                        <minus/>
                        <ci>i_RyR2</ci>
                        <ci>i_SERCA</ci>
                     </apply>
                     <ci>i_SR</ci>
                     <ci>i_TRPN</ci>
                  </apply>
                  <apply>
                     <divide/>
                     <apply>
                        <plus/>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <cn cellml:units="dimensionless">2</cn>
                           </apply>
                           <ci>i_Ncx2</ci>
                        </apply>
                        <ci>i_LCC2</ci>
                        <ci>i_pCa2</ci>
                        <ci>i_CaB2</ci>
                     </apply>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <ci>Vmyo_uL</ci>
                        <ci>F</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_SR</ci>
            </apply>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <ci>Vmyo_uL</ci>
                  <ci>VSR_uL</ci>
               </apply>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <apply>
                        <minus/>
                        <ci>i_RyR2</ci>
                     </apply>
                     <ci>i_SERCA</ci>
                  </apply>
                  <ci>i_SR</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <group>
      <relationship_ref relationship="containment"/>
      <component_ref component="membrane">
         <component_ref component="sodium_current">
            <component_ref component="sodium_current_m_gate"/>
            <component_ref component="sodium_current_h_gate"/>
            <component_ref component="sodium_current_j_gate"/>
         </component_ref>
         <component_ref component="Ca_independent_transient_outward_K_current">
            <component_ref component="Ca_independent_transient_outward_K_current_r_gate"/>
            <component_ref component="Ca_independent_transient_outward_K_current_s_gate"/>
            <component_ref component="Ca_independent_transient_outward_K_current_s_slow_gate"/>
         </component_ref>
         <component_ref component="steady_state_outward_K_current">
            <component_ref component="steady_state_outward_K_current_r_ss_gate"/>
            <component_ref component="steady_state_outward_K_current_s_ss_gate"/>
         </component_ref>
         <component_ref component="inward_rectifier"/>
         <component_ref component="hyperpolarisation_activated_current">
            <component_ref component="hyperpolarisation_activated_current_y_gate"/>
         </component_ref>
         <component_ref component="background_currents"/>
         <component_ref component="sodium_potassium_pump"/>
         <component_ref component="intracellular_ion_concentrations"/>
         <component_ref component="extracellular_ion_concentrations"/>
         <component_ref component="cell_geometry"/>
         <component_ref component="CaRU">
            <component_ref component="CaRU_Transitions"/>
            <component_ref component="CaRU_states"/>
            <component_ref component="CaRU_reduced_states"/>
            <component_ref component="DS_Calcium_Concentrations"/>
            <component_ref component="LCC_and_RyR_fluxes"/>
            <component_ref component="RyR_current"/>
            <component_ref component="LCC_current"/>
         </component_ref>
         <component_ref component="Na_Ca_Exchanger"/>
         <component_ref component="SERCA"/>
         <component_ref component="SarcolemMal_Ca_pump"/>
         <component_ref component="Background_Ca_current"/>
         <component_ref component="SR_Ca_leak_current"/>
         <component_ref component="troponin_Ca_buffer"/>
         <component_ref component="calmodulin_Ca_buffer"/>
      </component_ref>
   </group>
   <group>
      <relationship_ref relationship="encapsulation"/>
      <component_ref component="sodium_current">
         <component_ref component="sodium_current_m_gate"/>
         <component_ref component="sodium_current_h_gate"/>
         <component_ref component="sodium_current_j_gate"/>
      </component_ref>
      <component_ref component="Ca_independent_transient_outward_K_current">
         <component_ref component="Ca_independent_transient_outward_K_current_r_gate"/>
         <component_ref component="Ca_independent_transient_outward_K_current_s_gate"/>
         <component_ref component="Ca_independent_transient_outward_K_current_s_slow_gate"/>
      </component_ref>
      <component_ref component="steady_state_outward_K_current">
         <component_ref component="steady_state_outward_K_current_r_ss_gate"/>
         <component_ref component="steady_state_outward_K_current_s_ss_gate"/>
      </component_ref>
      <component_ref component="hyperpolarisation_activated_current">
         <component_ref component="hyperpolarisation_activated_current_y_gate"/>
      </component_ref>
      <component_ref component="CaRU">
         <component_ref component="CaRU_Transitions"/>
         <component_ref component="CaRU_states"/>
         <component_ref component="CaRU_reduced_states"/>
         <component_ref component="DS_Calcium_Concentrations"/>
         <component_ref component="LCC_and_RyR_fluxes"/>
         <component_ref component="RyR_current"/>
         <component_ref component="LCC_current"/>
      </component_ref>
   </group>
   <connection>
      <map_components component_1="membrane" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection>
      <map_components component_1="sodium_current" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection>
      <map_components component_1="steady_state_outward_K_current" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection>
      <map_components component_1="hyperpolarisation_activated_current" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection>
      <map_components component_1="CaRU" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection>
      <map_components component_1="environment" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection>
      <map_components component_1="membrane" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_Stim" variable_2="i_Stim"/>
      <map_variables variable_1="F" variable_2="F"/>
   </connection>
   <connection>
      <map_components component_1="sodium_current" component_2="membrane"/>
      <map_variables variable_1="i_Na" variable_2="i_Na"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="membrane"/>
      <map_variables variable_1="i_t" variable_2="i_t"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection>
      <map_components component_1="steady_state_outward_K_current" component_2="membrane"/>
      <map_variables variable_1="i_ss" variable_2="i_ss"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="inward_rectifier" component_2="membrane"/>
      <map_variables variable_1="i_K1" variable_2="i_K1"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection>
      <map_components component_1="hyperpolarisation_activated_current" component_2="membrane"/>
      <map_variables variable_1="i_f" variable_2="i_f"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="background_currents" component_2="membrane"/>
      <map_variables variable_1="i_B_Na" variable_2="i_B_Na"/>
      <map_variables variable_1="i_B_K" variable_2="i_B_K"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="sodium_potassium_pump" component_2="membrane"/>
      <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection>
      <map_components component_1="CaRU" component_2="membrane"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="FVRT_Ca" variable_2="FVRT_Ca"/>
      <map_variables variable_1="i_LCC2" variable_2="i_LCC2"/>
   </connection>
   <connection>
      <map_components component_1="Na_Ca_Exchanger" component_2="membrane"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="FVRT" variable_2="FVRT"/>
      <map_variables variable_1="i_Ncx2" variable_2="i_Ncx2"/>
   </connection>
   <connection>
      <map_components component_1="SarcolemMal_Ca_pump" component_2="membrane"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="i_pCa2" variable_2="i_pCa2"/>
   </connection>
   <connection>
      <map_components component_1="Background_Ca_current" component_2="membrane"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="T" variable_2="T"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="i_CaB2" variable_2="i_CaB2"/>
   </connection>
   <connection>
      <map_components component_1="sodium_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_Na" variable_2="i_Na"/>
      <map_variables variable_1="Na_i" variable_2="Na_i"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_t" variable_2="i_t"/>
      <map_variables variable_1="K_i" variable_2="K_i"/>
   </connection>
   <connection>
      <map_components component_1="steady_state_outward_K_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_ss" variable_2="i_ss"/>
   </connection>
   <connection>
      <map_components component_1="inward_rectifier" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_K1" variable_2="i_K1"/>
      <map_variables variable_1="K_i" variable_2="K_i"/>
   </connection>
   <connection>
      <map_components component_1="hyperpolarisation_activated_current" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_f_Na" variable_2="i_f_Na"/>
      <map_variables variable_1="i_f_K" variable_2="i_f_K"/>
   </connection>
   <connection>
      <map_components component_1="background_currents" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_B_Na" variable_2="i_B_Na"/>
      <map_variables variable_1="i_B_K" variable_2="i_B_K"/>
   </connection>
   <connection>
      <map_components component_1="sodium_potassium_pump" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
      <map_variables variable_1="Na_i" variable_2="Na_i"/>
   </connection>
   <connection>
      <map_components component_1="sodium_current" component_2="extracellular_ion_concentrations"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="extracellular_ion_concentrations"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
   </connection>
   <connection>
      <map_components component_1="inward_rectifier" component_2="extracellular_ion_concentrations"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
   </connection>
   <connection>
      <map_components component_1="sodium_potassium_pump" component_2="extracellular_ion_concentrations"/>
      <map_variables variable_1="K_o" variable_2="K_o"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="steady_state_outward_K_current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="inward_rectifier"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="hyperpolarisation_activated_current"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="background_currents"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection>
      <map_components component_1="sodium_current" component_2="background_currents"/>
      <map_variables variable_1="E_Na" variable_2="E_Na"/>
   </connection>
   <connection>
      <map_components component_1="sodium_current" component_2="hyperpolarisation_activated_current"/>
      <map_variables variable_1="E_Na" variable_2="E_Na"/>
   </connection>
   <connection>
      <map_components component_1="cell_geometry" component_2="intracellular_ion_concentrations"/>
      <map_variables variable_1="Vmyo_uL" variable_2="Vmyo_uL"/>
      <map_variables variable_1="VSR_uL" variable_2="VSR_uL"/>
   </connection>
   <connection>
      <map_components component_1="cell_geometry" component_2="Na_Ca_Exchanger"/>
      <map_variables variable_1="Vmyo_uL" variable_2="Vmyo_uL"/>
   </connection>
   <connection>
      <map_components component_1="cell_geometry" component_2="SarcolemMal_Ca_pump"/>
      <map_variables variable_1="Vmyo_uL" variable_2="Vmyo_uL"/>
   </connection>
   <connection>
      <map_components component_1="cell_geometry" component_2="Background_Ca_current"/>
      <map_variables variable_1="Vmyo_uL" variable_2="Vmyo_uL"/>
   </connection>
   <connection>
      <map_components component_1="cell_geometry" component_2="CaRU"/>
      <map_variables variable_1="Vmyo" variable_2="Vmyo"/>
      <map_variables variable_1="Vmyo_uL" variable_2="Vmyo_uL"/>
   </connection>
   <connection>
      <map_components component_1="intracellular_ion_concentrations" component_2="calmodulin_Ca_buffer"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="beta_CMDN" variable_2="beta_CMDN"/>
   </connection>
   <connection>
      <map_components component_1="intracellular_ion_concentrations" component_2="CaRU"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="Ca_SR" variable_2="Ca_SR"/>
      <map_variables variable_1="i_RyR2" variable_2="i_RyR2"/>
      <map_variables variable_1="i_LCC2" variable_2="i_LCC2"/>
   </connection>
   <connection>
      <map_components component_1="intracellular_ion_concentrations" component_2="Na_Ca_Exchanger"/>
      <map_variables variable_1="Na_i" variable_2="Na_i"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="i_Ncx2" variable_2="i_Ncx2"/>
   </connection>
   <connection>
      <map_components component_1="intracellular_ion_concentrations" component_2="SERCA"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="i_SERCA" variable_2="i_SERCA"/>
   </connection>
   <connection>
      <map_components component_1="intracellular_ion_concentrations" component_2="SarcolemMal_Ca_pump"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="i_pCa2" variable_2="i_pCa2"/>
   </connection>
   <connection>
      <map_components component_1="intracellular_ion_concentrations" component_2="Background_Ca_current"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="i_CaB2" variable_2="i_CaB2"/>
   </connection>
   <connection>
      <map_components component_1="intracellular_ion_concentrations" component_2="SR_Ca_leak_current"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="Ca_SR" variable_2="Ca_SR"/>
      <map_variables variable_1="i_SR" variable_2="i_SR"/>
   </connection>
   <connection>
      <map_components component_1="intracellular_ion_concentrations" component_2="troponin_Ca_buffer"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="TRPN" variable_2="TRPN"/>
      <map_variables variable_1="i_TRPN" variable_2="i_TRPN"/>
   </connection>
   <connection>
      <map_components component_1="CaRU" component_2="extracellular_ion_concentrations"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
   </connection>
   <connection>
      <map_components component_1="Na_Ca_Exchanger" component_2="extracellular_ion_concentrations"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
      <map_variables variable_1="Na_o" variable_2="Na_o"/>
   </connection>
   <connection>
      <map_components component_1="Background_Ca_current" component_2="extracellular_ion_concentrations"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
   </connection>
   <connection>
      <map_components component_1="sodium_current" component_2="sodium_current_m_gate"/>
      <map_variables variable_1="m" variable_2="m"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="sodium_current" component_2="sodium_current_h_gate"/>
      <map_variables variable_1="h" variable_2="h"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="sodium_current" component_2="sodium_current_j_gate"/>
      <map_variables variable_1="j" variable_2="j"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="Ca_independent_transient_outward_K_current_r_gate"/>
      <map_variables variable_1="r" variable_2="r"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="Ca_independent_transient_outward_K_current_s_gate"/>
      <map_variables variable_1="s" variable_2="s"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="Ca_independent_transient_outward_K_current" component_2="Ca_independent_transient_outward_K_current_s_slow_gate"/>
      <map_variables variable_1="s_slow" variable_2="s_slow"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="steady_state_outward_K_current" component_2="steady_state_outward_K_current_r_ss_gate"/>
      <map_variables variable_1="r_ss" variable_2="r_ss"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="steady_state_outward_K_current" component_2="steady_state_outward_K_current_s_ss_gate"/>
      <map_variables variable_1="s_ss" variable_2="s_ss"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="hyperpolarisation_activated_current" component_2="hyperpolarisation_activated_current_y_gate"/>
      <map_variables variable_1="y" variable_2="y"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="V" variable_2="V"/>
   </connection>
   <connection>
      <map_components component_1="CaRU" component_2="CaRU_reduced_states"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection>
      <map_components component_1="CaRU" component_2="LCC_and_RyR_fluxes"/>
      <map_variables variable_1="g_D" variable_2="g_D"/>
      <map_variables variable_1="J_R" variable_2="J_R"/>
      <map_variables variable_1="J_L" variable_2="J_L"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="Ca_SR" variable_2="Ca_SR"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
      <map_variables variable_1="FVRT_Ca" variable_2="FVRT_Ca"/>
   </connection>
   <connection>
      <map_components component_1="CaRU" component_2="CaRU_Transitions"/>
      <map_variables variable_1="V" variable_2="V"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
   </connection>
   <connection>
      <map_components component_1="CaRU_Transitions" component_2="CaRU_states"/>
      <map_variables variable_1="alpha_p" variable_2="alpha_p"/>
      <map_variables variable_1="alpha_m" variable_2="alpha_m"/>
      <map_variables variable_1="beta_pcc" variable_2="beta_pcc"/>
      <map_variables variable_1="beta_poc" variable_2="beta_poc"/>
      <map_variables variable_1="beta_m" variable_2="beta_m"/>
   </connection>
   <connection>
      <map_components component_1="CaRU_Transitions" component_2="RyR_current"/>
      <map_variables variable_1="beta_pcc" variable_2="beta_pcc"/>
      <map_variables variable_1="beta_m" variable_2="beta_m"/>
   </connection>
   <connection>
      <map_components component_1="CaRU_Transitions" component_2="LCC_current"/>
      <map_variables variable_1="alpha_p" variable_2="alpha_p"/>
      <map_variables variable_1="alpha_m" variable_2="alpha_m"/>
   </connection>
   <connection>
      <map_components component_1="CaRU_states" component_2="RyR_current"/>
      <map_variables variable_1="P3" variable_2="P3"/>
      <map_variables variable_1="P2" variable_2="P2"/>
      <map_variables variable_1="P1" variable_2="P1"/>
   </connection>
   <connection>
      <map_components component_1="CaRU_states" component_2="LCC_current"/>
      <map_variables variable_1="P3" variable_2="P3"/>
      <map_variables variable_1="P1" variable_2="P1"/>
   </connection>
   <connection>
      <map_components component_1="LCC_and_RyR_fluxes" component_2="RyR_current"/>
      <map_variables variable_1="J_Roo" variable_2="J_Roo"/>
      <map_variables variable_1="J_Rco" variable_2="J_Rco"/>
   </connection>
   <connection>
      <map_components component_1="LCC_and_RyR_fluxes" component_2="LCC_current"/>
      <map_variables variable_1="J_Loo" variable_2="J_Loo"/>
      <map_variables variable_1="J_Loc" variable_2="J_Loc"/>
   </connection>
   <connection>
      <map_components component_1="CaRU_reduced_states" component_2="RyR_current"/>
      <map_variables variable_1="z_1" variable_2="z_1"/>
      <map_variables variable_1="z_3" variable_2="z_3"/>
   </connection>
   <connection>
      <map_components component_1="CaRU_reduced_states" component_2="LCC_current"/>
      <map_variables variable_1="z_1" variable_2="z_1"/>
      <map_variables variable_1="z_2" variable_2="z_2"/>
   </connection>
   <connection>
      <map_components component_1="DS_Calcium_Concentrations" component_2="CaRU_Transitions"/>
      <map_variables variable_1="C_oc" variable_2="C_oc"/>
      <map_variables variable_1="C_co" variable_2="C_co"/>
   </connection>
   <connection>
      <map_components component_1="CaRU_Transitions" component_2="CaRU_reduced_states"/>
      <map_variables variable_1="alpha_p" variable_2="alpha_p"/>
      <map_variables variable_1="alpha_m" variable_2="alpha_m"/>
      <map_variables variable_1="beta_pcc" variable_2="beta_pcc"/>
      <map_variables variable_1="beta_m" variable_2="beta_m"/>
      <map_variables variable_1="epsilon_pco" variable_2="epsilon_pco"/>
      <map_variables variable_1="epsilon_pcc" variable_2="epsilon_pcc"/>
      <map_variables variable_1="epsilon_m" variable_2="epsilon_m"/>
      <map_variables variable_1="mu_poc" variable_2="mu_poc"/>
      <map_variables variable_1="mu_pcc" variable_2="mu_pcc"/>
      <map_variables variable_1="mu_moc" variable_2="mu_moc"/>
      <map_variables variable_1="mu_mcc" variable_2="mu_mcc"/>
   </connection>
   <connection>
      <map_components component_1="CaRU_states" component_2="CaRU_reduced_states"/>
      <map_variables variable_1="P1" variable_2="P1"/>
      <map_variables variable_1="P4" variable_2="P4"/>
      <map_variables variable_1="P2" variable_2="P2"/>
   </connection>
   <connection>
      <map_components component_1="CaRU" component_2="DS_Calcium_Concentrations"/>
      <map_variables variable_1="g_D" variable_2="g_D"/>
      <map_variables variable_1="J_R" variable_2="J_R"/>
      <map_variables variable_1="J_L" variable_2="J_L"/>
      <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
      <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
      <map_variables variable_1="Ca_SR" variable_2="Ca_SR"/>
      <map_variables variable_1="FVRT_Ca" variable_2="FVRT_Ca"/>
   </connection>
   <connection>
      <map_components component_1="CaRU" component_2="RyR_current"/>
      <map_variables variable_1="N" variable_2="N"/>
      <map_variables variable_1="Vmyo" variable_2="Vmyo"/>
      <map_variables variable_1="i_RyR2" variable_2="i_RyR2"/>
   </connection>
   <connection>
      <map_components component_1="CaRU" component_2="LCC_current"/>
      <map_variables variable_1="i_LCC2" variable_2="i_LCC2"/>
      <map_variables variable_1="Vmyo" variable_2="Vmyo"/>
      <map_variables variable_1="Vmyo_uL" variable_2="Vmyo_uL"/>
      <map_variables variable_1="N" variable_2="N"/>
      <map_variables variable_1="F" variable_2="F"/>
   </connection>
</model>