Rendering of the source text

<?xml version="1.0"?>
<model xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" xml:base="" cmeta:id="IVCaQNOydHc" name="CaOscillations">
  <component name="Environment">
    <variable name="time" public_interface="out" units="second"/>
  </component>
  <component name="Parameters">
    <variable initial_value="96487" name="F" public_interface="out" units="sec_A_per_mol"/>
    <variable initial_value="5E-16" name="vol_cyt" public_interface="out" units="cubic_Meter"/>
    <variable initial_value="3E-18" name="vol_md" public_interface="out" units="cubic_Meter"/>
    <variable initial_value="7E-17" name="vol_SR" public_interface="out" units="cubic_Meter"/>
    <variable initial_value="3.5E-16" name="vol_cyt_Ca" public_interface="out" units="cubic_Meter"/>
    
    <variable initial_value="1.7" name="K_mr" public_interface="out" units="Molar"/>
    <variable initial_value="2" name="n_H" public_interface="out" units="dimensionless"/>
    <variable initial_value="12" name="v_RyR" public_interface="out" units="per_sec"/>
    <variable initial_value="3.7224E-4" name="K_a" public_interface="out" units="Molar"/>
    <variable initial_value="6.3601E-4" name="K_b" public_interface="out" units="Molar"/>
    <variable initial_value="5.71E-5" name="K_c" public_interface="out" units="Molar"/>
    <variable initial_value="0.1" name="K_c_rate" public_interface="out" units="per_sec"/>
    <variable initial_value="20" name="v_IP3R" public_interface="out" units="per_sec"/>
    <variable initial_value="1.85" name="v_IP3" public_interface="out" units="per_sec"/>
    <variable initial_value="2.4E-4" name="conc_IP3_ref" public_interface="out" units="Molar"/>
    <variable initial_value="0.5" name="alpha_4" public_interface="out" units="dimensionless"/>
    <variable initial_value="1.1E-3" name="k4" public_interface="out" units="Molar"/>
    <variable initial_value="1" name="I_r" public_interface="out" units="per_sec"/>
    <variable initial_value="1.3E-4" name="d1" public_interface="out" units="Molar"/>
    <variable initial_value="2E2" name="a4" public_interface="out" units="per_M_sec"/>
    <variable initial_value="1.445E-4" name="d4" public_interface="out" units="Molar"/>
    <variable initial_value="2E4" name="a5" public_interface="out" units="per_M_sec"/>
    <variable initial_value="8.234E-5" name="d5" public_interface="out" units="Molar"/>
    <variable initial_value="7.5E-11" name="G_CaSOC_max" public_interface="out" units="siemens2"/>
    <variable initial_value="0.1" name="K_SOC" public_interface="out" units="Molar"/>
    <variable initial_value="8.78E-2" name="delta_CT" public_interface="out" units="volt"/>
    <variable initial_value="6E-17" name="J_NaCl_max" public_interface="out" units="mol_per_sec"/>
    <variable initial_value="3.5E-18" name="J_KCl_max" public_interface="out" units="mol_per_sec"/>
    <variable initial_value="6E-17" name="J_NKCC_max" public_interface="out" units="mol_per_sec"/>
    <variable initial_value="46" name="K_NKCC_Na" public_interface="out" units="Molar"/>
    <variable initial_value="4.0" name="K_NKCC_K" public_interface="out" units="Molar"/>
    <variable initial_value="78" name="K_NKCC_Cl1" public_interface="out" units="Molar"/>
    <variable initial_value="78" name="K_NKCC_Cl2" public_interface="out" units="Molar"/>
    <variable initial_value="3.0E3" name="k_on" public_interface="out" units="per_M_sec"/>
    <variable initial_value="50" name="k_off" public_interface="out" units="per_sec"/>
    <variable initial_value="10" name="alpha1" public_interface="out" units="per_sec"/>
    <variable initial_value="30" name="alpha2" public_interface="out" units="per_sec"/>
    <variable initial_value="300" name="alpha3" public_interface="out" units="per_sec"/>
    <variable initial_value="1.2E-8" name="G_ClCa_max" public_interface="out" units="siemens2"/>
    <variable initial_value="1E-11" name="G_K_b" public_interface="out" units="siemens2"/>
    <variable initial_value="1E-11" name="G_Na_b" public_interface="out" units="siemens2"/>
    <variable initial_value="1.2E-11" name="G_Ca_b" public_interface="out" units="siemens2"/>
    <variable initial_value="1E-11" name="G_Cl_b" public_interface="out" units="siemens2"/>
    <variable initial_value="3E-10" name="G_Kir_max" public_interface="out" units="siemens2"/>
    <variable initial_value="5.4" name="conc_K_ref" public_interface="out" units="Molar"/>
    <variable initial_value="9.8325E-9" name="G_Kv_max" public_interface="out" units="siemens2"/>
    <variable initial_value="0.463" name="n_ATP" public_interface="out" units="dimensionless"/>
    <variable initial_value="1.036E-9" name="G_KATP_max" public_interface="out" units="siemens2"/>
    <variable initial_value="5.00E-10" name="G_KCa_max" public_interface="out" units="siemens2"/>
    <variable initial_value="5E-4" name="Tau_PF" public_interface="out" units="second"/>
    <variable initial_value="1.15E-2" name="Tau_PS" public_interface="out" units="second"/>
    
    
    <variable initial_value="1.5" name="K_m_K" public_interface="out" units="Molar"/>
    <variable initial_value="12" name="K_m_Na_alpha1" public_interface="out" units="Molar"/>
    <variable initial_value="22" name="K_m_Na_alpha2" public_interface="out" units="Molar"/>
    <variable initial_value="1.7097E-10" name="I_NaCa_max" public_interface="out" units="ampere"/>
    <variable initial_value="3.59E-3" name="K_m_Cai" public_interface="out" units="Molar"/>
    <variable initial_value="1.3" name="K_m_Cao" public_interface="out" units="Molar"/>
    <variable initial_value="12.29" name="K_m_Nai" public_interface="out" units="Molar"/>
    <variable initial_value="87.5" name="K_m_Nao" public_interface="out" units="Molar"/>
    <variable initial_value="0.27" name="k_sat" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.35" name="gamma" public_interface="out" units="dimensionless"/>
    <variable initial_value="1.25E-4" name="K_mCa_act" public_interface="out" units="Molar"/>
    <variable initial_value="2.860E-9" name="G_VONa_max" public_interface="out" units="siemens2"/>
    <variable initial_value="0.0001" name="Tau_m" public_interface="out" units="second"/>
    <variable initial_value="0.001" name="Tau_h" public_interface="out" units="second"/>
    
    <variable initial_value="1.7E-4" name="K_m_CaP" public_interface="out" units="Molar"/>
    <variable initial_value="1.4151E-9" name="G_CaL_max" public_interface="out" units="siemens2"/>
    
    
    
    <variable initial_value="4E-1" name="conc_Bf_tot" public_interface="out" units="Molar"/>
    <variable initial_value="100E3" name="k_Bf_on" public_interface="out" units="per_M_sec"/>
    <variable initial_value="300" name="k_Bf_off" public_interface="out" units="per_sec"/>
    <variable initial_value="1.4E-1" name="conc_Calseq_SR_tot" public_interface="out" units="Molar"/>
    <variable initial_value="1E5" name="k_Calseq_on" public_interface="out" units="per_M_sec"/>
    <variable initial_value="8E4" name="k_Calseq_off" public_interface="out" units="per_sec"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>D_K</ci><apply><divide/><apply><times/><ci>D_Ca</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1.96</cn></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.79</cn></apply></apply><apply><eq/><ci>D_Na</ci><apply><divide/><apply><times/><ci>D_Ca</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1.33</cn></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.79</cn></apply></apply></math>
    <variable initial_value="0.8580" name="f_cyt" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.1420" name="f_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="8.3144621" name="R" public_interface="out" units="J_per_mol_K"/>
    <variable initial_value="298" name="T" public_interface="out" units="kelvin"/>
    
    <variable initial_value="1.21E-9" name="Area" public_interface="out" units="sq_meter"/>
    <variable initial_value="5E-7" name="L" public_interface="out" units="meter"/>
    <variable initial_value="0.001" name="hcon" public_interface="out" units="dimensionless"/>
    <variable initial_value="3E-10" name="D_Ca" public_interface="out" units="sq_m_per_sec"/>
    <variable name="D_K" public_interface="out" units="sq_m_per_sec"/>
    <variable name="D_Na" public_interface="out" units="sq_m_per_sec"/>
    <variable initial_value="3E-10" name="D_Cl" public_interface="out" units="sq_m_per_sec"/>
  </component>
  <units name="per_sec">
    <unit exponent="-1" units="second"/>
  </units>
  <units name="per_M_sec">
    <unit exponent="-1" units="Molar"/>
    <unit exponent="-1" units="second"/>
  </units>
  <units name="m_per_sec">
    <unit units="meter"/>
    <unit exponent="-1" units="second"/>
  </units>
  
  
  <component name="Potassium_Conc_cyt">
    <variable initial_value="140.55" name="conc_K_cyt" public_interface="out" units="Molar"/>
    <variable name="I_K_cyt_b" public_interface="in" units="ampere"/>
    <variable name="I_K_cyt_ir" public_interface="in" units="ampere"/>
    <variable name="I_K_cyt_ATP" public_interface="in" units="ampere"/>
    <variable name="I_K_cyt_v" public_interface="in" units="ampere"/>
    <variable name="I_K_cyt_Ca" public_interface="in" units="ampere"/>
    <variable name="I_NaK_cyt_alpha1" public_interface="in" units="ampere"/>
    <variable name="J_cyt_KCl" public_interface="in" units="mol_per_sec"/>
    <variable name="J_cyt_NKCC" public_interface="in" units="mol_per_sec"/>
    <variable name="J_Kdiff" public_interface="in" units="mol_per_sec"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_cyt" public_interface="in" units="cubic_Meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_K_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <plus/>
            <apply>
              <minus/>
              <apply>
                <minus/>
                <apply>
                  <plus/>
                  <ci>I_K_cyt_b
                  </ci>
                  <ci>I_K_cyt_ir
                  </ci>
                  <ci>I_K_cyt_ATP
                  </ci>
                  <ci>I_K_cyt_v
                  </ci>
                  <ci>I_K_cyt_Ca
                  </ci>
                </apply>
                <apply>
                  <times/>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                  <ci>I_NaK_cyt_alpha1
                  </ci>
                </apply>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>F
              </ci>
              <apply>
                <plus/>
                <ci>J_cyt_KCl
                </ci>
                <ci>J_cyt_NKCC
                </ci>
                <ci>J_Kdiff
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>F
            </ci>
            <ci>vol_cyt
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="time" public_interface="in" units="second"/>
  </component>
  <units name="sec_A_per_mol">
    <unit exponent="-1" units="mole"/>
    <unit units="second"/>
    <unit units="ampere"/>
  </units>
  <connection>
    <map_components component_1="Parameters" component_2="Potassium_Conc_cyt"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_cyt" variable_2="vol_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="Potassium_Conc_cyt"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <component name="Potassium_Conc_md">
    <variable initial_value="131.37" name="conc_K_md" public_interface="out" units="Molar"/>
    <variable name="I_K_md_b" public_interface="in" units="ampere"/>
    <variable name="I_K_md_ir" public_interface="in" units="ampere"/>
    <variable name="I_K_md_ATP" public_interface="in" units="ampere"/>
    <variable name="I_K_md_v" public_interface="in" units="ampere"/>
    <variable name="I_K_md_Ca" public_interface="in" units="ampere"/>
    <variable name="I_NaK_md_alpha2" public_interface="in" units="ampere"/>
    <variable name="J_md_KCl" public_interface="in" units="mol_per_sec"/>
    <variable name="J_md_NKCC" public_interface="in" units="mol_per_sec"/>
    <variable name="J_Kdiff" public_interface="in" units="mol_per_sec"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_md" public_interface="in" units="cubic_Meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_K_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <plus/>
            <apply>
              <minus/>
              <apply>
                <minus/>
                <apply>
                  <plus/>
                  <ci>I_K_md_b
                  </ci>
                  <ci>I_K_md_ir
                  </ci>
                  <ci>I_K_md_ATP
                  </ci>
                  <ci>I_K_md_v
                  </ci>
                  <ci>I_K_md_Ca
                  </ci>
                </apply>
                <apply>
                  <times/>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                  <ci>I_NaK_md_alpha2
                  </ci>
                </apply>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>F
              </ci>
              <apply>
                <minus/>
                <apply>
                  <plus/>
                  <ci>J_md_KCl
                  </ci>
                  <ci>J_md_NKCC
                  </ci>
                </apply>
                <ci>J_Kdiff
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>F
            </ci>
            <ci>vol_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="time" public_interface="in" units="second"/>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="Potassium_Conc_md"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_md" variable_2="vol_md"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="Potassium_Conc_md"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <component name="Sodium_Conc_cyt">
    <variable initial_value="9.1964" name="conc_Na_cyt" public_interface="out" units="Molar"/>
    <variable name="I_Na_cyt_b" public_interface="in" units="ampere"/>
    <variable name="I_VONa_cyt" public_interface="in" units="ampere"/>
    <variable name="I_Na_cyt_SOC" public_interface="in" units="ampere"/>
    <variable name="I_NaK_cyt_alpha1" public_interface="in" units="ampere"/>
    <variable name="J_cyt_NaCl" public_interface="in" units="mol_per_sec"/>
    <variable name="J_cyt_NKCC" public_interface="in" units="mol_per_sec"/>
    <variable name="J_Nadiff" public_interface="in" units="mol_per_sec"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_cyt" public_interface="in" units="cubic_Meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_Na_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <plus/>
            <apply>
              <minus/>
              <apply>
                <plus/>
                <ci>I_Na_cyt_b
                </ci>
                <apply>
                  <times/>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
                  </cn>
                  <ci>I_NaK_cyt_alpha1
                  </ci>
                </apply>
                <ci>I_VONa_cyt
                </ci>
                <ci>I_Na_cyt_SOC
                </ci>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>F
              </ci>
              <apply>
                <plus/>
                <ci>J_cyt_NaCl
                </ci>
                <ci>J_cyt_NKCC
                </ci>
                <ci>J_Nadiff
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>F
            </ci>
            <ci>vol_cyt
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="time" public_interface="in" units="second"/>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="Sodium_Conc_cyt"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_cyt" variable_2="vol_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="Sodium_Conc_cyt"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <component name="Sodium_Conc_md">
    <variable initial_value="20.742" name="conc_Na_md" public_interface="out" units="Molar"/>
    <variable name="I_Na_md_b" public_interface="in" units="ampere"/>
    <variable name="I_VONa_md" public_interface="in" units="ampere"/>
    <variable name="I_Na_md_SOC" public_interface="in" units="ampere"/>
    <variable name="I_NaK_md_alpha2" public_interface="in" units="ampere"/>
    <variable name="J_md_NaCl" public_interface="in" units="mol_per_sec"/>
    <variable name="J_md_NKCC" public_interface="in" units="mol_per_sec"/>
    <variable name="J_Nadiff" public_interface="in" units="mol_per_sec"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_md" public_interface="in" units="cubic_Meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_Na_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <plus/>
            <apply>
              <minus/>
              <apply>
                <plus/>
                <ci>I_Na_md_b
                </ci>
                <apply>
                  <times/>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
                  </cn>
                  <ci>I_NaK_md_alpha2
                  </ci>
                </apply>
                <ci>I_VONa_md
                </ci>
                <ci>I_Na_md_SOC
                </ci>
                <apply>
                  <times/>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
                  </cn>
                  <ci>I_NaCa_md
                  </ci>
                </apply>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>F
              </ci>
              <apply>
                <minus/>
                <apply>
                  <plus/>
                  <ci>J_md_NaCl
                  </ci>
                  <ci>J_md_NKCC
                  </ci>
                </apply>
                <ci>J_Nadiff
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>F
            </ci>
            <ci>vol_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="time" public_interface="in" units="second"/>
    <variable name="I_NaCa_md" public_interface="in" units="ampere"/>
  </component>
  <component name="Chloride_Conc_cyt">
    <variable initial_value="23.257" name="conc_Cl_cyt" public_interface="out" units="Molar"/>
    <variable name="I_Cl_cyt_b" public_interface="in" units="ampere"/>
    <variable name="I_Cl_cyt_Ca" public_interface="in" units="ampere"/>
    <variable name="J_cyt_NaCl" public_interface="in" units="mol_per_sec"/>
    <variable name="J_cyt_KCl" public_interface="in" units="mol_per_sec"/>
    <variable name="J_Cldiff" public_interface="in" units="mol_per_sec"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_cyt" public_interface="in" units="cubic_Meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_Cl_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <plus/>
            <ci>I_Cl_cyt_b
            </ci>
            <ci>I_Cl_cyt_Ca
            </ci>
            <apply>
              <plus/>
              <apply>
                <times/>
                <ci>F
                </ci>
                <ci>J_cyt_NaCl
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>F
                </ci>
                <apply>
                  <plus/>
                  <ci>J_cyt_KCl
                  </ci>
                  <apply>
                    <times/>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                    </cn>
                    <ci>J_cyt_NKCC
                    </ci>
                  </apply>
                  <ci>J_Cldiff
                  </ci>
                </apply>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>F
            </ci>
            <ci>vol_cyt
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="time" public_interface="in" units="second"/>
    <variable name="J_cyt_NKCC" public_interface="in" units="mol_per_sec"/>
  </component>
  <component name="Chloride_Conc_md">
    <variable initial_value="16.737" name="conc_Cl_md" public_interface="out" units="Molar"/>
    <variable name="I_Cl_md_b" public_interface="in" units="ampere"/>
    <variable name="I_Cl_md_Ca" public_interface="in" units="ampere"/>
    <variable name="J_md_NaCl" public_interface="in" units="mol_per_sec"/>
    <variable name="J_md_KCl" public_interface="in" units="mol_per_sec"/>
    <variable name="J_Cldiff" public_interface="in" units="mol_per_sec"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_md" public_interface="in" units="cubic_Meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_Cl_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <plus/>
            <ci>I_Cl_md_b
            </ci>
            <ci>I_Cl_md_Ca
            </ci>
            <apply>
              <plus/>
              <apply>
                <times/>
                <ci>F
                </ci>
                <ci>J_md_NaCl
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>F
                </ci>
                <apply>
                  <minus/>
                  <apply>
                    <plus/>
                    <ci>J_md_KCl
                    </ci>
                    <apply>
                      <times/>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                      </cn>
                      <ci>J_md_NKCC
                      </ci>
                    </apply>
                  </apply>
                  <ci>J_Cldiff
                  </ci>
                </apply>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>F
            </ci>
            <ci>vol_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="time" public_interface="in" units="second"/>
    <variable name="J_md_NKCC" public_interface="in" units="mol_per_sec"/>
  </component>
  <connection>
    <map_components component_1="Environment" component_2="Chloride_Conc_cyt"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Chloride_Conc_cyt"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_cyt" variable_2="vol_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="Chloride_Conc_md"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Chloride_Conc_md"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_md" variable_2="vol_md"/>
  </connection>
  <component name="Calcium_Conc_cyt">
    <variable initial_value="1.0533E-4" name="conc_Ca_cyt" public_interface="out" units="Molar"/>
    <variable name="I_Ca_cyt_b" public_interface="in" units="ampere"/>
    <variable name="I_Ca_cyt_P" public_interface="in" units="ampere"/>
    <variable name="I_Ca_cyt_SOC" public_interface="in" units="ampere"/>
    <variable name="I_Ca_cyt_L" public_interface="in" units="ampere"/>
    <variable name="I_cyt_SERCa_IP3R" public_interface="in" units="ampere"/>
    <variable name="I_cyt_RyR" public_interface="in" units="ampere"/>
    <variable name="J_Cadiff" public_interface="in" units="mol_per_sec"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_cyt_Ca" public_interface="in" units="cubic_Meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_Ca_cyt</ci></apply><apply><minus/><apply><minus/><apply><divide/><apply><plus/><apply><minus/><apply><minus/><apply><minus/><apply><plus/><ci>I_Ca_cyt_b</ci><ci>I_Ca_cyt_P</ci><ci>I_Ca_cyt_SOC</ci><ci>I_Ca_cyt_L</ci><ci>I_cyt_SERCa_IP3R</ci><ci>I_cyt_SERCa_RyR</ci></apply><ci>I_cyt_RyR</ci></apply><ci>I_cyt_IP3R</ci></apply></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>F</ci><ci>J_Cadiff</ci></apply></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>F</ci><ci>vol_cyt_Ca</ci></apply></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><apply><plus/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaMN__</ci></apply><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM_C_</ci></apply><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM_CM</ci></apply></apply></apply></apply><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_BfCa_cyt</ci></apply></apply></apply></math>
    <variable name="time" public_interface="in" units="second"/>
    <variable name="I_cyt_IP3R" public_interface="in" units="ampere"/>
    <variable name="conc_CaMN__" public_interface="in" units="Molar"/>
    <variable name="conc_BfCa_cyt" public_interface="in" units="Molar"/>
    <variable name="I_cyt_SERCa_RyR" public_interface="in" units="ampere"/>
  <variable name="conc_CaM_C_" public_interface="in" units="Molar"/><variable name="conc_CaM_CM" public_interface="in" units="Molar"/><variable name="conc_CaMNCM" public_interface="in" units="Molar"/><variable name="conc_CaM___" public_interface="in" units="Molar"/></component>
  <units name="mol_per_sec">
    <unit units="mole"/>
    <unit exponent="-1" units="second"/>
  </units>
  
  
  <component name="Bf_Kinetics">
    <variable initial_value="1.3568E-2" name="conc_BfCa_cyt" public_interface="out" units="Molar"/>
    <variable name="time" public_interface="in" units="second"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_BfCa_cyt
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>k_Bf_on
            </ci>
            <ci>conc_Ca_cyt
            </ci>
            <apply>
              <minus/>
              <ci>conc_Bf_tot
              </ci>
              <ci>conc_BfCa_cyt
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>k_Bf_off
            </ci>
            <ci>conc_BfCa_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_BfCa_md
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>k_Bf_on
            </ci>
            <ci>conc_Ca_md
            </ci>
            <apply>
              <minus/>
              <ci>conc_Bf_tot
              </ci>
              <ci>conc_BfCa_md
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>k_Bf_off
            </ci>
            <ci>conc_BfCa_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="conc_Bf_tot" public_interface="in" units="Molar"/>
    <variable name="k_Bf_on" public_interface="in" units="per_M_sec"/>
    <variable name="k_Bf_off" public_interface="in" units="per_sec"/>
    <variable initial_value="4.4109E-2" name="conc_BfCa_md" public_interface="out" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
  </component>
  <connection>
    <map_components component_1="Environment" component_2="Bf_Kinetics"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Bf_Kinetics"/>
    <map_variables variable_1="conc_Bf_tot" variable_2="conc_Bf_tot"/>
    <map_variables variable_1="k_Bf_on" variable_2="k_Bf_on"/>
    <map_variables variable_1="k_Bf_off" variable_2="k_Bf_off"/>
  </connection>
  <connection>
    <map_components component_1="Bf_Kinetics" component_2="Calcium_Conc_cyt"/>
    <map_variables variable_1="conc_BfCa_cyt" variable_2="conc_BfCa_cyt"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
  </connection>
  
  <component name="Calcium_Conc_md">
    <variable initial_value="3.7182E-4" name="conc_Ca_md" public_interface="out" units="Molar"/>
    <variable name="I_Ca_md_b" public_interface="in" units="ampere"/>
    <variable name="I_Ca_md_P" public_interface="in" units="ampere"/>
    <variable name="I_Ca_md_SOC" public_interface="in" units="ampere"/>
    <variable name="I_Ca_md_L" public_interface="in" units="ampere"/>
    <variable name="I_md_SERCa_RyR" public_interface="in" units="ampere"/>
    <variable name="I_md_RyR" public_interface="in" units="ampere"/>
    <variable name="J_Cadiff" public_interface="in" units="mol_per_sec"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_md" public_interface="in" units="cubic_Meter"/>
    <variable name="time" public_interface="in" units="second"/>
    <variable name="I_md_IP3R" public_interface="in" units="ampere"/>
    
    <variable name="conc_BfCa_md" public_interface="in" units="Molar"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_Ca_md</ci></apply><apply><minus/><apply><minus/><apply><divide/><apply><minus/><apply><minus/><apply><minus/><apply><minus/><apply><plus/><apply><minus/><apply><plus/><ci>I_Ca_md_b</ci><ci>I_Ca_md_P</ci><ci>I_Ca_md_SOC</ci><ci>I_Ca_md_L</ci></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>I_NaCa_md</ci></apply></apply><ci>I_md_SERCa_RyR</ci><ci>I_md_SERCa_IP3R</ci></apply><ci>I_md_RyR</ci></apply><ci>I_md_IP3R</ci></apply></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>F</ci><ci>J_Cadiff</ci></apply></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>F</ci><ci>vol_md</ci></apply></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><apply><plus/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaMN__</ci></apply><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM_C_</ci></apply><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM_CM</ci></apply></apply></apply></apply><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_BfCa_md</ci></apply></apply></apply></math>
    <variable name="I_NaCa_md" public_interface="in" units="ampere"/>
    <variable name="I_md_SERCa_IP3R" public_interface="in" units="ampere"/>
  <variable name="conc_CaMN__" public_interface="in" units="Molar"/><variable name="conc_CaM_C_" public_interface="in" units="Molar"/><variable name="conc_CaM_CM" public_interface="in" units="Molar"/><variable name="conc_CaMNCM" public_interface="in" units="Molar"/></component>
  <connection>
    <map_components component_1="Environment" component_2="Calcium_Conc_md"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Calcium_Conc_md"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_md" variable_2="vol_md"/>
  </connection>
  
  <connection>
    <map_components component_1="Bf_Kinetics" component_2="Calcium_Conc_md"/>
    <map_variables variable_1="conc_BfCa_md" variable_2="conc_BfCa_md"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
  </connection>
  <component name="Calcium_Conc_SR">
    <variable initial_value="5.6334E-1" name="conc_Ca_IP3R" public_interface="out" units="Molar"/>
    <variable initial_value="4.9091E-1" name="conc_Ca_RyR" public_interface="out" units="Molar"/>
    <variable name="I_md_RyR" public_interface="in" units="ampere"/>
    <variable name="I_md_SERCa_IP3R" public_interface="in" units="ampere"/>
    <variable name="I_cyt_SERCa_IP3R" public_interface="in" units="ampere"/>
    <variable name="I_cyt_RyR" public_interface="in" units="ampere"/>
    <variable name="I_cyt_IP3R" public_interface="in" units="ampere"/>
    <variable name="I_md_IP3R" public_interface="in" units="ampere"/>
    <variable name="I_cyt_SERCa_RyR" public_interface="in" units="ampere"/>
    <variable name="I_md_SERCa_RyR" public_interface="in" units="ampere"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_SR" public_interface="in" units="cubic_Meter"/>
    <variable name="conc_CalseqCa_IP3R" public_interface="in" units="Molar"/>
    <variable name="conc_CalseqCa_RyR" public_interface="in" units="Molar"/>
    <variable name="time" public_interface="in" units="second"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_Ca_IP3R</ci></apply><apply><minus/><apply><divide/><apply><minus/><apply><plus/><apply><minus/><ci>I_cyt_SERCa_IP3R</ci><ci>I_cyt_IP3R</ci></apply><ci>I_md_SERCa_IP3R</ci></apply><ci>I_md_IP3R</ci></apply><apply><times/><ci>F</ci><ci>vol_SR</ci></apply></apply><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CalseqCa_IP3R</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_Ca_RyR</ci></apply><apply><minus/><apply><divide/><apply><minus/><apply><plus/><apply><minus/><ci>I_cyt_SERCa_RyR</ci><ci>I_cyt_RyR</ci></apply><ci>I_md_SERCa_RyR</ci></apply><ci>I_md_RyR</ci></apply><apply><times/><ci>F</ci><ci>vol_SR</ci></apply></apply><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CalseqCa_RyR</ci></apply></apply></apply></math>
  </component>
  <connection>
    <map_components component_1="Environment" component_2="Calcium_Conc_SR"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Calcium_Conc_SR"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_SR" variable_2="vol_SR"/>
  </connection>
  <component name="Background_Currents">
    <variable name="I_K_cyt_b" public_interface="out" units="ampere"/>
    <variable name="I_K_md_b" public_interface="out" units="ampere"/>
    <variable name="I_Na_cyt_b" public_interface="out" units="ampere"/>
    <variable name="I_Na_md_b" public_interface="out" units="ampere"/>
    <variable name="I_Cl_cyt_b" public_interface="out" units="ampere"/>
    <variable name="I_Cl_md_b" public_interface="out" units="ampere"/>
    <variable name="I_Ca_cyt_b" public_interface="out" units="ampere"/>
    <variable name="I_Ca_md_b" public_interface="out" units="ampere"/>
    <variable name="G_K_b" public_interface="in" units="siemens2"/>
    <variable name="G_Na_b" public_interface="in" units="siemens2"/>
    <variable name="G_Cl_b" public_interface="in" units="siemens2"/>
    <variable name="G_Ca_b" public_interface="in" units="siemens2"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="E_K_cyt" public_interface="in" units="volt"/>
    <variable name="E_K_md" public_interface="in" units="volt"/>
    <variable name="E_Na_cyt" public_interface="in" units="volt"/>
    <variable name="E_Na_md" public_interface="in" units="volt"/>
    <variable name="E_Cl_cyt" public_interface="in" units="volt"/>
    <variable name="E_Cl_md" public_interface="in" units="volt"/>
    <variable name="E_Ca_cyt" public_interface="in" units="volt"/>
    <variable name="E_Ca_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_K_cyt_b
        </ci>
        <apply>
          <times/>
          <ci>G_K_b
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_K_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_K_md_b
        </ci>
        <apply>
          <times/>
          <ci>G_K_b
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_K_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Na_cyt_b
        </ci>
        <apply>
          <times/>
          <ci>G_Na_b
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_Na_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Na_md_b
        </ci>
        <apply>
          <times/>
          <ci>G_Na_b
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_Na_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Cl_cyt_b
        </ci>
        <apply>
          <times/>
          <ci>G_Cl_b
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_Cl_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Cl_md_b
        </ci>
        <apply>
          <times/>
          <ci>G_Cl_b
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_Cl_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Ca_cyt_b
        </ci>
        <apply>
          <times/>
          <ci>G_Ca_b
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_Ca_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Ca_md_b
        </ci>
        <apply>
          <times/>
          <ci>G_Ca_b
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_Ca_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="Background_Currents"/>
    <map_variables variable_1="G_K_b" variable_2="G_K_b"/>
    <map_variables variable_1="G_Na_b" variable_2="G_Na_b"/>
    <map_variables variable_1="G_Ca_b" variable_2="G_Ca_b"/>
    <map_variables variable_1="G_Cl_b" variable_2="G_Cl_b"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="Background_Currents"/>
    <map_variables variable_1="I_Ca_md_b" variable_2="I_Ca_md_b"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="Background_Currents"/>
    <map_variables variable_1="I_Ca_cyt_b" variable_2="I_Ca_cyt_b"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_md" component_2="Background_Currents"/>
    <map_variables variable_1="I_Cl_md_b" variable_2="I_Cl_md_b"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_cyt" component_2="Background_Currents"/>
    <map_variables variable_1="I_Cl_cyt_b" variable_2="I_Cl_cyt_b"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="Background_Currents"/>
    <map_variables variable_1="I_Na_md_b" variable_2="I_Na_md_b"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_cyt" component_2="Background_Currents"/>
    <map_variables variable_1="I_Na_cyt_b" variable_2="I_Na_cyt_b"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="Background_Currents"/>
    <map_variables variable_1="I_K_md_b" variable_2="I_K_md_b"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="Background_Currents"/>
    <map_variables variable_1="I_K_cyt_b" variable_2="I_K_cyt_b"/>
  </connection>
  <units name="J_per_mol_K">
    <unit units="Joule2"/>
    <unit exponent="-1" units="mole"/>
    <unit exponent="-1" units="kelvin"/>
  </units>
  <component name="Nernst_Potentials">
    <variable name="E_K_cyt" public_interface="out" units="volt"/>
    <variable name="E_K_md" public_interface="out" units="volt"/>
    <variable name="E_Na_cyt" public_interface="out" units="volt"/>
    <variable name="E_Na_md" public_interface="out" units="volt"/>
    <variable name="E_Cl_cyt" public_interface="out" units="volt"/>
    <variable name="E_Cl_md" public_interface="out" units="volt"/>
    <variable name="E_Ca_cyt" public_interface="out" units="volt"/>
    <variable name="E_Ca_md" public_interface="out" units="volt"/>
    <variable initial_value="5.4" name="conc_K_out" public_interface="out" units="Molar"/>
    <variable initial_value="140" name="conc_Na_out" public_interface="out" units="Molar"/>
    <variable initial_value="110" name="conc_Cl_out" public_interface="out" units="Molar"/>
    <variable initial_value="2.0" name="conc_Ca_out" public_interface="out" units="Molar"/>
    <variable name="conc_K_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_K_md" public_interface="in" units="Molar"/>
    <variable name="conc_Na_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Na_md" public_interface="in" units="Molar"/>
    <variable name="conc_Cl_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Cl_md" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="R" public_interface="in" units="J_per_mol_K"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <variable initial_value="1" name="z_K" units="dimensionless"/>
    <variable initial_value="1" name="z_Na" units="dimensionless"/>
    <variable initial_value="-1" name="z_Cl" units="dimensionless"/>
    <variable initial_value="2" name="z_Ca" units="dimensionless"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>E_K_cyt
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>RTF
            </ci>
            <ci>z_K
            </ci>
          </apply>
          <apply>
            <ln/>
            <apply>
              <divide/>
              <ci>conc_K_out
              </ci>
              <ci>conc_K_cyt
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>E_K_md
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>RTF
            </ci>
            <ci>z_K
            </ci>
          </apply>
          <apply>
            <ln/>
            <apply>
              <divide/>
              <ci>conc_K_out
              </ci>
              <ci>conc_K_md
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>E_Na_cyt
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>RTF
            </ci>
            <ci>z_Na
            </ci>
          </apply>
          <apply>
            <ln/>
            <apply>
              <divide/>
              <ci>conc_Na_out
              </ci>
              <ci>conc_Na_cyt
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>E_Na_md
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>RTF
            </ci>
            <ci>z_Na
            </ci>
          </apply>
          <apply>
            <ln/>
            <apply>
              <divide/>
              <ci>conc_Na_out
              </ci>
              <ci>conc_Na_md
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>E_Cl_cyt
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>RTF
            </ci>
            <ci>z_Cl
            </ci>
          </apply>
          <apply>
            <ln/>
            <apply>
              <divide/>
              <ci>conc_Cl_out
              </ci>
              <ci>conc_Cl_cyt
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>E_Cl_md
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>RTF
            </ci>
            <ci>z_Cl
            </ci>
          </apply>
          <apply>
            <ln/>
            <apply>
              <divide/>
              <ci>conc_Cl_out
              </ci>
              <ci>conc_Cl_md
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>E_Ca_cyt
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>RTF
            </ci>
            <ci>z_Ca
            </ci>
          </apply>
          <apply>
            <ln/>
            <apply>
              <divide/>
              <ci>conc_Ca_out
              </ci>
              <ci>conc_Ca_cyt
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>E_Ca_md
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>RTF
            </ci>
            <ci>z_Ca
            </ci>
          </apply>
          <apply>
            <ln/>
            <apply>
              <divide/>
              <ci>conc_Ca_out
              </ci>
              <ci>conc_Ca_md
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>RTF
        </ci>
        <apply>
          <divide/>
          <apply>
            <times/>
            <ci>R
            </ci>
            <ci>T
            </ci>
          </apply>
          <ci>F
          </ci>
        </apply>
      </apply>
    </math>
    <variable name="RTF" units="volt"/>
  </component>
  <component name="SERCA_Currents_IP3R">
    <variable name="I_cyt_SERCa_IP3R" public_interface="out" units="ampere"/>
    <variable name="I_md_SERCa_IP3R" public_interface="out" units="ampere"/>
    <variable name="I_SERCA_max" public_interface="in" units="ampere"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="K_mf" public_interface="in" units="Molar"/>
    <variable name="K_mr" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_IP3R" public_interface="in" units="Molar"/>
    <variable name="n_H" public_interface="in" units="dimensionless"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>I_cyt_SERCa_IP3R</ci><apply><times/><ci>I_SERCA_max</ci><ci>f_cyt</ci><apply><divide/><apply><minus/><apply><power/><apply><divide/><ci>conc_Ca_cyt</ci><ci>K_mf</ci></apply><ci>n_H</ci></apply><apply><power/><apply><divide/><ci>conc_Ca_IP3R</ci><ci>K_mr</ci></apply><ci>n_H</ci></apply></apply><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><plus/><apply><power/><apply><divide/><ci>conc_Ca_cyt</ci><ci>K_mf</ci></apply><ci>n_H</ci></apply><apply><power/><apply><divide/><ci>conc_Ca_IP3R</ci><ci>K_mr</ci></apply><ci>n_H</ci></apply></apply></apply></apply></apply></apply><apply><eq/><ci>I_md_SERCa_IP3R</ci><apply><times/><ci>I_SERCA_max</ci><ci>f_md</ci><apply><divide/><apply><minus/><apply><power/><apply><divide/><ci>conc_Ca_md</ci><ci>K_mf</ci></apply><ci>n_H</ci></apply><apply><power/><apply><divide/><ci>conc_Ca_IP3R</ci><ci>K_mr</ci></apply><ci>n_H</ci></apply></apply><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><plus/><apply><power/><apply><divide/><ci>conc_Ca_md</ci><ci>K_mf</ci></apply><ci>n_H</ci></apply><apply><power/><apply><divide/><ci>conc_Ca_IP3R</ci><ci>K_mr</ci></apply><ci>n_H</ci></apply></apply></apply></apply></apply></apply></math>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
  </component>
  <connection>
    <map_components component_1="Background_Currents" component_2="Nernst_Potentials"/>
    <map_variables variable_1="E_K_cyt" variable_2="E_K_cyt"/>
    <map_variables variable_1="E_K_md" variable_2="E_K_md"/>
    <map_variables variable_1="E_Na_cyt" variable_2="E_Na_cyt"/>
    <map_variables variable_1="E_Na_md" variable_2="E_Na_md"/>
    <map_variables variable_1="E_Cl_cyt" variable_2="E_Cl_cyt"/>
    <map_variables variable_1="E_Ca_cyt" variable_2="E_Ca_cyt"/>
    <map_variables variable_1="E_Ca_md" variable_2="E_Ca_md"/>
    <map_variables variable_1="E_Cl_md" variable_2="E_Cl_md"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Nernst_Potentials"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="R" variable_2="R"/>
    <map_variables variable_1="T" variable_2="T"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="Nernst_Potentials"/>
    <map_variables variable_1="conc_K_cyt" variable_2="conc_K_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="Nernst_Potentials"/>
    <map_variables variable_1="conc_K_md" variable_2="conc_K_md"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_cyt" component_2="Nernst_Potentials"/>
    <map_variables variable_1="conc_Na_cyt" variable_2="conc_Na_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="Nernst_Potentials"/>
    <map_variables variable_1="conc_Na_md" variable_2="conc_Na_md"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_cyt" component_2="Nernst_Potentials"/>
    <map_variables variable_1="conc_Cl_cyt" variable_2="conc_Cl_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_md" component_2="Nernst_Potentials"/>
    <map_variables variable_1="conc_Cl_md" variable_2="conc_Cl_md"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="Nernst_Potentials"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
  </connection>
  <component name="SERCA_Currents_RyR">
    <variable name="I_cyt_SERCa_RyR" public_interface="out" units="ampere"/>
    <variable name="I_md_SERCa_RyR" public_interface="out" units="ampere"/>
    <variable name="I_SERCA_max" public_interface="in" units="ampere"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="K_mf" public_interface="in" units="Molar"/>
    <variable name="K_mr" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_RyR" public_interface="in" units="Molar"/>
    <variable name="n_H" public_interface="in" units="dimensionless"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply><eq/><ci>I_cyt_SERCa_RyR</ci><apply><times/><ci>I_SERCA_max</ci><ci>f_cyt</ci><apply><divide/><apply><minus/><apply><power/><apply><divide/><ci>conc_Ca_cyt</ci><ci>K_mf</ci></apply><ci>n_H</ci></apply><apply><power/><apply><divide/><ci>conc_Ca_RyR</ci><ci>K_mr</ci></apply><ci>n_H</ci></apply></apply><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><plus/><apply><power/><apply><divide/><ci>conc_Ca_cyt</ci><ci>K_mf</ci></apply><ci>n_H</ci></apply><apply><power/><apply><divide/><ci>conc_Ca_RyR</ci><ci>K_mr</ci></apply><ci>n_H</ci></apply></apply></apply></apply></apply></apply>
      <apply><eq/><ci>I_md_SERCa_RyR</ci><apply><times/><ci>I_SERCA_max</ci><ci>f_md</ci><apply><divide/><apply><minus/><apply><power/><apply><divide/><ci>conc_Ca_md</ci><ci>K_mf</ci></apply><ci>n_H</ci></apply><apply><power/><apply><divide/><ci>conc_Ca_RyR</ci><ci>K_mr</ci></apply><ci>n_H</ci></apply></apply><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><plus/><apply><power/><apply><divide/><ci>conc_Ca_md</ci><ci>K_mf</ci></apply><ci>n_H</ci></apply><apply><power/><apply><divide/><ci>conc_Ca_RyR</ci><ci>K_mr</ci></apply><ci>n_H</ci></apply></apply></apply></apply></apply></apply>
    </math>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="SERCA_Currents_IP3R"/>
    
    <map_variables variable_1="K_mr" variable_2="K_mr"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
    
    <map_variables variable_1="n_H" variable_2="n_H"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="SERCA_Currents_RyR"/>
    
    <map_variables variable_1="K_mr" variable_2="K_mr"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
    
    <map_variables variable_1="n_H" variable_2="n_H"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="SERCA_Currents_IP3R"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
    <map_variables variable_1="I_md_SERCa_IP3R" variable_2="I_md_SERCa_IP3R"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="SERCA_Currents_IP3R"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
    <map_variables variable_1="I_cyt_SERCa_IP3R" variable_2="I_cyt_SERCa_IP3R"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="SERCA_Currents_RyR"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
    <map_variables variable_1="I_cyt_SERCa_RyR" variable_2="I_cyt_SERCa_RyR"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="SERCA_Currents_RyR"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
    <map_variables variable_1="I_md_SERCa_RyR" variable_2="I_md_SERCa_RyR"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_SR" component_2="SERCA_Currents_IP3R"/>
    <map_variables variable_1="conc_Ca_IP3R" variable_2="conc_Ca_IP3R"/>
    <map_variables variable_1="I_md_SERCa_IP3R" variable_2="I_md_SERCa_IP3R"/>
    <map_variables variable_1="I_cyt_SERCa_IP3R" variable_2="I_cyt_SERCa_IP3R"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_SR" component_2="SERCA_Currents_RyR"/>
    <map_variables variable_1="conc_Ca_RyR" variable_2="conc_Ca_RyR"/>
    <map_variables variable_1="I_cyt_SERCa_RyR" variable_2="I_cyt_SERCa_RyR"/>
    <map_variables variable_1="I_md_SERCa_RyR" variable_2="I_md_SERCa_RyR"/>
  </connection>
  <component name="RyR_Currents">
    <variable name="I_cyt_RyR" public_interface="out" units="ampere"/>
    <variable name="I_md_RyR" public_interface="out" units="ampere"/>
    <variable name="P_cyt_RyR" units="dimensionless"/>
    <variable name="P_md_RyR" units="dimensionless"/>
    <variable initial_value="0.11187" name="w_cyt" units="dimensionless"/>
    <variable initial_value="0.89971" name="w_md" units="dimensionless"/>
    <variable name="conc_Ca_RyR" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="w_inf_cyt" units="dimensionless"/>
    <variable name="w_inf_md" units="dimensionless"/>
    <variable name="K_a" public_interface="in" units="Molar"/>
    <variable name="K_b" public_interface="in" units="Molar"/>
    <variable name="K_c" public_interface="in" units="Molar"/>
    <variable name="K_c_rate" public_interface="in" units="per_sec"/>
    <variable name="v_RyR" public_interface="in" units="per_sec"/>
    <variable name="vol_SR" public_interface="in" units="cubic_Meter"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>I_cyt_RyR</ci><apply><times/><ci>v_RyR</ci><ci>P_cyt_RyR</ci><apply><minus/><ci>conc_Ca_RyR</ci><ci>conc_Ca_cyt</ci></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>F</ci><ci>vol_SR</ci></apply></apply></apply><apply><eq/><ci>I_md_RyR</ci><apply><times/><ci>v_RyR</ci><ci>P_md_RyR</ci><apply><minus/><ci>conc_Ca_RyR</ci><ci>conc_Ca_md</ci></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>F</ci><ci>vol_SR</ci></apply></apply></apply><apply><eq/><ci>P_cyt_RyR</ci><apply><divide/><apply><times/><ci>w_cyt</ci><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><power/><apply><divide/><ci>conc_Ca_cyt</ci><ci>K_b</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3</cn></apply></apply></apply><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><power/><apply><divide/><ci>K_a</ci><ci>conc_Ca_cyt</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4</cn></apply><apply><power/><apply><divide/><ci>conc_Ca_cyt</ci><ci>K_b</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3</cn></apply></apply></apply></apply><apply><eq/><ci>P_md_RyR</ci><apply><divide/><apply><times/><ci>w_md</ci><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><power/><apply><divide/><ci>conc_Ca_md</ci><ci>K_b</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3</cn></apply></apply></apply><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><power/><apply><divide/><ci>K_a</ci><ci>conc_Ca_md</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4</cn></apply><apply><power/><apply><divide/><ci>conc_Ca_md</ci><ci>K_b</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3</cn></apply></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>w_cyt</ci></apply><apply><divide/><apply><times/><ci>K_c_rate</ci><apply><minus/><ci>w_inf_cyt</ci><ci>w_cyt</ci></apply></apply><ci>w_inf_cyt</ci></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>w_md</ci></apply><apply><divide/><apply><times/><ci>K_c_rate</ci><apply><minus/><ci>w_inf_md</ci><ci>w_md</ci></apply></apply><ci>w_inf_md</ci></apply></apply><apply><eq/><ci>w_inf_cyt</ci><apply><divide/><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><power/><apply><divide/><ci>K_a</ci><ci>conc_Ca_cyt</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4</cn></apply><apply><power/><apply><divide/><ci>conc_Ca_cyt</ci><ci>K_b</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3</cn></apply></apply><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><divide/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="Molar">1</cn><ci>K_c</ci></apply><apply><power/><apply><divide/><ci>K_a</ci><ci>conc_Ca_cyt</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4</cn></apply><apply><power/><apply><divide/><ci>conc_Ca_cyt</ci><ci>K_b</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3</cn></apply></apply></apply></apply><apply><eq/><ci>w_inf_md</ci><apply><divide/><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><power/><apply><divide/><ci>K_a</ci><ci>conc_Ca_md</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4</cn></apply><apply><power/><apply><divide/><ci>conc_Ca_md</ci><ci>K_b</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3</cn></apply></apply><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><divide/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="Molar">1</cn><ci>K_c</ci></apply><apply><power/><apply><divide/><ci>K_a</ci><ci>conc_Ca_md</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4</cn></apply><apply><power/><apply><divide/><ci>conc_Ca_md</ci><ci>K_b</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3</cn></apply></apply></apply></apply></math>
    <variable name="time" public_interface="in" units="second"/>
  </component>
  <connection>
    <map_components component_1="Environment" component_2="RyR_Currents"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="RyR_Currents"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_SR" variable_2="vol_SR"/>
    <map_variables variable_1="v_RyR" variable_2="v_RyR"/>
    <map_variables variable_1="K_a" variable_2="K_a"/>
    <map_variables variable_1="K_b" variable_2="K_b"/>
    <map_variables variable_1="K_c" variable_2="K_c"/>
    <map_variables variable_1="K_c_rate" variable_2="K_c_rate"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_SR" component_2="RyR_Currents"/>
    <map_variables variable_1="conc_Ca_RyR" variable_2="conc_Ca_RyR"/>
    <map_variables variable_1="I_md_RyR" variable_2="I_md_RyR"/>
    <map_variables variable_1="I_cyt_RyR" variable_2="I_cyt_RyR"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="RyR_Currents"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
    <map_variables variable_1="I_md_RyR" variable_2="I_md_RyR"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="RyR_Currents"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
    <map_variables variable_1="I_cyt_RyR" variable_2="I_cyt_RyR"/>
  </connection>
  <component name="IP3R_Currents">
    <variable name="I_cyt_IP3R" public_interface="out" units="ampere"/>
    <variable name="I_md_IP3R" public_interface="out" units="ampere"/>
    <variable name="conc_Ca_IP3R" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="v_IP3" public_interface="in" units="per_sec"/>
    <variable name="x110_cyt" public_interface="in" units="dimensionless"/>
    <variable name="x110_md" public_interface="in" units="dimensionless"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="vol_SR" public_interface="in" units="cubic_Meter"/>
    <variable initial_value="2.4140E-4" name="conc_IP3_cyt" public_interface="out" units="Molar"/>
    <variable initial_value="2.7808E-4" name="conc_IP3_md" public_interface="out" units="Molar"/>
    <variable name="conc_IP3_ref" public_interface="in" units="Molar"/>
    <variable name="alpha_4" public_interface="in" units="dimensionless"/>
    <variable name="k4" public_interface="in" units="Molar"/>
    <variable name="I_r" public_interface="in" units="per_sec"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_IP3_cyt
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>v_IP3
            </ci>
            <ci>conc_IP3_ref
            </ci>
            <apply>
              <divide/>
              <apply>
                <plus/>
                <ci>conc_Ca_cyt
                </ci>
                <apply>
                  <times/>
                  <apply>
                    <minus/>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
                    </cn>
                    <ci>alpha_4
                    </ci>
                  </apply>
                  <ci>k4
                  </ci>
                </apply>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Ca_cyt
                </ci>
                <ci>k4
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>I_r
            </ci>
            <ci>conc_IP3_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_IP3_md
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>v_IP3
            </ci>
            <ci>conc_IP3_ref
            </ci>
            <apply>
              <divide/>
              <apply>
                <plus/>
                <ci>conc_Ca_md
                </ci>
                <apply>
                  <times/>
                  <apply>
                    <minus/>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
                    </cn>
                    <ci>alpha_4
                    </ci>
                  </apply>
                  <ci>k4
                  </ci>
                </apply>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Ca_md
                </ci>
                <ci>k4
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>I_r
            </ci>
            <ci>conc_IP3_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_cyt_IP3R
        </ci>
        <apply>
          <times/>
          <ci>v_IP3R
          </ci>
          <apply>
            <power/>
            <ci>x110_cyt
            </ci>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
            </cn>
          </apply>
          <apply>
            <minus/>
            <ci>conc_Ca_IP3R
            </ci>
            <ci>conc_Ca_cyt
            </ci>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
          </cn>
          <ci>F
          </ci>
          <ci>vol_SR
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_md_IP3R
        </ci>
        <apply>
          <times/>
          <ci>v_IP3R
          </ci>
          <apply>
            <power/>
            <ci>x110_md
            </ci>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
            </cn>
          </apply>
          <apply>
            <minus/>
            <ci>conc_Ca_IP3R
            </ci>
            <ci>conc_Ca_md
            </ci>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
          </cn>
          <ci>F
          </ci>
          <ci>vol_SR
          </ci>
        </apply>
      </apply>
    </math>
    <variable name="v_IP3R" public_interface="in" units="per_sec"/>
    <variable name="time" public_interface="in" units="second"/>
  </component>
  <connection>
    <map_components component_1="Environment" component_2="IP3R_Currents"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="IP3R_Currents"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_SR" variable_2="vol_SR"/>
    <map_variables variable_1="v_IP3R" variable_2="v_IP3R"/>
    <map_variables variable_1="v_IP3" variable_2="v_IP3"/>
    <map_variables variable_1="conc_IP3_ref" variable_2="conc_IP3_ref"/>
    <map_variables variable_1="alpha_4" variable_2="alpha_4"/>
    <map_variables variable_1="I_r" variable_2="I_r"/>
    <map_variables variable_1="k4" variable_2="k4"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="IP3R_Currents"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
    <map_variables variable_1="I_md_IP3R" variable_2="I_md_IP3R"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_SR" component_2="IP3R_Currents"/>
    <map_variables variable_1="conc_Ca_IP3R" variable_2="conc_Ca_IP3R"/>
    <map_variables variable_1="I_cyt_IP3R" variable_2="I_cyt_IP3R"/>
    <map_variables variable_1="I_md_IP3R" variable_2="I_md_IP3R"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="IP3R_Currents"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
    <map_variables variable_1="I_cyt_IP3R" variable_2="I_cyt_IP3R"/>
  </connection>
  <component name="IP3R_Binding_Sites">
    <variable name="a4" public_interface="in" units="per_M_sec"/>
    <variable name="a5" public_interface="in" units="per_M_sec"/>
    <variable initial_value="0.11631" name="x000_cyt" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.028019" name="x000_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.084779" name="x001_cyt" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.072097" name="x001_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.14878" name="x010_cyt" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.12652" name="x010_md" public_interface="out" units="dimensionless"/>
    <variable name="x011_cyt" public_interface="out" units="dimensionless"/>
    <variable name="x011_md" public_interface="out" units="dimensionless"/>
    <variable name="x101_cyt" public_interface="out" units="dimensionless"/>
    <variable name="x101_md" public_interface="out" units="dimensionless"/>
    <variable name="x110_cyt" public_interface="out" units="dimensionless"/>
    <variable name="x110_md" public_interface="out" units="dimensionless"/>
    <variable name="x111_cyt" public_interface="out" units="dimensionless"/>
    <variable name="x111_md" public_interface="out" units="dimensionless"/>
    <variable name="d1" public_interface="in" units="Molar"/>
    <variable name="d4" public_interface="in" units="Molar"/>
    <variable name="d5" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>x000_cyt
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <apply>
              <minus/>
              <ci>a4
              </ci>
            </apply>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_cyt
                </ci>
                <ci>x000_cyt
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d4
                </ci>
                <ci>x001_cyt
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>a5
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_cyt
                </ci>
                <ci>x000_cyt
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d5
                </ci>
                <ci>x010_cyt
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>x000_md
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <apply>
              <minus/>
              <ci>a4
              </ci>
            </apply>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_md
                </ci>
                <ci>x000_md
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d4
                </ci>
                <ci>x001_md
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>a5
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_md
                </ci>
                <ci>x000_md
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d5
                </ci>
                <ci>x010_md
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>x001_cyt
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>a4
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_cyt
                </ci>
                <ci>x000_cyt
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d4
                </ci>
                <ci>x001_cyt
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>a5
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_cyt
                </ci>
                <ci>x001_cyt
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d5
                </ci>
                <ci>x011_cyt
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>x001_md
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>a4
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_md
                </ci>
                <ci>x000_md
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d4
                </ci>
                <ci>x001_md
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>a5
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_md
                </ci>
                <ci>x001_md
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d5
                </ci>
                <ci>x011_md
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>x010_cyt
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>a5
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_cyt
                </ci>
                <ci>x000_cyt
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d5
                </ci>
                <ci>x010_cyt
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>a4
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_cyt
                </ci>
                <ci>x010_cyt
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d4
                </ci>
                <ci>x011_cyt
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>x010_md
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>a5
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_md
                </ci>
                <ci>x000_md
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d5
                </ci>
                <ci>x010_md
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>a4
            </ci>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>conc_Ca_md
                </ci>
                <ci>x010_md
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>d4
                </ci>
                <ci>x011_md
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x100_cyt
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>conc_IP3_cyt
            </ci>
            <ci>d1
            </ci>
          </apply>
          <ci>x000_cyt
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x100_md
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>conc_IP3_md
            </ci>
            <ci>d1
            </ci>
          </apply>
          <ci>x000_md
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x101_cyt
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>conc_IP3_cyt
            </ci>
            <ci>d3
            </ci>
          </apply>
          <ci>x001_cyt
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x101_md
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>conc_IP3_md
            </ci>
            <ci>d3
            </ci>
          </apply>
          <ci>x001_md
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x110_cyt
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>conc_IP3_cyt
            </ci>
            <ci>d1
            </ci>
          </apply>
          <ci>x010_cyt
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x110_md
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>conc_IP3_md
            </ci>
            <ci>d1
            </ci>
          </apply>
          <ci>x010_md
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x111_cyt
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>conc_IP3_cyt
            </ci>
            <ci>d3
            </ci>
          </apply>
          <ci>x011_cyt
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x111_md
        </ci>
        <apply>
          <times/>
          <apply>
            <divide/>
            <ci>conc_IP3_md
            </ci>
            <ci>d3
            </ci>
          </apply>
          <ci>x011_md
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x011_cyt
        </ci>
        <apply>
          <minus/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <ci>x000_cyt
            </ci>
            <ci>x001_cyt
            </ci>
            <ci>x010_cyt
            </ci>
            <ci>x100_cyt
            </ci>
            <ci>x101_cyt
            </ci>
            <ci>x110_cyt
            </ci>
            <ci>x111_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x011_md
        </ci>
        <apply>
          <minus/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <ci>x000_md
            </ci>
            <ci>x001_md
            </ci>
            <ci>x010_md
            </ci>
            <ci>x100_md
            </ci>
            <ci>x101_md
            </ci>
            <ci>x110_md
            </ci>
            <ci>x111_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="time" public_interface="in" units="second"/>
    <variable name="x100_cyt" public_interface="out" units="dimensionless"/>
    <variable name="x100_md" public_interface="out" units="dimensionless"/>
    <variable name="conc_IP3_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_IP3_md" public_interface="in" units="Molar"/>
    <variable initial_value="9.434E-4" name="d3" units="Molar"/>
  </component>
  <connection>
    <map_components component_1="IP3R_Currents" component_2="IP3R_Binding_Sites"/>
    <map_variables variable_1="x110_cyt" variable_2="x110_cyt"/>
    <map_variables variable_1="x110_md" variable_2="x110_md"/>
    <map_variables variable_1="conc_IP3_cyt" variable_2="conc_IP3_cyt"/>
    <map_variables variable_1="conc_IP3_md" variable_2="conc_IP3_md"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="IP3R_Binding_Sites"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="IP3R_Binding_Sites"/>
    <map_variables variable_1="d1" variable_2="d1"/>
    <map_variables variable_1="a4" variable_2="a4"/>
    <map_variables variable_1="d4" variable_2="d4"/>
    <map_variables variable_1="a5" variable_2="a5"/>
    <map_variables variable_1="d5" variable_2="d5"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="IP3R_Binding_Sites"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="IP3R_Binding_Sites"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
  </connection>
  <component name="SOC_Current_Ca">
    <variable name="I_Ca_cyt_SOC" public_interface="out" units="ampere"/>
    <variable name="I_Ca_md_SOC" public_interface="out" units="ampere"/>
    <variable name="G_CaSOC_max" public_interface="in" units="siemens2"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="K_SOC" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_SR" units="Molar"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="E_Ca_cyt" public_interface="in" units="volt"/>
    <variable name="E_Ca_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>I_Ca_cyt_SOC</ci><apply><times/><ci>G_CaSOC_max</ci><apply><divide/><ci>K_SOC</ci><apply><plus/><ci>K_SOC</ci><ci>conc_Ca_SR</ci></apply></apply><apply><minus/><ci>V_m_cyt</ci><ci>E_Ca_cyt</ci></apply></apply></apply><apply><eq/><ci>I_Ca_md_SOC</ci><apply><times/><ci>G_CaSOC_max</ci><apply><divide/><ci>K_SOC</ci><apply><plus/><ci>K_SOC</ci><ci>conc_Ca_SR</ci></apply></apply><apply><minus/><ci>V_m_md</ci><ci>E_Ca_md</ci></apply></apply></apply><apply><eq/><ci>conc_Ca_SR</ci><apply><divide/><apply><plus/><ci>conc_Ca_IP3R</ci><ci>conc_Ca_RyR</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply></apply></math>
    <variable name="conc_Ca_IP3R" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_RyR" public_interface="in" units="Molar"/>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="SOC_Current_Ca"/>
    <map_variables variable_1="G_CaSOC_max" variable_2="G_CaSOC_max"/>
    <map_variables variable_1="K_SOC" variable_2="K_SOC"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="SOC_Current_Ca"/>
    <map_variables variable_1="I_Ca_cyt_SOC" variable_2="I_Ca_cyt_SOC"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="SOC_Current_Ca"/>
    <map_variables variable_1="I_Ca_md_SOC" variable_2="I_Ca_md_SOC"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_SR" component_2="SOC_Current_Ca"/>
    <map_variables variable_1="conc_Ca_IP3R" variable_2="conc_Ca_IP3R"/>
    <map_variables variable_1="conc_Ca_RyR" variable_2="conc_Ca_RyR"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="SOC_Current_Ca"/>
    <map_variables variable_1="E_Ca_cyt" variable_2="E_Ca_cyt"/>
    <map_variables variable_1="E_Ca_md" variable_2="E_Ca_md"/>
  </connection>
  <component name="SOC_Current_Na">
    <variable name="I_Na_cyt_SOC" public_interface="out" units="ampere"/>
    <variable name="I_Na_md_SOC" public_interface="out" units="ampere"/>
    <variable name="I_Ca_cyt_SOC" public_interface="in" units="ampere"/>
    <variable name="I_Ca_md_SOC" public_interface="in" units="ampere"/>
    <variable initial_value="1" name="z_Na" units="dimensionless"/>
    <variable initial_value="2" name="z_Ca" units="dimensionless"/>
    <variable initial_value="0.125" name="P_SOC_ratio" units="dimensionless"/>
    <variable name="conc_Na_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Na_md" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="conc_Na_out" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_out" public_interface="in" units="Molar"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="R" public_interface="in" units="J_per_mol_K"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_Na_cyt_SOC
        </ci>
        <apply>
          <times/>
          <ci>I_Ca_cyt_SOC
          </ci>
          <apply>
            <times/>
            <apply>
              <divide/>
              <apply>
                <power/>
                <ci>z_Na
                </ci>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                </cn>
              </apply>
              <apply>
                <power/>
                <ci>z_Ca
                </ci>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                </cn>
              </apply>
            </apply>
            <ci>P_SOC_ratio
            </ci>
          </apply>
          <apply>
            <divide/>
            <apply>
              <minus/>
              <ci>conc_Na_cyt
              </ci>
              <apply>
                <times/>
                <ci>conc_Na_out
                </ci>
                <apply>
                  <exp/>
                  <apply>
                    <divide/>
                    <apply>
                      <times/>
                      <apply>
                        <minus/>
                        <ci>z_Na
                        </ci>
                      </apply>
                      <ci>F
                      </ci>
                      <ci>V_m_cyt
                      </ci>
                    </apply>
                    <apply>
                      <times/>
                      <ci>R
                      </ci>
                      <ci>T
                      </ci>
                    </apply>
                  </apply>
                </apply>
              </apply>
            </apply>
            <apply>
              <minus/>
              <ci>conc_Ca_cyt
              </ci>
              <apply>
                <times/>
                <ci>conc_Ca_out
                </ci>
                <apply>
                  <exp/>
                  <apply>
                    <divide/>
                    <apply>
                      <times/>
                      <apply>
                        <minus/>
                        <ci>z_Ca
                        </ci>
                      </apply>
                      <ci>F
                      </ci>
                      <ci>V_m_cyt
                      </ci>
                    </apply>
                    <apply>
                      <times/>
                      <ci>R
                      </ci>
                      <ci>T
                      </ci>
                    </apply>
                  </apply>
                </apply>
              </apply>
            </apply>
          </apply>
          <apply>
            <divide/>
            <apply>
              <minus/>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
              </cn>
              <apply>
                <exp/>
                <apply>
                  <divide/>
                  <apply>
                    <times/>
                    <apply>
                      <minus/>
                      <ci>z_Ca
                      </ci>
                    </apply>
                    <ci>F
                    </ci>
                    <ci>V_m_cyt
                    </ci>
                  </apply>
                  <apply>
                    <times/>
                    <ci>R
                    </ci>
                    <ci>T
                    </ci>
                  </apply>
                </apply>
              </apply>
            </apply>
            <apply>
              <minus/>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
              </cn>
              <apply>
                <exp/>
                <apply>
                  <divide/>
                  <apply>
                    <times/>
                    <apply>
                      <minus/>
                      <ci>z_Na
                      </ci>
                    </apply>
                    <ci>F
                    </ci>
                    <ci>V_m_cyt
                    </ci>
                  </apply>
                  <apply>
                    <times/>
                    <ci>R
                    </ci>
                    <ci>T
                    </ci>
                  </apply>
                </apply>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Na_md_SOC
        </ci>
        <apply>
          <times/>
          <ci>I_Ca_md_SOC
          </ci>
          <apply>
            <times/>
            <apply>
              <divide/>
              <apply>
                <power/>
                <ci>z_Na
                </ci>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                </cn>
              </apply>
              <apply>
                <power/>
                <ci>z_Ca
                </ci>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                </cn>
              </apply>
            </apply>
            <ci>P_SOC_ratio
            </ci>
          </apply>
          <apply>
            <divide/>
            <apply>
              <minus/>
              <ci>conc_Na_md
              </ci>
              <apply>
                <times/>
                <ci>conc_Na_out
                </ci>
                <apply>
                  <exp/>
                  <apply>
                    <divide/>
                    <apply>
                      <times/>
                      <apply>
                        <minus/>
                        <ci>z_Na
                        </ci>
                      </apply>
                      <ci>F
                      </ci>
                      <ci>V_m_md
                      </ci>
                    </apply>
                    <apply>
                      <times/>
                      <ci>R
                      </ci>
                      <ci>T
                      </ci>
                    </apply>
                  </apply>
                </apply>
              </apply>
            </apply>
            <apply>
              <minus/>
              <ci>conc_Ca_md
              </ci>
              <apply>
                <times/>
                <ci>conc_Ca_out
                </ci>
                <apply>
                  <exp/>
                  <apply>
                    <divide/>
                    <apply>
                      <times/>
                      <apply>
                        <minus/>
                        <ci>z_Ca
                        </ci>
                      </apply>
                      <ci>F
                      </ci>
                      <ci>V_m_md
                      </ci>
                    </apply>
                    <apply>
                      <times/>
                      <ci>R
                      </ci>
                      <ci>T
                      </ci>
                    </apply>
                  </apply>
                </apply>
              </apply>
            </apply>
          </apply>
          <apply>
            <divide/>
            <apply>
              <minus/>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
              </cn>
              <apply>
                <exp/>
                <apply>
                  <divide/>
                  <apply>
                    <times/>
                    <apply>
                      <minus/>
                      <ci>z_Ca
                      </ci>
                    </apply>
                    <ci>F
                    </ci>
                    <ci>V_m_md
                    </ci>
                  </apply>
                  <apply>
                    <times/>
                    <ci>R
                    </ci>
                    <ci>T
                    </ci>
                  </apply>
                </apply>
              </apply>
            </apply>
            <apply>
              <minus/>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
              </cn>
              <apply>
                <exp/>
                <apply>
                  <divide/>
                  <apply>
                    <times/>
                    <apply>
                      <minus/>
                      <ci>z_Na
                      </ci>
                    </apply>
                    <ci>F
                    </ci>
                    <ci>V_m_md
                    </ci>
                  </apply>
                  <apply>
                    <times/>
                    <ci>R
                    </ci>
                    <ci>T
                    </ci>
                  </apply>
                </apply>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="SOC_Current_Ca" component_2="SOC_Current_Na"/>
    <map_variables variable_1="I_Ca_cyt_SOC" variable_2="I_Ca_cyt_SOC"/>
    <map_variables variable_1="I_Ca_md_SOC" variable_2="I_Ca_md_SOC"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="SOC_Current_Na"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="R" variable_2="R"/>
    <map_variables variable_1="T" variable_2="T"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="SOC_Current_Na"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="SOC_Current_Na"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="SOC_Current_Na"/>
    <map_variables variable_1="conc_Na_out" variable_2="conc_Na_out"/>
    <map_variables variable_1="conc_Ca_out" variable_2="conc_Ca_out"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_cyt" component_2="SOC_Current_Na"/>
    <map_variables variable_1="conc_Na_cyt" variable_2="conc_Na_cyt"/>
    <map_variables variable_1="I_Na_cyt_SOC" variable_2="I_Na_cyt_SOC"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="SOC_Current_Na"/>
    <map_variables variable_1="conc_Na_md" variable_2="conc_Na_md"/>
    <map_variables variable_1="I_Na_md_SOC" variable_2="I_Na_md_SOC"/>
  </connection>
  <component name="Cl_flux_NaCl">
    <variable name="J_cyt_NaCl" public_interface="out" units="mol_per_sec"/>
    <variable name="J_md_NaCl" public_interface="out" units="mol_per_sec"/>
    <variable name="J_NaCl_max" public_interface="in" units="mol_per_sec"/>
    <variable name="E_Na_cyt" public_interface="in" units="volt"/>
    <variable name="E_Na_md" public_interface="in" units="volt"/>
    <variable name="E_Cl_cyt" public_interface="in" units="volt"/>
    <variable name="E_Cl_md" public_interface="in" units="volt"/>
    <variable name="delta_CT" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>J_cyt_NaCl
        </ci>
        <apply>
          <times/>
          <ci>J_NaCl_max
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <divide/>
            <apply>
              <power/>
              <apply>
                <minus/>
                <ci>E_Na_cyt
                </ci>
                <ci>E_Cl_cyt
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4
              </cn>
            </apply>
            <apply>
              <plus/>
              <apply>
                <power/>
                <apply>
                  <minus/>
                  <ci>E_Na_cyt
                  </ci>
                  <ci>E_Cl_cyt
                  </ci>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4
                </cn>
              </apply>
              <apply>
                <power/>
                <ci>delta_CT
                </ci>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>J_md_NaCl
        </ci>
        <apply>
          <times/>
          <ci>J_NaCl_max
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <divide/>
            <apply>
              <power/>
              <apply>
                <minus/>
                <ci>E_Na_md
                </ci>
                <ci>E_Cl_md
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4
              </cn>
            </apply>
            <apply>
              <plus/>
              <apply>
                <power/>
                <apply>
                  <minus/>
                  <ci>E_Na_md
                  </ci>
                  <ci>E_Cl_md
                  </ci>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4
                </cn>
              </apply>
              <apply>
                <power/>
                <ci>delta_CT
                </ci>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">4
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="Cl_flux_NaCl"/>
    <map_variables variable_1="delta_CT" variable_2="delta_CT"/>
    <map_variables variable_1="J_NaCl_max" variable_2="J_NaCl_max"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <component name="Cl_flux_KCl">
    <variable name="J_cyt_KCl" public_interface="out" units="mol_per_sec"/>
    <variable name="J_md_KCl" public_interface="out" units="mol_per_sec"/>
    <variable name="J_KCl_max" public_interface="in" units="mol_per_sec"/>
    <variable name="E_K_cyt" public_interface="in" units="volt"/>
    <variable name="E_K_md" public_interface="in" units="volt"/>
    <variable name="E_Cl_cyt" public_interface="in" units="volt"/>
    <variable name="E_Cl_md" public_interface="in" units="volt"/>
    <variable name="delta_CT" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>J_cyt_KCl
        </ci>
        <apply>
          <times/>
          <ci>J_KCl_max
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <divide/>
            <apply>
              <minus/>
              <ci>E_K_cyt
              </ci>
              <ci>E_Cl_cyt
              </ci>
            </apply>
            <apply>
              <plus/>
              <apply>
                <minus/>
                <ci>E_K_cyt
                </ci>
                <ci>E_Cl_cyt
                </ci>
              </apply>
              <ci>delta_CT
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>J_md_KCl
        </ci>
        <apply>
          <times/>
          <ci>J_KCl_max
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <divide/>
            <apply>
              <minus/>
              <ci>E_K_md
              </ci>
              <ci>E_Cl_md
              </ci>
            </apply>
            <apply>
              <plus/>
              <apply>
                <minus/>
                <ci>E_K_md
                </ci>
                <ci>E_Cl_md
                </ci>
              </apply>
              <ci>delta_CT
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="Cl_flux_KCl"/>
    <map_variables variable_1="delta_CT" variable_2="delta_CT"/>
    <map_variables variable_1="J_KCl_max" variable_2="J_KCl_max"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="Cl_flux_NaCl"/>
    <map_variables variable_1="E_Na_cyt" variable_2="E_Na_cyt"/>
    <map_variables variable_1="E_Na_md" variable_2="E_Na_md"/>
    <map_variables variable_1="E_Cl_cyt" variable_2="E_Cl_cyt"/>
    <map_variables variable_1="E_Cl_md" variable_2="E_Cl_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="Cl_flux_KCl"/>
    <map_variables variable_1="E_K_cyt" variable_2="E_K_cyt"/>
    <map_variables variable_1="E_K_md" variable_2="E_K_md"/>
    <map_variables variable_1="E_Cl_cyt" variable_2="E_Cl_cyt"/>
    <map_variables variable_1="E_Cl_md" variable_2="E_Cl_md"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_cyt" component_2="Cl_flux_NaCl"/>
    <map_variables variable_1="J_cyt_NaCl" variable_2="J_cyt_NaCl"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_md" component_2="Cl_flux_NaCl"/>
    <map_variables variable_1="J_md_NaCl" variable_2="J_md_NaCl"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_cyt" component_2="Cl_flux_KCl"/>
    <map_variables variable_1="J_cyt_KCl" variable_2="J_cyt_KCl"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_md" component_2="Cl_flux_KCl"/>
    <map_variables variable_1="J_md_KCl" variable_2="J_md_KCl"/>
  </connection>
  <component name="Cl_flux_NKCC">
    <variable name="J_cyt_NKCC" public_interface="out" units="mol_per_sec"/>
    <variable name="J_md_NKCC" public_interface="out" units="mol_per_sec"/>
    <variable name="J_NKCC_max" public_interface="in" units="mol_per_sec"/>
    <variable name="delta_CT" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>J_cyt_NKCC
        </ci>
        <apply>
          <times/>
          <ci>J_NKCC_max
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <divide/>
            <apply>
              <times/>
              <apply>
                <minus/>
                <apply>
                  <times/>
                  <ci>conc_Na_out
                  </ci>
                  <ci>conc_K_out
                  </ci>
                  <apply>
                    <power/>
                    <ci>conc_Cl_out
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                    </cn>
                  </apply>
                </apply>
                <apply>
                  <times/>
                  <ci>conc_Na_cyt
                  </ci>
                  <ci>conc_K_cyt
                  </ci>
                  <apply>
                    <power/>
                    <ci>conc_Cl_cyt
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                    </cn>
                  </apply>
                </apply>
              </apply>
              <ci>K_NKCC_Na
              </ci>
              <ci>K_NKCC_K
              </ci>
              <ci>K_NKCC_Cl1
              </ci>
              <ci>K_NKCC_Cl2
              </ci>
            </apply>
            <apply>
              <times/>
              <apply>
                <plus/>
                <ci>conc_Na_out
                </ci>
                <ci>K_NKCC_Na
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_K_out
                </ci>
                <ci>K_NKCC_K
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Cl_out
                </ci>
                <ci>K_NKCC_Cl1
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Cl_out
                </ci>
                <ci>K_NKCC_Cl2
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Na_cyt
                </ci>
                <ci>K_NKCC_Na
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_K_cyt
                </ci>
                <ci>K_NKCC_K
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Cl_cyt
                </ci>
                <ci>K_NKCC_Cl1
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Cl_cyt
                </ci>
                <ci>K_NKCC_Cl2
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>J_md_NKCC
        </ci>
        <apply>
          <times/>
          <ci>J_NKCC_max
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <divide/>
            <apply>
              <times/>
              <apply>
                <minus/>
                <apply>
                  <times/>
                  <ci>conc_Na_out
                  </ci>
                  <ci>conc_K_out
                  </ci>
                  <apply>
                    <power/>
                    <ci>conc_Cl_out
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                    </cn>
                  </apply>
                </apply>
                <apply>
                  <times/>
                  <ci>conc_Na_md
                  </ci>
                  <ci>conc_K_md
                  </ci>
                  <apply>
                    <power/>
                    <ci>conc_Cl_md
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                    </cn>
                  </apply>
                </apply>
              </apply>
              <ci>K_NKCC_Na
              </ci>
              <ci>K_NKCC_K
              </ci>
              <ci>K_NKCC_Cl1
              </ci>
              <ci>K_NKCC_Cl2
              </ci>
            </apply>
            <apply>
              <times/>
              <apply>
                <plus/>
                <ci>conc_Na_out
                </ci>
                <ci>K_NKCC_Na
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_K_out
                </ci>
                <ci>K_NKCC_K
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Cl_out
                </ci>
                <ci>K_NKCC_Cl1
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Cl_out
                </ci>
                <ci>K_NKCC_Cl2
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Na_md
                </ci>
                <ci>K_NKCC_Na
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_K_md
                </ci>
                <ci>K_NKCC_K
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Cl_md
                </ci>
                <ci>K_NKCC_Cl1
                </ci>
              </apply>
              <apply>
                <plus/>
                <ci>conc_Cl_md
                </ci>
                <ci>K_NKCC_Cl2
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="conc_Na_out" public_interface="in" units="Molar"/>
    <variable name="conc_Cl_out" public_interface="in" units="Molar"/>
    <variable name="conc_K_out" public_interface="in" units="Molar"/>
    <variable name="conc_Na_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Na_md" public_interface="in" units="Molar"/>
    <variable name="conc_K_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_K_md" public_interface="in" units="Molar"/>
    <variable name="conc_Cl_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Cl_md" public_interface="in" units="Molar"/>
    <variable name="K_NKCC_Na" public_interface="in" units="Molar"/>
    <variable name="K_NKCC_K" public_interface="in" units="Molar"/>
    <variable name="K_NKCC_Cl1" public_interface="in" units="Molar"/>
    <variable name="K_NKCC_Cl2" public_interface="in" units="Molar"/>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="Cl_flux_NKCC"/>
    <map_variables variable_1="delta_CT" variable_2="delta_CT"/>
    <map_variables variable_1="J_NKCC_max" variable_2="J_NKCC_max"/>
    <map_variables variable_1="K_NKCC_Na" variable_2="K_NKCC_Na"/>
    <map_variables variable_1="K_NKCC_K" variable_2="K_NKCC_K"/>
    <map_variables variable_1="K_NKCC_Cl1" variable_2="K_NKCC_Cl1"/>
    <map_variables variable_1="K_NKCC_Cl2" variable_2="K_NKCC_Cl2"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_cyt" component_2="Cl_flux_NKCC"/>
    <map_variables variable_1="conc_Cl_cyt" variable_2="conc_Cl_cyt"/>
    <map_variables variable_1="J_cyt_NKCC" variable_2="J_cyt_NKCC"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_md" component_2="Cl_flux_NKCC"/>
    <map_variables variable_1="conc_Cl_md" variable_2="conc_Cl_md"/>
    <map_variables variable_1="J_md_NKCC" variable_2="J_md_NKCC"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="Cl_flux_NKCC"/>
    <map_variables variable_1="conc_Na_md" variable_2="conc_Na_md"/>
    <map_variables variable_1="J_md_NKCC" variable_2="J_md_NKCC"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_cyt" component_2="Cl_flux_NKCC"/>
    <map_variables variable_1="conc_Na_cyt" variable_2="conc_Na_cyt"/>
    <map_variables variable_1="J_cyt_NKCC" variable_2="J_cyt_NKCC"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="Cl_flux_NKCC"/>
    <map_variables variable_1="conc_K_cyt" variable_2="conc_K_cyt"/>
    <map_variables variable_1="J_cyt_NKCC" variable_2="J_cyt_NKCC"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="Cl_flux_NKCC"/>
    <map_variables variable_1="conc_K_md" variable_2="conc_K_md"/>
    <map_variables variable_1="J_md_NKCC" variable_2="J_md_NKCC"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="Cl_flux_NKCC"/>
    <map_variables variable_1="conc_K_out" variable_2="conc_K_out"/>
    <map_variables variable_1="conc_Na_out" variable_2="conc_Na_out"/>
    <map_variables variable_1="conc_Cl_out" variable_2="conc_Cl_out"/>
  </connection>
  <component name="Cl_Channels_cyt">
    <variable initial_value="0.0062437" name="y_C1_cyt" units="dimensionless"/>
    <variable initial_value="0.000039459" name="y_C2_cyt" units="dimensionless"/>
    <variable initial_value="0.00000024937" name="y_C3_cyt" units="dimensionless"/>
    <variable initial_value="0.0056570" name="y_O1_cyt" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.00010725" name="y_O2_cyt" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.0000067783" name="y_O3_cyt" public_interface="out" units="dimensionless"/>
    <variable name="k_on" public_interface="in" units="per_M_sec"/>
    <variable name="k_off" public_interface="in" units="per_sec"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="alpha1" public_interface="in" units="per_sec"/>
    <variable name="alpha2" public_interface="in" units="per_sec"/>
    <variable name="alpha3" public_interface="in" units="per_sec"/>
    <variable name="Beta_cyt" public_interface="in" units="per_sec"/>
    <variable name="time" public_interface="in" units="second"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_C1_cyt
          </ci>
        </apply>
        <apply>
          <plus/>
          <apply>
            <minus/>
            <apply>
              <plus/>
              <apply>
                <times/>
                <apply>
                  <minus/>
                  <ci>k_on
                  </ci>
                </apply>
                <ci>conc_Ca_cyt
                </ci>
                <apply>
                  <minus/>
                  <ci>y_C1_cyt
                  </ci>
                  <ci>y_C0_cyt
                  </ci>
                </apply>
              </apply>
              <apply>
                <times/>
                <ci>k_off
                </ci>
                <apply>
                  <minus/>
                  <ci>y_C2_cyt
                  </ci>
                  <ci>y_C1_cyt
                  </ci>
                </apply>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>alpha1
              </ci>
              <ci>y_C1_cyt
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>Beta_cyt
            </ci>
            <ci>y_O1_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_C2_cyt
          </ci>
        </apply>
        <apply>
          <plus/>
          <apply>
            <minus/>
            <apply>
              <plus/>
              <apply>
                <times/>
                <apply>
                  <minus/>
                  <ci>k_on
                  </ci>
                </apply>
                <ci>conc_Ca_cyt
                </ci>
                <apply>
                  <minus/>
                  <ci>y_C2_cyt
                  </ci>
                  <ci>y_C1_cyt
                  </ci>
                </apply>
              </apply>
              <apply>
                <times/>
                <ci>k_off
                </ci>
                <apply>
                  <minus/>
                  <ci>y_C3_cyt
                  </ci>
                  <ci>y_C2_cyt
                  </ci>
                </apply>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>alpha2
              </ci>
              <ci>y_C2_cyt
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>Beta_cyt
            </ci>
            <ci>y_O2_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_C3_cyt
          </ci>
        </apply>
        <apply>
          <plus/>
          <apply>
            <minus/>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>k_on
                </ci>
                <ci>conc_Ca_cyt
                </ci>
                <ci>y_C2_cyt
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>k_off
                </ci>
                <ci>y_C3_cyt
                </ci>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>alpha3
              </ci>
              <ci>y_C3_cyt
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>Beta_cyt
            </ci>
            <ci>y_O3_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_O1_cyt
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>alpha1
            </ci>
            <ci>y_C1_cyt
            </ci>
          </apply>
          <apply>
            <times/>
            <ci>Beta_cyt
            </ci>
            <ci>y_O1_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_O2_cyt
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>alpha2
            </ci>
            <ci>y_C2_cyt
            </ci>
          </apply>
          <apply>
            <times/>
            <ci>Beta_cyt
            </ci>
            <ci>y_O2_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_O3_cyt
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>alpha3
            </ci>
            <ci>y_C3_cyt
            </ci>
          </apply>
          <apply>
            <times/>
            <ci>Beta_cyt
            </ci>
            <ci>y_O3_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
        </cn>
        <apply>
          <plus/>
          <ci>y_C0_cyt
          </ci>
          <ci>y_C1_cyt
          </ci>
          <ci>y_C2_cyt
          </ci>
          <ci>y_C3_cyt
          </ci>
          <ci>y_O1_cyt
          </ci>
          <ci>y_O2_cyt
          </ci>
          <ci>y_O3_cyt
          </ci>
        </apply>
      </apply>
    </math>
    <variable name="y_C0_cyt" units="dimensionless"/>
  </component>
  <component name="Cl_Channels_md">
    <variable initial_value="2.1346E-2" name="y_C1_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="4.7620E-4" name="y_C2_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="1.0624E-5" name="y_C3_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="1.9731E-2" name="y_O1_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="1.3205E-3" name="y_O2_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="2.94594E-4" name="y_O3_md" public_interface="out" units="dimensionless"/>
    <variable name="k_on" public_interface="in" units="per_M_sec"/>
    <variable name="k_off" public_interface="in" units="per_sec"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="alpha1" public_interface="in" units="per_sec"/>
    <variable name="alpha2" public_interface="in" units="per_sec"/>
    <variable name="alpha3" public_interface="in" units="per_sec"/>
    <variable name="Beta_md" public_interface="in" units="per_sec"/>
    <variable name="time" public_interface="in" units="second"/>
    <variable name="y_C0_md" public_interface="out" units="dimensionless"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_C1_md
          </ci>
        </apply>
        <apply>
          <plus/>
          <apply>
            <minus/>
            <apply>
              <plus/>
              <apply>
                <times/>
                <apply>
                  <minus/>
                  <ci>k_on
                  </ci>
                </apply>
                <ci>conc_Ca_md
                </ci>
                <apply>
                  <minus/>
                  <ci>y_C1_md
                  </ci>
                  <ci>y_C0_md
                  </ci>
                </apply>
              </apply>
              <apply>
                <times/>
                <ci>k_off
                </ci>
                <apply>
                  <minus/>
                  <ci>y_C2_md
                  </ci>
                  <ci>y_C1_md
                  </ci>
                </apply>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>alpha1
              </ci>
              <ci>y_C1_md
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>Beta_md
            </ci>
            <ci>y_O1_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_C2_md
          </ci>
        </apply>
        <apply>
          <plus/>
          <apply>
            <minus/>
            <apply>
              <plus/>
              <apply>
                <times/>
                <apply>
                  <minus/>
                  <ci>k_on
                  </ci>
                </apply>
                <ci>conc_Ca_md
                </ci>
                <apply>
                  <minus/>
                  <ci>y_C2_md
                  </ci>
                  <ci>y_C1_md
                  </ci>
                </apply>
              </apply>
              <apply>
                <times/>
                <ci>k_off
                </ci>
                <apply>
                  <minus/>
                  <ci>y_C3_md
                  </ci>
                  <ci>y_C2_md
                  </ci>
                </apply>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>alpha2
              </ci>
              <ci>y_C2_md
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>Beta_md
            </ci>
            <ci>y_O2_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_C3_md
          </ci>
        </apply>
        <apply>
          <plus/>
          <apply>
            <minus/>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>k_on
                </ci>
                <ci>conc_Ca_md
                </ci>
                <ci>y_C2_md
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>k_off
                </ci>
                <ci>y_C3_md
                </ci>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>alpha3
              </ci>
              <ci>y_C3_md
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>Beta_md
            </ci>
            <ci>y_O3_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_O1_md
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>alpha1
            </ci>
            <ci>y_C1_md
            </ci>
          </apply>
          <apply>
            <times/>
            <ci>Beta_md
            </ci>
            <ci>y_O1_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_O2_md
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>alpha2
            </ci>
            <ci>y_C2_md
            </ci>
          </apply>
          <apply>
            <times/>
            <ci>Beta_md
            </ci>
            <ci>y_O2_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>y_O3_md
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>alpha3
            </ci>
            <ci>y_C3_md
            </ci>
          </apply>
          <apply>
            <times/>
            <ci>Beta_md
            </ci>
            <ci>y_O3_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
        </cn>
        <apply>
          <plus/>
          <ci>y_C0_md
          </ci>
          <ci>y_C1_md
          </ci>
          <ci>y_C2_md
          </ci>
          <ci>y_C3_md
          </ci>
          <ci>y_O1_md
          </ci>
          <ci>y_O2_md
          </ci>
          <ci>y_O3_md
          </ci>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Environment" component_2="Cl_Channels_cyt"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Cl_Channels_cyt"/>
    <map_variables variable_1="k_on" variable_2="k_on"/>
    <map_variables variable_1="k_off" variable_2="k_off"/>
    <map_variables variable_1="alpha1" variable_2="alpha1"/>
    <map_variables variable_1="alpha2" variable_2="alpha2"/>
    <map_variables variable_1="alpha3" variable_2="alpha3"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="Cl_Channels_cyt"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="Cl_Channels_md"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Cl_Channels_md"/>
    <map_variables variable_1="k_on" variable_2="k_on"/>
    <map_variables variable_1="k_off" variable_2="k_off"/>
    <map_variables variable_1="alpha1" variable_2="alpha1"/>
    <map_variables variable_1="alpha2" variable_2="alpha2"/>
    <map_variables variable_1="alpha3" variable_2="alpha3"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="Cl_Channels_md"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
  </connection>
  <component name="Cl_Channel_Rates">
    <variable name="Beta_cyt" public_interface="out" units="per_sec"/>
    <variable name="Beta_md" public_interface="out" units="per_sec"/>
    <variable initial_value="-3.8" name="V1" units="dimensionless"/>
    <variable initial_value="-10.0" name="V2" units="per_V"/>
    <variable initial_value="224" name="Lambda_Beta" units="per_sec"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>Beta_cyt
        </ci>
        <apply>
          <times/>
          <ci>Lambda_Beta
          </ci>
          <apply>
            <exp/>
            <apply>
              <plus/>
              <ci>V1
              </ci>
              <apply>
                <times/>
                <ci>V2
                </ci>
                <ci>V_m_cyt
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Beta_md
        </ci>
        <apply>
          <times/>
          <ci>Lambda_Beta
          </ci>
          <apply>
            <exp/>
            <apply>
              <plus/>
              <ci>V1
              </ci>
              <apply>
                <times/>
                <ci>V2
                </ci>
                <ci>V_m_md
                </ci>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <component name="ClCa_Current">
    <variable name="I_Cl_cyt_Ca" public_interface="out" units="ampere"/>
    <variable name="I_Cl_md_Ca" public_interface="out" units="ampere"/>
    <variable name="G_ClCa_max" public_interface="in" units="siemens2"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="y_O1_cyt" public_interface="in" units="dimensionless"/>
    <variable name="y_O2_cyt" public_interface="in" units="dimensionless"/>
    <variable name="y_O3_cyt" public_interface="in" units="dimensionless"/>
    <variable name="y_O1_md" public_interface="in" units="dimensionless"/>
    <variable name="y_O2_md" public_interface="in" units="dimensionless"/>
    <variable name="y_O3_md" public_interface="in" units="dimensionless"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="E_Cl_cyt" public_interface="in" units="volt"/>
    <variable name="E_Cl_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_Cl_cyt_Ca
        </ci>
        <apply>
          <times/>
          <ci>G_ClCa_max
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <plus/>
            <ci>y_O1_cyt
            </ci>
            <ci>y_O2_cyt
            </ci>
            <ci>y_O3_cyt
            </ci>
          </apply>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_Cl_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Cl_md_Ca
        </ci>
        <apply>
          <times/>
          <ci>G_ClCa_max
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <plus/>
            <ci>y_O1_md
            </ci>
            <ci>y_O2_md
            </ci>
            <ci>y_O3_md
            </ci>
          </apply>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_Cl_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Cl_Channels_cyt" component_2="ClCa_Current"/>
    <map_variables variable_1="y_O1_cyt" variable_2="y_O1_cyt"/>
    <map_variables variable_1="y_O2_cyt" variable_2="y_O2_cyt"/>
    <map_variables variable_1="y_O3_cyt" variable_2="y_O3_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Cl_Channels_md" component_2="ClCa_Current"/>
    <map_variables variable_1="y_O1_md" variable_2="y_O1_md"/>
    <map_variables variable_1="y_O2_md" variable_2="y_O2_md"/>
    <map_variables variable_1="y_O3_md" variable_2="y_O3_md"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="ClCa_Current"/>
    <map_variables variable_1="G_ClCa_max" variable_2="G_ClCa_max"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_md" component_2="ClCa_Current"/>
    <map_variables variable_1="I_Cl_md_Ca" variable_2="I_Cl_md_Ca"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_cyt" component_2="ClCa_Current"/>
    <map_variables variable_1="I_Cl_cyt_Ca" variable_2="I_Cl_cyt_Ca"/>
  </connection>
  <component name="K_Inward_Rectifier_Current">
    <variable name="I_K_cyt_ir" public_interface="out" units="ampere"/>
    <variable name="I_K_md_ir" public_interface="out" units="ampere"/>
    <variable name="G_Kir_max" public_interface="in" units="siemens2"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="x_Kir_cyt" units="dimensionless"/>
    <variable name="x_Kir_md" units="dimensionless"/>
    <variable name="alpha_Kir_cyt" public_interface="in" units="per_sec"/>
    <variable name="alpha_Kir_md" public_interface="in" units="per_sec"/>
    <variable name="Beta_Kir_cyt" public_interface="in" units="per_sec"/>
    <variable name="Beta_Kir_md" public_interface="in" units="per_sec"/>
    <variable name="conc_K_out" public_interface="in" units="Molar"/>
    <variable name="conc_K_ref" public_interface="in" units="Molar"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="E_K_cyt" public_interface="in" units="volt"/>
    <variable name="E_K_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_K_cyt_ir
        </ci>
        <apply>
          <times/>
          <ci>G_Kir_max
          </ci>
          <ci>f_cyt
          </ci>
          <ci>x_Kir_cyt
          </ci>
          <apply>
            <root/>
            <apply>
              <divide/>
              <ci>conc_K_out
              </ci>
              <ci>conc_K_ref
              </ci>
            </apply>
          </apply>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_K_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_K_md_ir
        </ci>
        <apply>
          <times/>
          <ci>G_Kir_max
          </ci>
          <ci>f_md
          </ci>
          <ci>x_Kir_md
          </ci>
          <apply>
            <root/>
            <apply>
              <divide/>
              <ci>conc_K_out
              </ci>
              <ci>conc_K_ref
              </ci>
            </apply>
          </apply>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_K_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x_Kir_cyt
        </ci>
        <apply>
          <divide/>
          <ci>alpha_Kir_cyt
          </ci>
          <apply>
            <plus/>
            <ci>alpha_Kir_cyt
            </ci>
            <ci>Beta_Kir_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>x_Kir_md
        </ci>
        <apply>
          <divide/>
          <ci>alpha_Kir_md
          </ci>
          <apply>
            <plus/>
            <ci>alpha_Kir_md
            </ci>
            <ci>Beta_Kir_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="K_Inward_Rectifier_Current"/>
    <map_variables variable_1="G_Kir_max" variable_2="G_Kir_max"/>
    <map_variables variable_1="conc_K_ref" variable_2="conc_K_ref"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="K_Inward_Rectifier_Current"/>
    <map_variables variable_1="I_K_cyt_ir" variable_2="I_K_cyt_ir"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="K_Inward_Rectifier_Current"/>
    <map_variables variable_1="I_K_md_ir" variable_2="I_K_md_ir"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="K_Inward_Rectifier_Current"/>
    <map_variables variable_1="E_K_cyt" variable_2="E_K_cyt"/>
    <map_variables variable_1="E_K_md" variable_2="E_K_md"/>
    <map_variables variable_1="conc_K_out" variable_2="conc_K_out"/>
  </connection>
  <component name="K_ir_Rates">
    <variable name="alpha_Kir_cyt" public_interface="out" units="per_sec"/>
    <variable name="alpha_Kir_md" public_interface="out" units="per_sec"/>
    <variable name="Beta_Kir_cyt" public_interface="out" units="per_sec"/>
    <variable name="Beta_Kir_md" public_interface="out" units="per_sec"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="E_K_cyt" public_interface="in" units="volt"/>
    <variable name="E_K_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>alpha_Kir_cyt
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="per_sec">3.241
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <minus/>
                    <ci>V_m_cyt
                    </ci>
                    <ci>E_K_cyt
                    </ci>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">185.72
                  </cn>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">1.596
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>alpha_Kir_md
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="per_sec">3.241
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <minus/>
                    <ci>V_m_md
                    </ci>
                    <ci>E_K_md
                    </ci>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">185.72
                  </cn>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">1.596
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Beta_Kir_cyt
        </ci>
        <apply>
          <times/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="per_sec">1
          </cn>
          <apply>
            <divide/>
            <apply>
              <plus/>
              <apply>
                <times/>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.013
                </cn>
                <apply>
                  <exp/>
                  <apply>
                    <divide/>
                    <apply>
                      <plus/>
                      <apply>
                        <minus/>
                        <ci>V_m_cyt
                        </ci>
                        <ci>E_K_cyt
                        </ci>
                      </apply>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">5.7922
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.294
                    </cn>
                  </apply>
                </apply>
              </apply>
              <apply>
                <exp/>
                <apply>
                  <divide/>
                  <apply>
                    <minus/>
                    <apply>
                      <minus/>
                      <ci>V_m_cyt
                      </ci>
                      <ci>E_K_cyt
                      </ci>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">653.73299999999995
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.244
                  </cn>
                </apply>
              </apply>
            </apply>
            <apply>
              <plus/>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
              </cn>
              <apply>
                <exp/>
                <apply>
                  <divide/>
                  <apply>
                    <minus/>
                    <apply>
                      <minus/>
                      <apply>
                        <minus/>
                        <ci>V_m_cyt
                        </ci>
                        <ci>E_K_cyt
                        </ci>
                      </apply>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">7.7775
                      </cn>
                    </apply>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0928
                  </cn>
                </apply>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Beta_Kir_md
        </ci>
        <apply>
          <times/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="per_sec">1
          </cn>
          <apply>
            <divide/>
            <apply>
              <plus/>
              <apply>
                <times/>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.013
                </cn>
                <apply>
                  <exp/>
                  <apply>
                    <divide/>
                    <apply>
                      <plus/>
                      <apply>
                        <minus/>
                        <ci>V_m_md
                        </ci>
                        <ci>E_K_md
                        </ci>
                      </apply>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">5.7922
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.294
                    </cn>
                  </apply>
                </apply>
              </apply>
              <apply>
                <exp/>
                <apply>
                  <divide/>
                  <apply>
                    <minus/>
                    <apply>
                      <minus/>
                      <ci>V_m_md
                      </ci>
                      <ci>E_K_md
                      </ci>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">653.73299999999995
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.244
                  </cn>
                </apply>
              </apply>
            </apply>
            <apply>
              <plus/>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
              </cn>
              <apply>
                <exp/>
                <apply>
                  <minus/>
                  <apply>
                    <divide/>
                    <apply>
                      <minus/>
                      <apply>
                        <minus/>
                        <ci>V_m_md
                        </ci>
                        <ci>E_K_md
                        </ci>
                      </apply>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">7.7775
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0928
                    </cn>
                  </apply>
                </apply>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="K_Inward_Rectifier_Current" component_2="K_ir_Rates"/>
    <map_variables variable_1="alpha_Kir_cyt" variable_2="alpha_Kir_cyt"/>
    <map_variables variable_1="alpha_Kir_md" variable_2="alpha_Kir_md"/>
    <map_variables variable_1="Beta_Kir_cyt" variable_2="Beta_Kir_cyt"/>
    <map_variables variable_1="Beta_Kir_md" variable_2="Beta_Kir_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="K_ir_Rates"/>
    <map_variables variable_1="E_K_cyt" variable_2="E_K_cyt"/>
    <map_variables variable_1="E_K_md" variable_2="E_K_md"/>
  </connection>
  <component name="K_Delayed_Rectifier_Current">
    <variable name="I_K_cyt_v" public_interface="out" units="ampere"/>
    <variable name="I_K_md_v" public_interface="out" units="ampere"/>
    <variable name="G_Kv_max" public_interface="in" units="siemens2"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="P_Kv_cyt" public_interface="in" units="dimensionless"/>
    <variable name="P_Kv_md" public_interface="in" units="dimensionless"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="E_K_cyt" public_interface="in" units="volt"/>
    <variable name="E_K_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_K_cyt_v
        </ci>
        <apply>
          <times/>
          <ci>G_Kv_max
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <power/>
            <ci>P_Kv_cyt
            </ci>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
            </cn>
          </apply>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_K_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_K_md_v
        </ci>
        <apply>
          <times/>
          <ci>G_Kv_max
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <power/>
            <ci>P_Kv_md
            </ci>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
            </cn>
          </apply>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_K_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <component name="Kv_Activations">
    <variable name="P_Kv_cyt" public_interface="out" units="dimensionless"/>
    <variable name="P_Kv_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.0048876" name="P1_cyt" units="dimensionless"/>
    <variable initial_value="0.0056051" name="P1_md" units="dimensionless"/>
    <variable initial_value="0.0048876" name="P2_cyt" units="dimensionless"/>
    <variable initial_value="0.0056051" name="P2_md" units="dimensionless"/>
    <variable name="P_bar_Kv_cyt" units="dimensionless"/>
    <variable name="P_bar_Kv_md" units="dimensionless"/>
    <variable name="Tau_P1_cyt" public_interface="in" units="second"/>
    <variable name="Tau_P1_md" public_interface="in" units="second"/>
    <variable name="Tau_P2_cyt" public_interface="in" units="second"/>
    <variable name="Tau_P2_md" public_interface="in" units="second"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>P_Kv_cyt
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.58
            </cn>
            <ci>P1_cyt
            </ci>
          </apply>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.42
            </cn>
            <ci>P2_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>P_Kv_md
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.58
            </cn>
            <ci>P1_md
            </ci>
          </apply>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.42
            </cn>
            <ci>P2_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>P1_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>P_bar_Kv_cyt
            </ci>
            <ci>P1_cyt
            </ci>
          </apply>
          <ci>Tau_P1_cyt
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>P1_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>P_bar_Kv_md
            </ci>
            <ci>P1_md
            </ci>
          </apply>
          <ci>Tau_P1_md
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>P2_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>P_bar_Kv_cyt
            </ci>
            <ci>P2_cyt
            </ci>
          </apply>
          <ci>Tau_P2_cyt
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>P2_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>P_bar_Kv_md
            </ci>
            <ci>P2_md
            </ci>
          </apply>
          <ci>Tau_P2_md
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>P_bar_Kv_cyt
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <plus/>
                    <ci>V_m_cyt
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00177
                    </cn>
                  </apply>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.01452
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>P_bar_Kv_md
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <plus/>
                    <ci>V_m_md
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00177
                    </cn>
                  </apply>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.01452
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="time" public_interface="in" units="second"/>
  </component>
  <connection>
    <map_components component_1="Environment" component_2="Kv_Activations"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="K_Delayed_Rectifier_Current" component_2="Kv_Activations"/>
    <map_variables variable_1="P_Kv_cyt" variable_2="P_Kv_cyt"/>
    <map_variables variable_1="P_Kv_md" variable_2="P_Kv_md"/>
  </connection>
  <component name="Kv_Time_Constants">
    <variable name="Tau_P1_cyt" public_interface="out" units="second"/>
    <variable name="Tau_P1_md" public_interface="out" units="second"/>
    <variable name="Tau_P2_cyt" public_interface="out" units="second"/>
    <variable name="Tau_P2_md" public_interface="out" units="second"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>Tau_P1_cyt
        </ci>
        <apply>
          <minus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.2109873
            </cn>
            <apply>
              <exp/>
              <apply>
                <minus/>
                <apply>
                  <power/>
                  <apply>
                    <divide/>
                    <apply>
                      <plus/>
                      <ci>V_m_cyt
                      </ci>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.21434
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.19535
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                </apply>
              </apply>
            </apply>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.02059
          </cn>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Tau_P1_md
        </ci>
        <apply>
          <minus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.2109873
            </cn>
            <apply>
              <exp/>
              <apply>
                <minus/>
                <apply>
                  <power/>
                  <apply>
                    <divide/>
                    <apply>
                      <plus/>
                      <ci>V_m_md
                      </ci>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.21434
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.19535
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                </apply>
              </apply>
            </apply>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.02059
          </cn>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Tau_P2_cyt
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.82139
            </cn>
            <apply>
              <exp/>
              <apply>
                <minus/>
                <apply>
                  <power/>
                  <apply>
                    <divide/>
                    <apply>
                      <plus/>
                      <ci>V_m_cyt
                      </ci>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.03159
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.02746
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                </apply>
              </apply>
            </apply>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.00019
          </cn>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Tau_P2_md
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.82139
            </cn>
            <apply>
              <exp/>
              <apply>
                <minus/>
                <apply>
                  <power/>
                  <apply>
                    <divide/>
                    <apply>
                      <plus/>
                      <ci>V_m_md
                      </ci>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.03159
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.02746
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                </apply>
              </apply>
            </apply>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.00019
          </cn>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Kv_Activations" component_2="Kv_Time_Constants"/>
    <map_variables variable_1="Tau_P1_cyt" variable_2="Tau_P1_cyt"/>
    <map_variables variable_1="Tau_P1_md" variable_2="Tau_P1_md"/>
    <map_variables variable_1="Tau_P2_cyt" variable_2="Tau_P2_cyt"/>
    <map_variables variable_1="Tau_P2_md" variable_2="Tau_P2_md"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="K_Delayed_Rectifier_Current"/>
    <map_variables variable_1="I_K_cyt_v" variable_2="I_K_cyt_v"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="K_Delayed_Rectifier_Current"/>
    <map_variables variable_1="I_K_md_v" variable_2="I_K_md_v"/>
  </connection>
  <component name="K_ATP_Current">
    <variable name="I_K_cyt_ATP" public_interface="out" units="ampere"/>
    <variable name="I_K_md_ATP" public_interface="out" units="ampere"/>
    <variable name="G_KATP_max" public_interface="in" units="siemens2"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="conc_K_ref" public_interface="in" units="Molar"/>
    <variable name="conc_K_out" public_interface="in" units="Molar"/>
    <variable name="n_ATP" public_interface="in" units="dimensionless"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="E_K_cyt" public_interface="in" units="volt"/>
    <variable name="E_K_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_K_cyt_ATP
        </ci>
        <apply>
          <times/>
          <ci>G_KATP_max
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <power/>
            <apply>
              <divide/>
              <ci>conc_K_out
              </ci>
              <ci>conc_K_ref
              </ci>
            </apply>
            <ci>n_ATP
            </ci>
          </apply>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_K_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_K_md_ATP
        </ci>
        <apply>
          <times/>
          <ci>G_KATP_max
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <power/>
            <apply>
              <divide/>
              <ci>conc_K_out
              </ci>
              <ci>conc_K_ref
              </ci>
            </apply>
            <ci>n_ATP
            </ci>
          </apply>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_K_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="Cl_flux_KCl"/>
    <map_variables variable_1="J_cyt_KCl" variable_2="J_cyt_KCl"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="Cl_flux_KCl"/>
    <map_variables variable_1="J_md_KCl" variable_2="J_md_KCl"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="Cl_flux_NaCl"/>
    <map_variables variable_1="J_md_NaCl" variable_2="J_md_NaCl"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_cyt" component_2="Cl_flux_NaCl"/>
    <map_variables variable_1="J_cyt_NaCl" variable_2="J_cyt_NaCl"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Sodium_Conc_md"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_md" variable_2="vol_md"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="Sodium_Conc_md"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Calcium_Conc_cyt"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="vol_cyt_Ca" variable_2="vol_cyt_Ca"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="Calcium_Conc_cyt"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <component name="K_Ca_Current">
    <variable name="I_K_cyt_Ca" public_interface="out" units="ampere"/>
    <variable name="I_K_md_Ca" public_interface="out" units="ampere"/>
    <variable name="G_KCa_max" public_interface="in" units="siemens2"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="P_KCa_cyt" public_interface="in" units="dimensionless"/>
    <variable name="P_KCa_md" public_interface="in" units="dimensionless"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_K_cyt_Ca
        </ci>
        <apply>
          <times/>
          <ci>G_KCa_max
          </ci>
          <ci>f_cyt
          </ci>
          <ci>P_KCa_cyt
          </ci>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_K_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_K_md_Ca
        </ci>
        <apply>
          <times/>
          <ci>G_KCa_max
          </ci>
          <ci>f_md
          </ci>
          <ci>P_KCa_md
          </ci>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_K_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="E_K_cyt" public_interface="in" units="volt"/>
    <variable name="E_K_md" public_interface="in" units="volt"/>
  </component>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="K_ATP_Current"/>
    <map_variables variable_1="I_K_cyt_ATP" variable_2="I_K_cyt_ATP"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="K_ATP_Current"/>
    <map_variables variable_1="I_K_md_ATP" variable_2="I_K_md_ATP"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="K_ATP_Current"/>
    <map_variables variable_1="E_K_cyt" variable_2="E_K_cyt"/>
    <map_variables variable_1="E_K_md" variable_2="E_K_md"/>
    <map_variables variable_1="conc_K_out" variable_2="conc_K_out"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="K_ATP_Current"/>
    <map_variables variable_1="conc_K_ref" variable_2="conc_K_ref"/>
    <map_variables variable_1="n_ATP" variable_2="n_ATP"/>
    <map_variables variable_1="G_KATP_max" variable_2="G_KATP_max"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="K_Ca_Current"/>
    <map_variables variable_1="G_KCa_max" variable_2="G_KCa_max"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="K_Ca_Current"/>
    <map_variables variable_1="I_K_cyt_Ca" variable_2="I_K_cyt_Ca"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="K_Ca_Current"/>
    <map_variables variable_1="I_K_md_Ca" variable_2="I_K_md_Ca"/>
  </connection>
  <component name="KCa_Activations">
    <variable name="P_KCa_cyt" public_interface="out" units="dimensionless"/>
    <variable name="P_KCa_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.94813" name="PF_cyt" units="dimensionless"/>
    <variable initial_value="0.67538" name="PF_md" units="dimensionless"/>
    <variable initial_value="0.94813" name="PS_cyt" units="dimensionless"/>
    <variable initial_value="0.67538" name="PS_md" units="dimensionless"/>
    <variable name="P_bar_KCa_cyt" units="dimensionless"/>
    <variable name="P_bar_KCa_md" units="dimensionless"/>
    <variable name="Tau_PF" public_interface="in" units="second"/>
    <variable name="Tau_PS" public_interface="in" units="second"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>P_KCa_cyt
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.65
            </cn>
            <ci>PF_cyt
            </ci>
          </apply>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.35
            </cn>
            <ci>PS_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>P_KCa_md
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.65
            </cn>
            <ci>PF_md
            </ci>
          </apply>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.35
            </cn>
            <ci>PS_md
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>PF_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>P_bar_KCa_cyt
            </ci>
            <ci>PF_cyt
            </ci>
          </apply>
          <ci>Tau_PF
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>PF_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>P_bar_KCa_md
            </ci>
            <ci>PF_md
            </ci>
          </apply>
          <ci>Tau_PF
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>PS_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>P_bar_KCa_cyt
            </ci>
            <ci>PS_cyt
            </ci>
          </apply>
          <ci>Tau_PS
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>PS_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>P_bar_KCa_md
            </ci>
            <ci>PS_md
            </ci>
          </apply>
          <ci>Tau_PS
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>P_bar_KCa_cyt
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <minus/>
                    <ci>V_m_cyt
                    </ci>
                    <ci>V_KCa_cyt
                    </ci>
                  </apply>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0308
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>P_bar_KCa_md
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <minus/>
                    <ci>V_m_md
                    </ci>
                    <ci>V_KCa_md
                    </ci>
                  </apply>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0308
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      
      
    </math>
    <variable name="time" public_interface="in" units="second"/>
    <variable name="V_KCa_cyt" public_interface="in" units="volt"/>
    <variable name="V_KCa_md" public_interface="in" units="volt"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="KCa_Activations"/>
    <map_variables variable_1="Tau_PF" variable_2="Tau_PF"/>
    <map_variables variable_1="Tau_PS" variable_2="Tau_PS"/>
  </connection>
  <connection>
    <map_components component_1="K_Ca_Current" component_2="KCa_Activations"/>
    <map_variables variable_1="P_KCa_cyt" variable_2="P_KCa_cyt"/>
    <map_variables variable_1="P_KCa_md" variable_2="P_KCa_md"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="KCa_Activations"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="KCa_Activations"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="KCa_Activations"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <component name="NaK_alpha_Current">
    <variable name="I_NaK_cyt_alpha1" public_interface="out" units="ampere"/>
    <variable name="I_NaK_alpha1_max" public_interface="in" units="ampere"/>
    <variable name="I_NaK_alpha2_max" units="ampere"/>
    <variable name="I_NaK_md_alpha2" public_interface="out" units="ampere"/>
    <variable name="Psi_NaK_cyt" public_interface="in" units="dimensionless"/>
    <variable name="Psi_NaK_md" public_interface="in" units="dimensionless"/>
    <variable name="conc_K_out" public_interface="in" units="Molar"/>
    <variable name="K_m_K" public_interface="in" units="Molar"/>
    <variable name="conc_Na_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Na_md" public_interface="in" units="Molar"/>
    <variable name="K_m_Na_alpha1" public_interface="in" units="Molar"/>
    <variable name="K_m_Na_alpha2" public_interface="in" units="Molar"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_NaK_cyt_alpha1
        </ci>
        <apply>
          <times/>
          <ci>I_NaK_alpha1_max
          </ci>
          <ci>Psi_NaK_cyt
          </ci>
          <apply>
            <divide/>
            <ci>conc_K_out
            </ci>
            <apply>
              <plus/>
              <ci>conc_K_out
              </ci>
              <ci>K_m_K
              </ci>
            </apply>
          </apply>
          <apply>
            <divide/>
            <apply>
              <power/>
              <ci>conc_Na_cyt
              </ci>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1.5
              </cn>
            </apply>
            <apply>
              <plus/>
              <apply>
                <power/>
                <ci>conc_Na_cyt
                </ci>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1.5
                </cn>
              </apply>
              <apply>
                <power/>
                <ci>K_m_Na_alpha1
                </ci>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1.5
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply><eq/><ci>I_NaK_md_alpha2</ci><apply><times/><ci>I_NaK_alpha1_max</ci><ci>Psi_NaK_md</ci><apply><divide/><ci>conc_K_out</ci><apply><plus/><ci>conc_K_out</ci><ci>K_m_K</ci></apply></apply><apply><divide/><apply><power/><ci>conc_Na_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1.5</cn></apply><apply><plus/><apply><power/><ci>conc_Na_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1.5</cn></apply><apply><power/><ci>K_m_Na_alpha2</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1.5</cn></apply></apply></apply></apply></apply>
    <apply><eq/><ci>I_NaK_alpha2_max</ci><ci>I_NaK_alpha1_max</ci></apply></math>
  </component>
  <component name="NaK_alpha_Waveform">
    <variable name="Psi_NaK_cyt" public_interface="out" units="dimensionless"/>
    <variable name="Psi_NaK_md" public_interface="out" units="dimensionless"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="R" public_interface="in" units="J_per_mol_K"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <variable name="Sigma" units="dimensionless"/>
    <variable name="conc_Na_out" public_interface="in" units="Molar"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>Psi_NaK_cyt</ci><apply><divide/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.1245</cn><apply><exp/><apply><divide/><apply><times/><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.1</cn></apply><ci>V_m_cyt</ci><ci>F</ci></apply><apply><times/><ci>R</ci><ci>T</ci></apply></apply></apply></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.0365</cn><ci>Sigma</ci><apply><exp/><apply><divide/><apply><times/><apply><minus/><ci>V_m_cyt</ci></apply><ci>F</ci></apply><apply><times/><ci>R</ci><ci>T</ci></apply></apply></apply></apply></apply></apply></apply><apply><eq/><ci>Psi_NaK_md</ci><apply><divide/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.1245</cn><apply><exp/><apply><divide/><apply><times/><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.1</cn></apply><ci>V_m_md</ci><ci>F</ci></apply><apply><times/><ci>R</ci><ci>T</ci></apply></apply></apply></apply><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.0365</cn><ci>Sigma</ci><apply><exp/><apply><divide/><apply><times/><apply><minus/><ci>V_m_md</ci></apply><ci>F</ci></apply><apply><times/><ci>R</ci><ci>T</ci></apply></apply></apply></apply></apply></apply></apply><apply><eq/><ci>Sigma</ci><apply><times/><apply><divide/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">7</cn></apply><apply><minus/><apply><exp/><apply><divide/><ci>conc_Na_out</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="Molar">67.299999999999997</cn></apply></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn></apply></apply></apply></math>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="NaK_alpha_Current"/>
    
    
    <map_variables variable_1="K_m_K" variable_2="K_m_K"/>
    <map_variables variable_1="K_m_Na_alpha1" variable_2="K_m_Na_alpha1"/>
    <map_variables variable_1="K_m_Na_alpha2" variable_2="K_m_Na_alpha2"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_cyt" component_2="NaK_alpha_Current"/>
    <map_variables variable_1="conc_Na_cyt" variable_2="conc_Na_cyt"/>
    <map_variables variable_1="I_NaK_cyt_alpha1" variable_2="I_NaK_cyt_alpha1"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="NaK_alpha_Current"/>
    <map_variables variable_1="conc_Na_md" variable_2="conc_Na_md"/>
    <map_variables variable_1="I_NaK_md_alpha2" variable_2="I_NaK_md_alpha2"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="NaK_alpha_Current"/>
    <map_variables variable_1="I_NaK_cyt_alpha1" variable_2="I_NaK_cyt_alpha1"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="NaK_alpha_Current"/>
    <map_variables variable_1="I_NaK_md_alpha2" variable_2="I_NaK_md_alpha2"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="NaK_alpha_Waveform"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="R" variable_2="R"/>
    <map_variables variable_1="T" variable_2="T"/>
  </connection>
  <connection>
    <map_components component_1="NaK_alpha_Current" component_2="NaK_alpha_Waveform"/>
    <map_variables variable_1="Psi_NaK_cyt" variable_2="Psi_NaK_cyt"/>
    <map_variables variable_1="Psi_NaK_md" variable_2="Psi_NaK_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="NaK_alpha_Waveform"/>
    <map_variables variable_1="conc_Na_out" variable_2="conc_Na_out"/>
  </connection>
  <component name="NCX_Current">
    <variable name="I_NaCa_md" public_interface="out" units="ampere"/>
    <variable name="I_NaCa_max" public_interface="in" units="ampere"/>
    <variable name="K_a_NaCa" public_interface="in" units="dimensionless"/>
    <variable name="Psi_F" public_interface="in" units="dimensionless"/>
    <variable name="conc_Na_md" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="Psi_R" public_interface="in" units="dimensionless"/>
    <variable name="conc_Na_out" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_out" public_interface="in" units="Molar"/>
    <variable name="G" public_interface="in" units="M_fourpow"/>
    <variable name="k_sat" public_interface="in" units="dimensionless"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_NaCa_md
        </ci>
        <apply>
          <times/>
          <ci>I_NaCa_max
          </ci>
          <ci>K_a_NaCa
          </ci>
          <apply>
            <divide/>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>Psi_F
                </ci>
                <apply>
                  <power/>
                  <ci>conc_Na_md
                  </ci>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
                  </cn>
                </apply>
                <ci>conc_Ca_out
                </ci>
              </apply>
              <apply>
                <times/>
                <ci>Psi_R
                </ci>
                <apply>
                  <power/>
                  <ci>conc_Na_out
                  </ci>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
                  </cn>
                </apply>
                <ci>conc_Ca_md
                </ci>
              </apply>
            </apply>
            <apply>
              <times/>
              <ci>G
              </ci>
              <apply>
                <plus/>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
                </cn>
                <apply>
                  <times/>
                  <ci>k_sat
                  </ci>
                  <ci>Psi_R
                  </ci>
                </apply>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="NCX_Current"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
    <map_variables variable_1="I_NaCa_md" variable_2="I_NaCa_md"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="NCX_Current"/>
    <map_variables variable_1="conc_Na_md" variable_2="conc_Na_md"/>
    <map_variables variable_1="I_NaCa_md" variable_2="I_NaCa_md"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="NCX_Current"/>
    <map_variables variable_1="k_sat" variable_2="k_sat"/>
    <map_variables variable_1="I_NaCa_max" variable_2="I_NaCa_max"/>
  </connection>
  <component name="NCX_Waveform">
    <variable name="K_a_NaCa" public_interface="out" units="dimensionless"/>
    <variable name="K_mCa_act" public_interface="in" units="Molar"/>
    <variable name="Psi_F" public_interface="out" units="dimensionless"/>
    <variable name="Psi_R" public_interface="out" units="dimensionless"/>
    <variable name="G" public_interface="out" units="M_fourpow"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="conc_Na_md" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_out" public_interface="in" units="Molar"/>
    <variable name="conc_Na_out" public_interface="in" units="Molar"/>
    <variable name="gamma" public_interface="in" units="dimensionless"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="R" public_interface="in" units="J_per_mol_K"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="K_m_Nao" public_interface="in" units="Molar"/>
    <variable name="K_m_Cao" public_interface="in" units="Molar"/>
    <variable name="K_m_Nai" public_interface="in" units="Molar"/>
    <variable name="K_m_Cai" public_interface="in" units="Molar"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>K_a_NaCa
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <power/>
              <apply>
                <divide/>
                <ci>K_mCa_act
                </ci>
                <ci>conc_Ca_md
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
              </cn>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Psi_F
        </ci>
        <apply>
          <exp/>
          <apply>
            <divide/>
            <apply>
              <times/>
              <ci>gamma
              </ci>
              <ci>V_m_md
              </ci>
              <ci>F
              </ci>
            </apply>
            <apply>
              <times/>
              <ci>R
              </ci>
              <ci>T
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Psi_R
        </ci>
        <apply>
          <exp/>
          <apply>
            <divide/>
            <apply>
              <times/>
              <apply>
                <minus/>
                <ci>gamma
                </ci>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
                </cn>
              </apply>
              <ci>V_m_md
              </ci>
              <ci>F
              </ci>
            </apply>
            <apply>
              <times/>
              <ci>R
              </ci>
              <ci>T
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>G
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <apply>
              <power/>
              <ci>conc_Na_out
              </ci>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
              </cn>
            </apply>
            <ci>conc_Ca_md
            </ci>
          </apply>
          <apply>
            <times/>
            <apply>
              <power/>
              <ci>conc_Na_md
              </ci>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
              </cn>
            </apply>
            <ci>conc_Ca_out
            </ci>
          </apply>
          <apply>
            <times/>
            <apply>
              <power/>
              <ci>K_m_Nao
              </ci>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
              </cn>
            </apply>
            <ci>conc_Ca_md
            </ci>
          </apply>
          <apply>
            <times/>
            <ci>K_m_Cao
            </ci>
            <apply>
              <power/>
              <ci>conc_Na_md
              </ci>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
              </cn>
            </apply>
          </apply>
          <apply>
            <times/>
            <apply>
              <power/>
              <ci>K_m_Nai
              </ci>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
              </cn>
            </apply>
            <ci>conc_Ca_out
            </ci>
            <apply>
              <plus/>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
              </cn>
              <apply>
                <divide/>
                <ci>conc_Ca_md
                </ci>
                <ci>K_m_Cai
                </ci>
              </apply>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>K_m_Cai
            </ci>
            <apply>
              <power/>
              <ci>conc_Na_out
              </ci>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
              </cn>
            </apply>
            <apply>
              <plus/>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
              </cn>
              <apply>
                <power/>
                <apply>
                  <divide/>
                  <ci>conc_Na_md
                  </ci>
                  <ci>K_m_Nai
                  </ci>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="NCX_Current" component_2="NCX_Waveform"/>
    <map_variables variable_1="K_a_NaCa" variable_2="K_a_NaCa"/>
    <map_variables variable_1="Psi_F" variable_2="Psi_F"/>
    <map_variables variable_1="Psi_R" variable_2="Psi_R"/>
    <map_variables variable_1="G" variable_2="G"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="NCX_Waveform"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="K_m_Cai" variable_2="K_m_Cai"/>
    <map_variables variable_1="K_m_Cao" variable_2="K_m_Cao"/>
    <map_variables variable_1="K_m_Nai" variable_2="K_m_Nai"/>
    <map_variables variable_1="K_m_Nao" variable_2="K_m_Nao"/>
    <map_variables variable_1="gamma" variable_2="gamma"/>
    <map_variables variable_1="K_mCa_act" variable_2="K_mCa_act"/>
    <map_variables variable_1="R" variable_2="R"/>
    <map_variables variable_1="T" variable_2="T"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="NCX_Waveform"/>
    <map_variables variable_1="conc_Na_md" variable_2="conc_Na_md"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="NCX_Waveform"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="NCX_Current"/>
    <map_variables variable_1="conc_Na_out" variable_2="conc_Na_out"/>
    <map_variables variable_1="conc_Ca_out" variable_2="conc_Ca_out"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="NCX_Waveform"/>
    <map_variables variable_1="conc_Na_out" variable_2="conc_Na_out"/>
    <map_variables variable_1="conc_Ca_out" variable_2="conc_Ca_out"/>
  </connection>
  <component name="VONa_Current">
    <variable name="I_VONa_cyt" public_interface="out" units="ampere"/>
    <variable name="I_VONa_md" public_interface="out" units="ampere"/>
    <variable name="G_VONa_max" public_interface="in" units="siemens2"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="m_VONa_cyt" public_interface="in" units="dimensionless"/>
    <variable name="m_VONa_md" public_interface="in" units="dimensionless"/>
    <variable name="h_VONa_cyt" public_interface="in" units="dimensionless"/>
    <variable name="h_VONa_md" public_interface="in" units="dimensionless"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="E_Na_cyt" public_interface="in" units="volt"/>
    <variable name="E_Na_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_VONa_cyt
        </ci>
        <apply>
          <times/>
          <ci>G_VONa_max
          </ci>
          <ci>f_cyt
          </ci>
          <ci>m_VONa_cyt
          </ci>
          <ci>h_VONa_cyt
          </ci>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_Na_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_VONa_md
        </ci>
        <apply>
          <times/>
          <ci>G_VONa_max
          </ci>
          <ci>f_md
          </ci>
          <ci>m_VONa_md
          </ci>
          <ci>h_VONa_md
          </ci>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_Na_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="VONa_Current"/>
    <map_variables variable_1="E_Na_cyt" variable_2="E_Na_cyt"/>
    <map_variables variable_1="E_Na_md" variable_2="E_Na_md"/>
  </connection>
  <component name="VONa_Channels">
    <variable initial_value="1.0429E-5" name="m_VONa_cyt" public_interface="out" units="dimensionless"/>
    <variable initial_value="1.5817E-5" name="m_VONa_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.87853" name="h_VONa_cyt" public_interface="out" units="dimensionless"/>
    <variable initial_value="0.84170" name="h_VONa_md" public_interface="out" units="dimensionless"/>
    <variable name="m_bar_cyt" units="dimensionless"/>
    <variable name="m_bar_md" units="dimensionless"/>
    <variable name="h_bar_cyt" units="dimensionless"/>
    <variable name="h_bar_md" units="dimensionless"/>
    <variable name="Tau_m" public_interface="in" units="second"/>
    <variable name="Tau_h" public_interface="in" units="second"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="time" public_interface="in" units="second"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>m_VONa_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>m_bar_cyt
            </ci>
            <ci>m_VONa_cyt
            </ci>
          </apply>
          <ci>Tau_m
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>m_VONa_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>m_bar_md
            </ci>
            <ci>m_VONa_md
            </ci>
          </apply>
          <ci>Tau_m
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>h_VONa_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>h_bar_cyt
            </ci>
            <ci>h_VONa_cyt
            </ci>
          </apply>
          <ci>Tau_h
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>h_VONa_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>h_bar_md
            </ci>
            <ci>h_VONa_md
            </ci>
          </apply>
          <ci>Tau_h
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>m_bar_cyt
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <plus/>
                    <ci>V_m_cyt
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0239
                    </cn>
                  </apply>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0048
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>m_bar_md
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <plus/>
                    <ci>V_m_md
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0239
                    </cn>
                  </apply>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0048
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>h_bar_cyt
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <plus/>
                  <ci>V_m_cyt
                  </ci>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0661
                  </cn>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0065
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>h_bar_md
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <plus/>
                  <ci>V_m_md
                  </ci>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0661
                  </cn>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.0065
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="VONa_Current" component_2="VONa_Channels"/>
    <map_variables variable_1="m_VONa_cyt" variable_2="m_VONa_cyt"/>
    <map_variables variable_1="m_VONa_md" variable_2="m_VONa_md"/>
    <map_variables variable_1="h_VONa_cyt" variable_2="h_VONa_cyt"/>
    <map_variables variable_1="h_VONa_md" variable_2="h_VONa_md"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="VONa_Channels"/>
    <map_variables variable_1="Tau_m" variable_2="Tau_m"/>
    <map_variables variable_1="Tau_h" variable_2="Tau_h"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="VONa_Channels"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="VONa_Current"/>
    <map_variables variable_1="G_VONa_max" variable_2="G_VONa_max"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_cyt" component_2="VONa_Current"/>
    <map_variables variable_1="I_VONa_cyt" variable_2="I_VONa_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="VONa_Current"/>
    <map_variables variable_1="I_VONa_md" variable_2="I_VONa_md"/>
  </connection>
  <component name="Ca_Pump_Current">
    <variable name="I_Ca_cyt_P" public_interface="out" units="ampere"/>
    <variable name="I_Ca_md_P" public_interface="out" units="ampere"/>
    <variable name="I_CaP_max" public_interface="in" units="ampere"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="K_m_CaP" public_interface="in" units="Molar"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_Ca_cyt_P
        </ci>
        <apply>
          <times/>
          <ci>I_CaP_max
          </ci>
          <ci>f_cyt
          </ci>
          <apply>
            <divide/>
            <ci>conc_Ca_cyt
            </ci>
            <apply>
              <plus/>
              <ci>K_m_CaP
              </ci>
              <ci>conc_Ca_cyt
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Ca_md_P
        </ci>
        <apply>
          <times/>
          <ci>I_CaP_max
          </ci>
          <ci>f_md
          </ci>
          <apply>
            <divide/>
            <ci>conc_Ca_md
            </ci>
            <apply>
              <plus/>
              <ci>K_m_CaP
              </ci>
              <ci>conc_Ca_md
              </ci>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="NaK_alpha_Current"/>
    <map_variables variable_1="conc_K_out" variable_2="conc_K_out"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Ca_Pump_Current"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
    
    <map_variables variable_1="K_m_CaP" variable_2="K_m_CaP"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="Ca_Pump_Current"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
    <map_variables variable_1="I_Ca_cyt_P" variable_2="I_Ca_cyt_P"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="Ca_Pump_Current"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
    <map_variables variable_1="I_Ca_md_P" variable_2="I_Ca_md_P"/>
  </connection>
  <component name="CaL_Current">
    <variable name="I_Ca_cyt_L" public_interface="out" units="ampere"/>
    <variable name="I_Ca_md_L" public_interface="out" units="ampere"/>
    <variable name="G_CaL_max" public_interface="in" units="siemens2"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable name="d_L_cyt" public_interface="in" units="dimensionless"/>
    <variable name="d_L_md" public_interface="in" units="dimensionless"/>
    <variable name="f_L_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_L_md" public_interface="in" units="dimensionless"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="E_Ca_cyt" public_interface="in" units="volt"/>
    <variable name="E_Ca_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_Ca_cyt_L
        </ci>
        <apply>
          <times/>
          <ci>G_CaL_max
          </ci>
          <ci>f_cyt
          </ci>
          <ci>d_L_cyt
          </ci>
          <ci>f_L_cyt
          </ci>
          <apply>
            <minus/>
            <ci>V_m_cyt
            </ci>
            <ci>E_Ca_cyt
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_Ca_md_L
        </ci>
        <apply>
          <times/>
          <ci>G_CaL_max
          </ci>
          <ci>f_md
          </ci>
          <ci>d_L_md
          </ci>
          <ci>f_L_md
          </ci>
          <apply>
            <minus/>
            <ci>V_m_md
            </ci>
            <ci>E_Ca_md
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="CaL_Current"/>
    <map_variables variable_1="I_Ca_cyt_L" variable_2="I_Ca_cyt_L"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="CaL_Current"/>
    <map_variables variable_1="I_Ca_md_L" variable_2="I_Ca_md_L"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="CaL_Current"/>
    <map_variables variable_1="G_CaL_max" variable_2="G_CaL_max"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="CaL_Current"/>
    <map_variables variable_1="E_Ca_cyt" variable_2="E_Ca_cyt"/>
    <map_variables variable_1="E_Ca_md" variable_2="E_Ca_md"/>
  </connection>
  <component name="CaL_Activations">
    <variable name="f_L_cyt" public_interface="out" units="dimensionless"/>
    <variable name="f_L_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="3.7841E-5" name="d_L_cyt" public_interface="out" units="dimensionless"/>
    <variable initial_value="4.9277E-5" name="d_L_md" public_interface="out" units="dimensionless"/>
    <variable initial_value="1" name="f_F_cyt" units="dimensionless"/>
    <variable initial_value="1" name="f_F_md" units="dimensionless"/>
    <variable name="d_bar_L_cyt" units="dimensionless"/>
    <variable name="d_bar_L_md" units="dimensionless"/>
    <variable name="f_bar_F_cyt" units="dimensionless"/>
    <variable name="f_bar_F_md" units="dimensionless"/>
    <variable name="Tau_d_cyt" public_interface="in" units="second"/>
    <variable name="Tau_d_md" public_interface="in" units="second"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>f_L_cyt
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.74
            </cn>
            <ci>f_F_cyt
            </ci>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.26
          </cn>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>f_L_md
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.74
            </cn>
            <ci>f_F_md
            </ci>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.26
          </cn>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>d_L_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>d_bar_L_cyt
            </ci>
            <ci>d_L_cyt
            </ci>
          </apply>
          <ci>Tau_d_cyt
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>d_L_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>d_bar_L_md
            </ci>
            <ci>d_L_md
            </ci>
          </apply>
          <ci>Tau_d_md
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>f_F_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>f_bar_F_cyt
            </ci>
            <ci>f_F_cyt
            </ci>
          </apply>
          <ci>Tau_f_cyt
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>f_F_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>f_bar_F_md
            </ci>
            <ci>f_F_md
            </ci>
          </apply>
          <ci>Tau_f_md
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>d_bar_L_cyt
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <plus/>
                    <ci>V_m_cyt
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00188
                    </cn>
                  </apply>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00757
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>d_bar_L_md
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <minus/>
                  <apply>
                    <plus/>
                    <ci>V_m_md
                    </ci>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00188
                    </cn>
                  </apply>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00757
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>f_bar_F_md
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <plus/>
                  <ci>V_m_md
                  </ci>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.02932
                  </cn>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00154
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>f_bar_F_cyt
        </ci>
        <apply>
          <divide/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
          </cn>
          <apply>
            <plus/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1
            </cn>
            <apply>
              <exp/>
              <apply>
                <divide/>
                <apply>
                  <plus/>
                  <ci>V_m_cyt
                  </ci>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.02932
                  </cn>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00154
                </cn>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="Tau_f_cyt" public_interface="in" units="second"/>
    <variable name="Tau_f_md" public_interface="in" units="second"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="time" public_interface="in" units="second"/>
  </component>
  <component name="CaL_Time_Constants">
    <variable name="Tau_d_cyt" public_interface="out" units="second"/>
    <variable name="Tau_d_md" public_interface="out" units="second"/>
    <variable name="Tau_f_cyt" public_interface="out" units="second"/>
    <variable name="Tau_f_md" public_interface="out" units="second"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>Tau_d_cyt
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.00289
            </cn>
            <apply>
              <exp/>
              <apply>
                <minus/>
                <apply>
                  <power/>
                  <apply>
                    <divide/>
                    <apply>
                      <plus/>
                      <ci>V_m_cyt
                      </ci>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00863
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.01239
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                </apply>
              </apply>
            </apply>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.00243
          </cn>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Tau_d_md
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.0289
            </cn>
            <apply>
              <exp/>
              <apply>
                <minus/>
                <apply>
                  <power/>
                  <apply>
                    <divide/>
                    <apply>
                      <plus/>
                      <ci>V_m_md
                      </ci>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00863
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.01239
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                </apply>
              </apply>
            </apply>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.00243
          </cn>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Tau_f_cyt
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.29559
            </cn>
            <apply>
              <exp/>
              <apply>
                <minus/>
                <apply>
                  <power/>
                  <apply>
                    <divide/>
                    <apply>
                      <minus/>
                      <ci>V_m_cyt
                      </ci>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00472
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.11255
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                </apply>
              </apply>
            </apply>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.02319
          </cn>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>Tau_f_md
        </ci>
        <apply>
          <plus/>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.29559
            </cn>
            <apply>
              <exp/>
              <apply>
                <minus/>
                <apply>
                  <power/>
                  <apply>
                    <divide/>
                    <apply>
                      <minus/>
                      <ci>V_m_md
                      </ci>
                      <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.00472
                      </cn>
                    </apply>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0.11255
                    </cn>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                </apply>
              </apply>
            </apply>
          </apply>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0.02319
          </cn>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Environment" component_2="CaL_Activations"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="CaL_Current" component_2="CaL_Activations"/>
    <map_variables variable_1="d_L_cyt" variable_2="d_L_cyt"/>
    <map_variables variable_1="d_L_md" variable_2="d_L_md"/>
    <map_variables variable_1="f_L_cyt" variable_2="f_L_cyt"/>
    <map_variables variable_1="f_L_md" variable_2="f_L_md"/>
  </connection>
  <connection>
    <map_components component_1="CaL_Activations" component_2="CaL_Time_Constants"/>
    <map_variables variable_1="Tau_d_cyt" variable_2="Tau_d_cyt"/>
    <map_variables variable_1="Tau_d_md" variable_2="Tau_d_md"/>
    <map_variables variable_1="Tau_f_cyt" variable_2="Tau_f_cyt"/>
    <map_variables variable_1="Tau_f_md" variable_2="Tau_f_md"/>
  </connection>
  <component name="Calseq_Kinetics">
    <variable initial_value="5.7849E-2" name="conc_CalseqCa_IP3R" public_interface="out" units="Molar"/>
    <variable initial_value="5.3239E-2" name="conc_CalseqCa_RyR" public_interface="out" units="Molar"/>
    <variable name="k_Calseq_on" public_interface="in" units="per_M_sec"/>
    <variable name="k_Calseq_off" public_interface="in" units="per_sec"/>
    <variable name="conc_Ca_IP3R" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_RyR" public_interface="in" units="Molar"/>
    <variable name="conc_Calseq_SR_tot" public_interface="in" units="Molar"/>
    <variable name="time" public_interface="in" units="second"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_CalseqCa_IP3R
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>k_Calseq_on
            </ci>
            <ci>conc_Ca_IP3R
            </ci>
            <apply>
              <minus/>
              <ci>conc_Calseq_SR_tot
              </ci>
              <ci>conc_CalseqCa_IP3R
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>k_Calseq_off
            </ci>
            <ci>conc_CalseqCa_IP3R
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>conc_CalseqCa_RyR
          </ci>
        </apply>
        <apply>
          <minus/>
          <apply>
            <times/>
            <ci>k_Calseq_on
            </ci>
            <ci>conc_Ca_RyR
            </ci>
            <apply>
              <minus/>
              <ci>conc_Calseq_SR_tot
              </ci>
              <ci>conc_CalseqCa_RyR
              </ci>
            </apply>
          </apply>
          <apply>
            <times/>
            <ci>k_Calseq_off
            </ci>
            <ci>conc_CalseqCa_RyR
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <connection>
    <map_components component_1="Environment" component_2="Calseq_Kinetics"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Calseq_Kinetics"/>
    <map_variables variable_1="conc_Calseq_SR_tot" variable_2="conc_Calseq_SR_tot"/>
    <map_variables variable_1="k_Calseq_on" variable_2="k_Calseq_on"/>
    <map_variables variable_1="k_Calseq_off" variable_2="k_Calseq_off"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_SR" component_2="Calseq_Kinetics"/>
    <map_variables variable_1="conc_Ca_IP3R" variable_2="conc_Ca_IP3R"/>
    <map_variables variable_1="conc_Ca_RyR" variable_2="conc_Ca_RyR"/>
    <map_variables variable_1="conc_CalseqCa_IP3R" variable_2="conc_CalseqCa_IP3R"/>
    <map_variables variable_1="conc_CalseqCa_RyR" variable_2="conc_CalseqCa_RyR"/>
  </connection>
  <component name="Md_Cyt_Flux_K">
    <variable name="J_Kdiff" public_interface="out" units="mol_per_sec"/>
    <variable name="Xi_K" units="dimensionless"/>
    <variable name="P_K_diff" units="m_per_sec"/>
    <variable name="conc_K_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_K_md" public_interface="in" units="Molar"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="R" public_interface="in" units="J_per_mol_K"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="hcon" public_interface="in" units="dimensionless"/>
    <variable initial_value="1" name="z_K" units="dimensionless"/>
    <variable name="D_K" public_interface="in" units="sq_m_per_sec"/>
    <variable name="L" public_interface="in" units="meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>J_Kdiff</ci><piecewise><piece><apply><times/><ci>Volsec</ci><apply><minus/><ci>conc_K_md</ci><ci>conc_K_cyt</ci></apply></apply><apply><eq/><apply><minus/><ci>V_m_md</ci><ci>V_m_cyt</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0</cn></apply></piece><otherwise><apply><times/><ci>Volsec</ci><ci>Xi_K</ci><apply><divide/><apply><minus/><ci>conc_K_md</ci><apply><times/><ci>conc_K_cyt</ci><apply><exp/><apply><minus/><ci>Xi_K</ci></apply></apply></apply></apply><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><exp/><apply><minus/><ci>Xi_K</ci></apply></apply></apply></apply></apply></otherwise></piecewise></apply><apply><eq/><ci>Xi_K</ci><apply><times/><apply><divide/><apply><times/><ci>z_K</ci><ci>F</ci></apply><apply><times/><ci>R</ci><ci>T</ci></apply></apply><apply><minus/><ci>V_m_md</ci><ci>V_m_cyt</ci></apply></apply></apply><apply><eq/><ci>P_K_diff</ci><apply><divide/><apply><times/><ci>hcon</ci><ci>D_K</ci></apply><ci>L</ci></apply></apply><apply><eq/><ci>Volsec</ci><apply><times/><ci>DiffArea</ci><ci>P_K_diff</ci></apply></apply></math>
    
    <variable name="Volsec" units="cubic_m_per_sec"/>
  <variable initial_value="7.7598E-13" name="DiffArea" units="sq_meter"/></component>
  <units name="sq_meter">
    <unit exponent="2" units="meter"/>
  </units>
  <units name="A_sec_per_V">
    <unit units="ampere"/>
    <unit units="second"/>
    <unit exponent="-1" units="volt"/>
  </units>
  <units name="sq_m_per_sec">
    <unit exponent="2" units="meter"/>
    <unit exponent="-1" units="second"/>
  </units>
  <connection>
    <map_components component_1="Parameters" component_2="Md_Cyt_Flux_K"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="R" variable_2="R"/>
    <map_variables variable_1="T" variable_2="T"/>
    <map_variables variable_1="L" variable_2="L"/>
    <map_variables variable_1="hcon" variable_2="hcon"/>
    <map_variables variable_1="D_K" variable_2="D_K"/>
    
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_cyt" component_2="Md_Cyt_Flux_K"/>
    <map_variables variable_1="conc_K_cyt" variable_2="conc_K_cyt"/>
    <map_variables variable_1="J_Kdiff" variable_2="J_Kdiff"/>
  </connection>
  <connection>
    <map_components component_1="Potassium_Conc_md" component_2="Md_Cyt_Flux_K"/>
    <map_variables variable_1="conc_K_md" variable_2="conc_K_md"/>
    <map_variables variable_1="J_Kdiff" variable_2="J_Kdiff"/>
  </connection>
  <component name="Md_Cyt_Flux_Na">
    <variable name="J_Nadiff" public_interface="out" units="mol_per_sec"/>
    <variable name="Xi_Na" units="dimensionless"/>
    <variable name="P_Na_diff" units="m_per_sec"/>
    <variable name="conc_Na_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Na_md" public_interface="in" units="Molar"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="R" public_interface="in" units="J_per_mol_K"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="hcon" public_interface="in" units="dimensionless"/>
    <variable initial_value="1" name="z_Na" units="dimensionless"/>
    <variable name="D_Na" public_interface="in" units="sq_m_per_sec"/>
    <variable name="L" public_interface="in" units="meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>J_Nadiff</ci><piecewise><piece><apply><times/><ci>Volsec</ci><apply><minus/><ci>conc_Na_md</ci><ci>conc_Na_cyt</ci></apply></apply><apply><eq/><apply><minus/><ci>V_m_md</ci><ci>V_m_cyt</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0</cn></apply></piece><otherwise><apply><times/><ci>Volsec</ci><ci>Xi_Na</ci><apply><divide/><apply><minus/><ci>conc_Na_md</ci><apply><times/><ci>conc_Na_cyt</ci><apply><exp/><apply><minus/><ci>Xi_Na</ci></apply></apply></apply></apply><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><exp/><apply><minus/><ci>Xi_Na</ci></apply></apply></apply></apply></apply></otherwise></piecewise></apply><apply><eq/><ci>Xi_Na</ci><apply><times/><apply><divide/><apply><times/><ci>z_Na</ci><ci>F</ci></apply><apply><times/><ci>R</ci><ci>T</ci></apply></apply><apply><minus/><ci>V_m_md</ci><ci>V_m_cyt</ci></apply></apply></apply><apply><eq/><ci>P_Na_diff</ci><apply><divide/><apply><times/><ci>hcon</ci><ci>D_Na</ci></apply><ci>L</ci></apply></apply><apply><eq/><ci>Volsec</ci><apply><times/><ci>DiffArea</ci><ci>P_Na_diff</ci></apply></apply></math>
    
    <variable name="Volsec" units="cubic_m_per_sec"/>
  <variable initial_value="7.7598E-13" name="DiffArea" units="sq_meter"/></component>
  <component name="Md_Cyt_Flux_Ca">
    <variable name="J_Cadiff" public_interface="out" units="mol_per_sec"/>
    <variable name="Xi_Ca" units="dimensionless"/>
    <variable name="P_Ca_diff" units="m_per_sec"/>
    <variable name="conc_Ca_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Ca_md" public_interface="in" units="Molar"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="R" public_interface="in" units="J_per_mol_K"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="hcon" public_interface="in" units="dimensionless"/>
    <variable initial_value="2" name="z_Ca" units="dimensionless"/>
    <variable name="D_Ca" public_interface="in" units="sq_m_per_sec"/>
    <variable name="L" public_interface="in" units="meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>J_Cadiff</ci><piecewise><piece><apply><times/><ci>Volsec</ci><apply><minus/><ci>conc_Ca_md</ci><ci>conc_Ca_cyt</ci></apply></apply><apply><eq/><apply><minus/><ci>V_m_md</ci><ci>V_m_cyt</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0</cn></apply></piece><otherwise><apply><times/><ci>Volsec</ci><ci>Xi_Ca</ci><apply><divide/><apply><minus/><ci>conc_Ca_md</ci><apply><times/><ci>conc_Ca_cyt</ci><apply><exp/><apply><minus/><ci>Xi_Ca</ci></apply></apply></apply></apply><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><exp/><apply><minus/><ci>Xi_Ca</ci></apply></apply></apply></apply></apply></otherwise></piecewise></apply><apply><eq/><ci>Xi_Ca</ci><apply><times/><apply><divide/><apply><times/><ci>z_Ca</ci><ci>F</ci></apply><apply><times/><ci>R</ci><ci>T</ci></apply></apply><apply><minus/><ci>V_m_md</ci><ci>V_m_cyt</ci></apply></apply></apply><apply><eq/><ci>P_Ca_diff</ci><apply><divide/><apply><times/><ci>hcon</ci><ci>D_Ca</ci></apply><ci>L</ci></apply></apply><apply><eq/><ci>Volsec</ci><apply><times/><ci>DiffArea</ci><ci>P_Ca_diff</ci></apply></apply></math>
    
    <variable name="Volsec" units="cubic_m_per_sec"/>
  <variable initial_value="7.7598E-13" name="DiffArea" units="sq_meter"/></component>
  <connection>
    <map_components component_1="Parameters" component_2="Md_Cyt_Flux_Na"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="R" variable_2="R"/>
    <map_variables variable_1="T" variable_2="T"/>
    <map_variables variable_1="L" variable_2="L"/>
    <map_variables variable_1="hcon" variable_2="hcon"/>
    <map_variables variable_1="D_Na" variable_2="D_Na"/>
    
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_cyt" component_2="Md_Cyt_Flux_Na"/>
    <map_variables variable_1="conc_Na_cyt" variable_2="conc_Na_cyt"/>
    <map_variables variable_1="J_Nadiff" variable_2="J_Nadiff"/>
  </connection>
  <connection>
    <map_components component_1="Sodium_Conc_md" component_2="Md_Cyt_Flux_Na"/>
    <map_variables variable_1="conc_Na_md" variable_2="conc_Na_md"/>
    <map_variables variable_1="J_Nadiff" variable_2="J_Nadiff"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="Md_Cyt_Flux_Ca"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
    <map_variables variable_1="J_Cadiff" variable_2="J_Cadiff"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Md_Cyt_Flux_Ca"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="R" variable_2="R"/>
    <map_variables variable_1="T" variable_2="T"/>
    <map_variables variable_1="L" variable_2="L"/>
    <map_variables variable_1="hcon" variable_2="hcon"/>
    <map_variables variable_1="D_Ca" variable_2="D_Ca"/>
    
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_md" component_2="Md_Cyt_Flux_Ca"/>
    <map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/>
    <map_variables variable_1="J_Cadiff" variable_2="J_Cadiff"/>
  </connection>
  <component name="Md_Cyt_Flux_Cl">
    <variable name="J_Cldiff" public_interface="out" units="mol_per_sec"/>
    <variable name="Xi_Cl" units="dimensionless"/>
    <variable name="P_Cl_diff" units="m_per_sec"/>
    <variable name="conc_Cl_cyt" public_interface="in" units="Molar"/>
    <variable name="conc_Cl_md" public_interface="in" units="Molar"/>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="R" public_interface="in" units="J_per_mol_K"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <variable name="V_m_cyt" public_interface="in" units="volt"/>
    <variable name="V_m_md" public_interface="in" units="volt"/>
    <variable name="hcon" public_interface="in" units="dimensionless"/>
    <variable initial_value="-1" name="z_Cl" units="dimensionless"/>
    <variable name="D_Cl" public_interface="in" units="sq_m_per_sec"/>
    <variable name="L" public_interface="in" units="meter"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>J_Cldiff</ci><piecewise><piece><apply><times/><ci>Volsec</ci><apply><minus/><ci>conc_Cl_md</ci><ci>conc_Cl_cyt</ci></apply></apply><apply><eq/><apply><minus/><ci>V_m_md</ci><ci>V_m_cyt</ci></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="volt">0</cn></apply></piece><otherwise><apply><times/><ci>Volsec</ci><ci>Xi_Cl</ci><apply><divide/><apply><minus/><ci>conc_Cl_md</ci><apply><times/><ci>conc_Cl_cyt</ci><apply><exp/><apply><minus/><ci>Xi_Cl</ci></apply></apply></apply></apply><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><exp/><apply><minus/><ci>Xi_Cl</ci></apply></apply></apply></apply></apply></otherwise></piecewise></apply><apply><eq/><ci>Xi_Cl</ci><apply><times/><apply><divide/><apply><times/><ci>z_Cl</ci><ci>F</ci></apply><apply><times/><ci>R</ci><ci>T</ci></apply></apply><apply><minus/><ci>V_m_md</ci><ci>V_m_cyt</ci></apply></apply></apply><apply><eq/><ci>P_Cl_diff</ci><apply><divide/><apply><times/><ci>hcon</ci><ci>D_Cl</ci></apply><ci>L</ci></apply></apply><apply><eq/><ci>Volsec</ci><apply><times/><ci>DiffArea</ci><ci>P_Cl_diff</ci></apply></apply></math>
    
    <variable name="Volsec" units="cubic_m_per_sec"/>
  <variable initial_value="7.7598E-13" name="DiffArea" units="sq_meter"/></component>
  <connection>
    <map_components component_1="Parameters" component_2="Md_Cyt_Flux_Cl"/>
    <map_variables variable_1="F" variable_2="F"/>
    <map_variables variable_1="R" variable_2="R"/>
    <map_variables variable_1="T" variable_2="T"/>
    <map_variables variable_1="L" variable_2="L"/>
    <map_variables variable_1="hcon" variable_2="hcon"/>
    <map_variables variable_1="D_Cl" variable_2="D_Cl"/>
    
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_md" component_2="Md_Cyt_Flux_Cl"/>
    <map_variables variable_1="conc_Cl_md" variable_2="conc_Cl_md"/>
    <map_variables variable_1="J_Cldiff" variable_2="J_Cldiff"/>
  </connection>
  <connection>
    <map_components component_1="Chloride_Conc_cyt" component_2="Md_Cyt_Flux_Cl"/>
    <map_variables variable_1="conc_Cl_cyt" variable_2="conc_Cl_cyt"/>
    <map_variables variable_1="J_Cldiff" variable_2="J_Cldiff"/>
  </connection>
  <component name="Membrane_Potential_Cyt">
    <variable name="I_cyt_tot" public_interface="out" units="ampere"/>
    <variable name="I_K_cyt_b" public_interface="in" units="ampere"/>
    <variable name="I_K_cyt_ir" public_interface="in" units="ampere"/>
    <variable name="I_K_cyt_ATP" public_interface="in" units="ampere"/>
    <variable name="I_K_cyt_v" public_interface="in" units="ampere"/>
    <variable name="I_K_cyt_Ca" public_interface="in" units="ampere"/>
    <variable name="J_Kdiff" public_interface="in" units="mol_per_sec"/>
    <variable name="I_NaK_cyt_alpha1" public_interface="in" units="ampere"/>
    <variable name="I_Na_cyt_b" public_interface="in" units="ampere"/>
    <variable name="I_VONa_cyt" public_interface="in" units="ampere"/>
    <variable name="I_Na_cyt_SOC" public_interface="in" units="ampere"/>
    <variable name="J_Nadiff" public_interface="in" units="mol_per_sec"/>
    <variable name="I_Cl_cyt_b" public_interface="in" units="ampere"/>
    <variable name="I_Cl_cyt_Ca" public_interface="in" units="ampere"/>
    <variable name="J_Cldiff" public_interface="in" units="mol_per_sec"/>
    <variable name="I_Ca_cyt_b" public_interface="in" units="ampere"/>
    <variable name="J_Cadiff" public_interface="in" units="mol_per_sec"/>
    <variable name="I_Ca_cyt_P" public_interface="in" units="ampere"/>
    <variable name="I_Ca_cyt_L" public_interface="in" units="ampere"/>
    <variable name="I_Ca_cyt_SOC" public_interface="in" units="ampere"/>
    <variable name="I_cyt_SERCa_IP3R" public_interface="in" units="ampere"/>
    <variable name="I_cyt_SERCa_RyR" public_interface="in" units="ampere"/>
    <variable name="I_cyt_IP3R" public_interface="in" units="ampere"/>
    <variable name="I_cyt_RyR" public_interface="in" units="ampere"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_cyt_tot
        </ci>
        <apply>
          <minus/>
          <apply>
            <minus/>
            <apply>
              <plus/>
              <apply>
                <minus/>
                <apply>
                  <plus/>
                  <apply>
                    <minus/>
                    <apply>
                      <plus/>
                      <apply>
                        <minus/>
                        <apply>
                          <plus/>
                          <ci>I_K_cyt_b
                          </ci>
                          <ci>I_K_cyt_ir
                          </ci>
                          <ci>I_K_cyt_ATP
                          </ci>
                          <ci>I_K_cyt_v
                          </ci>
                          <ci>I_K_cyt_Ca
                          </ci>
                        </apply>
                        <apply>
                          <times/>
                          <ci>F
                          </ci>
                          <ci>J_Kdiff
                          </ci>
                        </apply>
                      </apply>
                      <ci>I_NaK_cyt_alpha1
                      </ci>
                      <ci>I_Na_cyt_b
                      </ci>
                      <ci>I_VONa_cyt
                      </ci>
                      <ci>I_Na_cyt_SOC
                      </ci>
                    </apply>
                    <apply>
                      <times/>
                      <ci>F
                      </ci>
                      <ci>J_Nadiff
                      </ci>
                    </apply>
                  </apply>
                  <ci>I_Cl_cyt_b
                  </ci>
                  <ci>I_Cl_cyt_Ca
                  </ci>
                  <apply>
                    <times/>
                    <ci>F
                    </ci>
                    <ci>J_Cldiff
                    </ci>
                  </apply>
                  <ci>I_Ca_cyt_b
                  </ci>
                  <ci>I_Ca_cyt_P
                  </ci>
                  <ci>I_Ca_cyt_L
                  </ci>
                  <ci>I_Ca_cyt_SOC
                  </ci>
                </apply>
                <apply>
                  <times/>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                  </cn>
                  <ci>F
                  </ci>
                  <ci>J_Cadiff
                  </ci>
                </apply>
              </apply>
              <ci>I_cyt_up
              </ci>
            </apply>
            <ci>I_cyt_RyR
            </ci>
          </apply>
          <ci>I_cyt_IP3R
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_cyt_up
        </ci>
        <apply>
          <plus/>
          <ci>I_cyt_SERCa_IP3R
          </ci>
          <ci>I_cyt_SERCa_RyR
          </ci>
        </apply>
      </apply>
    </math>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="I_cyt_up" units="ampere"/>
  </component>
  <component name="Membrane_Voltage">
    <variable initial_value="-7.8960E-2" name="V_m_cyt" public_interface="out" units="volt"/>
    <variable initial_value="-7.6961E-2" name="V_m_md" public_interface="out" units="volt"/>
    <variable name="I_cyt_tot" public_interface="in" units="ampere"/>
    <variable name="I_md_tot" public_interface="in" units="ampere"/>
    <variable name="f_cyt" public_interface="in" units="dimensionless"/>
    <variable name="f_md" public_interface="in" units="dimensionless"/>
    <variable initial_value="1.2100E-11" name="C_m" units="farad2"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>V_m_cyt
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>I_cyt_tot
            </ci>
          </apply>
          <apply>
            <times/>
            <ci>f_cyt
            </ci>
            <ci>C_m
            </ci>
          </apply>
        </apply>
      </apply>
      <apply>
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>time
            </ci>
          </bvar>
          <ci>V_m_md
          </ci>
        </apply>
        <apply>
          <divide/>
          <apply>
            <minus/>
            <ci>I_md_tot
            </ci>
          </apply>
          <apply>
            <times/>
            <ci>f_md
            </ci>
            <ci>C_m
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="time" public_interface="in" units="second"/>
  </component>
  <component name="Membrane_Potential_md">
    <variable name="I_md_tot" public_interface="out" units="ampere"/>
    <variable name="I_K_md_b" public_interface="in" units="ampere"/>
    <variable name="I_K_md_ir" public_interface="in" units="ampere"/>
    <variable name="I_K_md_ATP" public_interface="in" units="ampere"/>
    <variable name="I_K_md_v" public_interface="in" units="ampere"/>
    <variable name="I_K_md_Ca" public_interface="in" units="ampere"/>
    <variable name="J_Kdiff" public_interface="in" units="mol_per_sec"/>
    <variable name="I_NaK_md_alpha2" public_interface="in" units="ampere"/>
    <variable name="I_Na_md_b" public_interface="in" units="ampere"/>
    <variable name="I_VONa_md" public_interface="in" units="ampere"/>
    <variable name="I_Na_md_SOC" public_interface="in" units="ampere"/>
    <variable name="J_Nadiff" public_interface="in" units="mol_per_sec"/>
    <variable name="I_Cl_md_b" public_interface="in" units="ampere"/>
    <variable name="I_Cl_md_Ca" public_interface="in" units="ampere"/>
    <variable name="J_Cldiff" public_interface="in" units="mol_per_sec"/>
    <variable name="I_Ca_md_b" public_interface="in" units="ampere"/>
    <variable name="J_Cadiff" public_interface="in" units="mol_per_sec"/>
    <variable name="I_Ca_md_P" public_interface="in" units="ampere"/>
    <variable name="I_Ca_md_L" public_interface="in" units="ampere"/>
    <variable name="I_Ca_md_SOC" public_interface="in" units="ampere"/>
    <variable name="I_md_SERCa_IP3R" public_interface="in" units="ampere"/>
    <variable name="I_md_SERCa_RyR" public_interface="in" units="ampere"/>
    <variable name="I_md_IP3R" public_interface="in" units="ampere"/>
    <variable name="I_md_RyR" public_interface="in" units="ampere"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply>
        <eq/>
        <ci>I_md_tot
        </ci>
        <apply>
          <minus/>
          <apply>
            <minus/>
            <apply>
              <plus/>
              <apply>
                <minus/>
                <apply>
                  <plus/>
                  <ci>I_K_md_b
                  </ci>
                  <ci>I_K_md_ir
                  </ci>
                  <ci>I_K_md_ATP
                  </ci>
                  <ci>I_K_md_v
                  </ci>
                  <ci>I_K_md_Ca
                  </ci>
                  <apply>
                    <times/>
                    <ci>F
                    </ci>
                    <ci>J_Kdiff
                    </ci>
                  </apply>
                  <ci>I_NaK_md_alpha2
                  </ci>
                  <ci>I_Na_md_b
                  </ci>
                  <ci>I_VONa_md
                  </ci>
                  <ci>I_Na_md_SOC
                  </ci>
                  <ci>I_NaCa_md
                  </ci>
                  <apply>
                    <times/>
                    <ci>F
                    </ci>
                    <ci>J_Nadiff
                    </ci>
                  </apply>
                  <ci>I_Cl_md_b
                  </ci>
                  <ci>I_Cl_md_Ca
                  </ci>
                </apply>
                <apply>
                  <times/>
                  <ci>F
                  </ci>
                  <ci>J_Cldiff
                  </ci>
                </apply>
              </apply>
              <ci>I_Ca_md_b
              </ci>
              <ci>I_Ca_md_P
              </ci>
              <ci>I_Ca_md_L
              </ci>
              <ci>I_Ca_md_SOC
              </ci>
              <apply>
                <times/>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2
                </cn>
                <ci>F
                </ci>
                <ci>J_Cadiff
                </ci>
              </apply>
              <ci>I_md_up
              </ci>
            </apply>
            <ci>I_md_RyR
            </ci>
          </apply>
          <ci>I_md_IP3R
          </ci>
        </apply>
      </apply>
      <apply>
        <eq/>
        <ci>I_md_up
        </ci>
        <apply>
          <plus/>
          <ci>I_md_SERCa_IP3R
          </ci>
          <ci>I_md_SERCa_RyR
          </ci>
        </apply>
      </apply>
    </math>
    <variable name="F" public_interface="in" units="sec_A_per_mol"/>
    <variable name="I_NaCa_md" public_interface="in" units="ampere"/>
    <variable name="I_md_up" units="ampere"/>
  </component>
  <connection>
    <map_components component_1="Parameters" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="F" variable_2="F"/>
  </connection>
  <connection>
    <map_components component_1="Background_Currents" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_K_cyt_b" variable_2="I_K_cyt_b"/>
    <map_variables variable_1="I_Na_cyt_b" variable_2="I_Na_cyt_b"/>
    <map_variables variable_1="I_Cl_cyt_b" variable_2="I_Cl_cyt_b"/>
    <map_variables variable_1="I_Ca_cyt_b" variable_2="I_Ca_cyt_b"/>
  </connection>
  <connection>
    <map_components component_1="SERCA_Currents_IP3R" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_cyt_SERCa_IP3R" variable_2="I_cyt_SERCa_IP3R"/>
  </connection>
  <connection>
    <map_components component_1="SERCA_Currents_RyR" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_cyt_SERCa_RyR" variable_2="I_cyt_SERCa_RyR"/>
  </connection>
  <connection>
    <map_components component_1="RyR_Currents" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_cyt_RyR" variable_2="I_cyt_RyR"/>
  </connection>
  <connection>
    <map_components component_1="IP3R_Currents" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_cyt_IP3R" variable_2="I_cyt_IP3R"/>
  </connection>
  <connection>
    <map_components component_1="SOC_Current_Ca" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_Ca_cyt_SOC" variable_2="I_Ca_cyt_SOC"/>
  </connection>
  <connection>
    <map_components component_1="SOC_Current_Na" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_Na_cyt_SOC" variable_2="I_Na_cyt_SOC"/>
  </connection>
  <connection>
    <map_components component_1="ClCa_Current" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_Cl_cyt_Ca" variable_2="I_Cl_cyt_Ca"/>
  </connection>
  <connection>
    <map_components component_1="K_Inward_Rectifier_Current" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_K_cyt_ir" variable_2="I_K_cyt_ir"/>
  </connection>
  <connection>
    <map_components component_1="K_Delayed_Rectifier_Current" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_K_cyt_v" variable_2="I_K_cyt_v"/>
  </connection>
  <connection>
    <map_components component_1="K_ATP_Current" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_K_cyt_ATP" variable_2="I_K_cyt_ATP"/>
  </connection>
  <connection>
    <map_components component_1="K_Ca_Current" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_K_cyt_Ca" variable_2="I_K_cyt_Ca"/>
  </connection>
  <connection>
    <map_components component_1="NaK_alpha_Current" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_NaK_cyt_alpha1" variable_2="I_NaK_cyt_alpha1"/>
  </connection>
  <connection>
    <map_components component_1="VONa_Current" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_VONa_cyt" variable_2="I_VONa_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Ca_Pump_Current" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_Ca_cyt_P" variable_2="I_Ca_cyt_P"/>
  </connection>
  <connection>
    <map_components component_1="CaL_Current" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_Ca_cyt_L" variable_2="I_Ca_cyt_L"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_K" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="J_Kdiff" variable_2="J_Kdiff"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_Na" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="J_Nadiff" variable_2="J_Nadiff"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_Ca" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="J_Cadiff" variable_2="J_Cadiff"/>
  </connection>
  <connection>
    <map_components component_1="Membrane_Voltage" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="I_cyt_tot" variable_2="I_cyt_tot"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_Cl" component_2="Membrane_Potential_Cyt"/>
    <map_variables variable_1="J_Cldiff" variable_2="J_Cldiff"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="F" variable_2="F"/>
  </connection>
  <connection>
    <map_components component_1="Background_Currents" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_K_md_b" variable_2="I_K_md_b"/>
    <map_variables variable_1="I_Na_md_b" variable_2="I_Na_md_b"/>
    <map_variables variable_1="I_Cl_md_b" variable_2="I_Cl_md_b"/>
    <map_variables variable_1="I_Ca_md_b" variable_2="I_Ca_md_b"/>
  </connection>
  <connection>
    <map_components component_1="SERCA_Currents_IP3R" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_md_SERCa_IP3R" variable_2="I_md_SERCa_IP3R"/>
  </connection>
  <connection>
    <map_components component_1="SERCA_Currents_RyR" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_md_SERCa_RyR" variable_2="I_md_SERCa_RyR"/>
  </connection>
  <connection>
    <map_components component_1="IP3R_Currents" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_md_IP3R" variable_2="I_md_IP3R"/>
  </connection>
  <connection>
    <map_components component_1="RyR_Currents" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_md_RyR" variable_2="I_md_RyR"/>
  </connection>
  <connection>
    <map_components component_1="SOC_Current_Ca" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_Ca_md_SOC" variable_2="I_Ca_md_SOC"/>
  </connection>
  <connection>
    <map_components component_1="SOC_Current_Na" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_Na_md_SOC" variable_2="I_Na_md_SOC"/>
  </connection>
  <connection>
    <map_components component_1="ClCa_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_Cl_md_Ca" variable_2="I_Cl_md_Ca"/>
  </connection>
  <connection>
    <map_components component_1="K_Inward_Rectifier_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_K_md_ir" variable_2="I_K_md_ir"/>
  </connection>
  <connection>
    <map_components component_1="K_Delayed_Rectifier_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_K_md_v" variable_2="I_K_md_v"/>
  </connection>
  <connection>
    <map_components component_1="K_ATP_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_K_md_ATP" variable_2="I_K_md_ATP"/>
  </connection>
  <connection>
    <map_components component_1="K_Ca_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_K_md_Ca" variable_2="I_K_md_Ca"/>
  </connection>
  <connection>
    <map_components component_1="NaK_alpha_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_NaK_md_alpha2" variable_2="I_NaK_md_alpha2"/>
  </connection>
  <connection>
    <map_components component_1="NCX_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_NaCa_md" variable_2="I_NaCa_md"/>
  </connection>
  <connection>
    <map_components component_1="VONa_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_VONa_md" variable_2="I_VONa_md"/>
  </connection>
  <connection>
    <map_components component_1="Ca_Pump_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_Ca_md_P" variable_2="I_Ca_md_P"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_K" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="J_Kdiff" variable_2="J_Kdiff"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_Na" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="J_Nadiff" variable_2="J_Nadiff"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_Ca" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="J_Cadiff" variable_2="J_Cadiff"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_Cl" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="J_Cldiff" variable_2="J_Cldiff"/>
  </connection>
  <connection>
    <map_components component_1="Membrane_Voltage" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_md_tot" variable_2="I_md_tot"/>
  </connection>
  <connection>
    <map_components component_1="CaL_Current" component_2="Membrane_Potential_md"/>
    <map_variables variable_1="I_Ca_md_L" variable_2="I_Ca_md_L"/>
  </connection>
  <connection>
    <map_components component_1="Environment" component_2="Membrane_Voltage"/>
    <map_variables variable_1="time" variable_2="time"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="Membrane_Voltage"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Background_Currents" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="SOC_Current_Ca" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="SOC_Current_Na" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="ClCa_Current" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="K_Inward_Rectifier_Current" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="K_Delayed_Rectifier_Current" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="Kv_Activations" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="Kv_Time_Constants" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="K_ATP_Current" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="K_Ca_Current" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="KCa_Activations" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="NCX_Waveform" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="NaK_alpha_Waveform" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="VONa_Current" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="VONa_Channels" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="CaL_Current" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="CaL_Activations" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="CaL_Time_Constants" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_K" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_Na" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_Ca" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="Md_Cyt_Flux_Cl" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="Calcium_Conc_cyt" component_2="Nernst_Potentials"/>
    <map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Cl_Channels_cyt" component_2="Cl_Channel_Rates"/>
    <map_variables variable_1="Beta_cyt" variable_2="Beta_cyt"/>
  </connection>
  <connection>
    <map_components component_1="Cl_Channels_md" component_2="Cl_Channel_Rates"/>
    <map_variables variable_1="Beta_md" variable_2="Beta_md"/>
  </connection>
  <connection>
    <map_components component_1="Membrane_Voltage" component_2="Cl_Channel_Rates"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="ClCa_Current"/>
    <map_variables variable_1="E_Cl_cyt" variable_2="E_Cl_cyt"/>
    <map_variables variable_1="E_Cl_md" variable_2="E_Cl_md"/>
  </connection>
  <connection>
    <map_components component_1="Parameters" component_2="K_Delayed_Rectifier_Current"/>
    <map_variables variable_1="G_Kv_max" variable_2="G_Kv_max"/>
    <map_variables variable_1="f_cyt" variable_2="f_cyt"/>
    <map_variables variable_1="f_md" variable_2="f_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="K_Delayed_Rectifier_Current"/>
    <map_variables variable_1="E_K_cyt" variable_2="E_K_cyt"/>
    <map_variables variable_1="E_K_md" variable_2="E_K_md"/>
  </connection>
  <connection>
    <map_components component_1="Nernst_Potentials" component_2="K_Ca_Current"/>
    <map_variables variable_1="E_K_cyt" variable_2="E_K_cyt"/>
    <map_variables variable_1="E_K_md" variable_2="E_K_md"/>
  </connection>
  <connection>
    <map_components component_1="K_ir_Rates" component_2="Membrane_Voltage"/>
    <map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/>
    <map_variables variable_1="V_m_md" variable_2="V_m_md"/>
  </connection>
  <units name="Molar">
    <unit units="mole"/>
    <unit exponent="-1" units="cubic_Meter"/>
  </units>
  <units name="farad2">
    <unit units="ampere"/>
    <unit units="second"/>
    <unit exponent="-1" units="volt"/>
  </units>
  <units name="M_fourpow">
    <unit exponent="4" units="Molar"/>
  </units>
  <units name="Joule2">
    <unit units="volt"/>
    <unit units="ampere"/>
    <unit units="second"/>
  </units>
  <units name="siemens2">
    <unit units="ampere"/>
    <unit exponent="-1" units="volt"/>
  </units>
  <units name="cubic_m_per_sec">
    <unit units="cubic_Meter"/>
    <unit exponent="-1" units="second"/>
  </units>
  
<component name="Parameters_VR"><variable initial_value="1.9E7" name="k_NO_O2" public_interface="out" units="per_M_sec"/><variable initial_value="0.01" name="k_NO_cons" public_interface="out" units="per_sec"/><variable initial_value="1.6E6" name="k_SOD_O2" public_interface="out" units="per_M_sec"/><variable initial_value="3.4E4" name="k_cat" public_interface="out" units="per_M_sec"/><variable initial_value="1E-3" name="conc_SOD" public_interface="out" units="Molar"/><variable initial_value="20E-3" name="conc_CAT" public_interface="out" units="Molar"/><variable initial_value="2.8E-8" name="J_NO" public_interface="out" units="mol_per_sq_m_sec"/><variable initial_value="4.5E-3" name="G_O2" public_interface="out" units="M_per_sec"/><variable initial_value="6E-8" name="J_H2O2" public_interface="out" units="mol_per_sq_m_sec"/><variable initial_value="3E-4" name="P_NO" public_interface="out" units="m_per_sec"/><variable initial_value="6E-4" name="P_O2" public_interface="out" units="m_per_sec"/><variable initial_value="6E-4" name="P_H2O2" public_interface="out" units="m_per_sec"/><variable initial_value="2E6" name="k_sGC_for" public_interface="out" units="per_M_sec"/><variable initial_value="100" name="k_sGC_back" public_interface="out" units="per_sec"/><variable initial_value="0.1" name="k2_sGC_for" public_interface="out" units="per_sec"/><variable initial_value="3E3" name="k3_sCG_for" public_interface="out" units="per_M_sec"/><variable initial_value="98" name="K4_sGC_for" public_interface="out" units="per_M_sec"/><variable initial_value="1.09E-3" name="V_sGC_max" public_interface="out" units="M_per_sec"/><variable initial_value="0.032" name="k_PDE" public_interface="out" units="per_sec"/><variable initial_value="2.0E-3" name="K_M_PDE" public_interface="out" units="Molar"/><variable initial_value="5.5E-3" name="K_MLCP" public_interface="out" units="Molar"/><variable initial_value="5.0E-4" name="K_SERCA" public_interface="out" units="Molar"/><variable initial_value="1.0E-3" name="K_PMCA" public_interface="out" units="Molar"/><variable initial_value="5.5E-4" name="K_KCa_cGMP" public_interface="out" units="Molar"/><variable initial_value="66.9" name="V_KCa_cGMP" public_interface="out" units="volt"/><variable initial_value="2E-1" name="K_KCa_NO" public_interface="out" units="Molar"/><variable initial_value="100" name="V_KCa_NO" public_interface="out" units="volt"/><variable initial_value="-53.7" name="V_Ca" public_interface="out" units="volt"/><variable initial_value="283.7" name="V_B" public_interface="out" units="volt"/><variable initial_value="30.8E-3" name="k_KCa" public_interface="out" units="volt"/><variable initial_value="2.0E-2" name="K_SERCA_O2" public_interface="out" units="Molar"/><variable initial_value="6.6E-2" name="K_SERCA_H2O2" public_interface="out" units="Molar"/><variable initial_value="1.6E-3" name="K_NaK_O2" public_interface="out" units="Molar"/><variable initial_value="0.56" name="K_NaK_H202" public_interface="out" units="Molar"/><variable initial_value="1E-3" name="K_MLCP_H2O2" public_interface="out" units="Molar"/><variable initial_value="4.0" name="alpha_MLCP" public_interface="out" units="dimensionless"/><variable initial_value="2.8E6" name="k1_CAM_on" public_interface="out" units="per_sq_M_sec"/><variable initial_value="6" name="k1_CAM_off" public_interface="out" units="per_sec"/><variable initial_value="100E6" name="k2_CAM_on" public_interface="out" units="per_sq_M_sec"/><variable initial_value="800" name="k2_CAM_off" public_interface="out" units="per_sec"/><variable initial_value="2.8E6" name="k3_CAM_on" public_interface="out" units="per_sq_M_sec"/><variable initial_value="6.0" name="k3_CAM_off" public_interface="out" units="per_sec"/><variable initial_value="100E6" name="k4_CAM_on" public_interface="out" units="per_sq_M_sec"/><variable initial_value="800" name="k4_CAM_off" public_interface="out" units="per_sec"/><variable initial_value="1000E3" name="k5_CAM_on" public_interface="out" units="per_M_sec"/><variable initial_value="20" name="k5_CAM_off" public_interface="out" units="per_sec"/><variable initial_value="12.5E6" name="k6_CAM_on" public_interface="out" units="per_sq_M_sec"/><variable initial_value="5.0" name="k6_CAM_off" public_interface="out" units="per_sec"/><variable initial_value="1000E3" name="k7_CAM_on" public_interface="out" units="per_M_sec"/><variable initial_value="1" name="k7_CAM_off" public_interface="out" units="per_sec"/><variable initial_value="4E3" name="k_Myo_MLCK" public_interface="out" units="per_M_sec"/><variable initial_value="0.4" name="k_Myo_MLCP" public_interface="out" units="per_sec"/><variable initial_value="1.8" name="k3_Myo" public_interface="out" units="per_sec"/><variable initial_value="0.1" name="k4_Myo" public_interface="out" units="per_sec"/><variable initial_value="0.045" name="k7_Myo" public_interface="out" units="per_sec"/><variable initial_value="1.00E-2" name="conc_CaM_tot" public_interface="out" units="Molar"/><variable initial_value="2.0E-3" name="conc_MLCK_tot" public_interface="out" units="Molar"/><variable initial_value="30E-3" name="conc_Myo_tot" public_interface="out" units="Molar"/><variable initial_value="3.0995E-4" name="K_mf_rest" public_interface="out" units="Molar"/><variable initial_value="2.853E-12" name="I_PMCA_rest_max" public_interface="out" units="ampere"/><variable initial_value="100E-12" name="I_SERCA_rest_max" public_interface="out" units="ampere"/><variable initial_value="2.7225E-11" name="I_NaK_alpha1_rest_max" public_interface="out" units="ampere"/><variable initial_value="2.7225E-11" name="I_NaK_alpha2_rest_max" public_interface="out" units="ampere"/></component><units name="mol_per_sq_m_sec"><unit units="mole"/><unit exponent="-2" units="meter"/><unit exponent="-1" units="second"/></units><units name="M_per_sec"><unit units="Molar"/><unit exponent="-1" units="second"/></units><units name="per_sq_M_sec"><unit exponent="-2" units="Molar"/><unit exponent="-1" units="second"/></units><component name="MLCK_Activation_CaM"><variable initial_value="7.9487E-3" name="conc_CaM___" public_interface="out" units="Molar"/><variable initial_value="1.1023E-5" name="conc_CaMN__" public_interface="out" units="Molar"/><variable initial_value="4.1154E-5" name="conc_CaM_C_" public_interface="out" units="Molar"/><variable initial_value="1.9451E-3" name="conc_CaM_CM" public_interface="out" units="Molar"/><variable initial_value="5.3950E-5" name="conc_CaMNCM" public_interface="out" units="Molar"/><variable name="conc_CaMNC_" public_interface="out" units="Molar"/><variable name="conc_CaM_tot" public_interface="in" units="Molar"/><variable name="conc_MLCK_free" units="Molar"/><variable name="conc_MLCK_tot" public_interface="in" units="Molar"/><variable name="k1_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k2_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k3_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k4_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k5_CAM_on" public_interface="in" units="per_M_sec"/><variable name="k6_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k7_CAM_on" public_interface="in" units="per_M_sec"/><variable name="k1_CAM_off" public_interface="in" units="per_sec"/><variable name="k2_CAM_off" public_interface="in" units="per_sec"/><variable name="k3_CAM_off" public_interface="in" units="per_sec"/><variable name="k4_CAM_off" public_interface="in" units="per_sec"/><variable name="k5_CAM_off" public_interface="in" units="per_sec"/><variable name="k6_CAM_off" public_interface="in" units="per_sec"/><variable name="k7_CAM_off" public_interface="in" units="per_sec"/><variable name="conc_Ca_cyt" public_interface="in" units="Molar"/><variable name="time" public_interface="in" units="second"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM___</ci></apply><apply><plus/><apply><minus/><apply><plus/><apply><times/><apply><minus/><ci>k1_CAM_on</ci></apply><apply><power/><ci>conc_Ca_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM___</ci></apply><apply><times/><ci>k1_CAM_off</ci><ci>conc_CaM_C_</ci></apply></apply><apply><times/><ci>k2_CAM_on</ci><apply><power/><ci>conc_Ca_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM___</ci></apply></apply><apply><times/><ci>k2_CAM_off</ci><ci>conc_CaMN__</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaMN__</ci></apply><apply><plus/><apply><minus/><apply><minus/><apply><times/><ci>k2_CAM_on</ci><apply><power/><ci>conc_Ca_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM___</ci></apply><apply><times/><ci>k2_CAM_off</ci><ci>conc_CaMN__</ci></apply></apply><apply><times/><ci>k3_CAM_on</ci><apply><power/><ci>conc_Ca_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaMN__</ci></apply></apply><apply><times/><ci>k3_CAM_off</ci><ci>conc_CaMNC_</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM_C_</ci></apply><apply><plus/><apply><minus/><apply><plus/><apply><minus/><apply><minus/><apply><times/><ci>k1_CAM_on</ci><apply><power/><ci>conc_Ca_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM___</ci></apply><apply><times/><ci>k1_CAM_off</ci><ci>conc_CaM_C_</ci></apply></apply><apply><times/><ci>k4_CAM_on</ci><apply><power/><ci>conc_Ca_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM_C_</ci></apply></apply><apply><times/><ci>k4_CAM_off</ci><ci>conc_CaMNC_</ci></apply></apply><apply><times/><ci>k5_CAM_on</ci><ci>conc_MLCK_free</ci><ci>conc_CaM_C_</ci></apply></apply><apply><times/><ci>k5_CAM_off</ci><ci>conc_CaM_CM</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM_CM</ci></apply><apply><plus/><apply><minus/><apply><minus/><apply><times/><ci>k5_CAM_on</ci><ci>conc_MLCK_free</ci><ci>conc_CaM_C_</ci></apply><apply><times/><ci>k5_CAM_off</ci><ci>conc_CaM_CM</ci></apply></apply><apply><times/><ci>k6_CAM_on</ci><apply><power/><ci>conc_Ca_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM_CM</ci></apply></apply><apply><times/><ci>k6_CAM_off</ci><ci>conc_CaMNCM</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaMNCM</ci></apply><apply><minus/><apply><plus/><apply><minus/><apply><times/><ci>k6_CAM_on</ci><apply><power/><ci>conc_Ca_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM_CM</ci></apply><apply><times/><ci>k6_CAM_off</ci><ci>conc_CaMNCM</ci></apply></apply><apply><times/><ci>k7_CAM_on</ci><ci>conc_MLCK_free</ci><ci>conc_CaMNC_</ci></apply></apply><apply><times/><ci>k7_CAM_off</ci><ci>conc_CaMNCM</ci></apply></apply></apply><apply><eq/><ci>conc_CaMNC_</ci><apply><minus/><ci>conc_CaM_tot</ci><apply><plus/><ci>conc_CaM___</ci><ci>conc_CaMN__</ci><ci>conc_CaM_C_</ci><ci>conc_CaM_CM</ci><ci>conc_CaMNCM</ci></apply></apply></apply><apply><eq/><ci>conc_MLCK_free</ci><apply><minus/><ci>conc_MLCK_tot</ci><apply><plus/><ci>conc_CaM_CM</ci><ci>conc_CaMNCM</ci></apply></apply></apply></math></component><connection><map_components component_1="Parameters_VR" component_2="MLCK_Activation_CaM"/><map_variables variable_1="k1_CAM_on" variable_2="k1_CAM_on"/><map_variables variable_1="k1_CAM_off" variable_2="k1_CAM_off"/><map_variables variable_1="k2_CAM_on" variable_2="k2_CAM_on"/><map_variables variable_1="k2_CAM_off" variable_2="k2_CAM_off"/><map_variables variable_1="k3_CAM_on" variable_2="k3_CAM_on"/><map_variables variable_1="k3_CAM_off" variable_2="k3_CAM_off"/><map_variables variable_1="k4_CAM_on" variable_2="k4_CAM_on"/><map_variables variable_1="k4_CAM_off" variable_2="k4_CAM_off"/><map_variables variable_1="k5_CAM_on" variable_2="k5_CAM_on"/><map_variables variable_1="k5_CAM_off" variable_2="k5_CAM_off"/><map_variables variable_1="k6_CAM_on" variable_2="k6_CAM_on"/><map_variables variable_1="k6_CAM_off" variable_2="k6_CAM_off"/><map_variables variable_1="k7_CAM_on" variable_2="k7_CAM_on"/><map_variables variable_1="k7_CAM_off" variable_2="k7_CAM_off"/><map_variables variable_1="conc_MLCK_tot" variable_2="conc_MLCK_tot"/><map_variables variable_1="conc_CaM_tot" variable_2="conc_CaM_tot"/></connection><connection><map_components component_1="Environment" component_2="MLCK_Activation_CaM"/><map_variables variable_1="time" variable_2="time"/></connection><connection><map_components component_1="Calcium_Conc_cyt" component_2="MLCK_Activation_CaM"/><map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/><map_variables variable_1="conc_CaMN__" variable_2="conc_CaMN__"/><map_variables variable_1="conc_CaM_C_" variable_2="conc_CaM_C_"/><map_variables variable_1="conc_CaM_CM" variable_2="conc_CaM_CM"/><map_variables variable_1="conc_CaMNCM" variable_2="conc_CaMNCM"/><map_variables variable_1="conc_CaM___" variable_2="conc_CaM___"/></connection><component name="MLCK_Phospho_Myosin"><variable initial_value="8.0265E-3" name="conc_Myo" units="Molar"/><variable initial_value="6.3288E-4" name="conc_MyoP" public_interface="out" units="Molar"/><variable initial_value="1.8089E-2" name="conc_AMyo" public_interface="out" units="Molar"/><variable name="conc_AMyoP" public_interface="out" units="Molar"/><variable name="conc_Myo_tot" public_interface="in" units="Molar"/><variable name="k1_6_Myo" public_interface="in" units="per_sec"/><variable name="k2_Myo" public_interface="in" units="per_sec"/><variable name="k3_Myo" public_interface="in" units="per_sec"/><variable name="k4_Myo" public_interface="in" units="per_sec"/><variable name="k5_Myo" public_interface="in" units="per_sec"/><variable name="k7_Myo" public_interface="in" units="per_sec"/><variable name="time" public_interface="in" units="second"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_Myo</ci></apply><apply><plus/><apply><times/><apply><minus/><ci>k1_6_Myo</ci></apply><ci>conc_Myo</ci></apply><apply><times/><ci>k2_Myo</ci><ci>conc_MyoP</ci></apply><apply><times/><ci>k7_Myo</ci><ci>conc_AMyo</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_MyoP</ci></apply><apply><plus/><apply><minus/><apply><minus/><apply><times/><ci>k1_6_Myo</ci><ci>conc_Myo</ci></apply><apply><times/><ci>k2_Myo</ci><ci>conc_MyoP</ci></apply></apply><apply><times/><ci>k3_Myo</ci><ci>conc_MyoP</ci></apply></apply><apply><times/><ci>k4_Myo</ci><ci>conc_AMyoP</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_AMyo</ci></apply><apply><minus/><apply><plus/><apply><times/><apply><minus/><ci>k7_Myo</ci></apply><ci>conc_AMyo</ci></apply><apply><times/><ci>k5_Myo</ci><ci>conc_AMyoP</ci></apply></apply><apply><times/><ci>k1_6_Myo</ci><ci>conc_AMyo</ci></apply></apply></apply><apply><eq/><ci>conc_AMyoP</ci><apply><minus/><ci>conc_Myo_tot</ci><apply><plus/><ci>conc_Myo</ci><ci>conc_MyoP</ci><ci>conc_AMyo</ci></apply></apply></apply></math></component><component name="MLCP_Rate_Constants"><variable name="k1_6_Myo" public_interface="out" units="per_sec"/><variable name="k2_Myo" public_interface="out" units="per_sec"/><variable name="k5_Myo" public_interface="out" units="per_sec"/><variable name="k_Myo_MLCP" public_interface="in" units="per_sec"/><variable initial_value="5.5E-3" name="K_M_cGMP" units="Molar"/><variable name="conc_cGMP" public_interface="in" units="Molar"/><variable name="k_Myo_MLCK" public_interface="in" units="per_M_sec"/><variable name="conc_CaMNCM" public_interface="in" units="Molar"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>k1_6_Myo</ci><apply><times/><ci>k_Myo_MLCK</ci><ci>conc_CaMNCM</ci></apply></apply><apply><eq/><ci>k2_Myo</ci><apply><divide/><apply><times/><ci>k_Myo_MLCP</ci><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3.65</cn><apply><divide/><apply><power/><ci>conc_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><apply><plus/><apply><power/><ci>K_M_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><apply><power/><ci>conc_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply></apply></apply></apply></apply></apply><ci>R_MLCP</ci></apply></apply><apply><eq/><ci>k5_Myo</ci><ci>k2_Myo</ci></apply><apply><eq/><ci>R_MLCP</ci><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><times/><ci>alpha_MLCP</ci><apply><divide/><apply><power/><ci>conc_H2O2_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><apply><plus/><apply><power/><ci>K_MLCP_H2O2</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><apply><power/><ci>conc_H2O2_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply></apply></apply></apply></apply></apply></math><variable name="R_MLCP" units="dimensionless"/><variable name="conc_H2O2_cyt" public_interface="in" units="Molar"/><variable name="alpha_MLCP" public_interface="in" units="dimensionless"/><variable name="K_MLCP_H2O2" public_interface="in" units="Molar"/></component><connection><map_components component_1="Environment" component_2="MLCK_Phospho_Myosin"/><map_variables variable_1="time" variable_2="time"/></connection><connection><map_components component_1="Parameters_VR" component_2="MLCK_Phospho_Myosin"/><map_variables variable_1="k3_Myo" variable_2="k3_Myo"/><map_variables variable_1="k4_Myo" variable_2="k4_Myo"/><map_variables variable_1="k7_Myo" variable_2="k7_Myo"/><map_variables variable_1="conc_Myo_tot" variable_2="conc_Myo_tot"/></connection><connection><map_components component_1="MLCK_Phospho_Myosin" component_2="MLCP_Rate_Constants"/><map_variables variable_1="k1_6_Myo" variable_2="k1_6_Myo"/><map_variables variable_1="k2_Myo" variable_2="k2_Myo"/><map_variables variable_1="k5_Myo" variable_2="k5_Myo"/></connection><connection><map_components component_1="Parameters_VR" component_2="MLCP_Rate_Constants"/><map_variables variable_1="k_Myo_MLCK" variable_2="k_Myo_MLCK"/><map_variables variable_1="k_Myo_MLCP" variable_2="k_Myo_MLCP"/><map_variables variable_1="K_MLCP_H2O2" variable_2="K_MLCP_H2O2"/><map_variables variable_1="alpha_MLCP" variable_2="alpha_MLCP"/></connection><component name="NO_Kinetics"><variable initial_value="9.2798E-5" name="conc_NO_cyt" public_interface="out" units="Molar"/><variable name="conc_O2_cyt" public_interface="in" units="Molar"/><variable name="k_NO_O2" public_interface="in" units="per_M_sec"/><variable name="k_NO_cons" public_interface="in" units="per_sec"/><variable name="J_NO" public_interface="in" units="mol_per_sq_m_sec"/><variable name="P_NO" public_interface="in" units="m_per_sec"/><variable name="vol_cyt" public_interface="in" units="cubic_Meter"/><variable name="Area" public_interface="in" units="sq_meter"/><variable name="time" public_interface="in" units="second"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_NO_cyt</ci></apply><apply><minus/><apply><minus/><apply><times/><apply><divide/><ci>Area</ci><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>vol_cyt</ci></apply></apply><apply><minus/><ci>J_NO</ci><apply><times/><ci>P_NO</ci><ci>conc_NO_cyt</ci></apply></apply></apply><apply><times/><ci>k_NO_O2</ci><ci>conc_NO_cyt</ci><ci>conc_O2_cyt</ci></apply></apply><apply><times/><ci>k_NO_cons</ci><ci>conc_NO_cyt</ci></apply></apply></apply></math></component><connection><map_components component_1="Environment" component_2="NO_Kinetics"/><map_variables variable_1="time" variable_2="time"/></connection><connection><map_components component_1="Parameters" component_2="NO_Kinetics"/><map_variables variable_1="vol_cyt" variable_2="vol_cyt"/><map_variables variable_1="Area" variable_2="Area"/></connection><connection><map_components component_1="Parameters_VR" component_2="NO_Kinetics"/><map_variables variable_1="k_NO_O2" variable_2="k_NO_O2"/><map_variables variable_1="k_NO_cons" variable_2="k_NO_cons"/><map_variables variable_1="J_NO" variable_2="J_NO"/><map_variables variable_1="P_NO" variable_2="P_NO"/></connection><component name="O2_Kinetics"><variable name="conc_NO_cyt" public_interface="in" units="Molar"/><variable initial_value="8.3402E-7" name="conc_O2_cyt" public_interface="out" units="Molar"/><variable name="k_NO_O2" public_interface="in" units="per_M_sec"/><variable name="k_SOD_O2" public_interface="in" units="per_M_sec"/><variable name="J_NO" public_interface="in" units="mol_per_sq_m_sec"/><variable name="P_O2" public_interface="in" units="m_per_sec"/><variable name="vol_cyt" public_interface="in" units="cubic_Meter"/><variable name="Area" public_interface="in" units="sq_meter"/><variable name="time" public_interface="in" units="second"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_O2_cyt</ci></apply><apply><minus/><apply><minus/><apply><minus/><ci>G_O2</ci><apply><times/><apply><divide/><ci>Area</ci><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>vol_cyt</ci></apply></apply><ci>P_O2</ci><ci>conc_O2_cyt</ci><apply><divide/><ci>zeta</ci><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><exp/><apply><minus/><ci>zeta</ci></apply></apply></apply></apply></apply></apply><apply><times/><ci>k_NO_O2</ci><ci>conc_NO_cyt</ci><ci>conc_O2_cyt</ci></apply></apply><apply><times/><ci>k_SOD_O2</ci><ci>conc_SOD</ci><ci>conc_O2_cyt</ci></apply></apply></apply></math><variable name="conc_SOD" public_interface="in" units="Molar"/><variable name="G_O2" public_interface="in" units="M_per_sec"/><variable name="zeta" public_interface="in" units="dimensionless"/></component><connection><map_components component_1="Environment" component_2="O2_Kinetics"/><map_variables variable_1="time" variable_2="time"/></connection><connection><map_components component_1="Parameters" component_2="O2_Kinetics"/><map_variables variable_1="vol_cyt" variable_2="vol_cyt"/><map_variables variable_1="Area" variable_2="Area"/></connection><connection><map_components component_1="Parameters_VR" component_2="O2_Kinetics"/><map_variables variable_1="k_NO_O2" variable_2="k_NO_O2"/><map_variables variable_1="k_SOD_O2" variable_2="k_SOD_O2"/><map_variables variable_1="J_NO" variable_2="J_NO"/><map_variables variable_1="G_O2" variable_2="G_O2"/><map_variables variable_1="P_O2" variable_2="P_O2"/><map_variables variable_1="conc_SOD" variable_2="conc_SOD"/></connection><connection><map_components component_1="NO_Kinetics" component_2="O2_Kinetics"/><map_variables variable_1="conc_NO_cyt" variable_2="conc_NO_cyt"/><map_variables variable_1="conc_O2_cyt" variable_2="conc_O2_cyt"/></connection><component name="Zeta"><variable name="zeta" public_interface="out" units="dimensionless"/><variable name="F" public_interface="in" units="sec_A_per_mol"/><variable name="R" public_interface="in" units="J_per_mol_K"/><variable name="T" public_interface="in" units="kelvin"/><variable name="V_m_cyt" public_interface="in" units="volt"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>zeta</ci><apply><divide/><apply><times/><apply><minus/><ci>F</ci></apply><ci>V_m_cyt</ci></apply><apply><times/><ci>R</ci><ci>T</ci></apply></apply></apply></math></component><connection><map_components component_1="Parameters" component_2="Zeta"/><map_variables variable_1="F" variable_2="F"/><map_variables variable_1="R" variable_2="R"/><map_variables variable_1="T" variable_2="T"/></connection><connection><map_components component_1="Membrane_Voltage" component_2="Zeta"/><map_variables variable_1="V_m_cyt" variable_2="V_m_cyt"/></connection><connection><map_components component_1="O2_Kinetics" component_2="Zeta"/><map_variables variable_1="zeta" variable_2="zeta"/></connection><component name="H2O2_Kinetics"><variable initial_value="5.0006E-5" name="conc_H2O2_cyt" public_interface="out" units="Molar"/><variable name="conc_O2_cyt" public_interface="in" units="Molar"/><variable name="k_cat" public_interface="in" units="per_M_sec"/><variable name="k_SOD_O2" public_interface="in" units="per_M_sec"/><variable name="J_H2O2" public_interface="in" units="mol_per_sq_m_sec"/><variable name="P_H2O2" public_interface="in" units="m_per_sec"/><variable name="vol_cyt" public_interface="in" units="cubic_Meter"/><variable name="Area" public_interface="in" units="sq_meter"/><variable name="time" public_interface="in" units="second"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_H2O2_cyt</ci></apply><apply><minus/><apply><plus/><apply><times/><apply><divide/><ci>Area</ci><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><ci>vol_cyt</ci></apply></apply><apply><minus/><ci>J_H2O2</ci><apply><times/><ci>P_H2O2</ci><ci>conc_H2O2_cyt</ci></apply></apply></apply><apply><times/><ci>k_SOD_O2</ci><ci>conc_SOD</ci><ci>conc_O2_cyt</ci></apply></apply><apply><times/><ci>k_cat</ci><ci>conc_H2O2_cyt</ci><ci>conc_CAT</ci></apply></apply></apply></math><variable name="conc_SOD" public_interface="in" units="Molar"/><variable name="conc_CAT" public_interface="in" units="Molar"/></component><connection><map_components component_1="Environment" component_2="H2O2_Kinetics"/><map_variables variable_1="time" variable_2="time"/></connection><connection><map_components component_1="Parameters" component_2="H2O2_Kinetics"/><map_variables variable_1="vol_cyt" variable_2="vol_cyt"/><map_variables variable_1="Area" variable_2="Area"/></connection><connection><map_components component_1="Parameters_VR" component_2="H2O2_Kinetics"/><map_variables variable_1="k_SOD_O2" variable_2="k_SOD_O2"/><map_variables variable_1="k_cat" variable_2="k_cat"/><map_variables variable_1="conc_SOD" variable_2="conc_SOD"/><map_variables variable_1="conc_CAT" variable_2="conc_CAT"/><map_variables variable_1="J_H2O2" variable_2="J_H2O2"/><map_variables variable_1="P_H2O2" variable_2="P_H2O2"/></connection><connection><map_components component_1="O2_Kinetics" component_2="H2O2_Kinetics"/><map_variables variable_1="conc_O2_cyt" variable_2="conc_O2_cyt"/></connection><component name="sGC_Activation"><variable initial_value="0.27479" name="conc_Eb" units="dimensionless"/><variable name="conc_E6c" units="dimensionless"/><variable initial_value="0.21715" name="conc_E5c" public_interface="out" units="dimensionless"/><variable name="conc_NO_cyt" public_interface="in" units="Molar"/><variable name="k_sGC_for" public_interface="in" units="per_M_sec"/><variable name="k_sGC_back" public_interface="in" units="per_sec"/><variable name="k2_sGC_for" public_interface="in" units="per_sec"/><variable name="k3_sGC_for" public_interface="in" units="per_M_sec"/><variable name="k4_sGC_for" units="per_sec"/><variable name="time" public_interface="in" units="second"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_Eb</ci></apply><apply><plus/><apply><times/><apply><minus/><ci>k_sGC_for</ci></apply><ci>conc_Eb</ci><ci>conc_NO_cyt</ci></apply><apply><times/><ci>k_sGC_back</ci><ci>conc_E6c</ci></apply><apply><times/><ci>k4_sGC_for</ci><ci>conc_E5c</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_E5c</ci></apply><apply><minus/><apply><plus/><apply><times/><ci>k3_sGC_for</ci><ci>conc_E6c</ci><ci>conc_NO_cyt</ci></apply><apply><times/><ci>k2_sGC_for</ci><ci>conc_E6c</ci></apply></apply><apply><times/><ci>k4_sGC_for</ci><ci>conc_E5c</ci></apply></apply></apply><apply><eq/><ci>conc_E6c</ci><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><plus/><ci>conc_Eb</ci><ci>conc_E5c</ci></apply></apply></apply><apply><eq/><ci>k4_sGC_for</ci><apply><times/><ci>K4_sGC</ci><ci>conc_cGMP</ci></apply></apply></math><variable name="K4_sGC" public_interface="in" units="per_M_sec"/><variable name="conc_cGMP" public_interface="in" units="Molar"/></component><connection><map_components component_1="Environment" component_2="sGC_Activation"/><map_variables variable_1="time" variable_2="time"/></connection><connection><map_components component_1="Parameters_VR" component_2="sGC_Activation"/><map_variables variable_1="k_sGC_for" variable_2="k_sGC_for"/><map_variables variable_1="k_sGC_back" variable_2="k_sGC_back"/><map_variables variable_1="k2_sGC_for" variable_2="k2_sGC_for"/><map_variables variable_1="K4_sGC_for" variable_2="K4_sGC"/><map_variables variable_1="k3_sCG_for" variable_2="k3_sGC_for"/></connection><connection><map_components component_1="NO_Kinetics" component_2="sGC_Activation"/><map_variables variable_1="conc_NO_cyt" variable_2="conc_NO_cyt"/></connection><component name="cGMP_Kinetics"><variable initial_value="9.0341E-3" name="conc_cGMP" public_interface="out" units="Molar"/><variable name="conc_E5c" public_interface="in" units="dimensionless"/><variable name="k_PDE" public_interface="in" units="per_sec"/><variable name="V_sGC_max" public_interface="in" units="M_per_sec"/><variable name="K_M_PDE" public_interface="in" units="Molar"/><variable name="time" public_interface="in" units="second"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_cGMP</ci></apply><apply><minus/><apply><times/><ci>V_sGC_max</ci><ci>conc_E5c</ci></apply><apply><divide/><apply><times/><ci>k_PDE</ci><apply><power/><ci>conc_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply></apply><apply><plus/><ci>K_M_PDE</ci><ci>conc_cGMP</ci></apply></apply></apply></apply></math></component><connection><map_components component_1="Parameters_VR" component_2="cGMP_Kinetics"/><map_variables variable_1="V_sGC_max" variable_2="V_sGC_max"/><map_variables variable_1="k_PDE" variable_2="k_PDE"/><map_variables variable_1="K_M_PDE" variable_2="K_M_PDE"/></connection><connection><map_components component_1="Environment" component_2="cGMP_Kinetics"/><map_variables variable_1="time" variable_2="time"/></connection><connection><map_components component_1="sGC_Activation" component_2="cGMP_Kinetics"/><map_variables variable_1="conc_E5c" variable_2="conc_E5c"/><map_variables variable_1="conc_cGMP" variable_2="conc_cGMP"/></connection><component name="cGMP_Ca_Interaction"><variable name="conc_cGMP" public_interface="in" units="Molar"/><variable name="V_KCa_cyt" public_interface="out" units="volt"/><variable name="V_Ca" public_interface="in" units="volt"/><variable name="V_B" public_interface="in" units="volt"/><variable name="V_KCa_NO" public_interface="in" units="volt"/><variable name="V_KCa_cGMP" public_interface="in" units="volt"/><variable name="conc_Ca_cyt" public_interface="in" units="Molar"/><variable name="k_KCa" public_interface="in" units="volt"/><variable name="K_KCa_NO" public_interface="in" units="Molar"/><variable name="K_KCa_cGMP" public_interface="in" units="Molar"/><variable name="conc_NO_cyt" public_interface="in" units="Molar"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>V_KCa_cyt</ci><apply><times/><apply><minus/><apply><minus/><apply><minus/><apply><times/><ci>V_Ca</ci><apply><log/><apply><divide/><ci>conc_Ca_cyt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="Molar">1</cn></apply></apply></apply><ci>V_B</ci></apply><apply><times/><ci>V_KCa_NO</ci><apply><divide/><ci>conc_NO_cyt</ci><apply><plus/><ci>K_KCa_NO</ci><ci>conc_NO_cyt</ci></apply></apply></apply></apply><apply><times/><ci>V_KCa_cGMP</ci><apply><divide/><apply><power/><ci>conc_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><apply><plus/><apply><power/><ci>K_KCa_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><apply><power/><ci>conc_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply></apply></apply></apply></apply><ci>convert</ci></apply></apply><apply><eq/><ci>V_KCa_md</ci><apply><times/><apply><minus/><apply><minus/><apply><minus/><apply><times/><ci>V_Ca</ci><apply><log/><apply><divide/><ci>conc_Ca_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="Molar">1</cn></apply></apply></apply><ci>V_B</ci></apply><apply><times/><ci>V_KCa_NO</ci><apply><divide/><ci>conc_NO_cyt</ci><apply><plus/><ci>K_KCa_NO</ci><ci>conc_NO_cyt</ci></apply></apply></apply></apply><apply><times/><ci>V_KCa_cGMP</ci><apply><divide/><apply><power/><ci>conc_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><apply><plus/><apply><power/><ci>K_KCa_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><apply><power/><ci>conc_cGMP</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply></apply></apply></apply></apply><ci>convert</ci></apply></apply></math><variable name="conc_Ca_md" public_interface="in" units="Molar"/><variable name="V_KCa_md" public_interface="out" units="volt"/><variable initial_value="1E-3" name="convert" units="dimensionless"/></component><component name="SERCA_Activation"><variable name="K_mf" public_interface="out" units="Molar"/><variable name="K_mf_rest" public_interface="in" units="Molar"/><variable name="K_SERCA" public_interface="in" units="Molar"/><variable name="conc_cGMP" public_interface="in" units="Molar"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>K_mf</ci><apply><times/><apply><divide/><ci>K_mf_rest</ci><ci>K_mod</ci></apply><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><divide/><ci>conc_cGMP</ci><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><apply><plus/><ci>K_SERCA</ci><ci>conc_cGMP</ci></apply></apply></apply></apply></apply></apply></math><variable initial_value="0.5263" name="K_mod" units="dimensionless"/></component><connection><map_components component_1="Parameters_VR" component_2="SERCA_Activation"/><map_variables variable_1="K_SERCA" variable_2="K_SERCA"/><map_variables variable_1="K_mf_rest" variable_2="K_mf_rest"/></connection><connection><map_components component_1="SERCA_Currents_IP3R" component_2="SERCA_Activation"/><map_variables variable_1="K_mf" variable_2="K_mf"/></connection><connection><map_components component_1="SERCA_Currents_RyR" component_2="SERCA_Activation"/><map_variables variable_1="K_mf" variable_2="K_mf"/></connection><connection><map_components component_1="cGMP_Kinetics" component_2="SERCA_Activation"/><map_variables variable_1="conc_cGMP" variable_2="conc_cGMP"/></connection><component name="CaP_Current_Max"><variable name="I_CaP_max" public_interface="out" units="ampere"/><variable name="I_PMCA_rest_max" public_interface="in" units="ampere"/><variable name="K_PMCA" public_interface="in" units="Molar"/><variable name="conc_cGMP" public_interface="in" units="Molar"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>I_CaP_max</ci><apply><times/><ci>I_PMCA_rest_max</ci><apply><plus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><divide/><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3.6</cn><ci>conc_cGMP</ci></apply><apply><plus/><ci>K_PMCA</ci><ci>conc_cGMP</ci></apply></apply></apply></apply></apply></math></component><connection><map_components component_1="Ca_Pump_Current" component_2="CaP_Current_Max"/><map_variables variable_1="I_CaP_max" variable_2="I_CaP_max"/></connection><connection><map_components component_1="Parameters_VR" component_2="CaP_Current_Max"/><map_variables variable_1="I_PMCA_rest_max" variable_2="I_PMCA_rest_max"/><map_variables variable_1="K_PMCA" variable_2="K_PMCA"/></connection><connection><map_components component_1="cGMP_Kinetics" component_2="CaP_Current_Max"/><map_variables variable_1="conc_cGMP" variable_2="conc_cGMP"/></connection><component name="ROS_SERCA_Interaction"><variable name="theta_SERCA_O2" units="dimensionless"/><variable name="conc_O2_cyt" public_interface="in" units="Molar"/><variable name="K_SERCA_O2" public_interface="in" units="Molar"/><variable name="theta_SERCA_H2O2" units="dimensionless"/><variable name="conc_H2O2_cyt" public_interface="in" units="Molar"/><variable name="K_SERCA_H2O2" public_interface="in" units="Molar"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>theta_SERCA_O2</ci><apply><divide/><apply><root/><ci>conc_O2_cyt</ci></apply><apply><plus/><apply><root/><ci>K_SERCA_O2</ci></apply><apply><root/><ci>conc_O2_cyt</ci></apply></apply></apply></apply><apply><eq/><ci>theta_SERCA_H2O2</ci><apply><divide/><ci>conc_H2O2_cyt</ci><apply><plus/><ci>K_SERCA_H2O2</ci><ci>conc_H2O2_cyt</ci></apply></apply></apply><apply><eq/><ci>I_SERCA_max</ci><apply><times/><ci>I_SERCA_rest_max</ci><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><ci>theta_SERCA_O2</ci></apply><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><ci>theta_SERCA_H2O2</ci></apply></apply></apply></math><variable name="I_SERCA_max" public_interface="out" units="ampere"/><variable name="I_SERCA_rest_max" public_interface="in" units="ampere"/></component><connection><map_components component_1="Parameters_VR" component_2="ROS_SERCA_Interaction"/><map_variables variable_1="K_SERCA_O2" variable_2="K_SERCA_O2"/><map_variables variable_1="K_SERCA_H2O2" variable_2="K_SERCA_H2O2"/><map_variables variable_1="I_SERCA_rest_max" variable_2="I_SERCA_rest_max"/></connection><connection><map_components component_1="SERCA_Currents_IP3R" component_2="ROS_SERCA_Interaction"/><map_variables variable_1="I_SERCA_max" variable_2="I_SERCA_max"/></connection><connection><map_components component_1="SERCA_Currents_RyR" component_2="ROS_SERCA_Interaction"/><map_variables variable_1="I_SERCA_max" variable_2="I_SERCA_max"/></connection><connection><map_components component_1="O2_Kinetics" component_2="ROS_SERCA_Interaction"/><map_variables variable_1="conc_O2_cyt" variable_2="conc_O2_cyt"/></connection><connection><map_components component_1="H2O2_Kinetics" component_2="ROS_SERCA_Interaction"/><map_variables variable_1="conc_H2O2_cyt" variable_2="conc_H2O2_cyt"/></connection><component name="ROS_NaK_Interaction"><variable name="I_NaK_alpha1_max" public_interface="out" units="ampere"/><variable name="I_NaK_alpha1_rest_max" public_interface="in" units="ampere"/><variable name="conc_O2_cyt" public_interface="in" units="Molar"/><variable name="conc_H2O2_cyt" public_interface="in" units="Molar"/><variable name="K_NaK_H2O2" public_interface="in" units="Molar"/><variable name="K_NaK_O2" public_interface="in" units="Molar"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>I_NaK_alpha1_max</ci><apply><times/><ci>I_NaK_alpha1_rest_max</ci><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><divide/><ci>conc_O2_cyt</ci><apply><plus/><ci>K_NaK_O2</ci><ci>conc_O2_cyt</ci></apply></apply></apply><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><divide/><ci>conc_H2O2_cyt</ci><apply><plus/><ci>K_NaK_H2O2</ci><ci>conc_H2O2_cyt</ci></apply></apply></apply></apply></apply></math></component><connection><map_components component_1="Parameters_VR" component_2="ROS_NaK_Interaction"/><map_variables variable_1="I_NaK_alpha1_rest_max" variable_2="I_NaK_alpha1_rest_max"/><map_variables variable_1="K_NaK_O2" variable_2="K_NaK_O2"/><map_variables variable_1="K_NaK_H202" variable_2="K_NaK_H2O2"/></connection><connection><map_components component_1="NaK_alpha_Current" component_2="ROS_NaK_Interaction"/><map_variables variable_1="I_NaK_alpha1_max" variable_2="I_NaK_alpha1_max"/></connection><connection><map_components component_1="O2_Kinetics" component_2="ROS_NaK_Interaction"/><map_variables variable_1="conc_O2_cyt" variable_2="conc_O2_cyt"/></connection><connection><map_components component_1="ROS_NaK_Interaction" component_2="H2O2_Kinetics"/><map_variables variable_1="conc_H2O2_cyt" variable_2="conc_H2O2_cyt"/></connection><connection><map_components component_1="MLCP_Rate_Constants" component_2="cGMP_Kinetics"/><map_variables variable_1="conc_cGMP" variable_2="conc_cGMP"/></connection><connection><map_components component_1="MLCP_Rate_Constants" component_2="MLCK_Activation_CaM"/><map_variables variable_1="conc_CaMNCM" variable_2="conc_CaMNCM"/></connection><connection><map_components component_1="cGMP_Kinetics" component_2="cGMP_Ca_Interaction"/><map_variables variable_1="conc_cGMP" variable_2="conc_cGMP"/></connection><connection><map_components component_1="cGMP_Ca_Interaction" component_2="Parameters_VR"/><map_variables variable_1="K_KCa_NO" variable_2="K_KCa_NO"/><map_variables variable_1="V_Ca" variable_2="V_Ca"/><map_variables variable_1="V_B" variable_2="V_B"/><map_variables variable_1="k_KCa" variable_2="k_KCa"/><map_variables variable_1="V_KCa_NO" variable_2="V_KCa_NO"/><map_variables variable_1="V_KCa_cGMP" variable_2="V_KCa_cGMP"/><map_variables variable_1="K_KCa_cGMP" variable_2="K_KCa_cGMP"/></connection><connection><map_components component_1="Calcium_Conc_cyt" component_2="cGMP_Ca_Interaction"/><map_variables variable_1="conc_Ca_cyt" variable_2="conc_Ca_cyt"/></connection><connection><map_components component_1="NO_Kinetics" component_2="cGMP_Ca_Interaction"/><map_variables variable_1="conc_NO_cyt" variable_2="conc_NO_cyt"/></connection><connection><map_components component_1="KCa_Activations" component_2="cGMP_Ca_Interaction"/><map_variables variable_1="V_KCa_cyt" variable_2="V_KCa_cyt"/><map_variables variable_1="V_KCa_md" variable_2="V_KCa_md"/></connection><connection><map_components component_1="Calcium_Conc_md" component_2="cGMP_Ca_Interaction"/><map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/></connection><component name="MLCK_Activation_CaM_md"><variable initial_value="7.3876E-3" name="conc_CaM___" units="Molar"/><variable initial_value="1.2766E-4" name="conc_CaMN__" public_interface="out" units="Molar"/><variable initial_value="4.7661E-4" name="conc_CaM_C_" public_interface="out" units="Molar"/><variable initial_value="1.4863E-3" name="conc_CaM_CM" public_interface="out" units="Molar"/><variable initial_value="5.1368E-4" name="conc_CaMNCM" public_interface="out" units="Molar"/><variable name="conc_CaMNC_" public_interface="out" units="Molar"/><variable name="conc_CaM_tot" public_interface="in" units="Molar"/><variable name="conc_MLCK_free" units="Molar"/><variable name="conc_MLCK_tot" public_interface="in" units="Molar"/><variable name="k1_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k2_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k3_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k4_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k5_CAM_on" public_interface="in" units="per_M_sec"/><variable name="k6_CAM_on" public_interface="in" units="per_sq_M_sec"/><variable name="k7_CAM_on" public_interface="in" units="per_M_sec"/><variable name="k1_CAM_off" public_interface="in" units="per_sec"/><variable name="k2_CAM_off" public_interface="in" units="per_sec"/><variable name="k3_CAM_off" public_interface="in" units="per_sec"/><variable name="k4_CAM_off" public_interface="in" units="per_sec"/><variable name="k5_CAM_off" public_interface="in" units="per_sec"/><variable name="k6_CAM_off" public_interface="in" units="per_sec"/><variable name="k7_CAM_off" public_interface="in" units="per_sec"/><variable name="conc_Ca_md" public_interface="in" units="Molar"/><variable name="time" public_interface="in" units="second"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM___</ci></apply><apply><plus/><apply><minus/><apply><plus/><apply><times/><apply><minus/><ci>k1_CAM_on</ci></apply><apply><power/><ci>conc_Ca_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM___</ci></apply><apply><times/><ci>k1_CAM_off</ci><ci>conc_CaM_C_</ci></apply></apply><apply><times/><ci>k2_CAM_on</ci><apply><power/><ci>conc_Ca_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM___</ci></apply></apply><apply><times/><ci>k2_CAM_off</ci><ci>conc_CaMN__</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaMN__</ci></apply><apply><plus/><apply><minus/><apply><minus/><apply><times/><ci>k2_CAM_on</ci><apply><power/><ci>conc_Ca_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM___</ci></apply><apply><times/><ci>k2_CAM_off</ci><ci>conc_CaMN__</ci></apply></apply><apply><times/><ci>k3_CAM_on</ci><apply><power/><ci>conc_Ca_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaMN__</ci></apply></apply><apply><times/><ci>k3_CAM_off</ci><ci>conc_CaMNC_</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM_C_</ci></apply><apply><plus/><apply><minus/><apply><plus/><apply><minus/><apply><minus/><apply><times/><ci>k1_CAM_on</ci><apply><power/><ci>conc_Ca_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM___</ci></apply><apply><times/><ci>k1_CAM_off</ci><ci>conc_CaM_C_</ci></apply></apply><apply><times/><ci>k4_CAM_on</ci><apply><power/><ci>conc_Ca_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM_C_</ci></apply></apply><apply><times/><ci>k4_CAM_off</ci><ci>conc_CaMNC_</ci></apply></apply><apply><times/><ci>k5_CAM_on</ci><ci>conc_MLCK_free</ci><ci>conc_CaM_C_</ci></apply></apply><apply><times/><ci>k5_CAM_off</ci><ci>conc_CaM_CM</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaM_CM</ci></apply><apply><plus/><apply><minus/><apply><minus/><apply><times/><ci>k5_CAM_on</ci><ci>conc_MLCK_free</ci><ci>conc_CaM_C_</ci></apply><apply><times/><ci>k5_CAM_off</ci><ci>conc_CaM_CM</ci></apply></apply><apply><times/><ci>k6_CAM_on</ci><apply><power/><ci>conc_Ca_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM_CM</ci></apply></apply><apply><times/><ci>k6_CAM_off</ci><ci>conc_CaMNCM</ci></apply></apply></apply><apply><eq/><apply><diff/><bvar><ci>time</ci></bvar><ci>conc_CaMNCM</ci></apply><apply><minus/><apply><plus/><apply><minus/><apply><times/><ci>k6_CAM_on</ci><apply><power/><ci>conc_Ca_md</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply><ci>conc_CaM_CM</ci></apply><apply><times/><ci>k6_CAM_off</ci><ci>conc_CaMNCM</ci></apply></apply><apply><times/><ci>k7_CAM_on</ci><ci>conc_MLCK_free</ci><ci>conc_CaMNC_</ci></apply></apply><apply><times/><ci>k7_CAM_off</ci><ci>conc_CaMNCM</ci></apply></apply></apply><apply><eq/><ci>conc_CaMNC_</ci><apply><minus/><ci>conc_CaM_tot</ci><apply><plus/><ci>conc_CaM___</ci><ci>conc_CaMN__</ci><ci>conc_CaM_C_</ci><ci>conc_CaM_CM</ci><ci>conc_CaMNCM</ci></apply></apply></apply><apply><eq/><ci>conc_MLCK_free</ci><apply><minus/><ci>conc_MLCK_tot</ci><apply><plus/><ci>conc_CaM_CM</ci><ci>conc_CaMNCM</ci></apply></apply></apply></math></component><connection><map_components component_1="Environment" component_2="MLCK_Activation_CaM_md"/><map_variables variable_1="time" variable_2="time"/></connection><connection><map_components component_1="Parameters_VR" component_2="MLCK_Activation_CaM_md"/><map_variables variable_1="k1_CAM_on" variable_2="k1_CAM_on"/><map_variables variable_1="k1_CAM_off" variable_2="k1_CAM_off"/><map_variables variable_1="k2_CAM_on" variable_2="k2_CAM_on"/><map_variables variable_1="k2_CAM_off" variable_2="k2_CAM_off"/><map_variables variable_1="k3_CAM_on" variable_2="k3_CAM_on"/><map_variables variable_1="k3_CAM_off" variable_2="k3_CAM_off"/><map_variables variable_1="k4_CAM_on" variable_2="k4_CAM_on"/><map_variables variable_1="k4_CAM_off" variable_2="k4_CAM_off"/><map_variables variable_1="k5_CAM_on" variable_2="k5_CAM_on"/><map_variables variable_1="k5_CAM_off" variable_2="k5_CAM_off"/><map_variables variable_1="k6_CAM_on" variable_2="k6_CAM_on"/><map_variables variable_1="k6_CAM_off" variable_2="k6_CAM_off"/><map_variables variable_1="k7_CAM_on" variable_2="k7_CAM_on"/><map_variables variable_1="k7_CAM_off" variable_2="k7_CAM_off"/><map_variables variable_1="conc_CaM_tot" variable_2="conc_CaM_tot"/><map_variables variable_1="conc_MLCK_tot" variable_2="conc_MLCK_tot"/></connection><connection><map_components component_1="Calcium_Conc_md" component_2="MLCK_Activation_CaM_md"/><map_variables variable_1="conc_Ca_md" variable_2="conc_Ca_md"/><map_variables variable_1="conc_CaMN__" variable_2="conc_CaMN__"/><map_variables variable_1="conc_CaM_C_" variable_2="conc_CaM_C_"/><map_variables variable_1="conc_CaM_CM" variable_2="conc_CaM_CM"/><map_variables variable_1="conc_CaMNCM" variable_2="conc_CaMNCM"/></connection><connection><map_components component_1="H2O2_Kinetics" component_2="MLCP_Rate_Constants"/><map_variables variable_1="conc_H2O2_cyt" variable_2="conc_H2O2_cyt"/></connection><component name="Contractile_Force"><variable name="f_p" units="dimensionless"/><variable name="F_contract" units="dimensionless"/><variable name="conc_MyoP" public_interface="in" units="Molar"/><variable name="conc_AMyoP" public_interface="in" units="Molar"/><variable name="conc_Myo_tot" public_interface="in" units="Molar"/><variable initial_value="3.9796" name="a" units="dimensionless"/><variable initial_value="97.35" name="b" units="dimensionless"/><variable initial_value="522.25" name="c" units="dimensionless"/><variable initial_value="329.81" name="d" units="dimensionless"/><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><eq/><ci>f_p</ci><apply><divide/><apply><plus/><ci>conc_MyoP</ci><ci>conc_AMyoP</ci></apply><ci>conc_Myo_tot</ci></apply></apply><apply><eq/><ci>F_contract</ci><apply><minus/><apply><plus/><apply><minus/><ci>a</ci><apply><times/><ci>b</ci><ci>f_p</ci></apply></apply><apply><times/><ci>c</ci><apply><power/><ci>f_p</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply></apply></apply><apply><times/><ci>d</ci><apply><power/><ci>f_p</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3</cn></apply></apply></apply></apply></math></component><connection><map_components component_1="MLCK_Phospho_Myosin" component_2="Contractile_Force"/><map_variables variable_1="conc_MyoP" variable_2="conc_MyoP"/><map_variables variable_1="conc_AMyoP" variable_2="conc_AMyoP"/></connection><connection><map_components component_1="Parameters_VR" component_2="Contractile_Force"/><map_variables variable_1="conc_Myo_tot" variable_2="conc_Myo_tot"/></connection><units name="cubic_Meter"><unit exponent="3" units="meter"/></units><units name="per_V"><unit exponent="-1" units="volt"/></units><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="#IVCaQNOydHc"><simulation xmlns="http://www.cellml.org/metadata/simulation/1.0#"><rdf:Description rdf:nodeID="n1"/></simulation></rdf:Description><rdf:Description rdf:nodeID="n2"><endingValue xmlns="http://www.cellml.org/metadata/simulation/1.0#" xml:lang="en">300</endingValue><algorithm xmlns="http://www.cellml.org/metadata/simulation/1.0#nonstandard-" xml:lang="en">bdf15</algorithm><maximumStepSize xmlns="http://www.cellml.org/metadata/simulation/1.0#" xml:lang="en">.1</maximumStepSize><startingValue xmlns="http://www.cellml.org/metadata/simulation/1.0#" xml:lang="en">0</startingValue><releps xmlns="http://www.cellml.org/metadata/simulation/1.0#nonstandard-" xml:lang="en">1E-4</releps><abseps xmlns="http://www.cellml.org/metadata/simulation/1.0#nonstandard-" xml:lang="en">1E-7</abseps></rdf:Description><rdf:Description rdf:nodeID="n3"><rdf:first><rdf:Description rdf:nodeID="n2"/></rdf:first><rdf:rest><rdf:Description rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/></rdf:rest></rdf:Description><rdf:Description rdf:nodeID="n1"><boundIntervals xmlns="http://www.cellml.org/metadata/simulation/1.0#"><rdf:Description rdf:nodeID="n3"/></boundIntervals></rdf:Description></rdf:RDF></model>
Source
Derived from workspace Edwards, 2010 at changeset 45cd55ead5e3.
Collaboration
To begin collaborating on this work, please use your git client and issue this command:
License

This work is licensed under a Creative Commons Attribution 3.0 Unported License.