Location: Cardiovascular model with the feedback loops @ 4007df654672 / models / Gee_whiz_Exported.cellml

Author:
David Nickerson <david.nickerson@gmail.com>
Date:
2024-07-19 16:13:22+12:00
Desc:
fix typo in RST
Permanent Source URI:
https://models.physiomeproject.org/workspace/b6e/rawfile/4007df6546726d49f979de277d4302a7d4785aaf/models/Gee_whiz_Exported.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="Gee_whiz" xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#">
    <units name="millimolar">
        <unit prefix="milli" units="mole"/>
        <unit exponent="-1" units="litre"/>
    </units>
    <units name="per_mmHg">
        <unit exponent="-1" units="mmHg"/>
    </units>
    <units name="millisecond">
        <unit prefix="milli" units="second"/>
    </units>
    <units name="per_millimolar">
        <unit exponent="-1" units="millimolar"/>
    </units>
    <units name="per_s_per_mM">
        <unit exponent="-1" units="second"/>
        <unit units="per_millimolar"/>
    </units>
    <units name="per_s">
        <unit exponent="-1" units="second"/>
    </units>
    <units name="mmHg">
        <unit multiplier="133.32" units="pascal"/>
    </units>
    <units name="mL">
        <unit prefix="milli" units="litre"/>
    </units>
    <units name="per_mL">
        <unit exponent="-1" units="mL"/>
    </units>
    <units name="per_mL_s3">
        <unit exponent="-1" units="mL"/>
        <unit exponent="-3" units="second"/>
    </units>
    <units name="s_per_mL">
        <unit exponent="-1" units="mL_per_s"/>
    </units>
    <units name="mL_per_s">
        <unit units="mL"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="mL_per_mmHg">
        <unit units="mL"/>
        <unit exponent="-1" units="mmHg"/>
    </units>
    <units name="mmHg_s_per_mL">
        <unit units="mmHg"/>
        <unit exponent="-1" units="mL"/>
        <unit units="second"/>
    </units>
    <units name="mmHg_per_mL">
        <unit units="mmHg"/>
        <unit exponent="-1" units="mL"/>
    </units>
    <units name="mmHg_per_s">
        <unit units="mmHg"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="mmHg_s2_per_mL">
        <unit units="mmHg"/>
        <unit exponent="-1" units="mL"/>
        <unit exponent="2" units="second"/>
    </units>
    <units name="s2">
        <unit exponent="2" units="second"/>
    </units>
    <units name="bit_per_s">
        <unit exponent="-1" units="second"/>
    </units>
    <units name="micrometre">
        <unit prefix="micro" units="metre"/>
    </units>
    <units name="micrometre3">
        <unit exponent="3" prefix="micro" units="metre"/>
    </units>
    <units name="per_millisecond">
        <unit exponent="-1" prefix="milli" units="second"/>
    </units>
    <units name="millivolt">
        <unit prefix="milli" units="volt"/>
    </units>
    <units name="millivolt_square">
        <unit exponent="2" prefix="milli" units="volt"/>
    </units>
    <units name="per_millivolt">
        <unit exponent="-1" prefix="milli" units="volt"/>
    </units>
    <units name="nanoS_per_picoF">
        <unit prefix="nano" units="siemens"/>
        <unit exponent="-1" prefix="pico" units="farad"/>
    </units>
    <units name="microF">
        <unit prefix="micro" units="farad"/>
    </units>
    <units name="picoF">
        <unit prefix="pico" units="farad"/>
    </units>
    <units name="picoA">
        <unit prefix="pico" units="ampere"/>
    </units>
    <units name="picoA_per_picoF">
        <unit prefix="pico" units="ampere"/>
        <unit exponent="-1" prefix="pico" units="farad"/>
    </units>
    <units name="nanoA_per_millimolar">
        <unit prefix="nano" units="ampere"/>
        <unit exponent="-1" units="millimolar"/>
    </units>
    <units name="millimolar_per_millisecond">
        <unit units="millimolar"/>
        <unit exponent="-1" prefix="milli" units="second"/>
    </units>
    <units name="joule_per_mole_kelvin">
        <unit units="joule"/>
        <unit exponent="-1" units="mole"/>
        <unit exponent="-1" units="kelvin"/>
    </units>
    <units name="coulomb_per_millimole">
        <unit units="coulomb"/>
        <unit exponent="-1" prefix="milli" units="mole"/>
    </units>
    <units name="cm2">
        <unit exponent="2" prefix="centi" units="metre"/>
    </units>
    <units name="microF_per_cm2">
        <unit units="microF"/>
        <unit exponent="-1" units="cm2"/>
    </units>
    <units name="litre_per_farad_second">
        <unit units="litre"/>
        <unit exponent="-1" units="farad"/>
        <unit exponent="-1" units="second"/>
    </units>
    <component name="main">
        <variable name="phi_Cai" public_interface="in" units="dimensionless"/>
        <variable name="phi" public_interface="in" units="dimensionless"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="stim_period" public_interface="in" units="millisecond"/>
        <variable name="u_pv" public_interface="in" units="mmHg"/>
        <variable name="u_sa" public_interface="in" units="mmHg"/>
        <variable name="u_rv" public_interface="in" units="mmHg"/>
        <variable name="u_lv" public_interface="in" units="mmHg"/>
    </component>
    <component name="TT04">
        <variable name="Ca_i" public_interface="in" units="millimolar"/>
        <variable initial_value="0.2" name="K_Cai" units="per_mmHg"/>
        <variable name="phi_Cai" public_interface="out" units="dimensionless"/>
        <variable name="time" public_interface="in" units="second"/>
        <variable initial_value="125" name="T_ref" units="mmHg"/>
        <variable initial_value="100000" name="rho_0" units="per_s_per_mM"/>
        <variable initial_value="163" name="rho_1" units="per_s"/>
        <variable initial_value="0.00226" name="Ca_b_max" units="millimolar"/>
        <variable initial_value="6" name="pC_50_ref" units="dimensionless"/>
        <variable initial_value="4.25" name="n_ref" units="dimensionless"/>
        <variable initial_value="2" name="alpha_0" units="per_s"/>
        <variable initial_value="1.45" name="beta_0" units="dimensionless"/>
        <variable initial_value="1.95" name="beta_1" units="dimensionless"/>
        <variable initial_value="0.31" name="beta_2" units="dimensionless"/>
        <variable initial_value="1" name="lambda" units="dimensionless"/>
        <variable name="C_50" units="millimolar"/>
        <variable name="pC_50" units="dimensionless"/>
        <variable name="n" units="dimensionless"/>
        <variable name="T_o" units="mmHg"/>
        <variable initial_value="9.43699889988223e-05" name="Ca_b" units="millimolar"/>
        <variable initial_value="0.00922623555455781" name="z" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>phi_Cai</ci>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <ci>T_o</ci>
                        <cn cellml:units="mmHg">1.2</cn>
                    </apply>
                    <ci>K_Cai</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>pC_50</ci>
                <apply>
                    <times/>
                    <ci>pC_50_ref</ci>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <times/>
                            <ci>beta_2</ci>
                            <apply>
                                <minus/>
                                <ci>lambda</ci>
                                <cn cellml:units="dimensionless">1.0</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>C_50</ci>
                <apply>
                    <times/>
                    <cn cellml:units="millimolar" type="e-notation">1.0<sep/>-3</cn>
                    <apply>
                        <power/>
                        <cn cellml:units="dimensionless">10</cn>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">6</cn>
                            <ci>pC_50</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>n</ci>
                <apply>
                    <times/>
                    <ci>n_ref</ci>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <times/>
                            <ci>beta_1</ci>
                            <apply>
                                <minus/>
                                <ci>lambda</ci>
                                <cn cellml:units="dimensionless">1.0</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>T_o</ci>
                <apply>
                    <times/>
                    <ci>T_ref</ci>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <times/>
                            <ci>beta_0</ci>
                            <apply>
                                <minus/>
                                <ci>lambda</ci>
                                <cn cellml:units="dimensionless">1.0</cn>
                            </apply>
                        </apply>
                    </apply>
                    <ci>z</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Ca_b</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <ci>rho_0</ci>
                        <ci>Ca_i</ci>
                        <apply>
                            <minus/>
                            <ci>Ca_b_max</ci>
                            <ci>Ca_b</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>rho_1</ci>
                        <ci>Ca_b</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>z</ci>
                </apply>
                <apply>
                    <times/>
                    <ci>alpha_0</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <ci>Ca_b</ci>
                                    <ci>C_50</ci>
                                </apply>
                                <ci>n</ci>
                            </apply>
                            <apply>
                                <minus/>
                                <cn cellml:units="dimensionless">1.0</cn>
                                <ci>z</ci>
                            </apply>
                        </apply>
                        <ci>z</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="cvs">
        <variable name="t" public_interface="in" units="second"/>
        <variable name="phi" public_interface="in" units="dimensionless"/>
        <variable initial_value="217.461836207506" name="q_ra" units="mL"/>
        <variable initial_value="156.820507300079" name="q_rv" units="mL"/>
        <variable initial_value="243.818905151573" name="q_la" units="mL"/>
        <variable initial_value="160.361072522783" name="q_lv" units="mL"/>
        <variable initial_value="13.5544416662609" name="q_pa" units="mL"/>
        <variable initial_value="102.595798215834" name="q_pc" units="mL"/>
        <variable initial_value="326.359274482915" name="q_pv" units="mL"/>
        <variable initial_value="19.1016814441428" name="q_sa" units="mL"/>
        <variable initial_value="252.710247667702" name="q_sc" units="mL"/>
        <variable name="q_sv" units="mL"/>
        <variable initial_value="5800" name="q_tot" units="mL"/>
        <variable initial_value="3500" name="q_tot_u" units="mL"/>
        <variable name="u_ra" units="mmHg"/>
        <variable name="u_rv" public_interface="out" units="mmHg"/>
        <variable name="u_la" units="mmHg"/>
        <variable name="u_lv" public_interface="out" units="mmHg"/>
        <variable name="u_pa" units="mmHg"/>
        <variable name="u_pc" units="mmHg"/>
        <variable name="u_pv" public_interface="out" units="mmHg"/>
        <variable name="u_sa" public_interface="out" units="mmHg"/>
        <variable name="du_sa" public_interface="out" units="mmHg_per_s"/>
        <variable name="u_sc" units="mmHg"/>
        <variable name="u_sv" units="mmHg"/>
        <variable name="v_TV" units="mL_per_s"/>
        <variable name="v_PV" units="mL_per_s"/>
        <variable name="v_MV" units="mL_per_s"/>
        <variable name="v_AV" units="mL_per_s"/>
        <variable initial_value="6.43573604308444" name="v_pa" units="mL_per_s"/>
        <variable name="v_pv" units="mL_per_s"/>
        <variable name="v_la" units="mL_per_s"/>
        <variable initial_value="4.79543779749088" name="v_sa" units="mL_per_s"/>
        <variable name="v_sc" units="mL_per_s"/>
        <variable name="v_sv" units="mL_per_s"/>
        <variable initial_value="31.25" name="C_ra" units="mL_per_mmHg"/>
        <variable initial_value="0.76" name="C_pa" units="mL_per_mmHg"/>
        <variable initial_value="5.8" name="C_pc" units="mL_per_mmHg"/>
        <variable initial_value="25.37" name="C_pv" units="mL_per_mmHg"/>
        <variable initial_value="19.23" name="C_la" units="mL_per_mmHg"/>
        <variable initial_value="0.28" name="C_sa" units="mL_per_mmHg"/>
        <variable initial_value="3.72" name="C_sc" units="mL_per_mmHg"/>
        <variable initial_value="111.11" name="C_sv" units="mL_per_mmHg"/>
        <variable initial_value="0.0025" name="R_TV" units="mmHg_s_per_mL"/>
        <variable name="R_PV" units="mmHg_s_per_mL"/>
        <variable initial_value="0.0025" name="R_MV" units="mmHg_s_per_mL"/>
        <variable name="R_AV" units="mmHg_s_per_mL"/>
        <variable initial_value="0.023" name="R_pa" units="mmHg_s_per_mL"/>
        <variable initial_value="0.0894" name="R_pv" units="mmHg_s_per_mL"/>
        <variable initial_value="0.0056" name="R_la" units="mmHg_s_per_mL"/>
        <variable initial_value="0.0054" name="R_sv" units="mmHg_s_per_mL"/>
        <variable initial_value="0.8895" name="R_sc" units="mmHg_s_per_mL"/>
        <variable initial_value="0.06" name="R_sa" units="mmHg_s_per_mL"/>
        <variable initial_value="0.00018" name="L_pa" units="mmHg_s2_per_mL"/>
        <variable initial_value="0.00022" name="L_sa" units="mmHg_s2_per_mL"/>
        <variable initial_value="0.0014" name="k_PV_R" units="s_per_mL"/>
        <variable initial_value="0.000375" name="k_AV_R" units="s_per_mL"/>
        <variable initial_value="0.014" name="k_lv_E" units="per_mL"/>
        <variable initial_value="0.011" name="k_rv_E" units="per_mL"/>
        <variable initial_value="16.77" name="q_lv_u" units="mL"/>
        <variable initial_value="40.8" name="q_rv_u" units="mL"/>
        <variable initial_value="1.5" name="u_lv_0" units="mmHg"/>
        <variable initial_value="1.5" name="u_rv_0" units="mmHg"/>
        <variable initial_value="1.283" name="E_lv_max" units="mmHg_per_mL"/>
        <variable initial_value="0.757" name="E_rv_max" units="mmHg_per_mL"/>
        <variable name="u_rv_max" units="mmHg"/>
        <variable name="u_lv_max" units="mmHg"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>u_lv_max</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>phi</ci>
                        <ci>E_lv_max</ci>
                        <apply>
                            <minus/>
                            <ci>q_lv</ci>
                            <ci>q_lv_u</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>phi</ci>
                        </apply>
                        <ci>u_lv_0</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <ci>k_lv_E</ci>
                                    <ci>q_lv</ci>
                                </apply>
                            </apply>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_rv_max</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>phi</ci>
                        <ci>E_rv_max</ci>
                        <apply>
                            <minus/>
                            <ci>q_rv</ci>
                            <ci>q_rv_u</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>phi</ci>
                        </apply>
                        <ci>u_rv_0</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <ci>k_rv_E</ci>
                                    <ci>q_rv</ci>
                                </apply>
                            </apply>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_ra</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_sv</ci>
                    <ci>v_TV</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_rv</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_TV</ci>
                    <ci>v_PV</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_pa</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_PV</ci>
                    <ci>v_pa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_pc</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_pa</ci>
                    <ci>v_pv</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_pv</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_pv</ci>
                    <ci>v_la</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_la</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_la</ci>
                    <ci>v_MV</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_lv</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_MV</ci>
                    <ci>v_AV</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_sa</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_AV</ci>
                    <ci>v_sa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_sc</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_sa</ci>
                    <ci>v_sc</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_sv</ci>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <ci>q_tot</ci>
                        <ci>q_tot_u</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <ci>q_ra</ci>
                        <ci>q_rv</ci>
                        <ci>q_pa</ci>
                        <ci>q_pc</ci>
                        <ci>q_pv</ci>
                        <ci>q_la</ci>
                        <ci>q_lv</ci>
                        <ci>q_sa</ci>
                        <ci>q_sc</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_ra</ci>
                <apply>
                    <divide/>
                    <ci>q_ra</ci>
                    <ci>C_ra</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_rv</ci>
                <apply>
                    <minus/>
                    <ci>u_rv_max</ci>
                    <apply>
                        <times/>
                        <ci>R_PV</ci>
                        <ci>v_PV</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_pa</ci>
                <apply>
                    <divide/>
                    <ci>q_pa</ci>
                    <ci>C_pa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_pc</ci>
                <apply>
                    <divide/>
                    <ci>q_pc</ci>
                    <ci>C_pc</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_pv</ci>
                <apply>
                    <divide/>
                    <ci>q_pv</ci>
                    <ci>C_pv</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_la</ci>
                <apply>
                    <divide/>
                    <ci>q_la</ci>
                    <ci>C_la</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_lv</ci>
                <apply>
                    <minus/>
                    <ci>u_lv_max</ci>
                    <apply>
                        <times/>
                        <ci>R_AV</ci>
                        <ci>v_AV</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_sa</ci>
                <apply>
                    <divide/>
                    <ci>q_sa</ci>
                    <ci>C_sa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_sc</ci>
                <apply>
                    <divide/>
                    <ci>q_sc</ci>
                    <ci>C_sc</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>u_sv</ci>
                <apply>
                    <divide/>
                    <ci>q_sv</ci>
                    <ci>C_sv</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>du_sa</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>v_AV</ci>
                        <ci>v_sa</ci>
                    </apply>
                    <ci>C_sa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_TV</ci>
                <piecewise>
                    <piece>
                        <cn cellml:units="mL_per_s">0</cn>
                        <apply>
                            <lt/>
                            <ci>u_ra</ci>
                            <ci>u_rv</ci>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <divide/>
                            <apply>
                                <minus/>
                                <ci>u_ra</ci>
                                <ci>u_rv</ci>
                            </apply>
                            <ci>R_TV</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>v_PV</ci>
                <piecewise>
                    <piece>
                        <cn cellml:units="mL_per_s">0</cn>
                        <apply>
                            <lt/>
                            <ci>u_rv_max</ci>
                            <ci>u_pa</ci>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <divide/>
                            <apply>
                                <minus/>
                                <ci>u_rv_max</ci>
                                <ci>u_pa</ci>
                            </apply>
                            <ci>R_PV</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>R_PV</ci>
                <apply>
                    <times/>
                    <ci>k_PV_R</ci>
                    <ci>u_rv_max</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>v_pa</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <ci>u_pa</ci>
                            <ci>u_pc</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>R_pa</ci>
                            <ci>v_pa</ci>
                        </apply>
                    </apply>
                    <ci>L_pa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_pv</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>u_pc</ci>
                        <ci>u_pv</ci>
                    </apply>
                    <ci>R_pv</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_la</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>u_pv</ci>
                        <ci>u_la</ci>
                    </apply>
                    <ci>R_la</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_MV</ci>
                <piecewise>
                    <piece>
                        <cn cellml:units="mL_per_s">0</cn>
                        <apply>
                            <lt/>
                            <ci>u_la</ci>
                            <ci>u_lv</ci>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <divide/>
                            <apply>
                                <minus/>
                                <ci>u_la</ci>
                                <ci>u_lv</ci>
                            </apply>
                            <ci>R_MV</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>v_AV</ci>
                <piecewise>
                    <piece>
                        <cn cellml:units="mL_per_s">0</cn>
                        <apply>
                            <lt/>
                            <ci>u_lv_max</ci>
                            <ci>u_sa</ci>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <divide/>
                            <apply>
                                <minus/>
                                <ci>u_lv_max</ci>
                                <ci>u_sa</ci>
                            </apply>
                            <ci>R_AV</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>R_AV</ci>
                <apply>
                    <times/>
                    <ci>k_AV_R</ci>
                    <ci>u_lv_max</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>v_sa</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <ci>u_sa</ci>
                            <ci>u_sc</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>R_sa</ci>
                            <ci>v_sa</ci>
                        </apply>
                    </apply>
                    <ci>L_sa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_sc</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>u_sc</ci>
                        <ci>u_sv</ci>
                    </apply>
                    <ci>R_sc</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_sv</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>u_sv</ci>
                        <ci>u_ra</ci>
                    </apply>
                    <ci>R_sv</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="environment">
        <variable name="time" public_interface="out" units="millisecond"/>
    </component>
    <component name="membrane">
        <variable initial_value="-86.3495145125867" name="V" public_interface="out" units="millivolt"/>
        <variable initial_value="8.314" name="R" public_interface="out" units="joule_per_mole_kelvin"/>
        <variable initial_value="310" name="T" public_interface="out" units="kelvin"/>
        <variable initial_value="96.485" name="F" public_interface="out" units="coulomb_per_millimole"/>
        <variable initial_value="185" name="Cm" public_interface="out" units="picoF"/>
        <variable initial_value="16404" name="V_c" public_interface="out" units="micrometre3"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="i_K1" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_to" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_Kr" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_Ks" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_CaL" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_NaK" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_Na" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_b_Na" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_NaCa" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_b_Ca" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_p_K" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_p_Ca" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_Stim" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="0" name="stim_start" units="millisecond"/>
        <variable name="stim_period" public_interface="out" units="millisecond"/>
        <variable initial_value="1" name="stim_duration" units="millisecond"/>
        <variable initial_value="-52" name="stim_amplitude" units="picoA_per_picoF"/>
        <variable initial_value="10000" name="rest_duration" units="millisecond"/>
        <variable initial_value="1000" name="rest_period" units="millisecond"/>
        <variable initial_value="20000" name="act_duration" units="millisecond"/>
        <variable initial_value="800" name="act_period" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>stim_period</ci>
                <piecewise>
                    <piece>
                        <ci>rest_period</ci>
                        <apply>
                            <lt/>
                            <ci>time</ci>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <apply>
                                        <floor/>
                                        <apply>
                                            <divide/>
                                            <ci>rest_duration</ci>
                                            <ci>rest_period</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="dimensionless">1</cn>
                                </apply>
                                <ci>rest_period</ci>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <ci>act_period</ci>
                        <apply>
                            <and/>
                            <apply>
                                <geq/>
                                <ci>time</ci>
                                <apply>
                                    <times/>
                                    <apply>
                                        <plus/>
                                        <apply>
                                            <floor/>
                                            <apply>
                                                <divide/>
                                                <ci>rest_duration</ci>
                                                <ci>rest_period</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="dimensionless">1</cn>
                                    </apply>
                                    <ci>rest_period</ci>
                                </apply>
                            </apply>
                            <apply>
                                <lt/>
                                <ci>time</ci>
                                <apply>
                                    <times/>
                                    <apply>
                                        <floor/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <plus/>
                                                <ci>rest_duration</ci>
                                                <ci>act_duration</ci>
                                            </apply>
                                            <ci>act_period</ci>
                                        </apply>
                                    </apply>
                                    <ci>act_period</ci>
                                </apply>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <ci>rest_period</ci>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>i_Stim</ci>
                <piecewise>
                    <piece>
                        <ci>stim_amplitude</ci>
                        <apply>
                            <and/>
                            <apply>
                                <geq/>
                                <apply>
                                    <minus/>
                                    <ci>time</ci>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <floor/>
                                            <apply>
                                                <divide/>
                                                <ci>time</ci>
                                                <ci>stim_period</ci>
                                            </apply>
                                        </apply>
                                        <ci>stim_period</ci>
                                    </apply>
                                </apply>
                                <ci>stim_start</ci>
                            </apply>
                            <apply>
                                <leq/>
                                <apply>
                                    <minus/>
                                    <ci>time</ci>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <floor/>
                                            <apply>
                                                <divide/>
                                                <ci>time</ci>
                                                <ci>stim_period</ci>
                                            </apply>
                                        </apply>
                                        <ci>stim_period</ci>
                                    </apply>
                                </apply>
                                <apply>
                                    <plus/>
                                    <ci>stim_start</ci>
                                    <ci>stim_duration</ci>
                                </apply>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="picoA_per_picoF">0</cn>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>V</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <ci>i_K1</ci>
                        <ci>i_to</ci>
                        <ci>i_Kr</ci>
                        <ci>i_Ks</ci>
                        <ci>i_CaL</ci>
                        <ci>i_NaK</ci>
                        <ci>i_Na</ci>
                        <ci>i_b_Na</ci>
                        <ci>i_NaCa</ci>
                        <ci>i_b_Ca</ci>
                        <ci>i_p_K</ci>
                        <ci>i_p_Ca</ci>
                        <ci>i_Stim</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="activation">
        <variable name="t" public_interface="in" units="second"/>
        <variable name="T" public_interface="out" units="second"/>
        <variable name="T_0" public_interface="in" units="second"/>
        <variable initial_value="0.4" name="T_sys_0" units="second"/>
        <variable initial_value="0.075" name="k_sys" units="s2"/>
        <variable name="T_sys" units="second"/>
        <variable name="u" public_interface="out" units="dimensionless"/>
        <variable name="phi" public_interface="out" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>u</ci>
                <apply>
                    <minus/>
                    <apply>
                        <divide/>
                        <ci>t</ci>
                        <ci>T_0</ci>
                    </apply>
                    <apply>
                        <floor/>
                        <apply>
                            <divide/>
                            <ci>t</ci>
                            <ci>T_0</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>T</ci>
                <apply>
                    <minus/>
                    <ci>t</ci>
                    <apply>
                        <times/>
                        <ci>T_0</ci>
                        <apply>
                            <floor/>
                            <apply>
                                <divide/>
                                <ci>t</ci>
                                <ci>T_0</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>T_sys</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <minus/>
                            <ci>T_sys_0</ci>
                            <apply>
                                <divide/>
                                <ci>k_sys</ci>
                                <ci>T</ci>
                            </apply>
                        </apply>
                        <apply>
                            <gt/>
                            <ci>T</ci>
                            <cn cellml:units="second">0</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <minus/>
                            <ci>T_sys_0</ci>
                            <apply>
                                <divide/>
                                <ci>k_sys</ci>
                                <ci>T_0</ci>
                            </apply>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>phi</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <power/>
                            <apply>
                                <sin/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <pi/>
                                        <ci>u</ci>
                                        <ci>T</ci>
                                    </apply>
                                    <ci>T_sys_0</ci>
                                </apply>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <geq/>
                                <ci>u</ci>
                                <cn cellml:units="dimensionless">0</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>u</ci>
                                <apply>
                                    <divide/>
                                    <ci>T_sys_0</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="dimensionless">0</cn>
                    </otherwise>
                </piecewise>
            </apply>
        </math>
    </component>
    <component name="fast_sodium_current">
        <variable name="i_Na" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="14.838" name="g_Na" units="nanoS_per_picoF"/>
        <variable name="E_Na" public_interface="in" units="millivolt"/>
        <variable name="time" private_interface="out" public_interface="in" units="millisecond"/>
        <variable name="V" private_interface="out" public_interface="in" units="millivolt"/>
        <variable name="m" private_interface="in" units="dimensionless"/>
        <variable name="h" private_interface="in" units="dimensionless"/>
        <variable name="j" private_interface="in" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_Na</ci>
                <apply>
                    <times/>
                    <ci>g_Na</ci>
                    <apply>
                        <power/>
                        <ci>m</ci>
                        <cn cellml:units="dimensionless">3</cn>
                    </apply>
                    <ci>h</ci>
                    <ci>j</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>E_Na</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="L_type_Ca_current">
        <variable name="i_CaL" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="0.175" name="g_CaL" units="litre_per_farad_second"/>
        <variable name="Ca_o" public_interface="in" units="millimolar"/>
        <variable name="Ca_i" private_interface="out" public_interface="in" units="millimolar"/>
        <variable name="R" public_interface="in" units="joule_per_mole_kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_millimole"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="time" private_interface="out" public_interface="in" units="millisecond"/>
        <variable name="V" private_interface="out" public_interface="in" units="millivolt"/>
        <variable name="d" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="f" private_interface="in" units="dimensionless"/>
        <variable name="fCa" private_interface="in" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_CaL</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>g_CaL</ci>
                                <ci>d</ci>
                                <ci>f</ci>
                                <ci>fCa</ci>
                                <cn cellml:units="dimensionless">4</cn>
                                <ci>V</ci>
                                <apply>
                                    <power/>
                                    <ci>F</ci>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <ci>R</ci>
                                <ci>T</ci>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>Ca_i</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <cn cellml:units="dimensionless">2</cn>
                                            <ci>V</ci>
                                            <ci>F</ci>
                                        </apply>
                                        <apply>
                                            <times/>
                                            <ci>R</ci>
                                            <ci>T</ci>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.341</cn>
                                <ci>Ca_o</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">2</cn>
                                    <ci>V</ci>
                                    <ci>F</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="rapid_time_dependent_potassium_current">
        <variable name="i_Kr" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="0.096" name="g_Kr" units="nanoS_per_picoF"/>
        <variable name="E_K" public_interface="in" units="millivolt"/>
        <variable name="K_o" public_interface="in" units="millimolar"/>
        <variable name="time" private_interface="out" public_interface="in" units="millisecond"/>
        <variable name="V" private_interface="out" public_interface="in" units="millivolt"/>
        <variable name="Xr1" private_interface="in" units="dimensionless"/>
        <variable name="Xr2" private_interface="in" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_Kr</ci>
                <apply>
                    <times/>
                    <ci>g_Kr</ci>
                    <apply>
                        <root/>
                        <apply>
                            <divide/>
                            <ci>K_o</ci>
                            <cn cellml:units="millimolar">5.4</cn>
                        </apply>
                    </apply>
                    <ci>Xr1</ci>
                    <ci>Xr2</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>E_K</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="slow_time_dependent_potassium_current">
        <variable name="i_Ks" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="0.062" name="g_Ks" units="nanoS_per_picoF"/>
        <variable name="E_Ks" public_interface="in" units="millivolt"/>
        <variable name="time" private_interface="out" public_interface="in" units="millisecond"/>
        <variable name="V" private_interface="out" public_interface="in" units="millivolt"/>
        <variable name="Xs" private_interface="in" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_Ks</ci>
                <apply>
                    <times/>
                    <ci>g_Ks</ci>
                    <apply>
                        <power/>
                        <ci>Xs</ci>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>E_Ks</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="sodium_background_current">
        <variable name="i_b_Na" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="0.00029" name="g_bna" units="nanoS_per_picoF"/>
        <variable name="E_Na" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_b_Na</ci>
                <apply>
                    <times/>
                    <ci>g_bna</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>E_Na</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="calcium_background_current">
        <variable name="i_b_Ca" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="0.000592" name="g_bca" units="nanoS_per_picoF"/>
        <variable name="E_Ca" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_b_Ca</ci>
                <apply>
                    <times/>
                    <ci>g_bca</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>E_Ca</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="transient_outward_current">
        <variable name="i_to" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="0.294" name="g_to" units="nanoS_per_picoF"/>
        <variable name="E_K" public_interface="in" units="millivolt"/>
        <variable name="V" private_interface="out" public_interface="in" units="millivolt"/>
        <variable name="time" private_interface="out" public_interface="in" units="millisecond"/>
        <variable name="s" private_interface="in" units="dimensionless"/>
        <variable name="r" private_interface="in" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_to</ci>
                <apply>
                    <times/>
                    <ci>g_to</ci>
                    <ci>r</ci>
                    <ci>s</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>E_K</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="sodium_potassium_pump_current">
        <variable name="i_NaK" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="1.362" name="P_NaK" units="picoA_per_picoF"/>
        <variable initial_value="1" name="K_mk" units="millimolar"/>
        <variable initial_value="40" name="K_mNa" units="millimolar"/>
        <variable name="K_o" public_interface="in" units="millimolar"/>
        <variable name="Na_i" public_interface="in" units="millimolar"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="R" public_interface="in" units="joule_per_mole_kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_millimole"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="V" private_interface="out" public_interface="in" units="millivolt"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_NaK</ci>
                <apply>
                    <divide/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>P_NaK</ci>
                                    <ci>K_o</ci>
                                </apply>
                                <apply>
                                    <plus/>
                                    <ci>K_o</ci>
                                    <ci>K_mk</ci>
                                </apply>
                            </apply>
                            <ci>Na_i</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <ci>Na_i</ci>
                            <ci>K_mNa</ci>
                        </apply>
                    </apply>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.1245</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="dimensionless">0.1</cn>
                                        </apply>
                                        <ci>V</ci>
                                        <ci>F</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.0353</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <ci>V</ci>
                                        </apply>
                                        <ci>F</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="sodium_calcium_exchanger_current">
        <variable name="i_NaCa" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="1000" name="K_NaCa" units="picoA_per_picoF"/>
        <variable initial_value="0.1" name="K_sat" units="dimensionless"/>
        <variable initial_value="2.5" name="alpha" units="dimensionless"/>
        <variable initial_value="0.35" name="gamma" units="dimensionless"/>
        <variable initial_value="1.38" name="Km_Ca" units="millimolar"/>
        <variable initial_value="87.5" name="Km_Nai" units="millimolar"/>
        <variable name="Na_i" public_interface="in" units="millimolar"/>
        <variable name="Na_o" public_interface="in" units="millimolar"/>
        <variable name="Ca_i" public_interface="in" units="millimolar"/>
        <variable name="Ca_o" public_interface="in" units="millimolar"/>
        <variable name="R" public_interface="in" units="joule_per_mole_kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_millimole"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_NaCa</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>K_NaCa</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <ci>gamma</ci>
                                            <ci>V</ci>
                                            <ci>F</ci>
                                        </apply>
                                        <apply>
                                            <times/>
                                            <ci>R</ci>
                                            <ci>T</ci>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <power/>
                                    <ci>Na_i</ci>
                                    <cn cellml:units="dimensionless">3</cn>
                                </apply>
                                <ci>Ca_o</ci>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>gamma</ci>
                                                <cn cellml:units="dimensionless">1</cn>
                                            </apply>
                                            <ci>V</ci>
                                            <ci>F</ci>
                                        </apply>
                                        <apply>
                                            <times/>
                                            <ci>R</ci>
                                            <ci>T</ci>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <power/>
                                    <ci>Na_o</ci>
                                    <cn cellml:units="dimensionless">3</cn>
                                </apply>
                                <ci>Ca_i</ci>
                                <ci>alpha</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <plus/>
                            <apply>
                                <power/>
                                <ci>Km_Nai</ci>
                                <cn cellml:units="dimensionless">3</cn>
                            </apply>
                            <apply>
                                <power/>
                                <ci>Na_o</ci>
                                <cn cellml:units="dimensionless">3</cn>
                            </apply>
                        </apply>
                        <apply>
                            <plus/>
                            <ci>Km_Ca</ci>
                            <ci>Ca_o</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <times/>
                                <ci>K_sat</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>gamma</ci>
                                                <cn cellml:units="dimensionless">1</cn>
                                            </apply>
                                            <ci>V</ci>
                                            <ci>F</ci>
                                        </apply>
                                        <apply>
                                            <times/>
                                            <ci>R</ci>
                                            <ci>T</ci>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="calcium_pump_current">
        <variable name="i_p_Ca" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="0.825" name="g_pCa" units="picoA_per_picoF"/>
        <variable initial_value="0.0005" name="K_pCa" units="millimolar"/>
        <variable name="Ca_i" public_interface="in" units="millimolar"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_p_Ca</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>g_pCa</ci>
                        <ci>Ca_i</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <ci>Ca_i</ci>
                        <ci>K_pCa</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="potassium_pump_current">
        <variable name="i_p_K" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="0.0146" name="g_pK" units="nanoS_per_picoF"/>
        <variable name="E_K" public_interface="in" units="millivolt"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_p_K</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>g_pK</ci>
                        <apply>
                            <minus/>
                            <ci>V</ci>
                            <ci>E_K</ci>
                        </apply>
                    </apply>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">25</cn>
                                    <ci>V</ci>
                                </apply>
                                <cn cellml:units="millivolt">5.98</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="calcium_dynamics">
        <variable initial_value="7.1004591702444e-05" name="Ca_i" public_interface="out" units="millimolar"/>
        <variable initial_value="2" name="Ca_o" public_interface="out" units="millimolar"/>
        <variable initial_value="0.587733190389214" name="Ca_SR" units="millimolar"/>
        <variable name="i_rel" units="millimolar_per_millisecond"/>
        <variable name="i_up" units="millimolar_per_millisecond"/>
        <variable name="i_leak" units="millimolar_per_millisecond"/>
        <variable initial_value="0.999930243388623" name="g" units="dimensionless"/>
        <variable initial_value="2" name="tau_g" units="millisecond"/>
        <variable name="g_inf" units="dimensionless"/>
        <variable initial_value="0.016464" name="a_rel" units="millimolar_per_millisecond"/>
        <variable initial_value="0.25" name="b_rel" units="millimolar"/>
        <variable initial_value="0.008232" name="c_rel" units="millimolar_per_millisecond"/>
        <variable initial_value="0.00025" name="K_up" units="millimolar"/>
        <variable initial_value="8e-05" name="V_leak" units="per_millisecond"/>
        <variable initial_value="0.000425" name="Vmax_up" units="millimolar_per_millisecond"/>
        <variable name="ddt_Ca_i_total" units="millimolar_per_millisecond"/>
        <variable name="ddt_Ca_sr_total" units="millimolar_per_millisecond"/>
        <variable name="f_JCa_i_free" units="dimensionless"/>
        <variable name="f_JCa_sr_free" units="dimensionless"/>
        <variable initial_value="0.15" name="Buf_c" units="millimolar"/>
        <variable initial_value="0.001" name="K_buf_c" units="millimolar"/>
        <variable initial_value="10" name="Buf_sr" units="millimolar"/>
        <variable initial_value="0.3" name="K_buf_sr" units="millimolar"/>
        <variable initial_value="1094" name="V_sr" units="micrometre3"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="V_c" public_interface="in" units="micrometre3"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="d" public_interface="in" units="dimensionless"/>
        <variable name="F" public_interface="in" units="coulomb_per_millimole"/>
        <variable name="Cm" public_interface="in" units="picoF"/>
        <variable name="i_CaL" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_NaCa" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_p_Ca" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_b_Ca" public_interface="in" units="picoA_per_picoF"/>
        <variable name="d_g" units="per_millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_rel</ci>
                <apply>
                    <times/>
                    <apply>
                        <plus/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>a_rel</ci>
                                <apply>
                                    <power/>
                                    <ci>Ca_SR</ci>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <apply>
                                    <power/>
                                    <ci>b_rel</ci>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                                <apply>
                                    <power/>
                                    <ci>Ca_SR</ci>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                            </apply>
                        </apply>
                        <ci>c_rel</ci>
                    </apply>
                    <ci>d</ci>
                    <ci>g</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>i_up</ci>
                <apply>
                    <divide/>
                    <ci>Vmax_up</ci>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <power/>
                                <ci>K_up</ci>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                            <apply>
                                <power/>
                                <ci>Ca_i</ci>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>i_leak</ci>
                <apply>
                    <times/>
                    <ci>V_leak</ci>
                    <apply>
                        <minus/>
                        <ci>Ca_SR</ci>
                        <ci>Ca_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>g_inf</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <divide/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <ci>Ca_i</ci>
                                        <cn cellml:units="millimolar">0.00035</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">6</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <lt/>
                            <ci>Ca_i</ci>
                            <cn cellml:units="millimolar">0.00035</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <divide/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <ci>Ca_i</ci>
                                        <cn cellml:units="millimolar">0.00035</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">16</cn>
                                </apply>
                            </apply>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>d_g</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>g_inf</ci>
                        <ci>g</ci>
                    </apply>
                    <ci>tau_g</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>g</ci>
                </apply>
                <piecewise>
                    <piece>
                        <cn cellml:units="per_millisecond">0</cn>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>g_inf</ci>
                                <ci>g</ci>
                            </apply>
                            <apply>
                                <gt/>
                                <ci>V</ci>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">60</cn>
                                </apply>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <ci>d_g</ci>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>ddt_Ca_i_total</ci>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>i_CaL</ci>
                                                <ci>i_b_Ca</ci>
                                                <ci>i_p_Ca</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <cn cellml:units="dimensionless">2</cn>
                                                <ci>i_NaCa</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">2</cn>
                                        <ci>V_c</ci>
                                        <ci>F</ci>
                                    </apply>
                                </apply>
                                <ci>Cm</ci>
                            </apply>
                            <ci>i_leak</ci>
                        </apply>
                        <ci>i_up</ci>
                    </apply>
                    <ci>i_rel</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ddt_Ca_sr_total</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <ci>V_c</ci>
                        <ci>V_sr</ci>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>i_up</ci>
                        <apply>
                            <plus/>
                            <ci>i_rel</ci>
                            <ci>i_leak</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>f_JCa_i_free</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>Buf_c</ci>
                                <ci>K_buf_c</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <ci>Ca_i</ci>
                                    <ci>K_buf_c</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>f_JCa_sr_free</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>Buf_sr</ci>
                                <ci>K_buf_sr</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <ci>Ca_SR</ci>
                                    <ci>K_buf_sr</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Ca_i</ci>
                </apply>
                <apply>
                    <times/>
                    <ci>ddt_Ca_i_total</ci>
                    <ci>f_JCa_i_free</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Ca_SR</ci>
                </apply>
                <apply>
                    <times/>
                    <ci>ddt_Ca_sr_total</ci>
                    <ci>f_JCa_sr_free</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="sodium_dynamics">
        <variable initial_value="10.3882009723204" name="Na_i" public_interface="out" units="millimolar"/>
        <variable initial_value="140" name="Na_o" public_interface="out" units="millimolar"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="F" public_interface="in" units="coulomb_per_millimole"/>
        <variable name="Cm" public_interface="in" units="picoF"/>
        <variable name="V_c" public_interface="in" units="micrometre3"/>
        <variable name="i_Na" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_NaCa" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_NaK" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_b_Na" public_interface="in" units="picoA_per_picoF"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Na_i</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <ci>i_Na</ci>
                                <ci>i_b_Na</ci>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">3</cn>
                                    <ci>i_NaK</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">3</cn>
                                    <ci>i_NaCa</ci>
                                </apply>
                            </apply>
                        </apply>
                        <ci>Cm</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>V_c</ci>
                        <ci>F</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="potassium_dynamics">
        <variable initial_value="139.140904760226" name="K_i" public_interface="out" units="millimolar"/>
        <variable initial_value="5.4" name="K_o" public_interface="out" units="millimolar"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="F" public_interface="in" units="coulomb_per_millimole"/>
        <variable name="Cm" public_interface="in" units="picoF"/>
        <variable name="V_c" public_interface="in" units="micrometre3"/>
        <variable name="i_K1" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_to" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_NaK" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_Kr" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_Ks" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_p_K" public_interface="in" units="picoA_per_picoF"/>
        <variable name="i_Stim" public_interface="in" units="picoA_per_picoF"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>K_i</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <apply>
                                <minus/>
                                <apply>
                                    <plus/>
                                    <ci>i_K1</ci>
                                    <ci>i_to</ci>
                                    <ci>i_Kr</ci>
                                    <ci>i_Ks</ci>
                                    <ci>i_p_K</ci>
                                    <ci>i_Stim</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">2</cn>
                                    <ci>i_NaK</ci>
                                </apply>
                            </apply>
                        </apply>
                        <ci>Cm</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>V_c</ci>
                        <ci>F</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="reversal_potentials">
        <variable name="E_Na" public_interface="out" units="millivolt"/>
        <variable name="E_K" public_interface="out" units="millivolt"/>
        <variable name="E_Ks" public_interface="out" units="millivolt"/>
        <variable name="E_Ca" public_interface="out" units="millivolt"/>
        <variable initial_value="0.03" name="P_kna" units="dimensionless"/>
        <variable name="K_o" public_interface="in" units="millimolar"/>
        <variable name="Na_o" public_interface="in" units="millimolar"/>
        <variable name="K_i" public_interface="in" units="millimolar"/>
        <variable name="Na_i" public_interface="in" units="millimolar"/>
        <variable name="Ca_o" public_interface="in" units="millimolar"/>
        <variable name="Ca_i" public_interface="in" units="millimolar"/>
        <variable name="R" public_interface="in" units="joule_per_mole_kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_millimole"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>E_Na</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                        <ci>F</ci>
                    </apply>
                    <apply>
                        <ln/>
                        <apply>
                            <divide/>
                            <ci>Na_o</ci>
                            <ci>Na_i</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E_K</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                        <ci>F</ci>
                    </apply>
                    <apply>
                        <ln/>
                        <apply>
                            <divide/>
                            <ci>K_o</ci>
                            <ci>K_i</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E_Ks</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                        <ci>F</ci>
                    </apply>
                    <apply>
                        <ln/>
                        <apply>
                            <divide/>
                            <apply>
                                <plus/>
                                <ci>K_o</ci>
                                <apply>
                                    <times/>
                                    <ci>P_kna</ci>
                                    <ci>Na_o</ci>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <ci>K_i</ci>
                                <apply>
                                    <times/>
                                    <ci>P_kna</ci>
                                    <ci>Na_i</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E_Ca</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.5</cn>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                        <ci>F</ci>
                    </apply>
                    <apply>
                        <ln/>
                        <apply>
                            <divide/>
                            <ci>Ca_o</ci>
                            <ci>Ca_i</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="inward_rectifier_potassium_current">
        <variable name="i_K1" public_interface="out" units="picoA_per_picoF"/>
        <variable initial_value="5.405" name="g_K1" units="nanoS_per_picoF"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="K_o" public_interface="in" units="millimolar"/>
        <variable name="E_K" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="xK1_inf" units="dimensionless"/>
        <variable name="alpha_K1" units="per_millisecond"/>
        <variable name="beta_K1" units="per_millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>alpha_K1</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="per_millisecond">0.1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <times/>
                                <cn cellml:units="per_millivolt">0.06</cn>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <ci>V</ci>
                                        <ci>E_K</ci>
                                    </apply>
                                    <cn cellml:units="millivolt">200</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>beta_K1</ci>
                <apply>
                    <divide/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <cn cellml:units="per_millisecond">3</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <cn cellml:units="per_millivolt">0.0002</cn>
                                    <apply>
                                        <plus/>
                                        <apply>
                                            <minus/>
                                            <ci>V</ci>
                                            <ci>E_K</ci>
                                        </apply>
                                        <cn cellml:units="millivolt">100</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="per_millisecond">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <cn cellml:units="per_millivolt">0.1</cn>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <ci>V</ci>
                                            <ci>E_K</ci>
                                        </apply>
                                        <cn cellml:units="millivolt">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <times/>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="per_millivolt">0.5</cn>
                                </apply>
                                <apply>
                                    <minus/>
                                    <ci>V</ci>
                                    <ci>E_K</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>xK1_inf</ci>
                <apply>
                    <divide/>
                    <ci>alpha_K1</ci>
                    <apply>
                        <plus/>
                        <ci>alpha_K1</ci>
                        <ci>beta_K1</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>i_K1</ci>
                <apply>
                    <times/>
                    <ci>g_K1</ci>
                    <ci>xK1_inf</ci>
                    <apply>
                        <root/>
                        <apply>
                            <divide/>
                            <ci>K_o</ci>
                            <cn cellml:units="millimolar">5.4</cn>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>E_K</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="fast_sodium_current_m_gate">
        <variable initial_value="0.00135162166616847" name="m" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="m_inf" units="dimensionless"/>
        <variable name="alpha_m" units="dimensionless"/>
        <variable name="beta_m" units="dimensionless"/>
        <variable name="tau_m" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>m_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="millivolt">56.86</cn>
                                        </apply>
                                        <ci>V</ci>
                                    </apply>
                                    <cn cellml:units="millivolt">9.03</cn>
                                </apply>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>alpha_m</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="millivolt">60</cn>
                                    </apply>
                                    <ci>V</ci>
                                </apply>
                                <cn cellml:units="millivolt">5</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>beta_m</ci>
                <apply>
                    <plus/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.1</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="millivolt">35</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">5</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.1</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <ci>V</ci>
                                        <cn cellml:units="millivolt">50</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">200</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tau_m</ci>
                <apply>
                    <times/>
                    <cn cellml:units="millisecond">1</cn>
                    <ci>alpha_m</ci>
                    <ci>beta_m</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>m</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>m_inf</ci>
                        <ci>m</ci>
                    </apply>
                    <ci>tau_m</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="fast_sodium_current_h_gate">
        <variable initial_value="0.77429877367132" name="h" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="h_inf" units="dimensionless"/>
        <variable name="alpha_h" units="per_millisecond"/>
        <variable name="beta_h" units="per_millisecond"/>
        <variable name="tau_h" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>h_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="millivolt">71.55</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">7.43</cn>
                                </apply>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>alpha_h</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <cn cellml:units="per_millisecond">0.057</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="millivolt">80</cn>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="millivolt">6.8</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <lt/>
                            <ci>V</ci>
                            <apply>
                                <minus/>
                                <cn cellml:units="millivolt">40</cn>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="per_millisecond">0</cn>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>beta_h</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <cn cellml:units="per_millisecond">2.7</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="per_millivolt">0.079</cn>
                                        <ci>V</ci>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="per_millisecond">310000</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="per_millivolt">0.3485</cn>
                                        <ci>V</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <lt/>
                            <ci>V</ci>
                            <apply>
                                <minus/>
                                <cn cellml:units="millivolt">40</cn>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <divide/>
                            <cn cellml:units="per_millisecond">0.77</cn>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.13</cn>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <plus/>
                                                <ci>V</ci>
                                                <cn cellml:units="millivolt">10.66</cn>
                                            </apply>
                                            <apply>
                                                <minus/>
                                                <cn cellml:units="millivolt">11.1</cn>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>tau_h</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <ci>alpha_h</ci>
                        <ci>beta_h</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>h</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>h_inf</ci>
                        <ci>h</ci>
                    </apply>
                    <ci>tau_h</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="fast_sodium_current_j_gate">
        <variable initial_value="0.77418067944576" name="j" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="j_inf" units="dimensionless"/>
        <variable name="alpha_j" units="per_millisecond"/>
        <variable name="beta_j" units="per_millisecond"/>
        <variable name="tau_j" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>j_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="millivolt">71.55</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">7.43</cn>
                                </apply>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>alpha_j</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <divide/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <cn cellml:units="per_millisecond">25428</cn>
                                            </apply>
                                            <apply>
                                                <exp/>
                                                <apply>
                                                    <times/>
                                                    <cn cellml:units="per_millivolt">0.2444</cn>
                                                    <ci>V</ci>
                                                </apply>
                                            </apply>
                                        </apply>
                                        <apply>
                                            <times/>
                                            <cn cellml:units="per_millisecond" type="e-notation">6.948<sep/>-6</cn>
                                            <apply>
                                                <exp/>
                                                <apply>
                                                    <times/>
                                                    <apply>
                                                        <minus/>
                                                        <cn cellml:units="per_millivolt">0.04391</cn>
                                                    </apply>
                                                    <ci>V</ci>
                                                </apply>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="millivolt">37.78</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt">1</cn>
                            </apply>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="per_millivolt">0.311</cn>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="millivolt">79.23</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <lt/>
                            <ci>V</ci>
                            <apply>
                                <minus/>
                                <cn cellml:units="millivolt">40</cn>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="per_millisecond">0</cn>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>beta_j</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <cn cellml:units="per_millisecond">0.02424</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="per_millivolt">0.01052</cn>
                                        </apply>
                                        <ci>V</ci>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="per_millivolt">0.1378</cn>
                                        </apply>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="millivolt">40.14</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <lt/>
                            <ci>V</ci>
                            <apply>
                                <minus/>
                                <cn cellml:units="millivolt">40</cn>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <cn cellml:units="per_millisecond">0.6</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="per_millivolt">0.057</cn>
                                        <ci>V</ci>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="per_millivolt">0.1</cn>
                                        </apply>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="millivolt">32</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>tau_j</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <ci>alpha_j</ci>
                        <ci>beta_j</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>j</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>j_inf</ci>
                        <ci>j</ci>
                    </apply>
                    <ci>tau_j</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="L_type_Ca_current_d_gate">
        <variable initial_value="1.94693390111352e-05" name="d" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="d_inf" units="dimensionless"/>
        <variable name="alpha_d" units="dimensionless"/>
        <variable name="beta_d" units="dimensionless"/>
        <variable name="gamma_d" units="millisecond"/>
        <variable name="tau_d" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>d_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="millivolt">5</cn>
                                    </apply>
                                    <ci>V</ci>
                                </apply>
                                <cn cellml:units="millivolt">7.5</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>alpha_d</ci>
                <apply>
                    <plus/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1.4</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="millivolt">35</cn>
                                        </apply>
                                        <ci>V</ci>
                                    </apply>
                                    <cn cellml:units="millivolt">13</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="dimensionless">0.25</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>beta_d</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.4</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">5</cn>
                                </apply>
                                <cn cellml:units="millivolt">5</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>gamma_d</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="millisecond">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">50</cn>
                                    <ci>V</ci>
                                </apply>
                                <cn cellml:units="millivolt">20</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tau_d</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <cn cellml:units="millisecond">1</cn>
                        <ci>alpha_d</ci>
                        <ci>beta_d</ci>
                    </apply>
                    <ci>gamma_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>d</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>d_inf</ci>
                        <ci>d</ci>
                    </apply>
                    <ci>tau_d</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="L_type_Ca_current_f_gate">
        <variable initial_value="0.999748696842637" name="f" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="f_inf" units="dimensionless"/>
        <variable name="tau_f" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>f_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">20</cn>
                                </apply>
                                <cn cellml:units="millivolt">7</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tau_f</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <cn cellml:units="millisecond">1125</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="millivolt">27</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt_square">240</cn>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="millisecond">80</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="millisecond">165</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="millivolt">25</cn>
                                        <ci>V</ci>
                                    </apply>
                                    <cn cellml:units="millivolt">10</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>f</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>f_inf</ci>
                        <ci>f</ci>
                    </apply>
                    <ci>tau_f</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="L_type_Ca_current_fCa_gate">
        <variable initial_value="1.00596093362766" name="fCa" public_interface="out" units="dimensionless"/>
        <variable name="Ca_i" public_interface="in" units="millimolar"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="alpha_fCa" units="dimensionless"/>
        <variable name="beta_fCa" units="dimensionless"/>
        <variable name="gama_fCa" units="dimensionless"/>
        <variable name="fCa_inf" units="dimensionless"/>
        <variable name="tau_fCa" units="millisecond"/>
        <variable name="d_fCa" units="per_millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>alpha_fCa</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>Ca_i</ci>
                                <cn cellml:units="millimolar">0.000325</cn>
                            </apply>
                            <cn cellml:units="dimensionless">8</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>beta_fCa</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">0.1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <ci>Ca_i</ci>
                                    <cn cellml:units="millimolar">0.0005</cn>
                                </apply>
                                <cn cellml:units="millimolar">0.0001</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>gama_fCa</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">0.2</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <ci>Ca_i</ci>
                                    <cn cellml:units="millimolar">0.00075</cn>
                                </apply>
                                <cn cellml:units="millimolar">0.0008</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>fCa_inf</ci>
                <apply>
                    <divide/>
                    <apply>
                        <plus/>
                        <ci>alpha_fCa</ci>
                        <ci>beta_fCa</ci>
                        <ci>gama_fCa</ci>
                        <cn cellml:units="dimensionless">0.23</cn>
                    </apply>
                    <cn cellml:units="dimensionless">1.46</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tau_fCa</ci>
                <cn cellml:units="millisecond">2</cn>
            </apply>
            <apply>
                <eq/>
                <ci>d_fCa</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>fCa_inf</ci>
                        <ci>fCa</ci>
                    </apply>
                    <ci>tau_fCa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>fCa</ci>
                </apply>
                <piecewise>
                    <piece>
                        <cn cellml:units="per_millisecond">0</cn>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>fCa_inf</ci>
                                <ci>fCa</ci>
                            </apply>
                            <apply>
                                <gt/>
                                <ci>V</ci>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">60</cn>
                                </apply>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <ci>d_fCa</ci>
                    </otherwise>
                </piecewise>
            </apply>
        </math>
    </component>
    <component name="rapid_time_dependent_potassium_current_Xr1_gate">
        <variable initial_value="0.000180364600833549" name="Xr1" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="xr1_inf" units="dimensionless"/>
        <variable name="alpha_xr1" units="dimensionless"/>
        <variable name="beta_xr1" units="dimensionless"/>
        <variable name="tau_xr1" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>xr1_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="millivolt">26</cn>
                                    </apply>
                                    <ci>V</ci>
                                </apply>
                                <cn cellml:units="millivolt">7</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>alpha_xr1</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">450</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="millivolt">45</cn>
                                    </apply>
                                    <ci>V</ci>
                                </apply>
                                <cn cellml:units="millivolt">10</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>beta_xr1</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">6</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">30</cn>
                                </apply>
                                <cn cellml:units="millivolt">11.5</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tau_xr1</ci>
                <apply>
                    <times/>
                    <cn cellml:units="millisecond">1</cn>
                    <ci>alpha_xr1</ci>
                    <ci>beta_xr1</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Xr1</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>xr1_inf</ci>
                        <ci>Xr1</ci>
                    </apply>
                    <ci>tau_xr1</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="rapid_time_dependent_potassium_current_Xr2_gate">
        <variable initial_value="0.482817896836974" name="Xr2" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="xr2_inf" units="dimensionless"/>
        <variable name="alpha_xr2" units="dimensionless"/>
        <variable name="beta_xr2" units="dimensionless"/>
        <variable name="tau_xr2" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>xr2_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">88</cn>
                                </apply>
                                <cn cellml:units="millivolt">24</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>alpha_xr2</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">3</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="millivolt">60</cn>
                                    </apply>
                                    <ci>V</ci>
                                </apply>
                                <cn cellml:units="millivolt">20</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>beta_xr2</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.12</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">60</cn>
                                </apply>
                                <cn cellml:units="millivolt">20</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tau_xr2</ci>
                <apply>
                    <times/>
                    <cn cellml:units="millisecond">1</cn>
                    <ci>alpha_xr2</ci>
                    <ci>beta_xr2</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Xr2</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>xr2_inf</ci>
                        <ci>Xr2</ci>
                    </apply>
                    <ci>tau_xr2</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="slow_time_dependent_potassium_current_Xs_gate">
        <variable initial_value="0.00298637938729419" name="Xs" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="xs_inf" units="dimensionless"/>
        <variable name="alpha_xs" units="dimensionless"/>
        <variable name="beta_xs" units="dimensionless"/>
        <variable name="tau_xs" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>xs_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="millivolt">5</cn>
                                    </apply>
                                    <ci>V</ci>
                                </apply>
                                <cn cellml:units="millivolt">14</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>alpha_xs</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1100</cn>
                    <apply>
                        <root/>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="millivolt">10</cn>
                                        </apply>
                                        <ci>V</ci>
                                    </apply>
                                    <cn cellml:units="millivolt">6</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>beta_xs</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">60</cn>
                                </apply>
                                <cn cellml:units="millivolt">20</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tau_xs</ci>
                <apply>
                    <times/>
                    <cn cellml:units="millisecond">1</cn>
                    <ci>alpha_xs</ci>
                    <ci>beta_xs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Xs</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>xs_inf</ci>
                        <ci>Xs</ci>
                    </apply>
                    <ci>tau_xs</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="transient_outward_current_s_gate">
        <variable initial_value="0.999998274398688" name="s" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="s_inf" units="dimensionless"/>
        <variable name="tau_s" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>s_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="millivolt">20</cn>
                                </apply>
                                <cn cellml:units="millivolt">5</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tau_s</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <cn cellml:units="millisecond">85</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="millivolt">45</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt_square">320</cn>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <divide/>
                        <cn cellml:units="millisecond">5</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <ci>V</ci>
                                        <cn cellml:units="millivolt">20</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">5</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="millisecond">3</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>s</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>s_inf</ci>
                        <ci>s</ci>
                    </apply>
                    <ci>tau_s</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="transient_outward_current_r_gate">
        <variable initial_value="2.00514331917375e-08" name="r" public_interface="out" units="dimensionless"/>
        <variable name="V" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="r_inf" units="dimensionless"/>
        <variable name="tau_r" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>r_inf</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="millivolt">20</cn>
                                    <ci>V</ci>
                                </apply>
                                <cn cellml:units="millivolt">6</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tau_r</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <cn cellml:units="millisecond">9.5</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="millivolt">40</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt_square">1800</cn>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="millisecond">0.8</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>r</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>r_inf</ci>
                        <ci>r</ci>
                    </apply>
                    <ci>tau_r</ci>
                </apply>
            </apply>
        </math>
    </component>
    <group>
        <relationship_ref relationship="encapsulation"/>
        <component_ref component="fast_sodium_current">
            <component_ref component="fast_sodium_current_m_gate"/>
            <component_ref component="fast_sodium_current_h_gate"/>
            <component_ref component="fast_sodium_current_j_gate"/>
        </component_ref>
        <component_ref component="L_type_Ca_current">
            <component_ref component="L_type_Ca_current_d_gate"/>
            <component_ref component="L_type_Ca_current_f_gate"/>
            <component_ref component="L_type_Ca_current_fCa_gate"/>
        </component_ref>
        <component_ref component="rapid_time_dependent_potassium_current">
            <component_ref component="rapid_time_dependent_potassium_current_Xr1_gate"/>
            <component_ref component="rapid_time_dependent_potassium_current_Xr2_gate"/>
        </component_ref>
        <component_ref component="slow_time_dependent_potassium_current">
            <component_ref component="slow_time_dependent_potassium_current_Xs_gate"/>
        </component_ref>
        <component_ref component="transient_outward_current">
            <component_ref component="transient_outward_current_s_gate"/>
            <component_ref component="transient_outward_current_r_gate"/>
        </component_ref>
    </group>
    <connection>
        <map_components component_1="main" component_2="cvs"/>
        <map_variables variable_1="time" variable_2="t"/>
        <map_variables variable_1="u_pv" variable_2="u_pv"/>
        <map_variables variable_1="u_sa" variable_2="u_sa"/>
        <map_variables variable_1="u_rv" variable_2="u_rv"/>
        <map_variables variable_1="u_lv" variable_2="u_lv"/>
    </connection>
    <connection>
        <map_components component_1="environment" component_2="main"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="TT04" component_2="main"/>
        <map_variables variable_1="phi_Cai" variable_2="phi_Cai"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="TT04" component_2="calcium_dynamics"/>
        <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
    </connection>
    <connection>
        <map_components component_1="main" component_2="activation"/>
        <map_variables variable_1="time" variable_2="t"/>
        <map_variables variable_1="phi" variable_2="phi"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="activation"/>
        <map_variables variable_1="stim_period" variable_2="T_0"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="main"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="stim_period" variable_2="stim_period"/>
    </connection>
    <connection>
        <map_components component_1="activation" component_2="cvs"/>
        <map_variables variable_1="phi" variable_2="phi"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="fast_sodium_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="L_type_Ca_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="rapid_time_dependent_potassium_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="slow_time_dependent_potassium_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="inward_rectifier_potassium_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="sodium_background_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="calcium_background_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="transient_outward_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="sodium_potassium_pump_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="sodium_calcium_exchanger_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="calcium_dynamics" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="sodium_dynamics" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="potassium_dynamics" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="reversal_potentials"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="F" variable_2="F"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="fast_sodium_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_Na" variable_2="i_Na"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="L_type_Ca_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_CaL" variable_2="i_CaL"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="F" variable_2="F"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="rapid_time_dependent_potassium_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_Kr" variable_2="i_Kr"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="slow_time_dependent_potassium_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_Ks" variable_2="i_Ks"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="transient_outward_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_to" variable_2="i_to"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="inward_rectifier_potassium_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_K1" variable_2="i_K1"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="sodium_background_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_b_Na" variable_2="i_b_Na"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="calcium_background_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_b_Ca" variable_2="i_b_Ca"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="sodium_potassium_pump_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="F" variable_2="F"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="sodium_calcium_exchanger_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="F" variable_2="F"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="calcium_pump_current"/>
        <map_variables variable_1="i_p_Ca" variable_2="i_p_Ca"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="potassium_pump_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_p_K" variable_2="i_p_K"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="calcium_dynamics"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="V_c" variable_2="V_c"/>
        <map_variables variable_1="Cm" variable_2="Cm"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="sodium_dynamics"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="V_c" variable_2="V_c"/>
        <map_variables variable_1="Cm" variable_2="Cm"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="potassium_dynamics"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="V_c" variable_2="V_c"/>
        <map_variables variable_1="Cm" variable_2="Cm"/>
        <map_variables variable_1="i_Stim" variable_2="i_Stim"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="sodium_background_current"/>
        <map_variables variable_1="E_Na" variable_2="E_Na"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="inward_rectifier_potassium_current"/>
        <map_variables variable_1="E_K" variable_2="E_K"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="rapid_time_dependent_potassium_current"/>
        <map_variables variable_1="E_K" variable_2="E_K"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="transient_outward_current"/>
        <map_variables variable_1="E_K" variable_2="E_K"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="potassium_pump_current"/>
        <map_variables variable_1="E_K" variable_2="E_K"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="slow_time_dependent_potassium_current"/>
        <map_variables variable_1="E_Ks" variable_2="E_Ks"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="calcium_background_current"/>
        <map_variables variable_1="E_Ca" variable_2="E_Ca"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="fast_sodium_current"/>
        <map_variables variable_1="E_Na" variable_2="E_Na"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="calcium_dynamics"/>
        <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
        <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="potassium_dynamics"/>
        <map_variables variable_1="K_o" variable_2="K_o"/>
        <map_variables variable_1="K_i" variable_2="K_i"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="sodium_dynamics"/>
        <map_variables variable_1="Na_o" variable_2="Na_o"/>
        <map_variables variable_1="Na_i" variable_2="Na_i"/>
    </connection>
    <connection>
        <map_components component_1="inward_rectifier_potassium_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_K1" variable_2="i_K1"/>
        <map_variables variable_1="K_o" variable_2="K_o"/>
    </connection>
    <connection>
        <map_components component_1="rapid_time_dependent_potassium_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_Kr" variable_2="i_Kr"/>
        <map_variables variable_1="K_o" variable_2="K_o"/>
    </connection>
    <connection>
        <map_components component_1="slow_time_dependent_potassium_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_Ks" variable_2="i_Ks"/>
    </connection>
    <connection>
        <map_components component_1="fast_sodium_current" component_2="sodium_dynamics"/>
        <map_variables variable_1="i_Na" variable_2="i_Na"/>
    </connection>
    <connection>
        <map_components component_1="sodium_background_current" component_2="sodium_dynamics"/>
        <map_variables variable_1="i_b_Na" variable_2="i_b_Na"/>
    </connection>
    <connection>
        <map_components component_1="L_type_Ca_current" component_2="calcium_dynamics"/>
        <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
        <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
        <map_variables variable_1="d" variable_2="d"/>
        <map_variables variable_1="i_CaL" variable_2="i_CaL"/>
    </connection>
    <connection>
        <map_components component_1="calcium_pump_current" component_2="calcium_dynamics"/>
        <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
        <map_variables variable_1="i_p_Ca" variable_2="i_p_Ca"/>
    </connection>
    <connection>
        <map_components component_1="calcium_background_current" component_2="calcium_dynamics"/>
        <map_variables variable_1="i_b_Ca" variable_2="i_b_Ca"/>
    </connection>
    <connection>
        <map_components component_1="sodium_potassium_pump_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
        <map_variables variable_1="K_o" variable_2="K_o"/>
    </connection>
    <connection>
        <map_components component_1="sodium_potassium_pump_current" component_2="sodium_dynamics"/>
        <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
        <map_variables variable_1="Na_i" variable_2="Na_i"/>
    </connection>
    <connection>
        <map_components component_1="sodium_calcium_exchanger_current" component_2="calcium_dynamics"/>
        <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
        <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
        <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
    </connection>
    <connection>
        <map_components component_1="sodium_calcium_exchanger_current" component_2="sodium_dynamics"/>
        <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
        <map_variables variable_1="Na_i" variable_2="Na_i"/>
        <map_variables variable_1="Na_o" variable_2="Na_o"/>
    </connection>
    <connection>
        <map_components component_1="transient_outward_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_to" variable_2="i_to"/>
    </connection>
    <connection>
        <map_components component_1="potassium_pump_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_p_K" variable_2="i_p_K"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="fast_sodium_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="rapid_time_dependent_potassium_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="slow_time_dependent_potassium_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="inward_rectifier_potassium_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="sodium_background_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="transient_outward_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="sodium_potassium_pump_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="sodium_calcium_exchanger_current" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="sodium_dynamics" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="potassium_dynamics" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="fast_sodium_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_Na" variable_2="i_Na"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="L_type_Ca_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_CaL" variable_2="i_CaL"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="F" variable_2="F"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="inward_rectifier_potassium_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_K1" variable_2="i_K1"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="calcium_background_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_b_Ca" variable_2="i_b_Ca"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="calcium_pump_current"/>
        <map_variables variable_1="i_p_Ca" variable_2="i_p_Ca"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="calcium_dynamics"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="V_c" variable_2="V_c"/>
        <map_variables variable_1="Cm" variable_2="Cm"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="inward_rectifier_potassium_current"/>
        <map_variables variable_1="E_K" variable_2="E_K"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="rapid_time_dependent_potassium_current"/>
        <map_variables variable_1="E_K" variable_2="E_K"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="potassium_pump_current"/>
        <map_variables variable_1="E_K" variable_2="E_K"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="calcium_background_current"/>
        <map_variables variable_1="E_Ca" variable_2="E_Ca"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="fast_sodium_current"/>
        <map_variables variable_1="E_Na" variable_2="E_Na"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="calcium_dynamics"/>
        <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
        <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="potassium_dynamics"/>
        <map_variables variable_1="K_o" variable_2="K_o"/>
        <map_variables variable_1="K_i" variable_2="K_i"/>
    </connection>
    <connection>
        <map_components component_1="rapid_time_dependent_potassium_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_Kr" variable_2="i_Kr"/>
        <map_variables variable_1="K_o" variable_2="K_o"/>
    </connection>
    <connection>
        <map_components component_1="slow_time_dependent_potassium_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_Ks" variable_2="i_Ks"/>
    </connection>
    <connection>
        <map_components component_1="calcium_pump_current" component_2="calcium_dynamics"/>
        <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
        <map_variables variable_1="i_p_Ca" variable_2="i_p_Ca"/>
    </connection>
    <connection>
        <map_components component_1="sodium_potassium_pump_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
        <map_variables variable_1="K_o" variable_2="K_o"/>
    </connection>
    <connection>
        <map_components component_1="sodium_potassium_pump_current" component_2="sodium_dynamics"/>
        <map_variables variable_1="i_NaK" variable_2="i_NaK"/>
        <map_variables variable_1="Na_i" variable_2="Na_i"/>
    </connection>
    <connection>
        <map_components component_1="sodium_calcium_exchanger_current" component_2="calcium_dynamics"/>
        <map_variables variable_1="i_NaCa" variable_2="i_NaCa"/>
        <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
        <map_variables variable_1="Ca_o" variable_2="Ca_o"/>
    </connection>
    <connection>
        <map_components component_1="rapid_time_dependent_potassium_current" component_2="rapid_time_dependent_potassium_current_Xr1_gate"/>
        <map_variables variable_1="Xr1" variable_2="Xr1"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="rapid_time_dependent_potassium_current" component_2="rapid_time_dependent_potassium_current_Xr2_gate"/>
        <map_variables variable_1="Xr2" variable_2="Xr2"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="slow_time_dependent_potassium_current" component_2="slow_time_dependent_potassium_current_Xs_gate"/>
        <map_variables variable_1="Xs" variable_2="Xs"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="fast_sodium_current" component_2="fast_sodium_current_m_gate"/>
        <map_variables variable_1="m" variable_2="m"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="fast_sodium_current" component_2="fast_sodium_current_h_gate"/>
        <map_variables variable_1="h" variable_2="h"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="fast_sodium_current" component_2="fast_sodium_current_j_gate"/>
        <map_variables variable_1="j" variable_2="j"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="L_type_Ca_current" component_2="L_type_Ca_current_d_gate"/>
        <map_variables variable_1="d" variable_2="d"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="L_type_Ca_current" component_2="L_type_Ca_current_f_gate"/>
        <map_variables variable_1="f" variable_2="f"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="L_type_Ca_current" component_2="L_type_Ca_current_fCa_gate"/>
        <map_variables variable_1="fCa" variable_2="fCa"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="Ca_i" variable_2="Ca_i"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="transient_outward_current" component_2="transient_outward_current_s_gate"/>
        <map_variables variable_1="s" variable_2="s"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="transient_outward_current" component_2="transient_outward_current_r_gate"/>
        <map_variables variable_1="r" variable_2="r"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="transient_outward_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_to" variable_2="i_to"/>
    </connection>
    <connection>
        <map_components component_1="potassium_pump_current" component_2="potassium_dynamics"/>
        <map_variables variable_1="i_p_K" variable_2="i_p_K"/>
    </connection>
</model>