Location: paci_hyttinen_aaltosetala_severi_2013 @ d31c9935f403 / paci_hyttinen_aaltosetala_severi_atrialVersion.cellml

Author:
Michael Clerx <michael.clerx@cs.ox.ac.uk>
Date:
2019-08-20 17:41:51+01:00
Desc:
Added electrophysiology category metadata.
Permanent Source URI:
https://staging.physiomeproject.org/workspace/593/rawfile/d31c9935f4038c8646a33d7bfeea68255a0bb881/paci_hyttinen_aaltosetala_severi_atrialVersion.cellml

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

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

CellML 1.0 was used to generate this model
http://www.cellml.org/
-->
<model name="paci_hyttinen_aaltosetala_severi_atrialVersion" cmeta:id="paci_hyttinen_aaltosetala_severi_atrialVersion" xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#">
	<units xmlns="http://www.cellml.org/cellml/1.0#" name="millivolt">
      <unit units="volt" prefix="milli"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_millivolt">
      <unit units="millivolt" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_volt">
      <unit units="volt" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millivolt_per_volt">
      <unit units="millivolt"/>
      <unit units="volt" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="volt_square">
      <unit units="volt" exponent="2"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millivolt_square">
      <unit units="volt" prefix="milli" exponent="2"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_second">
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millimolar">
      <unit units="mole" prefix="milli"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_millimolar">
      <unit units="millimolar" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millimolar_per_second">
      <unit units="millimolar"/>
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="picoF">
      <unit units="farad" prefix="pico"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="micrometre">
      <unit units="metre" prefix="micro"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="micrometre_cube">
      <unit units="micrometre" exponent="3"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="metre_cube">
      <unit units="metre" exponent="3"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="metre3_per_um3">
      <unit units="metre_cube"/>
      <unit units="micrometre_cube" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="S_per_F">
      <unit units="siemens"/>
      <unit units="farad" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="metre_cube_per_F_per_s">
      <unit units="metre" exponent="3"/>
      <unit units="farad" exponent="-1"/>
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="A_per_F">
      <unit units="ampere"/>
      <unit units="farad" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="joule_per_mole_kelvin">
      <unit units="joule"/>
      <unit units="mole" exponent="-1"/>
      <unit units="kelvin" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="coulomb_per_mole">
      <unit units="coulomb"/>
      <unit units="mole" exponent="-1"/>
   </units>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="environment">
      <variable name="time" units="second" public_interface="out"/>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="Membrane">
      <variable name="Vm" units="volt" initial_value="-0.068733823452164" public_interface="out"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="i_CaL" units="A_per_F" public_interface="in"/>
      <variable name="i_K1" units="A_per_F" public_interface="in"/>
      <variable name="i_f" units="A_per_F" public_interface="in"/>
      <variable name="i_Na" units="A_per_F" public_interface="in"/>
      <variable name="i_Kr" units="A_per_F" public_interface="in"/>
      <variable name="i_Ks" units="A_per_F" public_interface="in"/>
      <variable name="i_to" units="A_per_F" public_interface="in"/>
      <variable name="i_PCa" units="A_per_F" public_interface="in"/>
      <variable name="i_NaK" units="A_per_F" public_interface="in"/>
      <variable name="i_NaCa" units="A_per_F" public_interface="in"/>
      <variable name="i_b_Ca" units="A_per_F" public_interface="in"/>
      <variable name="i_b_Na" units="A_per_F" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Vm</ci>
            </apply>
            <apply>
               <minus/>
               <apply>
                  <plus/>
                  <ci>i_K1</ci>
                  <apply>
                     <plus/>
                     <ci>i_to</ci>
                     <apply>
                        <plus/>
                        <ci>i_Kr</ci>
                        <apply>
                           <plus/>
                           <ci>i_Ks</ci>
                           <apply>
                              <plus/>
                              <ci>i_CaL</ci>
                              <apply>
                                 <plus/>
                                 <ci>i_NaK</ci>
                                 <apply>
                                    <plus/>
                                    <ci>i_Na</ci>
                                    <apply>
                                       <plus/>
                                       <ci>i_NaCa</ci>
                                       <apply>
                                          <plus/>
                                          <ci>i_PCa</ci>
                                          <apply>
                                             <plus/>
                                             <ci>i_f</ci>
                                             <apply>
                                                <plus/>
                                                <ci>i_b_Na</ci>
                                                <ci>i_b_Ca</ci>
                                             </apply>
                                          </apply>
                                       </apply>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="electric_potentials">
      <variable name="E_Na" units="volt" public_interface="out"/>
      <variable name="E_K" units="volt" public_interface="out"/>
      <variable name="E_Ks" units="volt" public_interface="out"/>
      <variable name="E_Ca" units="volt" public_interface="out"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Nai" units="millimolar" public_interface="in"/>
      <variable name="Nao" units="millimolar" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="Cao" units="millimolar" public_interface="in"/>
      <variable name="Ki" units="millimolar" public_interface="in"/>
      <variable name="Ko" units="millimolar" public_interface="in"/>
      <variable name="PkNa" units="dimensionless" initial_value="0.03"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>E_Na</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Nao</ci>
                     <ci>Nai</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_K</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Ko</ci>
                     <ci>Ki</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_Ks</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>R</ci>
                     <ci>T</ci>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <apply>
                        <plus/>
                        <ci>Ko</ci>
                        <apply>
                           <times/>
                           <ci>PkNa</ci>
                           <ci>Nao</ci>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <ci>Ki</ci>
                        <apply>
                           <times/>
                           <ci>PkNa</ci>
                           <ci>Nai</ci>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>E_Ca</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.5</cn>
                     <apply>
                        <times/>
                        <ci>R</ci>
                        <ci>T</ci>
                     </apply>
                  </apply>
                  <ci>F</ci>
               </apply>
               <apply>
                  <ln/>
                  <apply>
                     <divide/>
                     <ci>Cao</ci>
                     <ci>Cai</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Na">
      <variable name="i_Na" units="A_per_F" public_interface="out"/>
      <variable name="g_Na" units="S_per_F" initial_value="6646.185"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="E_Na" units="volt" public_interface="in"/>
      <variable name="m" units="dimensionless" private_interface="in"/>
      <variable name="h" units="dimensionless" private_interface="in"/>
      <variable name="j" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_Na</ci>
            <apply>
               <times/>
               <ci>g_Na</ci>
               <apply>
                  <times/>
                  <apply>
                     <power/>
                     <ci>m</ci>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
                  <apply>
                     <times/>
                     <ci>h</ci>
                     <apply>
                        <times/>
                        <ci>j</ci>
                        <apply>
                           <minus/>
                           <ci>Vm</ci>
                           <ci>E_Na</ci>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Na_m_gate">
      <variable name="m" units="dimensionless" initial_value="0.141183142078492" public_interface="out"/>
      <variable name="m_inf" units="dimensionless"/>
      <variable name="tau_m" units="second"/>
      <variable name="alpha_m" units="dimensionless"/>
      <variable name="beta_m" units="dimensionless"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>m_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <power/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>Vm</ci>
                                 </apply>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">34.1</cn>
                           </apply>
                           <cn cellml:units="millivolt">5.9</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">1</cn>
                     <cn cellml:units="dimensionless">3</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_m</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>Vm</ci>
                              </apply>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">60</cn>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_m</ci>
            <apply>
               <plus/>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">0.1</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">35</cn>
                           </apply>
                           <cn cellml:units="millivolt">5</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">0.1</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">50</cn>
                           </apply>
                           <cn cellml:units="millivolt">200</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_m</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="second">1</cn>
                  <apply>
                     <times/>
                     <ci>alpha_m</ci>
                     <ci>beta_m</ci>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>m</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>m_inf</ci>
                  <ci>m</ci>
               </apply>
               <ci>tau_m</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Na_h_gate">
      <variable name="h" units="dimensionless" initial_value="0.642108593994587" public_interface="out"/>
      <variable name="h_inf" units="dimensionless"/>
      <variable name="alpha_h" units="dimensionless"/>
      <variable name="beta_h" units="dimensionless"/>
      <variable name="tau_h" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>h_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <root/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">72.1</cn>
                           </apply>
                           <cn cellml:units="millivolt">5.7</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <times/>
                     <cn cellml:units="dimensionless">0.057</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <cn cellml:units="millivolt">80</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">6.8</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">0</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>beta_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2.7</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">0.079</cn>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">3.1</cn>
                        <apply>
                           <times/>
                           <apply>
                              <power/>
                              <cn cellml:units="dimensionless">10</cn>
                              <cn cellml:units="dimensionless">5</cn>
                           </apply>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <cn cellml:units="per_millivolt">0.3485</cn>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">0.77</cn>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.13</cn>
                        <apply>
                           <plus/>
                           <cn cellml:units="dimensionless">1</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">10.66</cn>
                                 </apply>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">11.1</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>tau_h</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <cn cellml:units="second">1.5</cn>
                     <apply>
                        <times/>
                        <apply>
                           <plus/>
                           <ci>alpha_h</ci>
                           <ci>beta_h</ci>
                        </apply>
                        <cn cellml:units="dimensionless">1000</cn>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <cn cellml:units="second">2.542</cn>
                     <cn cellml:units="dimensionless">1000</cn>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>h</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>h_inf</ci>
                  <ci>h</ci>
               </apply>
               <ci>tau_h</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Na_j_gate">
      <variable name="j" units="dimensionless" initial_value="0.173566329483423" public_interface="out"/>
      <variable name="j_inf" units="dimensionless"/>
      <variable name="alpha_j" units="dimensionless"/>
      <variable name="beta_j" units="dimensionless"/>
      <variable name="tau_j" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>j_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <root/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">72.1</cn>
                           </apply>
                           <cn cellml:units="millivolt">5.7</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_j</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">25428</cn>
                              </apply>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <times/>
                                    <cn cellml:units="per_millivolt">0.2444</cn>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">6.948</cn>
                              <apply>
                                 <times/>
                                 <apply>
                                    <power/>
                                    <cn cellml:units="dimensionless">10</cn>
                                    <apply>
                                       <minus/>
                                       <cn cellml:units="dimensionless">6</cn>
                                    </apply>
                                 </apply>
                                 <apply>
                                    <exp/>
                                    <apply>
                                       <times/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="per_millivolt">0.04391</cn>
                                       </apply>
                                       <apply>
                                          <times/>
                                          <ci>Vm</ci>
                                          <cn cellml:units="millivolt_per_volt">1000</cn>
                                       </apply>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">37.78</cn>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">0.311</cn>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <cn cellml:units="millivolt">79.23</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">0</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>beta_j</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.02424</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">0.01052</cn>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">0.1378</cn>
                              </apply>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <cn cellml:units="millivolt">40.14</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <lt/>
                     <ci>Vm</ci>
                     <apply>
                        <minus/>
                        <cn cellml:units="volt">0.04</cn>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.6</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <cn cellml:units="per_millivolt">0.057</cn>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="per_millivolt">0.1</cn>
                              </apply>
                              <apply>
                                 <plus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <cn cellml:units="millivolt">32</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>tau_j</ci>
            <apply>
               <divide/>
               <cn cellml:units="second">7</cn>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <ci>alpha_j</ci>
                     <ci>beta_j</ci>
                  </apply>
                  <cn cellml:units="dimensionless">1000</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>j</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>j_inf</ci>
                  <ci>j</ci>
               </apply>
               <ci>tau_j</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL">
      <variable name="i_CaL" units="A_per_F" public_interface="out"/>
      <variable name="g_CaL" units="metre_cube_per_F_per_s" initial_value="8.635702e-5"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="Cai" units="millimolar" public_interface="in" private_interface="out"/>
      <variable name="Cao" units="millimolar" public_interface="in" private_interface="out"/>
      <variable name="d" units="dimensionless" public_interface="out" private_interface="in"/>
      <variable name="f1" units="dimensionless" private_interface="in"/>
      <variable name="f2" units="dimensionless" private_interface="in"/>
      <variable name="fCa" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_CaL</ci>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <ci>g_CaL</ci>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">4</cn>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <apply>
                                    <power/>
                                    <ci>F</ci>
                                    <cn cellml:units="dimensionless">2</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <ci>R</ci>
                           <ci>T</ci>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <apply>
                           <times/>
                           <ci>Cai</ci>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">2</cn>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <ci>F</ci>
                                    </apply>
                                 </apply>
                                 <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.341</cn>
                           <ci>Cao</ci>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <minus/>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">2</cn>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <ci>F</ci>
                              </apply>
                           </apply>
                           <apply>
                              <times/>
                              <ci>R</ci>
                              <ci>T</ci>
                           </apply>
                        </apply>
                     </apply>
                     <cn cellml:units="dimensionless">1</cn>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>d</ci>
                  <apply>
                     <times/>
                     <ci>f1</ci>
                     <apply>
                        <times/>
                        <ci>f2</ci>
                        <ci>fCa</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL_d_gate">
      <variable name="d" units="dimensionless" initial_value="0.000127632520741878" public_interface="out"/>
      <variable name="d_infinity" units="dimensionless"/>
      <variable name="tau_d" units="second"/>
      <variable name="alpha_d" units="dimensionless"/>
      <variable name="beta_d" units="dimensionless"/>
      <variable name="gamma_d" units="dimensionless"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in" private_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>d_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">5.986</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">7</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_d</ci>
            <apply>
               <plus/>
               <cn cellml:units="dimensionless">0.25</cn>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">1.4</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>Vm</ci>
                                 </apply>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">35</cn>
                           </apply>
                           <cn cellml:units="millivolt">13</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_d</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1.4</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">5</cn>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>gamma_d</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>Vm</ci>
                              </apply>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">50</cn>
                        </apply>
                        <cn cellml:units="millivolt">20</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_d</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <ci>alpha_d</ci>
                        <ci>beta_d</ci>
                     </apply>
                     <ci>gamma_d</ci>
                  </apply>
                  <cn cellml:units="second">1</cn>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>d</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>d_infinity</ci>
                  <ci>d</ci>
               </apply>
               <ci>tau_d</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL_f1_gate">
      <variable name="f1" units="dimensionless" initial_value="0.98038400433601" public_interface="out"/>
      <variable name="f1_inf" units="dimensionless"/>
      <variable name="tau_f1" units="second"/>
      <variable name="constf1" units="dimensionless"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>f1_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">25.226</cn>
                        </apply>
                        <cn cellml:units="millivolt">3</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_f1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <cn cellml:units="second">20</cn>
                     <apply>
                        <plus/>
                        <apply>
                           <times/>
                           <cn cellml:units="second">1102.5</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <power/>
                                    <apply>
                                       <divide/>
                                       <apply>
                                          <power/>
                                          <apply>
                                             <plus/>
                                             <apply>
                                                <times/>
                                                <ci>Vm</ci>
                                                <cn cellml:units="millivolt_per_volt">1000</cn>
                                             </apply>
                                             <cn cellml:units="millivolt">27</cn>
                                          </apply>
                                          <cn cellml:units="dimensionless">2</cn>
                                       </apply>
                                       <cn cellml:units="millivolt_square">15</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">2</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <plus/>
                           <apply>
                              <divide/>
                              <cn cellml:units="second">200</cn>
                              <apply>
                                 <plus/>
                                 <cn cellml:units="dimensionless">1</cn>
                                 <apply>
                                    <exp/>
                                    <apply>
                                       <divide/>
                                       <apply>
                                          <minus/>
                                          <cn cellml:units="millivolt">13</cn>
                                          <apply>
                                             <times/>
                                             <ci>Vm</ci>
                                             <cn cellml:units="millivolt_per_volt">1000</cn>
                                          </apply>
                                       </apply>
                                       <cn cellml:units="millivolt">10</cn>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                           <apply>
                              <divide/>
                              <cn cellml:units="second">180</cn>
                              <apply>
                                 <plus/>
                                 <cn cellml:units="dimensionless">1</cn>
                                 <apply>
                                    <exp/>
                                    <apply>
                                       <divide/>
                                       <apply>
                                          <plus/>
                                          <cn cellml:units="millivolt">30</cn>
                                          <apply>
                                             <times/>
                                             <ci>Vm</ci>
                                             <cn cellml:units="millivolt_per_volt">1000</cn>
                                          </apply>
                                       </apply>
                                       <cn cellml:units="millivolt">10</cn>
                                    </apply>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <ci>constf1</ci>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>constf1</ci>
            <piecewise>
               <piece>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millimolar">1433</cn>
                        <apply>
                           <minus/>
                           <ci>Cai</ci>
                           <apply>
                              <times/>
                              <cn cellml:units="millimolar">50</cn>
                              <cn type="e-notation" cellml:units="dimensionless">1   <sep/>
                              -6</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <gt/>
                     <apply>
                        <minus/>
                        <ci>f1_inf</ci>
                        <ci>f1</ci>
                     </apply>
                     <cn cellml:units="dimensionless">0</cn>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>f1</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>f1_inf</ci>
                  <ci>f1</ci>
               </apply>
               <ci>tau_f1</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL_f2_gate">
      <variable name="f2" units="dimensionless" initial_value="0.999953006710394" public_interface="out"/>
      <variable name="f2_inf" units="dimensionless"/>
      <variable name="tau_f2" units="second"/>
      <variable name="constf2" units="dimensionless"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>f2_inf</ci>
            <apply>
               <plus/>
               <cn cellml:units="dimensionless">0.33</cn>
               <apply>
                  <divide/>
                  <cn cellml:units="dimensionless">0.67</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">31.226</cn>
                           </apply>
                           <cn cellml:units="millivolt">4</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>constf2</ci>
            <cn cellml:units="dimensionless">2</cn>
         </apply>
         <apply>
            <eq/>
            <ci>tau_f2</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <cn cellml:units="second">600</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <power/>
                                    <apply>
                                       <plus/>
                                       <apply>
                                          <times/>
                                          <ci>Vm</ci>
                                          <cn cellml:units="millivolt_per_volt">1000</cn>
                                       </apply>
                                       <cn cellml:units="millivolt">25</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">2</cn>
                                 </apply>
                              </apply>
                              <cn cellml:units="millivolt_square">170</cn>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <apply>
                           <divide/>
                           <cn cellml:units="second">31</cn>
                           <apply>
                              <plus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <minus/>
                                       <cn cellml:units="millivolt">25</cn>
                                       <apply>
                                          <times/>
                                          <ci>Vm</ci>
                                          <cn cellml:units="millivolt_per_volt">1000</cn>
                                       </apply>
                                    </apply>
                                    <cn cellml:units="millivolt">10</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <divide/>
                           <cn cellml:units="second">16</cn>
                           <apply>
                              <plus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <exp/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <plus/>
                                       <cn cellml:units="millivolt">30</cn>
                                       <apply>
                                          <times/>
                                          <ci>Vm</ci>
                                          <cn cellml:units="millivolt_per_volt">1000</cn>
                                       </apply>
                                    </apply>
                                    <cn cellml:units="millivolt">10</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <ci>constf2</ci>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>f2</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>f2_inf</ci>
                  <ci>f2</ci>
               </apply>
               <ci>tau_f2</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_CaL_fCa_gate">
      <variable name="fCa" units="dimensionless" initial_value="0.997346890768643" public_interface="out"/>
      <variable name="constfCa" units="dimensionless"/>
      <variable name="alpha_fCa" units="dimensionless"/>
      <variable name="beta_fCa" units="dimensionless"/>
      <variable name="gamma_fCa" units="dimensionless"/>
      <variable name="fCa_inf" units="dimensionless"/>
      <variable name="tau_fCa" units="second" initial_value="0.002"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_fCa</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <power/>
                     <apply>
                        <divide/>
                        <ci>Cai</ci>
                        <cn cellml:units="millimolar">0.0006</cn>
                     </apply>
                     <cn cellml:units="dimensionless">8</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_fCa</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">0.1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>Cai</ci>
                           <cn cellml:units="millimolar">0.0009</cn>
                        </apply>
                        <cn cellml:units="millimolar">0.0001</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>gamma_fCa</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">0.3</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>Cai</ci>
                           <cn cellml:units="millimolar">0.00075</cn>
                        </apply>
                        <cn cellml:units="millimolar">0.0008</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>fCa_inf</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <ci>alpha_fCa</ci>
                  <apply>
                     <plus/>
                     <ci>beta_fCa</ci>
                     <ci>gamma_fCa</ci>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1.3156</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>constfCa</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0</cn>
                  <apply>
                     <and/>
                     <apply>
                        <gt/>
                        <ci>Vm</ci>
                        <apply>
                           <minus/>
                           <cn cellml:units="volt">0.06</cn>
                        </apply>
                     </apply>
                     <apply>
                        <gt/>
                        <ci>fCa_inf</ci>
                        <ci>fCa</ci>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>fCa</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>constfCa</ci>
                  <apply>
                     <minus/>
                     <ci>fCa_inf</ci>
                     <ci>fCa</ci>
                  </apply>
               </apply>
               <ci>tau_fCa</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Kr">
      <variable name="i_Kr" units="A_per_F" public_interface="out"/>
      <variable name="g_Kr" units="S_per_F" initial_value="29.8667"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="E_K" units="volt" public_interface="in"/>
      <variable name="Ko" units="millimolar" public_interface="in"/>
      <variable name="Cao" units="millimolar" public_interface="in" private_interface="out"/>
      <variable name="Xr1" units="dimensionless" private_interface="in"/>
      <variable name="Xr2" units="dimensionless" private_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in" private_interface="out"/>
      <variable name="T" units="kelvin" public_interface="in" private_interface="out"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in" private_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_Kr</ci>
            <apply>
               <times/>
               <ci>g_Kr</ci>
               <apply>
                  <times/>
                  <apply>
                     <minus/>
                     <ci>Vm</ci>
                     <ci>E_K</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>Xr1</ci>
                     <apply>
                        <times/>
                        <ci>Xr2</ci>
                        <apply>
                           <root/>
                           <apply>
                              <divide/>
                              <ci>Ko</ci>
                              <cn cellml:units="millimolar">5.4</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Kr_Xr1_gate">
      <variable name="Xr1" units="dimensionless" initial_value="0.0257889110986083" public_interface="out"/>
      <variable name="Xr1_inf" units="dimensionless"/>
      <variable name="alpha_Xr1" units="dimensionless"/>
      <variable name="beta_Xr1" units="dimensionless"/>
      <variable name="tau_Xr1" units="second"/>
      <variable name="Cao" units="millimolar" public_interface="in"/>
      <variable name="L0" units="dimensionless" initial_value="0.025"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="V_half" units="millivolt"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Q" units="dimensionless" initial_value="2.3"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>V_half</ci>
            <apply>
               <times/>
               <cn cellml:units="millivolt_per_volt">1000</cn>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <apply>
                              <minus/>
                              <ci>R</ci>
                           </apply>
                           <ci>T</ci>
                        </apply>
                        <apply>
                           <times/>
                           <ci>F</ci>
                           <ci>Q</ci>
                        </apply>
                     </apply>
                     <apply>
                        <ln/>
                        <apply>
                           <divide/>
                           <apply>
                              <power/>
                              <apply>
                                 <plus/>
                                 <cn cellml:units="dimensionless">1</cn>
                                 <apply>
                                    <divide/>
                                    <ci>Cao</ci>
                                    <cn cellml:units="millimolar">2.6</cn>
                                 </apply>
                              </apply>
                              <cn cellml:units="dimensionless">4</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>L0</ci>
                              <apply>
                                 <power/>
                                 <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                       <divide/>
                                       <ci>Cao</ci>
                                       <cn cellml:units="millimolar">0.58</cn>
                                    </apply>
                                 </apply>
                                 <cn cellml:units="dimensionless">4</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <cn cellml:units="volt">0.019</cn>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Xr1_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <ci>V_half</ci>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">4.9</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_Xr1</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">450</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <cn cellml:units="millivolt">45</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">10</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_Xr1</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">6</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <cn cellml:units="millivolt">30</cn>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">11.5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_Xr1</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="second">1</cn>
                  <apply>
                     <times/>
                     <ci>alpha_Xr1</ci>
                     <ci>beta_Xr1</ci>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Xr1</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>Xr1_inf</ci>
                  <ci>Xr1</ci>
               </apply>
               <ci>tau_Xr1</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Kr_Xr2_gate">
      <variable name="Xr2" units="dimensionless" initial_value="0.405046678739985" public_interface="out"/>
      <variable name="Xr2_infinity" units="dimensionless"/>
      <variable name="alpha_Xr2" units="dimensionless"/>
      <variable name="beta_Xr2" units="dimensionless"/>
      <variable name="tau_Xr2" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Xr2_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">88</cn>
                        </apply>
                        <cn cellml:units="millivolt">50</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_Xr2</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">3</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <cn cellml:units="millivolt">60</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">20</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_Xr2</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1.12</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <minus/>
                              <cn cellml:units="millivolt">60</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">20</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_Xr2</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="second">1</cn>
                  <apply>
                     <times/>
                     <ci>alpha_Xr2</ci>
                     <ci>beta_Xr2</ci>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Xr2</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>Xr2_infinity</ci>
                  <ci>Xr2</ci>
               </apply>
               <ci>tau_Xr2</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Ks">
      <variable name="i_Ks" units="A_per_F" public_interface="out"/>
      <variable name="g_Ks" units="S_per_F" initial_value="2.041"/>
      <variable name="E_Ks" units="volt" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="Xs" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_Ks</ci>
            <apply>
               <times/>
               <ci>g_Ks</ci>
               <apply>
                  <times/>
                  <apply>
                     <minus/>
                     <ci>Vm</ci>
                     <ci>E_Ks</ci>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <power/>
                        <ci>Xs</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <divide/>
                           <cn cellml:units="dimensionless">0.6</cn>
                           <apply>
                              <plus/>
                              <cn cellml:units="dimensionless">1</cn>
                              <apply>
                                 <power/>
                                 <apply>
                                    <divide/>
                                    <apply>
                                       <times/>
                                       <cn cellml:units="millimolar">3.8</cn>
                                       <cn cellml:units="dimensionless">0.00001</cn>
                                    </apply>
                                    <ci>Cai</ci>
                                 </apply>
                                 <cn cellml:units="dimensionless">1.4</cn>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_Ks_Xs_gate">
      <variable name="Xs" units="dimensionless" initial_value="0.0447460799149437" public_interface="out"/>
      <variable name="Xs_infinity" units="dimensionless"/>
      <variable name="alpha_Xs" units="dimensionless"/>
      <variable name="beta_Xs" units="dimensionless"/>
      <variable name="tau_Xs" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Xs_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <apply>
                                 <minus/>
                                 <ci>Vm</ci>
                              </apply>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">20</cn>
                        </apply>
                        <cn cellml:units="millivolt">16</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>alpha_Xs</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1100</cn>
               <apply>
                  <root/>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <minus/>
                              <apply>
                                 <minus/>
                                 <cn cellml:units="millivolt">10</cn>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">6</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_Xs</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <minus/>
                              <cn cellml:units="millivolt">60</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">20</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_Xs</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn cellml:units="second">1</cn>
                  <apply>
                     <times/>
                     <ci>alpha_Xs</ci>
                     <ci>beta_Xs</ci>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Xs</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>Xs_infinity</ci>
                  <ci>Xs</ci>
               </apply>
               <ci>tau_Xs</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_K1">
      <variable name="i_K1" units="A_per_F" public_interface="out"/>
      <variable name="g_K1" units="S_per_F" initial_value="19.1925"/>
      <variable name="XK1_inf" units="dimensionless"/>
      <variable name="E_K" units="volt" public_interface="in"/>
      <variable name="Ko" units="millimolar" public_interface="in"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="alpha_K1" units="dimensionless"/>
      <variable name="beta_K1" units="dimensionless"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>alpha_K1</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">3.91</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt">0.5942</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>E_K</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">200</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>beta_K1</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <apply>
                     <times/>
                     <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1.509</cn>
                     </apply>
                     <apply>
                        <exp/>
                        <apply>
                           <times/>
                           <cn cellml:units="per_millivolt">0.0002</cn>
                           <apply>
                              <plus/>
                              <apply>
                                 <minus/>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                                 <apply>
                                    <times/>
                                    <ci>E_K</ci>
                                    <cn cellml:units="millivolt_per_volt">1000</cn>
                                 </apply>
                              </apply>
                              <cn cellml:units="millivolt">100</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt">0.5886</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>E_K</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                           </apply>
                           <cn cellml:units="millivolt">10</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <times/>
                        <cn cellml:units="per_millivolt">0.4547</cn>
                        <apply>
                           <minus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>E_K</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>XK1_inf</ci>
            <apply>
               <divide/>
               <ci>alpha_K1</ci>
               <apply>
                  <plus/>
                  <ci>alpha_K1</ci>
                  <ci>beta_K1</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_K1</ci>
            <apply>
               <times/>
               <ci>g_K1</ci>
               <apply>
                  <times/>
                  <ci>XK1_inf</ci>
                  <apply>
                     <times/>
                     <apply>
                        <minus/>
                        <ci>Vm</ci>
                        <ci>E_K</ci>
                     </apply>
                     <apply>
                        <root/>
                        <apply>
                           <divide/>
                           <ci>Ko</ci>
                           <cn cellml:units="millimolar">5.4</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_f">
      <variable name="i_f" units="A_per_F" public_interface="out"/>
      <variable name="g_f" units="S_per_F" initial_value="30.10312"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="E_f" units="volt" initial_value="-0.017"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="Xf" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_f</ci>
            <apply>
               <times/>
               <ci>g_f</ci>
               <apply>
                  <times/>
                  <ci>Xf</ci>
                  <apply>
                     <minus/>
                     <ci>Vm</ci>
                     <ci>E_f</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_f_Xf_gate">
      <variable name="Xf" units="dimensionless" initial_value="0.0607988713874682" public_interface="out"/>
      <variable name="Xf_infinity" units="dimensionless"/>
      <variable name="tau_Xf" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Xf_infinity</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">77.85</cn>
                        </apply>
                        <cn cellml:units="millivolt">5</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_Xf</ci>
            <apply>
               <divide/>
               <apply>
                  <divide/>
                  <cn cellml:units="second">1900</cn>
                  <apply>
                     <plus/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <exp/>
                        <apply>
                           <divide/>
                           <apply>
                              <plus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">15</cn>
                           </apply>
                           <cn cellml:units="millivolt">10</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Xf</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>Xf_infinity</ci>
                  <ci>Xf</ci>
               </apply>
               <ci>tau_Xf</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_b_Na">
      <variable name="i_b_Na" units="A_per_F" public_interface="out"/>
      <variable name="g_b_Na" units="S_per_F" initial_value="0.9"/>
      <variable name="E_Na" units="volt" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_b_Na</ci>
            <apply>
               <times/>
               <ci>g_b_Na</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_Na</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_b_Ca">
      <variable name="i_b_Ca" units="A_per_F" public_interface="out"/>
      <variable name="g_b_Ca" units="S_per_F" initial_value="0.69264"/>
      <variable name="E_Ca" units="volt" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_b_Ca</ci>
            <apply>
               <times/>
               <ci>g_b_Ca</ci>
               <apply>
                  <minus/>
                  <ci>Vm</ci>
                  <ci>E_Ca</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_NaK">
      <variable name="i_NaK" units="A_per_F" public_interface="out"/>
      <variable name="E_Na" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="Nai" units="millimolar" public_interface="in"/>
      <variable name="Ko" units="millimolar" public_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Km_K" units="millimolar" initial_value="1"/>
      <variable name="Km_Na" units="millimolar" initial_value="40"/>
      <variable name="PNaK" units="A_per_F" initial_value="1.4731392"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_NaK</ci>
            <apply>
               <divide/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <times/>
                           <ci>PNaK</ci>
                           <ci>Ko</ci>
                        </apply>
                        <apply>
                           <plus/>
                           <ci>Ko</ci>
                           <ci>Km_K</ci>
                        </apply>
                     </apply>
                     <ci>Nai</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>Nai</ci>
                     <ci>Km_Na</ci>
                  </apply>
               </apply>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <plus/>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.1245</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">0.1</cn>
                                 </apply>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <ci>F</ci>
                                 </apply>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.0353</cn>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>Vm</ci>
                                 </apply>
                                 <ci>F</ci>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_NaCa">
      <variable name="i_NaCa" units="A_per_F" public_interface="out"/>
      <variable name="Cao" units="millimolar" public_interface="in"/>
      <variable name="Nao" units="millimolar" public_interface="in"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="Nai" units="millimolar" public_interface="in"/>
      <variable name="R" units="joule_per_mole_kelvin" public_interface="in"/>
      <variable name="T" units="kelvin" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="kNaCa" units="A_per_F" initial_value="2450"/>
      <variable name="alpha" units="dimensionless" initial_value="2.8571432"/>
      <variable name="gamma" units="dimensionless" initial_value="0.35"/>
      <variable name="Ksat" units="dimensionless" initial_value="0.1"/>
      <variable name="KmCa" units="millimolar" initial_value="1.38"/>
      <variable name="KmNai" units="millimolar" initial_value="87.5"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_NaCa</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>kNaCa</ci>
                  <apply>
                     <minus/>
                     <apply>
                        <times/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <ci>gamma</ci>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <ci>F</ci>
                                 </apply>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <apply>
                              <power/>
                              <ci>Nai</ci>
                              <cn cellml:units="dimensionless">3</cn>
                           </apply>
                           <ci>Cao</ci>
                        </apply>
                     </apply>
                     <apply>
                        <times/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <ci>gamma</ci>
                                    <cn cellml:units="dimensionless">1</cn>
                                 </apply>
                                 <apply>
                                    <times/>
                                    <ci>Vm</ci>
                                    <ci>F</ci>
                                 </apply>
                              </apply>
                              <apply>
                                 <times/>
                                 <ci>R</ci>
                                 <ci>T</ci>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <apply>
                              <power/>
                              <ci>Nao</ci>
                              <cn cellml:units="dimensionless">3</cn>
                           </apply>
                           <apply>
                              <times/>
                              <ci>Cai</ci>
                              <ci>alpha</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <apply>
                     <plus/>
                     <apply>
                        <power/>
                        <ci>KmNai</ci>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>Nao</ci>
                        <cn cellml:units="dimensionless">3</cn>
                     </apply>
                  </apply>
                  <apply>
                     <times/>
                     <apply>
                        <plus/>
                        <ci>KmCa</ci>
                        <ci>Cao</ci>
                     </apply>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <times/>
                           <ci>Ksat</ci>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <apply>
                                    <times/>
                                    <apply>
                                       <minus/>
                                       <ci>gamma</ci>
                                       <cn cellml:units="dimensionless">1</cn>
                                    </apply>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <ci>F</ci>
                                    </apply>
                                 </apply>
                                 <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_PCa">
      <variable name="i_PCa" units="A_per_F" public_interface="out"/>
      <variable name="Cai" units="millimolar" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="g_PCa" units="A_per_F" initial_value="0.4125"/>
      <variable name="KPCa" units="millimolar" initial_value="0.0005"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_PCa</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>g_PCa</ci>
                  <ci>Cai</ci>
               </apply>
               <apply>
                  <plus/>
                  <ci>Cai</ci>
                  <ci>KPCa</ci>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_to">
      <variable name="i_to" units="A_per_F" public_interface="out"/>
      <variable name="g_to" units="S_per_F" initial_value="59.8077"/>
      <variable name="E_K" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in" private_interface="out"/>
      <variable name="Vm" units="volt" public_interface="in" private_interface="out"/>
      <variable name="q" units="dimensionless" private_interface="in"/>
      <variable name="r" units="dimensionless" private_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_to</ci>
            <apply>
               <times/>
               <ci>g_to</ci>
               <apply>
                  <times/>
                  <apply>
                     <minus/>
                     <ci>Vm</ci>
                     <ci>E_K</ci>
                  </apply>
                  <apply>
                     <times/>
                     <ci>q</ci>
                     <ci>r</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_to_q_gate">
      <variable name="q" units="dimensionless" initial_value="0.776163826643278" public_interface="out"/>
      <variable name="q_inf" units="dimensionless"/>
      <variable name="tau_q" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>q_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <ci>Vm</ci>
                              <cn cellml:units="millivolt_per_volt">1000</cn>
                           </apply>
                           <cn cellml:units="millivolt">53</cn>
                        </apply>
                        <cn cellml:units="millivolt">13</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_q</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <cn cellml:units="second">6.06</cn>
                  <apply>
                     <divide/>
                     <cn cellml:units="second">39.102</cn>
                     <apply>
                        <plus/>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.57</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="per_millivolt">0.08</cn>
                                 </apply>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">44</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.065</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <cn cellml:units="per_millivolt">0.1</cn>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">45.93</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>q</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>q_inf</ci>
                  <ci>q</ci>
               </apply>
               <ci>tau_q</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="i_to_r_gate">
      <variable name="r" units="dimensionless" initial_value="0.000503296941001262" public_interface="out"/>
      <variable name="r_inf" units="dimensionless"/>
      <variable name="tau_r" units="second"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>r_inf</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <apply>
                           <minus/>
                           <apply>
                              <minus/>
                              <apply>
                                 <times/>
                                 <ci>Vm</ci>
                                 <cn cellml:units="millivolt_per_volt">1000</cn>
                              </apply>
                              <cn cellml:units="millivolt">22.3</cn>
                           </apply>
                        </apply>
                        <cn cellml:units="millivolt">18.75</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>tau_r</ci>
            <apply>
               <divide/>
               <apply>
                  <plus/>
                  <cn cellml:units="second">2.75352</cn>
                  <apply>
                     <divide/>
                     <cn cellml:units="second">14.40516</cn>
                     <apply>
                        <plus/>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">1.037</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <cn cellml:units="per_millivolt">0.09</cn>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">30.61</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                        <apply>
                           <times/>
                           <cn cellml:units="dimensionless">0.369</cn>
                           <apply>
                              <exp/>
                              <apply>
                                 <times/>
                                 <apply>
                                    <minus/>
                                    <cn cellml:units="per_millivolt">0.12</cn>
                                 </apply>
                                 <apply>
                                    <plus/>
                                    <apply>
                                       <times/>
                                       <ci>Vm</ci>
                                       <cn cellml:units="millivolt_per_volt">1000</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">23.84</cn>
                                 </apply>
                              </apply>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <cn cellml:units="dimensionless">1000</cn>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>r</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <minus/>
                  <ci>r_inf</ci>
                  <ci>r</ci>
               </apply>
               <ci>tau_r</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="model_parameters">
      <variable name="Cao" units="millimolar" initial_value="1.8" public_interface="out"/>
      <variable name="Nao" units="millimolar" initial_value="151" public_interface="out"/>
      <variable name="Ki" units="millimolar" initial_value="150" public_interface="out"/>
      <variable name="Ko" units="millimolar" initial_value="5.4" public_interface="out"/>
      <variable name="Cm" units="farad" initial_value="7.86671e-11" public_interface="out"/>
      <variable name="Vc" units="micrometre_cube" initial_value="7012" public_interface="out"/>
      <variable name="V_SR" units="micrometre_cube" initial_value="465.2" public_interface="out"/>
      <variable name="R" units="joule_per_mole_kelvin" initial_value="8.314472" public_interface="out"/>
      <variable name="T" units="kelvin" initial_value="310" public_interface="out"/>
      <variable name="F" units="coulomb_per_mole" initial_value="96485.3415" public_interface="out"/>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="sodium_dynamics">
      <variable name="Nai" units="millimolar" initial_value="14.4424010544424" public_interface="out"/>
      <variable name="Cm" units="farad" public_interface="in"/>
      <variable name="Vc" units="micrometre_cube" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="i_Na" units="A_per_F" public_interface="in"/>
      <variable name="i_b_Na" units="A_per_F" public_interface="in"/>
      <variable name="i_NaK" units="A_per_F" public_interface="in"/>
      <variable name="i_NaCa" units="A_per_F" public_interface="in"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Nai</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <apply>
                     <minus/>
                     <ci>Cm</ci>
                  </apply>
                  <apply>
                     <plus/>
                     <ci>i_Na</ci>
                     <apply>
                        <plus/>
                        <ci>i_b_Na</ci>
                        <apply>
                           <plus/>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">3</cn>
                              <ci>i_NaK</ci>
                           </apply>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">3</cn>
                              <ci>i_NaCa</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>F</ci>
                  <apply>
                     <times/>
                     <ci>Vc</ci>
                     <cn type="e-notation" cellml:units="metre3_per_um3">1   <sep/>
                     -18</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="calcium_dynamics">
      <variable name="Cai" units="millimolar" initial_value="4.49232909234503e-5" public_interface="out"/>
      <variable name="Ca_SR" units="millimolar" initial_value="0.149980051221604"/>
      <variable name="Vc" units="micrometre_cube" public_interface="in"/>
      <variable name="V_SR" units="micrometre_cube" public_interface="in"/>
      <variable name="time" units="second" public_interface="in"/>
      <variable name="F" units="coulomb_per_mole" public_interface="in"/>
      <variable name="Vm" units="volt" public_interface="in"/>
      <variable name="Cm" units="farad" public_interface="in"/>
      <variable name="i_CaL" units="A_per_F" public_interface="in"/>
      <variable name="i_PCa" units="A_per_F" public_interface="in"/>
      <variable name="i_b_Ca" units="A_per_F" public_interface="in"/>
      <variable name="i_NaCa" units="A_per_F" public_interface="in"/>
      <variable name="a_rel" units="millimolar_per_second" initial_value="16.464"/>
      <variable name="b_rel" units="millimolar" initial_value="0.25"/>
      <variable name="c_rel" units="millimolar_per_second" initial_value="8.232"/>
      <variable name="g" units="dimensionless" initial_value="1"/>
      <variable name="tau_g" units="second" initial_value="0.002"/>
      <variable name="g_inf" units="dimensionless"/>
      <variable name="Kup" units="millimolar" initial_value="0.00025"/>
      <variable name="Buf_C" units="millimolar" initial_value="0.25"/>
      <variable name="Buf_SR" units="millimolar" initial_value="10"/>
      <variable name="Kbuf_C" units="millimolar" initial_value="0.001"/>
      <variable name="Kbuf_SR" units="millimolar" initial_value="0.3"/>
      <variable name="Cai_bufc" units="dimensionless"/>
      <variable name="Ca_SR_bufSR" units="dimensionless"/>
      <variable name="d" units="dimensionless" public_interface="in"/>
      <variable name="VmaxUp" units="millimolar_per_second" initial_value="0.22"/>
      <variable name="const2" units="dimensionless"/>
      <variable name="V_leak" units="per_second" initial_value="0.00044444"/>
      <variable name="i_rel" units="millimolar_per_second"/>
      <variable name="i_up" units="millimolar_per_second"/>
      <variable name="i_leak" units="millimolar_per_second"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>i_rel</ci>
            <apply>
               <times/>
               <apply>
                  <plus/>
                  <ci>c_rel</ci>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>a_rel</ci>
                        <apply>
                           <power/>
                           <ci>Ca_SR</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                     <apply>
                        <plus/>
                        <apply>
                           <power/>
                           <ci>b_rel</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                        <apply>
                           <power/>
                           <ci>Ca_SR</ci>
                           <cn cellml:units="dimensionless">2</cn>
                        </apply>
                     </apply>
                  </apply>
               </apply>
               <apply>
                  <times/>
                  <ci>d</ci>
                  <apply>
                     <times/>
                     <ci>g</ci>
                     <cn cellml:units="dimensionless">0.0556</cn>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_up</ci>
            <apply>
               <divide/>
               <ci>VmaxUp</ci>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <apply>
                        <power/>
                        <ci>Kup</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                     <apply>
                        <power/>
                        <ci>Cai</ci>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>i_leak</ci>
            <apply>
               <times/>
               <apply>
                  <minus/>
                  <ci>Ca_SR</ci>
                  <ci>Cai</ci>
               </apply>
               <ci>V_leak</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>g_inf</ci>
            <piecewise>
               <piece>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <ci>Cai</ci>
                              <cn cellml:units="millimolar">0.00035</cn>
                           </apply>
                           <cn cellml:units="dimensionless">6</cn>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <leq/>
                     <ci>Cai</ci>
                     <cn cellml:units="millimolar">0.00035</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <divide/>
                     <cn cellml:units="dimensionless">1</cn>
                     <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                           <power/>
                           <apply>
                              <divide/>
                              <ci>Cai</ci>
                              <cn cellml:units="millimolar">0.00035</cn>
                           </apply>
                           <cn cellml:units="dimensionless">16</cn>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>const2</ci>
            <piecewise>
               <piece>
                  <cn cellml:units="dimensionless">0</cn>
                  <apply>
                     <and/>
                     <apply>
                        <gt/>
                        <ci>g_inf</ci>
                        <ci>g</ci>
                     </apply>
                     <apply>
                        <gt/>
                        <ci>Vm</ci>
                        <apply>
                           <minus/>
                           <cn cellml:units="volt">0.06</cn>
                        </apply>
                     </apply>
                  </apply>
               </piece>
               <otherwise>
                  <cn cellml:units="dimensionless">1</cn>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>g</ci>
            </apply>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <ci>const2</ci>
                  <apply>
                     <minus/>
                     <ci>g_inf</ci>
                     <ci>g</ci>
                  </apply>
               </apply>
               <ci>tau_g</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Cai_bufc</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>Buf_C</ci>
                        <ci>Kbuf_C</ci>
                     </apply>
                     <apply>
                        <power/>
                        <apply>
                           <plus/>
                           <ci>Cai</ci>
                           <ci>Kbuf_C</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ca_SR_bufSR</ci>
            <apply>
               <divide/>
               <cn cellml:units="dimensionless">1</cn>
               <apply>
                  <plus/>
                  <cn cellml:units="dimensionless">1</cn>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <ci>Buf_SR</ci>
                        <ci>Kbuf_SR</ci>
                     </apply>
                     <apply>
                        <power/>
                        <apply>
                           <plus/>
                           <ci>Ca_SR</ci>
                           <ci>Kbuf_SR</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Cai</ci>
            </apply>
            <apply>
               <times/>
               <ci>Cai_bufc</ci>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <apply>
                        <minus/>
                        <ci>i_leak</ci>
                        <ci>i_up</ci>
                     </apply>
                     <ci>i_rel</ci>
                  </apply>
                  <apply>
                     <divide/>
                     <apply>
                        <times/>
                        <apply>
                           <minus/>
                           <apply>
                              <plus/>
                              <ci>i_CaL</ci>
                              <apply>
                                 <plus/>
                                 <ci>i_b_Ca</ci>
                                 <ci>i_PCa</ci>
                              </apply>
                           </apply>
                           <apply>
                              <times/>
                              <cn cellml:units="dimensionless">2</cn>
                              <ci>i_NaCa</ci>
                           </apply>
                        </apply>
                        <ci>Cm</ci>
                     </apply>
                     <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <apply>
                           <times/>
                           <ci>Vc</ci>
                           <apply>
                              <times/>
                              <ci>F</ci>
                              <cn type="e-notation" cellml:units="metre3_per_um3">1   <sep/>
                              -18</cn>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>time</ci>
               </bvar>
               <ci>Ca_SR</ci>
            </apply>
            <apply>
               <times/>
               <apply>
                  <divide/>
                  <apply>
                     <times/>
                     <ci>Ca_SR_bufSR</ci>
                     <ci>Vc</ci>
                  </apply>
                  <ci>V_SR</ci>
               </apply>
               <apply>
                  <minus/>
                  <ci>i_up</ci>
                  <apply>
                     <plus/>
                     <ci>i_rel</ci>
                     <ci>i_leak</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <group xmlns="http://www.cellml.org/cellml/1.0#">
      <relationship_ref relationship="containment"/>
      <component_ref component="Membrane">
         <component_ref component="calcium_dynamics"/>
         <component_ref component="sodium_dynamics"/>
         <component_ref component="model_parameters"/>
         <component_ref component="electric_potentials"/>
         <component_ref component="i_b_Ca"/>
         <component_ref component="i_b_Na"/>
         <component_ref component="i_NaK"/>
         <component_ref component="i_NaCa"/>
         <component_ref component="i_PCa"/>
         <component_ref component="i_K1"/>
         <component_ref component="i_Na">
            <component_ref component="i_Na_m_gate"/>
            <component_ref component="i_Na_h_gate"/>
            <component_ref component="i_Na_j_gate"/>
         </component_ref>
         <component_ref component="i_CaL">
            <component_ref component="i_CaL_d_gate"/>
            <component_ref component="i_CaL_f1_gate"/>
            <component_ref component="i_CaL_f2_gate"/>
            <component_ref component="i_CaL_fCa_gate"/>
         </component_ref>
         <component_ref component="i_Kr">
            <component_ref component="i_Kr_Xr1_gate"/>
            <component_ref component="i_Kr_Xr2_gate"/>
         </component_ref>
         <component_ref component="i_Ks">
            <component_ref component="i_Ks_Xs_gate"/>
         </component_ref>
         <component_ref component="i_to">
            <component_ref component="i_to_q_gate"/>
            <component_ref component="i_to_r_gate"/>
         </component_ref>
         <component_ref component="i_f">
            <component_ref component="i_f_Xf_gate"/>
         </component_ref>
      </component_ref>
   </group>
   <group xmlns="http://www.cellml.org/cellml/1.0#">
      <relationship_ref relationship="encapsulation"/>
      <component_ref component="i_Na">
         <component_ref component="i_Na_m_gate"/>
         <component_ref component="i_Na_h_gate"/>
         <component_ref component="i_Na_j_gate"/>
      </component_ref>
      <component_ref component="i_CaL">
         <component_ref component="i_CaL_d_gate"/>
         <component_ref component="i_CaL_f1_gate"/>
         <component_ref component="i_CaL_f2_gate"/>
         <component_ref component="i_CaL_fCa_gate"/>
      </component_ref>
      <component_ref component="i_Kr">
         <component_ref component="i_Kr_Xr1_gate"/>
         <component_ref component="i_Kr_Xr2_gate"/>
      </component_ref>
      <component_ref component="i_Ks">
         <component_ref component="i_Ks_Xs_gate"/>
      </component_ref>
      <component_ref component="i_to">
         <component_ref component="i_to_q_gate"/>
         <component_ref component="i_to_r_gate"/>
      </component_ref>
      <component_ref component="i_f">
         <component_ref component="i_f_Xf_gate"/>
      </component_ref>
   </group>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="Membrane" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_K1" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Ks" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_to" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_f" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaCa" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaK" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_PCa" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="calcium_dynamics" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="environment"/>
      <map_variables variable_1="time" variable_2="time"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_CaL" variable_2="i_CaL"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_K1" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_K1" variable_2="i_K1"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_Na" variable_2="i_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_PCa" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_PCa" variable_2="i_PCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_Kr" variable_2="i_Kr"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Ks" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_Ks" variable_2="i_Ks"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_to" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_to" variable_2="i_to"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_f" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_f" variable_2="i_f"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_b_Na" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_b_Na" variable_2="i_b_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_b_Ca" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_b_Ca" variable_2="i_b_Ca"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaK" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaCa" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="model_parameters"/>
      <map_variables variable_1="Nao" variable_2="Nao"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
      <map_variables variable_1="Ki" variable_2="Ki"/>
      <map_variables variable_1="Ko" variable_2="Ko"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_Kr"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_Ks"/>
      <map_variables variable_1="E_Ks" variable_2="E_Ks"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_K1"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_to"/>
      <map_variables variable_1="E_K" variable_2="E_K"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_b_Na"/>
      <map_variables variable_1="E_Na" variable_2="E_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_Na"/>
      <map_variables variable_1="E_Na" variable_2="E_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_b_Ca"/>
      <map_variables variable_1="E_Ca" variable_2="E_Ca"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="electric_potentials" component_2="i_NaK"/>
      <map_variables variable_1="E_Na" variable_2="E_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="calcium_dynamics"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="i_CaL" variable_2="i_CaL"/>
      <map_variables variable_1="d" variable_2="d"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_PCa" component_2="calcium_dynamics"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="i_PCa" variable_2="i_PCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_b_Na" component_2="sodium_dynamics"/>
      <map_variables variable_1="i_b_Na" variable_2="i_b_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaK" component_2="model_parameters"/>
      <map_variables variable_1="Ko" variable_2="Ko"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaCa" component_2="model_parameters"/>
      <map_variables variable_1="Nao" variable_2="Nao"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_NaCa" component_2="calcium_dynamics"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_b_Ca" component_2="calcium_dynamics"/>
      <map_variables variable_1="i_b_Ca" variable_2="i_b_Ca"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Ks" component_2="calcium_dynamics"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="calcium_dynamics" component_2="model_parameters"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="Vc" variable_2="Vc"/>
      <map_variables variable_1="V_SR" variable_2="V_SR"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="model_parameters"/>
      <map_variables variable_1="Cm" variable_2="Cm"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="Vc" variable_2="Vc"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="i_Na"/>
      <map_variables variable_1="i_Na" variable_2="i_Na"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="i_NaK"/>
      <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
      <map_variables variable_1="Nai" variable_2="Nai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="i_NaCa"/>
      <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
      <map_variables variable_1="Nai" variable_2="Nai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="calcium_dynamics" component_2="Membrane"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="calcium_dynamics" component_2="electric_potentials"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="sodium_dynamics" component_2="electric_potentials"/>
      <map_variables variable_1="Nai" variable_2="Nai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="i_Na_m_gate"/>
      <map_variables variable_1="m" variable_2="m"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="i_Na_j_gate"/>
      <map_variables variable_1="j" variable_2="j"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Na" component_2="i_Na_h_gate"/>
      <map_variables variable_1="h" variable_2="h"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="i_CaL_d_gate"/>
      <map_variables variable_1="d" variable_2="d"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="i_CaL_fCa_gate"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="fCa" variable_2="fCa"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="i_CaL_f1_gate"/>
      <map_variables variable_1="Cai" variable_2="Cai"/>
      <map_variables variable_1="f1" variable_2="f1"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="i_CaL_f2_gate"/>
      <map_variables variable_1="f2" variable_2="f2"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_CaL" component_2="model_parameters"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="T" variable_2="T"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="model_parameters"/>
      <map_variables variable_1="Ko" variable_2="Ko"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="T" variable_2="T"/>
      <map_variables variable_1="F" variable_2="F"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_K1" component_2="model_parameters"/>
      <map_variables variable_1="Ko" variable_2="Ko"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="i_Kr_Xr1_gate"/>
      <map_variables variable_1="Cao" variable_2="Cao"/>
      <map_variables variable_1="Xr1" variable_2="Xr1"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
      <map_variables variable_1="R" variable_2="R"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="T" variable_2="T"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Kr" component_2="i_Kr_Xr2_gate"/>
      <map_variables variable_1="Xr2" variable_2="Xr2"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_Ks" component_2="i_Ks_Xs_gate"/>
      <map_variables variable_1="Xs" variable_2="Xs"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_to" component_2="i_to_q_gate"/>
      <map_variables variable_1="q" variable_2="q"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_to" component_2="i_to_r_gate"/>
      <map_variables variable_1="r" variable_2="r"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="i_f" component_2="i_f_Xf_gate"/>
      <map_variables variable_1="Xf" variable_2="Xf"/>
      <map_variables variable_1="time" variable_2="time"/>
      <map_variables variable_1="Vm" variable_2="Vm"/>
   </connection>
   
   
 
   
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:bqs="http://www.cellml.org/bqs/1.0#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:vCard="http://www.w3.org/2001/vcard-rdf/3.0#">
   <foo xmlns="http://www.example.org/foo/bar/baz" />
   <!--
      The following RDF block contains metadata that applies to this document
      as a whole, as indicated by the empty about attribute on the 
      <rdf:Description> element.
    -->
   <rdf:Description rdf:about="">
      <!--
        The Model Builder Metadata.  The Dublin Core "creator" element is used  
        to indicate the person who translated the model into CellML.
      -->
      <dc:creator rdf:parseType="Resource">
         <vCard:N rdf:parseType="Resource">
            <vCard:Family>Severi</vCard:Family>
            <vCard:Given>Stefano</vCard:Given>
         </vCard:N>
         <vCard:ORG rdf:parseType="Resource">
            <vCard:Orgname>University of Bologna</vCard:Orgname>
            <vCard:Orgunit>Biomedical Engineering Laboratory - DEIS</vCard:Orgunit>
         </vCard:ORG>
      </dc:creator>

      <!--
        The Creation Date metadata. This is the date on which the model
        was translated into CellML.-->

      <dcterms:created rdf:parseType="Resource">
        <dcterms:W3CDTF>2012</dcterms:W3CDTF>
      </dcterms:created>

   </rdf:Description>

   <!--
      The following metadata refers to the model itself, as indicated by the
      reference to the ID "aslanidi_atrial_model_2009", which is    
      declared on the <model> element.
    -->
    
   <rdf:Description rdf:about="#paci_hyttinen_aaltosetala_severi_atrialVersion">
   
      <!-- A human readable name for the model. -->
      
      <dc:title>
         Computational models of ventricular- and atrial-like human induced pluripotent stem cell derived cardiomyocytes
      </dc:title>

      <!--  Keyword(s) -->
      
      <bqs:reference rdf:parseType="Resource">
         <dc:subject rdf:parseType="Resource">
            <bqs:subject_type>keyword</bqs:subject_type>
            <rdf:value>
               <rdf:Bag>
                  <rdf:li>electrophysiology</rdf:li>
                  <rdf:li>cardiac</rdf:li>
               </rdf:Bag>
            </rdf:value>
         </dc:subject>
      </bqs:reference>

      <!-- Reference -->
      
      <bqs:reference rdf:parseType="Resource">
         <bqs:Pubmed_id>23722932</bqs:Pubmed_id>
         <bqs:JournalArticle rdf:parseType="Resource">
            <dc:creator>
               <rdf:Seq>
               
                  <!-- make additional copies of this rdf:li block
                       for more authors -->
                       
                  <rdf:li rdf:parseType="Resource">
                     <bqs:Person rdf:parseType="Resource">
                        <vCard:N rdf:parseType="Resource">
                           <vCard:Family>Paci</vCard:Family>
                           <vCard:Given>S</vCard:Given>
                        </vCard:N>
                     </bqs:Person>
                  </rdf:li>
                       
                  <rdf:li rdf:parseType="Resource">
                     <bqs:Person rdf:parseType="Resource">
                        <vCard:N rdf:parseType="Resource">
                           <vCard:Family>Hyttinen</vCard:Family>
                           <vCard:Given>M</vCard:Given>
                        </vCard:N>
                     </bqs:Person>
                  </rdf:li>
                       
                  <rdf:li rdf:parseType="Resource">
                     <bqs:Person rdf:parseType="Resource">
                        <vCard:N rdf:parseType="Resource">
                           <vCard:Family>Aalto-Setala</vCard:Family>
                           <vCard:Given>L A</vCard:Given>
                        </vCard:N>
                     </bqs:Person>
                  </rdf:li>
                       
                  <rdf:li rdf:parseType="Resource">
                     <bqs:Person rdf:parseType="Resource">
                        <vCard:N rdf:parseType="Resource">
                           <vCard:Family>Severi</vCard:Family>
                           <vCard:Given>D</vCard:Given>
                        </vCard:N>
                     </bqs:Person>
                  </rdf:li>

                  
               </rdf:Seq>
            </dc:creator>
            
            <!-- Reference title -->
            
            <dc:title>
               Computational models of ventricular- and atrial-like human induced pluripotent stem cell derived cardiomyocytes
            </dc:title>
            <bqs:Journal rdf:parseType="Resource">
               <dc:title>Annals of biomedical engineering.</dc:title>
            </bqs:Journal>
            <bqs:volume>Epub ahead of print</bqs:volume>
            <bqs:first_page>Epub ahead of print</bqs:first_page>
            <bqs:last_page>Epub ahead of print</bqs:last_page>
         </bqs:JournalArticle>

        <dc:subject rdf:parseType="Resource">
          <bqs:subject_type>keyword</bqs:subject_type>
          <rdf:value>
            <rdf:Bag>
              <rdf:li>electrophysiology</rdf:li>
            </rdf:Bag>
          </rdf:value>
        </dc:subject>

      </bqs:reference>
   </rdf:Description>
</rdf:RDF>   
   
   

   
</model>