Rendering of the source text

<?xml version='1.0' encoding='UTF-8'?>
<model name="BCPS_2020"
       cmeta:id="BCPS_2020"
       xmlns="http://www.cellml.org/cellml/1.0#"
       xmlns:cellml="http://www.cellml.org/cellml/1.0#"
       xmlns:cmeta="http://www.cellml.org/metadata/1.0#"
       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
       xmlns:bqs="http://www.cellml.org/bqs/1.0#"
       xmlns:dc="http://purl.org/dc/elements/1.1/">
    <rdf:RDF>
        <rdf:Description rdf:about="#BCPS_2020">
            <bqs:reference rdf:parseType="Resource">
                <dc:subject rdf:parseType="Resource">
                    <bqs:subject_type>keyword</bqs:subject_type>
                    <rdf:value>
                        <rdf:Bag>
                            <rdf:li>electrophysiology</rdf:li>
                        </rdf:Bag>
                    </rdf:value>
                </dc:subject>
            </bqs:reference>
        </rdf:Description>
    </rdf:RDF>
    <units name="millisecond">
        <unit prefix="milli" units="second"/>
    </units>
    <units name="per_second">
        <unit exponent="-1" units="second"/>
    </units>
    <units name="per_millisecond">
        <unit exponent="-1" units="millisecond"/>
    </units>
    <units name="millivolt">
        <unit prefix="milli" units="volt"/>
    </units>
    <units name="millivolt_per_millimole">
        <unit prefix="milli" units="volt"/>
        <unit exponent="-1" units="millimolar"/>
    </units>
    <units name="per_millivolt">
        <unit exponent="-1" units="millivolt"/>
    </units>
    <units name="per_millivolt_millisecond">
        <unit exponent="-1" units="millivolt"/>
        <unit exponent="-1" units="millisecond"/>
    </units>
    <units name="micromolar">
        <unit prefix="micro" units="mole"/>
        <unit exponent="-1" units="litre"/>
    </units>
    <units name="millimolar">
        <unit prefix="milli" units="mole"/>
        <unit exponent="-1" units="litre"/>
    </units>
    <units name="per_millimolar">
        <unit exponent="-1" units="millimolar"/>
    </units>
    <units name="millimolar_per_second">
        <unit units="millimolar"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="millimolar_per_millisecond">
        <unit units="millimolar"/>
        <unit exponent="-1" units="millisecond"/>
    </units>
    <units name="per_millimolar_per_millisecond">
        <unit exponent="-1" units="millimolar"/>
        <unit exponent="-1" units="millisecond"/>
    </units>
    <units name="millisecond_per_millimolar">
        <unit units="millisecond"/>
        <unit exponent="-1" units="millimolar"/>
    </units>
    <units name="picoA">
        <unit prefix="pico" units="ampere"/>
    </units>
    <units name="microA_per_microF">
        <unit prefix="micro" units="ampere"/>
        <unit exponent="-1" prefix="micro" units="farad"/>
    </units>
    <units name="milliS_per_microF">
        <unit prefix="milli" units="siemens"/>
        <unit exponent="-1" prefix="micro" units="farad"/>
    </units>
    <units name="microF">
        <unit prefix="micro" units="farad"/>
    </units>
    <units name="micrometre_3">
        <unit exponent="3" prefix="micro" units="metre"/>
    </units>
    <units name="metre_3">
        <unit exponent="3" units="metre"/>
    </units>
    <units name="per_micrometre_3">
        <unit exponent="-3" prefix="micro" units="metre"/>
    </units>
    <units name="coulomb_per_metre_3">
        <unit exponent="-3" units="metre"/>
        <unit units="coulomb"/>
    </units>
    <units name="mm2">
        <unit exponent="2" prefix="milli" units="metre"/>
    </units>
    <units name="centimeter">
        <unit prefix="centi" units="metre"/>
    </units>
    <units name="centimeter_squared">
        <unit exponent="2" units="centimeter"/>
    </units>
    <units name="microliter_per_centimeter_cubed">
        <unit units="microliter"/>
        <unit exponent="-3" units="centimeter"/>
    </units>
    <units name="microF_per_centimeter_squared">
        <unit units="microF"/>
        <unit exponent="-1" units="centimeter_squared"/>
    </units>
    <units name="microliter">
        <unit prefix="micro" units="liter"/>
    </units>
    <units name="joule_per_kilomole_kelvin">
        <unit units="joule"/>
        <unit exponent="-1" prefix="kilo" units="mole"/>
        <unit exponent="-1" units="kelvin"/>
    </units>
    <units name="coulomb_per_mole">
        <unit units="coulomb"/>
        <unit exponent="-1" units="mole"/>
    </units>
    <units name="coulomb_per_mole_millivolt">
        <unit units="coulomb"/>
        <unit exponent="-1" units="mole"/>
        <unit exponent="-1" units="millivolt"/>
    </units>
    <!--//////////////-->
    <component name="environment">
        <variable name="time" public_interface="out" units="millisecond"/>
        <variable initial_value="0" name="celltype" public_interface="out" units="dimensionless"/>
    </component>
    <component name="extracellular">
        <variable initial_value="144" name="nao" public_interface="out" units="millimolar"/>
        <variable initial_value="2.7" name="cao" public_interface="out" units="millimolar"/>
        <variable initial_value="5.4" name="ko" public_interface="out" units="millimolar"/>
    </component>
    <component name="physical_constants">
        <variable initial_value="8314.0" name="R" public_interface="out" units="joule_per_kilomole_kelvin"/>
        <variable initial_value="310.0" name="T" public_interface="out" units="kelvin"/>
        <variable initial_value="96485.0" name="F" public_interface="out" units="coulomb_per_mole"/>
        <variable initial_value="1.0" name="zna" public_interface="out" units="dimensionless"/>
        <variable initial_value="2.0" name="zca" public_interface="out" units="dimensionless"/>
        <variable initial_value="1.0" name="zk" public_interface="out" units="dimensionless"/>
    </component>
    <component name="cell_geometry">
        <variable initial_value="0.01" name="L" units="centimeter"/>
        <variable initial_value="0.0011" name="rad" units="centimeter"/>
        <variable name="vcell" public_interface="out" units="microliter"/>
        <variable name="Ageo" public_interface="out" units="centimeter_squared"/>
        <variable name="Acap" public_interface="out" units="centimeter_squared"/>
        <variable name="vmyo" public_interface="out" units="microliter"/>
        <variable name="vnsr" public_interface="out" units="microliter"/>
        <variable name="vjsr" public_interface="out" units="microliter"/>
        <variable name="vss" public_interface="out" units="microliter"/>
        <variable name="vsr" public_interface="out" units="microliter"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>vcell</ci>
                <apply>
                    <times/>
                    <cn cellml:units="microliter_per_centimeter_cubed">1000</cn>
                    <cn cellml:units="dimensionless">3.1416</cn>
                    <ci>rad</ci>
                    <ci>rad</ci>
                    <ci>L</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ageo</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <cn cellml:units="dimensionless">3.1416</cn>
                        <ci>rad</ci>
                        <ci>rad</ci>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <cn cellml:units="dimensionless">3.1416</cn>
                        <ci>rad</ci>
                        <ci>L</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Acap</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">2</cn>
                    <ci>Ageo</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vmyo</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">0.68</cn>
                    <ci>vcell</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vnsr</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">0.0552</cn>
                    <ci>vcell</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vjsr</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">0.0048</cn>
                    <ci>vcell</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vss</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">0.02</cn>
                    <ci>vcell</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vsr</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">0.95</cn>
                    <apply>
                        <plus/>
                        <ci>vnsr</ci>
                        <ci>vjsr</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="membrane">
        <variable initial_value="-87" name="v" public_interface="out" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="R" public_interface="in" units="joule_per_kilomole_kelvin"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_mole"/>
        <variable name="vffrt" public_interface="out" units="coulomb_per_mole"/>
        <variable name="vfrt" public_interface="out" units="dimensionless"/>
        <variable name="INa" public_interface="in" units="microA_per_microF"/>
        <variable name="INaL" public_interface="in" units="microA_per_microF"/>
        <variable name="Ito" public_interface="in" units="microA_per_microF"/>
        <variable name="ICaL" public_interface="in" units="microA_per_microF"/>
        <variable name="ICaNa" public_interface="in" units="microA_per_microF"/>
        <variable name="ICaK" public_interface="in" units="microA_per_microF"/>
        <variable name="IKr" public_interface="in" units="microA_per_microF"/>
        <variable name="IKs" public_interface="in" units="microA_per_microF"/>
        <variable name="IK1" public_interface="in" units="microA_per_microF"/>
        <variable name="INaCa_i" public_interface="in" units="microA_per_microF"/>
        <variable name="INaCa_ss" public_interface="in" units="microA_per_microF"/>
        <variable name="INaK" public_interface="in" units="microA_per_microF"/>
        <variable name="INab" public_interface="in" units="microA_per_microF"/>
        <variable name="IKb" public_interface="in" units="microA_per_microF"/>
        <variable name="IpCa" public_interface="in" units="microA_per_microF"/>
        <variable name="ICab" public_interface="in" units="microA_per_microF"/>
        <variable initial_value="3" name="pstim" units="dimensionless"/>
        <variable name="Istim" public_interface="out" units="microA_per_microF"/>
        <variable initial_value="0" name="i_Stim_Start" units="millisecond"/>
        <variable initial_value="999000" name="i_Stim_End" units="millisecond"/>
        <variable initial_value="-53" name="i_Stim_Amplitude" units="microA_per_microF"/>
        <variable initial_value="1000" name="i_Stim_Period" units="millisecond"/>
        <variable initial_value="1" name="i_Stim_PulseDuration" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>Istim</ci>
                <piecewise>
                    <piece>
                        <ci>i_Stim_Amplitude</ci>
                        <apply>
                            <and/>
                            <apply>
                                <geq/>
                                <ci>time</ci>
                                <ci>i_Stim_Start</ci>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>time</ci>
                                <ci>i_Stim_End</ci>
                            </apply>
                            <apply>
                                <leq/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <ci>time</ci>
                                        <ci>i_Stim_Start</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <floor/>
                                            <apply>
                                                <divide/>
                                                <apply>
                                                    <minus/>
                                                    <ci>time</ci>
                                                    <ci>i_Stim_Start</ci>
                                                </apply>
                                                <ci>i_Stim_Period</ci>
                                            </apply>
                                        </apply>
                                        <ci>i_Stim_Period</ci>
                                    </apply>
                                </apply>
                                <ci>i_Stim_PulseDuration</ci>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="microA_per_microF">0.0</cn>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>vffrt</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>v</ci>
                        <ci>F</ci>
                        <ci>F</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>R</ci>
                        <ci>T</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vfrt</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>v</ci>
                        <ci>F</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>R</ci>
                        <ci>T</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>v</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <ci>INa</ci>
                        <ci>INaL</ci>
                        <ci>Ito</ci>
                        <ci>ICaL</ci>
                        <ci>ICaNa</ci>
                        <ci>ICaK</ci>
                        <ci>IKr</ci>
                        <ci>IKs</ci>
                        <ci>IK1</ci>
                        <ci>INaCa_i</ci>
                        <ci>INaCa_ss</ci>
                        <ci>INaK</ci>
                        <ci>INab</ci>
                        <ci>IKb</ci>
                        <ci>IpCa</ci>
                        <ci>ICab</ci>
                        <ci>Istim</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="CaMK">
        <variable initial_value="0.15" name="KmCaMK" public_interface="out" units="millimolar"/>
        <variable initial_value="0.05" name="aCaMK" units="per_millimolar_per_millisecond"/>
        <variable initial_value="0.00068" name="bCaMK" units="per_millisecond"/>
        <variable initial_value="0.05" name="CaMKo" units="dimensionless"/>
        <variable initial_value="0.0015" name="KmCaM" units="millimolar"/>
        <variable name="CaMKb" public_interface="out" units="millimolar"/>
        <variable name="CaMKa" public_interface="out" units="millimolar"/>
        <variable initial_value="0" name="CaMKt" units="millimolar"/>
        <variable name="cass" public_interface="in" units="millimolar"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>CaMKb</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>CaMKo</ci>
                        <apply>
                            <minus/>
                            <cn cellml:units="millimolar">1.0</cn>
                            <ci>CaMKt</ci>
                        </apply>
                    </apply>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <divide/>
                            <ci>KmCaM</ci>
                            <ci>cass</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>CaMKa</ci>
                <apply>
                    <plus/>
                    <ci>CaMKb</ci>
                    <ci>CaMKt</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>CaMKt</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <ci>aCaMK</ci>
                        <ci>CaMKb</ci>
                        <apply>
                            <plus/>
                            <ci>CaMKb</ci>
                            <ci>CaMKt</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>bCaMK</ci>
                        <ci>CaMKt</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="intracellular_ions">
        <variable initial_value="0.05" name="cmdnmax_b" units="millimolar"/>
        <variable name="cmdnmax" units="millimolar"/>
        <variable initial_value="0.00238" name="kmcmdn" units="millimolar"/>
        <variable initial_value="0.07" name="trpnmax" units="millimolar"/>
        <variable initial_value="0.0005" name="kmtrpn" units="millimolar"/>
        <variable initial_value="0.047" name="BSRmax" units="millimolar"/>
        <variable initial_value="0.00087" name="KmBSR" units="millimolar"/>
        <variable initial_value="1.124" name="BSLmax" units="millimolar"/>
        <variable initial_value="0.0087" name="KmBSL" units="millimolar"/>
        <variable initial_value="1.0" name="csqnmax" units="millimolar"/>
        <variable initial_value="0.8" name="kmcsqn" units="millimolar"/>
        <variable initial_value="7" name="nai" public_interface="out" units="millimolar"/>
        <variable initial_value="7" name="nass" public_interface="out" units="millimolar"/>
        <variable initial_value="145" name="ki" public_interface="out" units="millimolar"/>
        <variable initial_value="145" name="kss" public_interface="out" units="millimolar"/>
        <variable initial_value="1.0e-04" name="cass" public_interface="out" units="millimolar"/>
        <variable initial_value="1.50490908825974" name="cansr" public_interface="out" units="millimolar"/>
        <variable initial_value="0.821364973867864" name="cajsr" public_interface="out" units="millimolar"/>
        <variable initial_value="1.2" name="casr" public_interface="out" units="millimolar"/>
        <variable initial_value="1.0e-04" name="cai" public_interface="out" units="millimolar"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="Acap" public_interface="in" units="centimeter_squared"/>
        <variable name="R" public_interface="in" units="joule_per_kilomole_kelvin"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_mole"/>
        <variable name="INa" public_interface="in" units="microA_per_microF"/>
        <variable name="INaL" public_interface="in" units="microA_per_microF"/>
        <variable name="INaCa_i" public_interface="in" units="microA_per_microF"/>
        <variable name="INaCa_ss" public_interface="in" units="microA_per_microF"/>
        <variable name="ICaNa" public_interface="in" units="microA_per_microF"/>
        <variable name="INaK" public_interface="in" units="microA_per_microF"/>
        <variable name="INab" public_interface="in" units="microA_per_microF"/>
        <variable name="IK1" public_interface="in" units="microA_per_microF"/>
        <variable name="IKb" public_interface="in" units="microA_per_microF"/>
        <variable name="IKr" public_interface="in" units="microA_per_microF"/>
        <variable name="IKs" public_interface="in" units="microA_per_microF"/>
        <variable name="Istim" public_interface="in" units="microA_per_microF"/>
        <variable name="Ito" public_interface="in" units="microA_per_microF"/>
        <variable name="ICab" public_interface="in" units="microA_per_microF"/>
        <variable name="IpCa" public_interface="in" units="microA_per_microF"/>
        <variable name="ICaL" public_interface="in" units="microA_per_microF"/>
        <variable name="JdiffNa" public_interface="in" units="millimolar_per_millisecond"/>
        <variable name="Jdiff" public_interface="in" units="millimolar_per_millisecond"/>
        <variable name="Jup" public_interface="in" units="millimolar_per_millisecond"/>
        <variable name="JdiffK" public_interface="in" units="millimolar_per_millisecond"/>
        <variable name="Jrel" public_interface="in" units="millimolar_per_millisecond"/>
        <variable name="Jtr" public_interface="in" units="millimolar_per_millisecond"/>
        <variable name="Jleak" public_interface="in" units="millimolar_per_millisecond"/>
        <variable name="ICaK" public_interface="in" units="microA_per_microF"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="vmyo" public_interface="in" units="microliter"/>
        <variable name="vnsr" public_interface="in" units="microliter"/>
        <variable name="vss" public_interface="in" units="microliter"/>
        <variable name="vsr" public_interface="in" units="microliter"/>
        <variable name="vjsr" public_interface="in" units="microliter"/>
        <variable name="Bcai" units="dimensionless"/>
        <variable name="Bcasr" units="dimensionless"/>
        <variable name="Bcass" units="dimensionless"/>
        <variable initial_value="1" name="cm" public_interface="out" units="microF_per_centimeter_squared"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>cmdnmax</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>cmdnmax_b</ci>
                            <cn cellml:units="dimensionless">1.2</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <ci>cmdnmax_b</ci>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>nai</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <apply>
                                    <plus/>
                                    <ci>INa</ci>
                                    <ci>INaL</ci>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">3</cn>
                                        <ci>INaCa_i</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">3</cn>
                                        <ci>INaK</ci>
                                    </apply>
                                    <ci>INab</ci>
                                </apply>
                            </apply>
                            <ci>Acap</ci>
                            <ci>cm</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>F</ci>
                            <ci>vmyo</ci>
                        </apply>
                    </apply>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>JdiffNa</ci>
                            <ci>vss</ci>
                        </apply>
                        <ci>vmyo</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>nass</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <apply>
                                    <plus/>
                                    <ci>ICaNa</ci>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">3</cn>
                                        <ci>INaCa_ss</ci>
                                    </apply>
                                </apply>
                            </apply>
                            <ci>cm</ci>
                            <ci>Acap</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>F</ci>
                            <ci>vss</ci>
                        </apply>
                    </apply>
                    <ci>JdiffNa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>ki</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>Ito</ci>
                                        <ci>IKr</ci>
                                        <ci>IKs</ci>
                                        <ci>IK1</ci>
                                        <ci>IKb</ci>
                                        <ci>Istim</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">2</cn>
                                        <ci>INaK</ci>
                                    </apply>
                                </apply>
                            </apply>
                            <ci>cm</ci>
                            <ci>Acap</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>F</ci>
                            <ci>vmyo</ci>
                        </apply>
                    </apply>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>JdiffK</ci>
                            <ci>vss</ci>
                        </apply>
                        <ci>vmyo</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>kss</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <ci>ICaK</ci>
                            </apply>
                            <ci>cm</ci>
                            <ci>Acap</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>F</ci>
                            <ci>vss</ci>
                        </apply>
                    </apply>
                    <ci>JdiffK</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Bcai</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>cmdnmax</ci>
                                <ci>kmcmdn</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <ci>kmcmdn</ci>
                                    <ci>cai</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>trpnmax</ci>
                                <ci>kmtrpn</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <ci>kmtrpn</ci>
                                    <ci>cai</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>cai</ci>
                </apply>
                <apply>
                    <times/>
                    <ci>Bcai</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>IpCa</ci>
                                                <ci>ICab</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <cn cellml:units="dimensionless">2</cn>
                                                <ci>INaCa_i</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <ci>Acap</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">2</cn>
                                    <ci>F</ci>
                                    <ci>vmyo</ci>
                                </apply>
                            </apply>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>Jup</ci>
                                    <ci>vsr</ci>
                                </apply>
                                <ci>vmyo</ci>
                            </apply>
                        </apply>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>Jleak</ci>
                                <ci>vsr</ci>
                            </apply>
                            <ci>vmyo</ci>
                        </apply>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>Jdiff</ci>
                                <ci>vss</ci>
                            </apply>
                            <ci>vmyo</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Bcass</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>BSRmax</ci>
                                <ci>KmBSR</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <ci>KmBSR</ci>
                                    <ci>cass</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>BSLmax</ci>
                                <ci>KmBSL</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <ci>KmBSL</ci>
                                    <ci>cass</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>cass</ci>
                </apply>
                <apply>
                    <times/>
                    <ci>Bcass</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <ci>ICaL</ci>
                                            <apply>
                                                <times/>
                                                <cn cellml:units="dimensionless">2</cn>
                                                <ci>INaCa_ss</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <ci>Acap</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">2</cn>
                                    <ci>F</ci>
                                    <ci>vss</ci>
                                </apply>
                            </apply>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>Jrel</ci>
                                    <ci>vsr</ci>
                                </apply>
                                <ci>vss</ci>
                            </apply>
                        </apply>
                        <ci>Jdiff</ci>
                    </apply>
                </apply>
            </apply>
            <!--ode(cansr, time) = Jup-Jtr*vjsr/vnsr;-->
            <apply>
                <eq/>
                <ci>Bcasr</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>csqnmax</ci>
                                <ci>kmcsqn</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <ci>kmcsqn</ci>
                                    <ci>casr</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>casr</ci>
                </apply>
                <apply>
                    <times/>
                    <ci>Bcasr</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <ci>Jup</ci>
                            <ci>Jleak</ci>
                        </apply>
                        <ci>Jrel</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="reversal_potentials">
        <variable initial_value="0.01833" name="PKNa" units="dimensionless"/>
        <variable name="ENa" public_interface="out" units="millivolt"/>
        <variable name="EK" public_interface="out" units="millivolt"/>
        <variable name="EKs" public_interface="out" units="millivolt"/>
        <variable initial_value="8" name="EKshift" public_interface="out" units="millivolt"/>
        <variable name="nao" public_interface="in" units="millimolar"/>
        <variable name="ko" public_interface="in" units="millimolar"/>
        <variable name="nai" public_interface="in" units="millimolar"/>
        <variable name="ki" public_interface="in" units="millimolar"/>
        <variable name="R" public_interface="in" units="joule_per_kilomole_kelvin"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_mole"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>ENa</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                        <ci>F</ci>
                    </apply>
                    <apply>
                        <ln/>
                        <apply>
                            <divide/>
                            <ci>nao</ci>
                            <ci>nai</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>EK</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                        <ci>F</ci>
                    </apply>
                    <apply>
                        <ln/>
                        <apply>
                            <divide/>
                            <ci>ko</ci>
                            <ci>ki</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>EKs</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                        <ci>F</ci>
                    </apply>
                    <apply>
                        <ln/>
                        <apply>
                            <divide/>
                            <apply>
                                <plus/>
                                <ci>ko</ci>
                                <apply>
                                    <times/>
                                    <ci>PKNa</ci>
                                    <ci>nao</ci>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <ci>ki</ci>
                                <apply>
                                    <times/>
                                    <ci>PKNa</ci>
                                    <ci>nai</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="INa">
        <variable initial_value="1" name="btj" units="dimensionless"/>
        <variable initial_value="0.27" name="bGNa" units="dimensionless"/>
        <variable name="mss" units="dimensionless"/>
        <variable name="tm" public_interface="out" units="millisecond"/>
        <variable initial_value="39.57" name="mssV1" units="millivolt"/>
        <variable initial_value="9.871" name="mssV2" units="millivolt"/>
        <variable initial_value="11.64" name="mtV1" units="millivolt"/>
        <variable initial_value="34.77" name="mtV2" units="millivolt"/>
        <variable initial_value="6.765" name="mtD1" units="dimensionless"/>
        <variable initial_value="8.552" name="mtD2" units="dimensionless"/>
        <variable initial_value="77.42" name="mtV3" units="millivolt"/>
        <variable initial_value="5.955" name="mtV4" units="millivolt"/>
        <variable initial_value="0" name="m" units="dimensionless"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="hss" units="dimensionless"/>
        <variable name="thf" units="millisecond"/>
        <variable name="ths" units="millisecond"/>
        <variable initial_value="78.5" name="hssV1" units="millivolt"/>
        <variable initial_value="6.22" name="hssV2" units="millivolt"/>
        <variable name="Ahs" units="dimensionless"/>
        <variable initial_value="0.99" name="Ahf" units="dimensionless"/>
        <variable initial_value="1" name="hf" units="dimensionless"/>
        <variable initial_value="1" name="hs" units="dimensionless"/>
        <variable name="h" units="dimensionless"/>
        <!-- 75/1.045809e+00 = 71.71481599412512
 75/1.0 = 75-->
        <variable initial_value="75" name="GNa" units="milliS_per_microF"/>
        <variable name="jss" units="dimensionless"/>
        <variable name="tj" units="millisecond"/>
        <variable initial_value="1" name="j" units="dimensionless"/>
        <variable name="hssp" units="dimensionless"/>
        <variable name="thsp" units="millisecond"/>
        <variable initial_value="1" name="hsp" units="dimensionless"/>
        <variable name="hp" units="dimensionless"/>
        <variable name="tjp" units="millisecond"/>
        <variable initial_value="1" name="jp" units="dimensionless"/>
        <variable name="fINap" units="dimensionless"/>
        <variable name="INa" public_interface="out" units="microA_per_microF"/>
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable name="KmCaMK" public_interface="in" units="millimolar"/>
        <variable name="CaMKa" public_interface="in" units="millimolar"/>
        <variable name="ENa" public_interface="in" units="millivolt"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>mss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <ci>mssV1</ci>
                                    </apply>
                                </apply>
                                <ci>mssV2</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tm</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="millisecond">1</cn>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>mtD1</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <ci>mtV1</ci>
                                    </apply>
                                    <ci>mtV2</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>mtD2</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <ci>mtV3</ci>
                                        </apply>
                                    </apply>
                                    <ci>mtV4</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>m</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>mss</ci>
                        <ci>m</ci>
                    </apply>
                    <ci>tm</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>hss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>v</ci>
                                    <ci>hssV1</ci>
                                </apply>
                                <ci>hssV2</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>thf</ci>
                <apply>
                    <plus/>
                    <apply>
                        <divide/>
                        <cn cellml:units="millisecond">1.0</cn>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless" type="e-notation">3.6860<sep/>-6</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <cn cellml:units="millivolt">3.8875</cn>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="millivolt">7.8579</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">16</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <ci>v</ci>
                                            <cn cellml:units="millivolt">0.4963</cn>
                                        </apply>
                                        <cn cellml:units="millivolt">9.1843</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="dimensionless">0.075</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ths</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="millisecond">1.0</cn>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.009794</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <cn cellml:units="millivolt">17.95</cn>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="millivolt">28.05</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.3343</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <cn cellml:units="millivolt">5.73</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">56.66</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ahs</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <ci>Ahf</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>hf</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>hss</ci>
                        <ci>hf</ci>
                    </apply>
                    <ci>thf</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>hs</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>hss</ci>
                        <ci>hs</ci>
                    </apply>
                    <ci>ths</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>Ahf</ci>
                        <ci>hf</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>Ahs</ci>
                        <ci>hs</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>jss</ci>
                <ci>hss</ci>
            </apply>
            <!--tj = 2.038{millisecond}+1{millisecond}/(0.02136{dimensionless}*exp(-(v+100.6{millivolt}-shift_INa_inact)/8.281{millivolt})+0.3052{dimensionless}*exp((v+0.9941{millivolt}-shift_INa_inact)/38.45{millivolt}));-->
            <apply>
                <eq/>
                <ci>tj</ci>
                <apply>
                    <times/>
                    <apply>
                        <plus/>
                        <cn cellml:units="millisecond">4.8590</cn>
                        <apply>
                            <divide/>
                            <cn cellml:units="millisecond">1.0</cn>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">0.8628</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <minus/>
                                                <apply>
                                                    <plus/>
                                                    <ci>v</ci>
                                                    <cn cellml:units="millivolt">116.7258</cn>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="millivolt">7.6005</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">1.1096</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <cn cellml:units="millivolt">6.2719</cn>
                                            </apply>
                                            <cn cellml:units="millivolt">9.0358</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <ci>btj</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>j</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>jss</ci>
                        <ci>j</ci>
                    </apply>
                    <ci>tj</ci>
                </apply>
            </apply>
            <!--hssp = 1{dimensionless}/(1{dimensionless}+exp((v+89.1{millivolt}-shift_INa_inact)/6.086{millivolt}));-->
            <apply>
                <eq/>
                <ci>hssp</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">84.7</cn>
                                </apply>
                                <cn cellml:units="millivolt">6.220</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>thsp</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">3</cn>
                    <ci>ths</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>hsp</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>hssp</ci>
                        <ci>hsp</ci>
                    </apply>
                    <ci>thsp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>hp</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>Ahf</ci>
                        <ci>hf</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>Ahs</ci>
                        <ci>hsp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tjp</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">1.46</cn>
                    <ci>tj</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>jp</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>jss</ci>
                        <ci>jp</ci>
                    </apply>
                    <ci>tjp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>fINap</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <divide/>
                            <ci>KmCaMK</ci>
                            <ci>CaMKa</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>INa</ci>
                <apply>
                    <times/>
                    <ci>GNa</ci>
                    <ci>bGNa</ci>
                    <apply>
                        <minus/>
                        <ci>v</ci>
                        <ci>ENa</ci>
                    </apply>
                    <apply>
                        <power/>
                        <ci>m</ci>
                        <cn cellml:units="dimensionless">3</cn>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <ci>fINap</ci>
                            </apply>
                            <ci>h</ci>
                            <ci>j</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>fINap</ci>
                            <ci>hp</ci>
                            <ci>jp</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="INaL">
        <variable initial_value="2.8" name="bGnal" units="dimensionless"/>
        <!--added-->
        <variable initial_value="1" name="bthL" units="dimensionless"/>
        <!--added-->
        <variable name="mLss" units="dimensionless"/>
        <variable name="tm" public_interface="in" units="millisecond"/>
        <variable name="tmL" units="millisecond"/>
        <variable initial_value="0" name="mL" units="dimensionless"/>
        <!--initial condition 16-->
        <variable name="thL" units="millisecond"/>
        <variable name="hLss" units="dimensionless"/>
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable initial_value="1" name="hL" units="dimensionless"/>
        <!--initial condition 17-->
        <variable name="hLssp" units="dimensionless"/>
        <variable name="thLp" units="millisecond"/>
        <variable initial_value="1" name="hLp" units="dimensionless"/>
        <!--initial condition 18-->
        <variable initial_value="0.0075" name="GNaL_b" units="milliS_per_microF"/>
        <variable name="GNaL" units="milliS_per_microF"/>
        <variable name="fINaLp" units="dimensionless"/>
        <variable name="KmCaMK" public_interface="in" units="millimolar"/>
        <variable name="CaMKa" public_interface="in" units="millimolar"/>
        <variable name="ENa" public_interface="in" units="millivolt"/>
        <variable name="INaL" public_interface="out" units="microA_per_microF"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>mLss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <cn cellml:units="millivolt">42.85</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt">5.264</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tmL</ci>
                <ci>tm</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>mL</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>mLss</ci>
                        <ci>mL</ci>
                    </apply>
                    <ci>tmL</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>hLss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>v</ci>
                                    <cn cellml:units="millivolt">87.61</cn>
                                </apply>
                                <cn cellml:units="millivolt">7.488</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>thL</ci>
                <apply>
                    <times/>
                    <cn cellml:units="millisecond">200.0</cn>
                    <ci>bthL</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>hL</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>hLss</ci>
                        <ci>hL</ci>
                    </apply>
                    <ci>thL</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>hLssp</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">93.81</cn>
                                </apply>
                                <cn cellml:units="millivolt">7.488</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>thLp</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">3.0</cn>
                    <ci>thL</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>hLp</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>hLssp</ci>
                        <ci>hLp</ci>
                    </apply>
                    <ci>thLp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>GNaL</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>GNaL_b</ci>
                            <ci>bGnal</ci>
                            <cn cellml:units="dimensionless">0.7</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>GNaL_b</ci>
                            <ci>bGnal</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>fINaLp</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <divide/>
                            <ci>KmCaMK</ci>
                            <ci>CaMKa</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>INaL</ci>
                <apply>
                    <times/>
                    <ci>GNaL</ci>
                    <apply>
                        <minus/>
                        <ci>v</ci>
                        <ci>ENa</ci>
                    </apply>
                    <ci>mL</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <cn cellml:units="dimensionless">1.0</cn>
                                <ci>fINaLp</ci>
                            </apply>
                            <ci>hL</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>fINaLp</ci>
                            <ci>hLp</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="Ito">
        <!-- 0.02/1.706770e+00 = 0.011718040509266042
 0.02/1.0 = 0.02-->
        <variable initial_value="1" name="bGto" units="dimensionless"/>
        <variable initial_value="0.02" name="Gto_b" units="milliS_per_microF"/>
        <variable name="ass" units="dimensionless"/>
        <variable name="ta" units="millisecond"/>
        <variable initial_value="0" name="a" units="dimensionless"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable name="EK" public_interface="in" units="millivolt"/>
        <variable name="iss" units="dimensionless"/>
        <variable name="delta_epi" units="dimensionless"/>
        <variable name="tiF_b" units="millisecond"/>
        <variable name="tiS_b" units="millisecond"/>
        <variable name="tiF" units="millisecond"/>
        <variable name="tiS" units="millisecond"/>
        <variable name="AiF" units="dimensionless"/>
        <variable name="AiS" units="dimensionless"/>
        <variable initial_value="1" name="iF" units="dimensionless"/>
        <variable initial_value="1" name="iS" units="dimensionless"/>
        <variable name="i" units="dimensionless"/>
        <variable name="assp" units="dimensionless"/>
        <variable initial_value="0" name="ap" units="dimensionless"/>
        <variable name="dti_develop" units="dimensionless"/>
        <variable name="dti_recover" units="dimensionless"/>
        <variable name="tiFp" units="millisecond"/>
        <variable name="tiSp" units="millisecond"/>
        <variable initial_value="1" name="iFp" units="dimensionless"/>
        <variable initial_value="1" name="iSp" units="dimensionless"/>
        <variable name="ip" units="dimensionless"/>
        <variable name="Gto" units="milliS_per_microF"/>
        <variable name="fItop" units="dimensionless"/>
        <variable name="Ito" public_interface="out" units="microA_per_microF"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="KmCaMK" public_interface="in" units="millimolar"/>
        <variable name="CaMKa" public_interface="in" units="millimolar"/>
        <variable initial_value="8" name="EKshift" units="millivolt"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>ass</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <ci>EKshift</ci>
                                        </apply>
                                        <cn cellml:units="millivolt">14.34</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt">14.82</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ta</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="millisecond">1.0515</cn>
                    <apply>
                        <plus/>
                        <apply>
                            <divide/>
                            <cn cellml:units="dimensionless">1.0</cn>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">1.2089</cn>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1.0</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <minus/>
                                                <apply>
                                                    <minus/>
                                                    <apply>
                                                        <plus/>
                                                        <ci>v</ci>
                                                        <ci>EKshift</ci>
                                                    </apply>
                                                    <cn cellml:units="millivolt">18.4099</cn>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="millivolt">29.3814</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <divide/>
                            <cn cellml:units="dimensionless">3.5</cn>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1.0</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <ci>EKshift</ci>
                                            <cn cellml:units="millivolt">100.0</cn>
                                        </apply>
                                        <cn cellml:units="millivolt">29.3814</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>a</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>ass</ci>
                        <ci>a</ci>
                    </apply>
                    <ci>ta</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>iss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>v</ci>
                                    <ci>EKshift</ci>
                                    <cn cellml:units="millivolt">43.94</cn>
                                </apply>
                                <cn cellml:units="millivolt">5.711</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>delta_epi</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1.0</cn>
                            <apply>
                                <divide/>
                                <cn cellml:units="dimensionless">0.95</cn>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <ci>EKshift</ci>
                                                <cn cellml:units="millivolt">70</cn>
                                            </apply>
                                            <cn cellml:units="millivolt">5</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="dimensionless">1.0</cn>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>tiF_b</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="millisecond">4.562</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="millisecond">1.0</cn>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.3933</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <ci>EKshift</ci>
                                                <cn cellml:units="millivolt">100.0</cn>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="millivolt">100.0</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.08004</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <ci>EKshift</ci>
                                            <cn cellml:units="millivolt">50.0</cn>
                                        </apply>
                                        <cn cellml:units="millivolt">16.59</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--modified-->
            <apply>
                <eq/>
                <ci>tiS_b</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="millisecond">23.62</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="millisecond">1</cn>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.001416</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <ci>EKshift</ci>
                                                <cn cellml:units="millivolt">96.52</cn>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="millivolt">59.05</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless" type="e-notation">1.78<sep/>-8</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <ci>EKshift</ci>
                                            <cn cellml:units="millivolt">114.1</cn>
                                        </apply>
                                        <cn cellml:units="millivolt">8.079</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--modified-->
            <apply>
                <eq/>
                <ci>tiF</ci>
                <apply>
                    <times/>
                    <ci>tiF_b</ci>
                    <ci>delta_epi</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tiS</ci>
                <apply>
                    <times/>
                    <ci>tiS_b</ci>
                    <ci>delta_epi</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>AiF</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <ci>EKshift</ci>
                                    </apply>
                                    <cn cellml:units="millivolt">213.6</cn>
                                </apply>
                                <cn cellml:units="millivolt">151.2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>AiS</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <ci>AiF</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>iF</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>iss</ci>
                        <ci>iF</ci>
                    </apply>
                    <ci>tiF</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>iS</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>iss</ci>
                        <ci>iS</ci>
                    </apply>
                    <ci>tiS</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>i</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>AiF</ci>
                        <ci>iF</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>AiS</ci>
                        <ci>iS</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>assp</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <ci>EKshift</ci>
                                        </apply>
                                        <cn cellml:units="millivolt">24.34</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt">14.82</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--modified-->
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>ap</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>assp</ci>
                        <ci>ap</ci>
                    </apply>
                    <ci>ta</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>dti_develop</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">1.354</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless" type="e-notation">1<sep/>-4</cn>
                        <apply>
                            <plus/>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <ci>EKshift</ci>
                                        </apply>
                                        <cn cellml:units="millivolt">167.4</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">15.89</cn>
                                </apply>
                            </apply>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <ci>EKshift</ci>
                                            </apply>
                                            <cn cellml:units="millivolt">12.23</cn>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="millivolt">0.2154</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--modified-->
            <apply>
                <eq/>
                <ci>dti_recover</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.5</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <ci>EKshift</ci>
                                        <cn cellml:units="millivolt">70.0</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">20.0</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tiFp</ci>
                <apply>
                    <times/>
                    <ci>dti_develop</ci>
                    <ci>dti_recover</ci>
                    <ci>tiF</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tiSp</ci>
                <apply>
                    <times/>
                    <ci>dti_develop</ci>
                    <ci>dti_recover</ci>
                    <ci>tiS</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>iFp</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>iss</ci>
                        <ci>iFp</ci>
                    </apply>
                    <ci>tiFp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>iSp</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>iss</ci>
                        <ci>iSp</ci>
                    </apply>
                    <ci>tiSp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ip</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>AiF</ci>
                        <ci>iFp</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>AiS</ci>
                        <ci>iSp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Gto</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>bGto</ci>
                            <ci>Gto_b</ci>
                            <cn cellml:units="dimensionless">4</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <times/>
                            <ci>bGto</ci>
                            <ci>Gto_b</ci>
                            <cn cellml:units="dimensionless">4</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>Gto_b</ci>
                            <ci>bGto</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>fItop</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <divide/>
                            <ci>KmCaMK</ci>
                            <ci>CaMKa</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ito</ci>
                <apply>
                    <times/>
                    <ci>Gto</ci>
                    <apply>
                        <minus/>
                        <ci>v</ci>
                        <ci>EK</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <cn cellml:units="dimensionless">1.0</cn>
                                <ci>fItop</ci>
                            </apply>
                            <ci>a</ci>
                            <ci>i</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>fItop</ci>
                            <ci>ap</ci>
                            <ci>ip</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="ICaL">
        <variable name="ICaL" public_interface="out" units="microA_per_microF"/>
        <variable name="ICaNa" public_interface="out" units="microA_per_microF"/>
        <variable name="ICaK" public_interface="out" units="microA_per_microF"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="cass" public_interface="in" units="millimolar"/>
        <variable name="cao" public_interface="in" units="millimolar"/>
        <variable name="vffrt" public_interface="in" units="coulomb_per_mole"/>
        <variable name="vfrt" public_interface="in" units="dimensionless"/>
        <variable name="nao" public_interface="in" units="millimolar"/>
        <variable name="nass" public_interface="in" units="millimolar"/>
        <variable name="ko" public_interface="in" units="millimolar"/>
        <variable name="kss" public_interface="in" units="millimolar"/>
        <variable name="KmCaMK" public_interface="in" units="millimolar"/>
        <variable name="CaMKa" public_interface="in" units="millimolar"/>
        <variable name="R" public_interface="in" units="joule_per_kilomole_kelvin"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_mole"/>
        <variable name="r_down" units="dimensionless"/>
        <variable name="r_up" units="dimensionless"/>
        <variable initial_value="0" name="undo_CDI" units="dimensionless"/>
        <variable initial_value="0" name="nca" units="dimensionless"/>
        <variable name="jncass" units="dimensionless"/>
        <variable initial_value="1" name="tjnca" units="millisecond"/>
        <variable initial_value="1" name="jnca" units="dimensionless"/>
        <variable name="km2n" units="per_millisecond"/>
        <variable initial_value="0.05" name="Kmn" units="millimolar"/>
        <variable name="anca" units="dimensionless"/>
        <variable initial_value="1000" name="k2n" units="per_millisecond"/>
        <variable initial_value="0.05" name="kmn" units="millimolar"/>
        <variable name="dss" units="dimensionless"/>
        <variable name="td" units="millisecond"/>
        <variable name="alpha" units="dimensionless"/>
        <variable name="beta" units="dimensionless"/>
        <variable name="jcass_new" units="dimensionless"/>
        <variable name="jcass_VD" units="dimensionless"/>
        <variable name="jcass_CD" units="dimensionless"/>
        <variable name="jcass_VDp" units="dimensionless"/>
        <variable name="jcass_CDp" units="dimensionless"/>
        <variable name="tjca_new" units="dimensionless"/>
        <variable name="tjca_VD" units="dimensionless"/>
        <variable name="tjca_CD" units="dimensionless"/>
        <variable name="tjca_VDp" units="dimensionless"/>
        <variable name="tjca_CDp" units="dimensionless"/>
        <variable name="psi_VD" units="dimensionless"/>
        <variable name="psi_VDp" units="dimensionless"/>
        <variable name="psi_CD" units="dimensionless"/>
        <variable name="psi_CDp" units="dimensionless"/>
        <variable name="omega_VD" units="dimensionless"/>
        <variable name="omega_VDp" units="dimensionless"/>
        <variable name="omega_CD" units="dimensionless"/>
        <variable name="omega_CDp" units="dimensionless"/>
        <variable name="f1ss_0" units="dimensionless"/>
        <variable name="tf1_0" units="dimensionless"/>
        <variable name="ktaup" units="dimensionless"/>
        <variable name="gamma_VD" units="dimensionless"/>
        <variable name="delta_VD" units="dimensionless"/>
        <variable name="gamma_VDp" units="dimensionless"/>
        <variable name="delta_VDp" units="dimensionless"/>
        <variable initial_value="9" name="kCDI" units="dimensionless"/>
        <variable name="gamma_CD" units="dimensionless"/>
        <variable name="delta_CD" units="dimensionless"/>
        <variable name="gamma_CDp" units="dimensionless"/>
        <variable name="delta_CDp" units="dimensionless"/>
        <variable name="tf1_VD" units="dimensionless"/>
        <variable name="tf1_CD" units="dimensionless"/>
        <variable name="f1ss_VD" units="dimensionless"/>
        <variable name="f1ss_CD" units="dimensionless"/>
        <variable name="tf2_new" units="dimensionless"/>
        <variable name="tf2_VD" units="dimensionless"/>
        <variable name="tf2_CD" units="dimensionless"/>
        <variable name="tf2_VDp" units="dimensionless"/>
        <variable name="tf2_CDp" units="dimensionless"/>
        <variable name="theta_VD" units="dimensionless"/>
        <variable name="theta_CD" units="dimensionless"/>
        <variable name="theta_VDp" units="dimensionless"/>
        <variable name="theta_CDp" units="dimensionless"/>
        <variable name="eta_VD" units="dimensionless"/>
        <variable name="eta_VDp" units="dimensionless"/>
        <variable name="eta_CD" units="dimensionless"/>
        <variable name="eta_CDp" units="dimensionless"/>
        <variable name="tf2post_VD" units="dimensionless"/>
        <variable name="tf2post_CD" units="dimensionless"/>
        <variable name="f2ss_VD" units="dimensionless"/>
        <variable name="f2ss_CD" units="dimensionless"/>
        <variable name="PhiCaL" units="coulomb_per_metre_3"/>
        <variable name="PhiCaNa" units="coulomb_per_metre_3"/>
        <variable name="PhiCaK" units="coulomb_per_metre_3"/>
        <variable name="PCa" units="dimensionless"/>
        <variable name="PCap" units="dimensionless"/>
        <variable name="PCaNa" units="dimensionless"/>
        <variable name="PCaK" units="dimensionless"/>
        <variable name="PCaNap" units="dimensionless"/>
        <variable name="PCaKp" units="dimensionless"/>
        <variable initial_value="0.0001" name="PCa_b" units="dimensionless"/>
        <variable initial_value="0" name="I1k" units="dimensionless"/>
        <variable initial_value="0" name="I2k" units="dimensionless"/>
        <variable initial_value="1" name="Ck" units="dimensionless"/>
        <variable initial_value="0" name="I1kp" units="dimensionless"/>
        <variable initial_value="0" name="I2kp" units="dimensionless"/>
        <variable initial_value="1" name="Ckp" units="dimensionless"/>
        <variable initial_value="0" name="I1Cak" units="dimensionless"/>
        <variable initial_value="0" name="I2Cak" units="dimensionless"/>
        <variable initial_value="0" name="CCak" units="dimensionless"/>
        <variable initial_value="0" name="I1Cakp" units="dimensionless"/>
        <variable initial_value="0" name="I2Cakp" units="dimensionless"/>
        <variable initial_value="0" name="CCakp" units="dimensionless"/>
        <variable initial_value="0" name="Ok" units="dimensionless"/>
        <variable initial_value="0" name="Okp" units="dimensionless"/>
        <variable name="OCak" units="dimensionless"/>
        <variable name="OCakp" units="dimensionless"/>
        <variable name="ICaL_VD" units="dimensionless"/>
        <variable name="ICaL_VDp" units="dimensionless"/>
        <variable name="ICaL_CD" units="dimensionless"/>
        <variable name="ICaL_CDp" units="dimensionless"/>
        <variable name="ICaNa_VD" units="dimensionless"/>
        <variable name="ICaNa_VDp" units="dimensionless"/>
        <variable name="ICaNa_CD" units="dimensionless"/>
        <variable name="ICaNa_CDp" units="dimensionless"/>
        <variable name="ICaK_VD" units="dimensionless"/>
        <variable name="ICaK_VDp" units="dimensionless"/>
        <variable name="ICaK_CD" units="dimensionless"/>
        <variable name="ICaK_CDp" units="dimensionless"/>
        <variable name="ICaLnp" units="dimensionless"/>
        <variable name="ICaLp" units="dimensionless"/>
        <variable name="ICaLVD" units="dimensionless"/>
        <variable name="ICaLCD" units="dimensionless"/>
        <variable name="ICaNanp" units="dimensionless"/>
        <variable name="ICaNap" units="dimensionless"/>
        <variable name="ICaKnp" units="dimensionless"/>
        <variable name="ICaKp" units="dimensionless"/>
        <variable name="fICaLp" units="dimensionless"/>
        <variable initial_value="1" name="bGCaL" units="dimensionless"/>
        <variable name="gICaL" units="microF"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>fICaLp</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <ci>KmCaMK</ci>
                            <ci>CaMKa</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>r_down</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless" type="e-notation">1<sep/>-1</cn>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>undo_CDI</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>r_up</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>r_down</ci>
                            <ci>nca</ci>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>nca</ci>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>undo_CDI</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>jncass</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>v</ci>
                                    <cn cellml:units="millivolt">19.58</cn>
                                    <cn cellml:units="millivolt">25</cn>
                                </apply>
                                <cn cellml:units="millivolt">3.696</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>jnca</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>jncass</ci>
                        <ci>jnca</ci>
                    </apply>
                    <ci>tjnca</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>km2n</ci>
                <apply>
                    <times/>
                    <ci>jnca</ci>
                    <cn cellml:units="per_millisecond">150</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>anca</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>nca</ci>
                    </apply>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <ci>Kmn</ci>
                                <ci>cass</ci>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">4</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>nca</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <ci>anca</ci>
                        <ci>k2n</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>nca</ci>
                        <ci>km2n</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>dss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <cn cellml:units="millivolt">3.940</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt">4.230</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>td</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="millisecond">0.6</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="millisecond">1</cn>
                        <apply>
                            <plus/>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="per_millivolt">0.05</cn>
                                    </apply>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <cn cellml:units="millivolt">6</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <cn cellml:units="per_millivolt">0.09</cn>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <cn cellml:units="millivolt">14</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>alpha</ci>
                <apply>
                    <divide/>
                    <ci>dss</ci>
                    <ci>td</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>beta</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>dss</ci>
                    </apply>
                    <ci>td</ci>
                </apply>
            </apply>
            <!--Recovery(jca) -->
            <apply>
                <eq/>
                <ci>jcass_new</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>v</ci>
                                    <cn cellml:units="dimensionless">19.58</cn>
                                </apply>
                                <cn cellml:units="dimensionless">3.696</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>jcass_VD</ci>
                <ci>jcass_new</ci>
            </apply>
            <apply>
                <eq/>
                <ci>jcass_CD</ci>
                <ci>jcass_new</ci>
            </apply>
            <apply>
                <eq/>
                <ci>jcass_VDp</ci>
                <ci>jcass_new</ci>
            </apply>
            <apply>
                <eq/>
                <ci>jcass_CDp</ci>
                <ci>jcass_new</ci>
            </apply>
            <apply>
                <eq/>
                <ci>tjca_new</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">35</cn>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">350</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <cn cellml:units="millivolt">20</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn cellml:units="millivolt">2</cn>
                                    <cn cellml:units="millivolt">100</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tjca_VD</ci>
                <ci>tjca_new</ci>
            </apply>
            <apply>
                <eq/>
                <ci>tjca_CD</ci>
                <ci>tjca_new</ci>
            </apply>
            <apply>
                <eq/>
                <ci>tjca_VDp</ci>
                <ci>tjca_new</ci>
            </apply>
            <apply>
                <eq/>
                <ci>tjca_CDp</ci>
                <ci>tjca_new</ci>
            </apply>
            <!--Psi e omega rates-->
            <apply>
                <eq/>
                <ci>psi_VD</ci>
                <apply>
                    <divide/>
                    <ci>jcass_VD</ci>
                    <ci>tjca_VD</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>psi_VDp</ci>
                <apply>
                    <divide/>
                    <ci>jcass_VDp</ci>
                    <ci>tjca_VDp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>psi_CD</ci>
                <apply>
                    <divide/>
                    <ci>jcass_CD</ci>
                    <ci>tjca_CD</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>psi_CDp</ci>
                <apply>
                    <divide/>
                    <ci>jcass_CDp</ci>
                    <ci>tjca_CDp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>omega_VD</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>jcass_VD</ci>
                    </apply>
                    <ci>tjca_VD</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>omega_VDp</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>jcass_VDp</ci>
                    </apply>
                    <ci>tjca_VDp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>omega_CD</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>jcass_CD</ci>
                    </apply>
                    <ci>tjca_CD</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>omega_CDp</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>jcass_CDp</ci>
                    </apply>
                    <ci>tjca_CDp</ci>
                </apply>
            </apply>
            <!--Fast inactivation (f1)-->
            <apply>
                <eq/>
                <ci>f1ss_0</ci>
                <apply>
                    <plus/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.8</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1.0</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <cn cellml:units="millivolt">19.58</cn>
                                    </apply>
                                    <cn cellml:units="millivolt">3.696</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="dimensionless">0.2</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tf1_0</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">70</cn>
                        <apply>
                            <divide/>
                            <cn cellml:units="dimensionless">1.2</cn>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">0.0045</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <cn cellml:units="millivolt">20</cn>
                                            </apply>
                                            <apply>
                                                <minus/>
                                                <cn cellml:units="millivolt">50</cn>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">0.0045</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <cn cellml:units="millivolt">30</cn>
                                            </apply>
                                            <cn cellml:units="millivolt">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ktaup</ci>
                <cn cellml:units="dimensionless">2.5</cn>
            </apply>
            <apply>
                <eq/>
                <ci>gamma_VD</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>f1ss_0</ci>
                    </apply>
                    <ci>tf1_0</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>delta_VD</ci>
                <apply>
                    <divide/>
                    <ci>f1ss_0</ci>
                    <ci>tf1_0</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>gamma_VDp</ci>
                <apply>
                    <divide/>
                    <ci>gamma_VD</ci>
                    <ci>ktaup</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>delta_VDp</ci>
                <apply>
                    <divide/>
                    <ci>delta_VD</ci>
                    <ci>ktaup</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>gamma_CD</ci>
                <apply>
                    <times/>
                    <ci>gamma_VD</ci>
                    <ci>kCDI</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>delta_CD</ci>
                <apply>
                    <times/>
                    <ci>delta_VD</ci>
                    <ci>kCDI</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>gamma_CDp</ci>
                <apply>
                    <times/>
                    <ci>gamma_VDp</ci>
                    <ci>kCDI</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>delta_CDp</ci>
                <apply>
                    <times/>
                    <ci>delta_VDp</ci>
                    <ci>kCDI</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tf1_VD</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <ci>gamma_VD</ci>
                        <ci>delta_VD</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tf1_CD</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <ci>gamma_CD</ci>
                        <ci>delta_CD</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>f1ss_VD</ci>
                <apply>
                    <divide/>
                    <ci>gamma_VD</ci>
                    <apply>
                        <plus/>
                        <ci>gamma_VD</ci>
                        <ci>delta_VD</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>f1ss_CD</ci>
                <apply>
                    <divide/>
                    <ci>gamma_CD</ci>
                    <apply>
                        <plus/>
                        <ci>gamma_CD</ci>
                        <ci>delta_CD</ci>
                    </apply>
                </apply>
            </apply>
            <!--Slow inactivation (f2)-->
            <apply>
                <eq/>
                <ci>tf2_new</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">100</cn>
                        <apply>
                            <divide/>
                            <cn cellml:units="dimensionless">0</cn>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">0.0035</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <cn cellml:units="millivolt">5</cn>
                                            </apply>
                                            <apply>
                                                <minus/>
                                                <cn cellml:units="millivolt">84</cn>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">0.0035</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <cn cellml:units="millivolt">5</cn>
                                            </apply>
                                            <cn cellml:units="millivolt">4</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tf2_VD</ci>
                <ci>tf2_new</ci>
            </apply>
            <apply>
                <eq/>
                <ci>tf2_CD</ci>
                <apply>
                    <divide/>
                    <ci>tf2_VD</ci>
                    <ci>kCDI</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tf2_VDp</ci>
                <apply>
                    <times/>
                    <ci>tf2_new</ci>
                    <ci>ktaup</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tf2_CDp</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <ci>tf2_VD</ci>
                        <ci>kCDI</ci>
                    </apply>
                    <ci>ktaup</ci>
                </apply>
            </apply>
            <!-- Reversibility-->
            <apply>
                <eq/>
                <ci>theta_VD</ci>
                <apply>
                    <divide/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>alpha</ci>
                            <ci>gamma_VD</ci>
                            <ci>psi_VD</ci>
                        </apply>
                        <ci>tf2_VD</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>alpha</ci>
                            <ci>gamma_VD</ci>
                            <ci>psi_VD</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>beta</ci>
                            <ci>delta_VD</ci>
                            <ci>omega_VD</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>theta_CD</ci>
                <apply>
                    <divide/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>alpha</ci>
                            <ci>gamma_CD</ci>
                            <ci>psi_CD</ci>
                        </apply>
                        <ci>tf2_CD</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>alpha</ci>
                            <ci>gamma_CD</ci>
                            <ci>psi_CD</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>beta</ci>
                            <ci>delta_CD</ci>
                            <ci>omega_CD</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>theta_VDp</ci>
                <apply>
                    <divide/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>alpha</ci>
                            <ci>gamma_VDp</ci>
                            <ci>psi_VDp</ci>
                        </apply>
                        <ci>tf2_VDp</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>alpha</ci>
                            <ci>gamma_VDp</ci>
                            <ci>psi_VDp</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>beta</ci>
                            <ci>delta_VDp</ci>
                            <ci>omega_VDp</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>theta_CDp</ci>
                <apply>
                    <divide/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>alpha</ci>
                            <ci>gamma_CDp</ci>
                            <ci>psi_CDp</ci>
                        </apply>
                        <ci>tf2_CDp</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>alpha</ci>
                            <ci>gamma_CDp</ci>
                            <ci>psi_CDp</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>beta</ci>
                            <ci>delta_CDp</ci>
                            <ci>omega_CDp</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>eta_VD</ci>
                <apply>
                    <minus/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>tf2_VD</ci>
                    </apply>
                    <ci>theta_VD</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>eta_VDp</ci>
                <apply>
                    <minus/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>tf2_VDp</ci>
                    </apply>
                    <ci>theta_VDp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>eta_CD</ci>
                <apply>
                    <minus/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>tf2_CD</ci>
                    </apply>
                    <ci>theta_CD</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>eta_CDp</ci>
                <apply>
                    <minus/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>tf2_CDp</ci>
                    </apply>
                    <ci>theta_CDp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tf2post_VD</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <ci>eta_VD</ci>
                        <ci>theta_VD</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>tf2post_CD</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <ci>eta_CD</ci>
                        <ci>theta_CD</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>f2ss_VD</ci>
                <apply>
                    <divide/>
                    <ci>eta_VD</ci>
                    <apply>
                        <plus/>
                        <ci>eta_VD</ci>
                        <ci>theta_VD</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>f2ss_CD</ci>
                <apply>
                    <divide/>
                    <ci>eta_CD</ci>
                    <apply>
                        <plus/>
                        <ci>eta_CD</ci>
                        <ci>theta_CD</ci>
                    </apply>
                </apply>
            </apply>
            <!--Driving forces-->
            <apply>
                <eq/>
                <ci>PhiCaL</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">4.0</cn>
                        <ci>vffrt</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">1.2</cn>
                                <ci>cass</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">2</cn>
                                        <ci>vfrt</ci>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.341</cn>
                                <ci>cao</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">2.0</cn>
                                <ci>vfrt</ci>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1.0</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>PhiCaNa</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <ci>vffrt</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.75</cn>
                                <ci>nass</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">1.0</cn>
                                        <ci>vfrt</ci>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.75</cn>
                                <ci>nao</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">1.0</cn>
                                <ci>vfrt</ci>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1.0</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>PhiCaK</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">1.0</cn>
                        <ci>vffrt</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.75</cn>
                                <ci>kss</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">1.0</cn>
                                        <ci>vfrt</ci>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.75</cn>
                                <ci>ko</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">1.0</cn>
                                <ci>vfrt</ci>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1.0</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>PCa</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>PCa_b</ci>
                            <cn cellml:units="dimensionless">0.9</cn>
                            <cn cellml:units="dimensionless">1.4</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <times/>
                            <ci>PCa_b</ci>
                            <cn cellml:units="dimensionless">0.9</cn>
                            <cn cellml:units="dimensionless">2.0</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>PCa_b</ci>
                            <cn cellml:units="dimensionless">0.9</cn>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>PCap</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">1.1</cn>
                    <ci>PCa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>PCaNa</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">0.00125</cn>
                    <ci>PCa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>PCaK</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless" type="e-notation">3.574<sep/>-4</cn>
                    <ci>PCa</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>PCaNap</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">0.00125</cn>
                    <ci>PCap</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>PCaKp</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless" type="e-notation">3.574<sep/>-4</cn>
                    <ci>PCap</ci>
                </apply>
            </apply>
            <!-- Markov Model: VDI states-->
            <apply>
                <eq/>
                <ci>OCak</ci>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <minus/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="dimensionless">1</cn>
                                            <ci>CCak</ci>
                                        </apply>
                                        <ci>I1Cak</ci>
                                    </apply>
                                    <ci>I2Cak</ci>
                                </apply>
                                <ci>Ck</ci>
                            </apply>
                            <ci>I1k</ci>
                        </apply>
                        <ci>I2k</ci>
                    </apply>
                    <ci>Ok</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>OCakp</ci>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <minus/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="dimensionless">1</cn>
                                            <ci>CCakp</ci>
                                        </apply>
                                        <ci>I1Cakp</ci>
                                    </apply>
                                    <ci>I2Cakp</ci>
                                </apply>
                                <ci>Ckp</ci>
                            </apply>
                            <ci>I1kp</ci>
                        </apply>
                        <ci>I2kp</ci>
                    </apply>
                    <ci>Okp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Ok</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>alpha</ci>
                                    <ci>Ck</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>delta_VD</ci>
                                    <ci>I1k</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>beta</ci>
                                    <ci>gamma_VD</ci>
                                </apply>
                                <ci>Ok</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>Ok</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>OCak</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>I2k</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>eta_VD</ci>
                                    <ci>I1k</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>omega_VD</ci>
                                    <ci>Ck</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>theta_VD</ci>
                                    <ci>psi_VD</ci>
                                </apply>
                                <ci>I2k</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>I2k</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>I2Cak</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>I1k</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>theta_VD</ci>
                                    <ci>I2k</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>gamma_VD</ci>
                                    <ci>Ok</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>eta_VD</ci>
                                    <ci>delta_VD</ci>
                                </apply>
                                <ci>I1k</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>I1k</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>I1Cak</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Ck</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>beta</ci>
                                    <ci>Ok</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>psi_VD</ci>
                                    <ci>I2k</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>omega_VD</ci>
                                    <ci>alpha</ci>
                                </apply>
                                <ci>Ck</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>Ck</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>CCak</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Okp</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>alpha</ci>
                                    <ci>Ckp</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>delta_VDp</ci>
                                    <ci>I1kp</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>beta</ci>
                                    <ci>gamma_VDp</ci>
                                </apply>
                                <ci>Okp</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>Okp</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>OCakp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>I2kp</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>eta_VDp</ci>
                                    <ci>I1kp</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>omega_VDp</ci>
                                    <ci>Ckp</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>theta_VDp</ci>
                                    <ci>psi_VDp</ci>
                                </apply>
                                <ci>I2kp</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>I2kp</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>I2Cakp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>I1kp</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>theta_VDp</ci>
                                    <ci>I2kp</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>gamma_VDp</ci>
                                    <ci>Okp</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>eta_VDp</ci>
                                    <ci>delta_VDp</ci>
                                </apply>
                                <ci>I1kp</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>I1kp</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>I1Cakp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Ckp</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>beta</ci>
                                    <ci>Okp</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>psi_VDp</ci>
                                    <ci>I2kp</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>omega_VDp</ci>
                                    <ci>alpha</ci>
                                </apply>
                                <ci>Ckp</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>Ckp</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>CCakp</ci>
                    </apply>
                </apply>
            </apply>
            <!-- Markov Model: CDI states-->
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>I2Cak</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>eta_CD</ci>
                                    <ci>I1Cak</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>omega_CD</ci>
                                    <ci>CCak</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>theta_CD</ci>
                                    <ci>psi_CD</ci>
                                </apply>
                                <ci>I2Cak</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>I2k</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>I2Cak</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>I1Cak</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>theta_CD</ci>
                                    <ci>I2Cak</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>gamma_CD</ci>
                                    <ci>OCak</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>eta_CD</ci>
                                    <ci>delta_CD</ci>
                                </apply>
                                <ci>I1Cak</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>I1k</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>I1Cak</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>CCak</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>beta</ci>
                                    <ci>OCak</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>psi_CD</ci>
                                    <ci>I2Cak</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>omega_CD</ci>
                                    <ci>alpha</ci>
                                </apply>
                                <ci>CCak</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>Ck</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>CCak</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>I2Cakp</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>eta_CDp</ci>
                                    <ci>I1Cakp</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>omega_CDp</ci>
                                    <ci>CCakp</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>theta_CDp</ci>
                                    <ci>psi_CDp</ci>
                                </apply>
                                <ci>I2Cakp</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>I2kp</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>I2Cakp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>I1Cakp</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>theta_CDp</ci>
                                    <ci>I2Cakp</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>gamma_CDp</ci>
                                    <ci>OCakp</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>eta_CDp</ci>
                                    <ci>delta_CDp</ci>
                                </apply>
                                <ci>I1Cakp</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>I1kp</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>I1Cakp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>CCakp</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>beta</ci>
                                    <ci>OCakp</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>psi_CDp</ci>
                                    <ci>I2Cakp</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>omega_CDp</ci>
                                    <ci>alpha</ci>
                                </apply>
                                <ci>CCakp</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>r_up</ci>
                            <ci>Ckp</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>r_down</ci>
                        <ci>CCakp</ci>
                    </apply>
                </apply>
            </apply>
            <!-- ICaL ICaNa ICaK currents-->
            <apply>
                <eq/>
                <ci>ICaL_VD</ci>
                <apply>
                    <times/>
                    <ci>PCa</ci>
                    <ci>PhiCaL</ci>
                    <ci>Ok</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaL_VDp</ci>
                <apply>
                    <times/>
                    <ci>PCap</ci>
                    <ci>PhiCaL</ci>
                    <ci>Okp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaL_CD</ci>
                <apply>
                    <times/>
                    <ci>PCa</ci>
                    <ci>PhiCaL</ci>
                    <ci>OCak</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaL_CDp</ci>
                <apply>
                    <times/>
                    <ci>PCap</ci>
                    <ci>PhiCaL</ci>
                    <ci>OCakp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaNa_VD</ci>
                <apply>
                    <times/>
                    <ci>PCaNa</ci>
                    <ci>PhiCaNa</ci>
                    <ci>Ok</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaNa_VDp</ci>
                <apply>
                    <times/>
                    <ci>PCaNap</ci>
                    <ci>PhiCaNa</ci>
                    <ci>Okp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaNa_CD</ci>
                <apply>
                    <times/>
                    <ci>PCaNa</ci>
                    <ci>PhiCaNa</ci>
                    <ci>OCak</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaNa_CDp</ci>
                <apply>
                    <times/>
                    <ci>PCaNap</ci>
                    <ci>PhiCaNa</ci>
                    <ci>OCakp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaK_VD</ci>
                <apply>
                    <times/>
                    <ci>PCaK</ci>
                    <ci>PhiCaK</ci>
                    <ci>Ok</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaK_VDp</ci>
                <apply>
                    <times/>
                    <ci>PCaKp</ci>
                    <ci>PhiCaK</ci>
                    <ci>Okp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaK_CD</ci>
                <apply>
                    <times/>
                    <ci>PCaK</ci>
                    <ci>PhiCaK</ci>
                    <ci>OCak</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaK_CDp</ci>
                <apply>
                    <times/>
                    <ci>PCaKp</ci>
                    <ci>PhiCaK</ci>
                    <ci>OCakp</ci>
                </apply>
            </apply>
            <!-- ICaL VD vs CD & ICaL p vs np-->
            <apply>
                <eq/>
                <ci>ICaLnp</ci>
                <apply>
                    <plus/>
                    <ci>ICaL_VD</ci>
                    <ci>ICaL_CD</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaLp</ci>
                <apply>
                    <plus/>
                    <ci>ICaL_VDp</ci>
                    <ci>ICaL_CDp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaLVD</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>ICaL_VD</ci>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>fICaLp</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>ICaL_VDp</ci>
                        <ci>fICaLp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaLCD</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>ICaL_CD</ci>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>fICaLp</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>ICaL_CDp</ci>
                        <ci>fICaLp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaNanp</ci>
                <apply>
                    <plus/>
                    <ci>ICaNa_VD</ci>
                    <ci>ICaNa_CD</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaNap</ci>
                <apply>
                    <plus/>
                    <ci>ICaNa_VDp</ci>
                    <ci>ICaNa_CDp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaKnp</ci>
                <apply>
                    <plus/>
                    <ci>ICaK_VD</ci>
                    <ci>ICaK_CD</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaKp</ci>
                <apply>
                    <plus/>
                    <ci>ICaK_VDp</ci>
                    <ci>ICaK_CDp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaL</ci>
                <apply>
                    <times/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>ICaLp</ci>
                            <ci>fICaLp</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>ICaLnp</ci>
                            <apply>
                                <minus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <ci>fICaLp</ci>
                            </apply>
                        </apply>
                    </apply>
                    <ci>bGCaL</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaNa</ci>
                <apply>
                    <times/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>ICaNap</ci>
                            <ci>fICaLp</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>ICaNanp</ci>
                            <apply>
                                <minus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <ci>fICaLp</ci>
                            </apply>
                        </apply>
                    </apply>
                    <ci>bGCaL</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaK</ci>
                <apply>
                    <times/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>ICaKp</ci>
                            <ci>fICaLp</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>ICaKnp</ci>
                            <apply>
                                <minus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <ci>fICaLp</ci>
                            </apply>
                        </apply>
                    </apply>
                    <ci>bGCaL</ci>
                </apply>
            </apply>
            <!-- ICaL conductance*-->
            <apply>
                <eq/>
                <ci>gICaL</ci>
                <apply>
                    <divide/>
                    <ci>ICaL</ci>
                    <ci>PhiCaL</ci>
                </apply>
            </apply>
        </math>
        <!--ICaL=0{microA_per_microF};
ICaNa=0{microA_per_microF};
ICaK=0{microA_per_microF};-->
    </component>
    <component name="IKr">
        <variable initial_value="0.046" name="GKr_b" units="milliS_per_microF"/>
        <!-- New state variables (ODEs)-->
        <variable initial_value="0.999637" name="IC1" units="dimensionless"/>
        <!-- y[39]-->
        <variable initial_value="6.83208e-05" name="IC2" units="dimensionless"/>
        <!-- y[40];-->
        <variable initial_value="1.80145e-08" name="C1" units="dimensionless"/>
        <!-- y[41];-->
        <variable initial_value="8.26619e-05" name="C2" units="dimensionless"/>
        <!-- y[42];-->
        <variable initial_value="0.00015551" name="O" units="dimensionless"/>
        <!-- y[43];-->
        <variable initial_value="5.67623e-05" name="IO" units="dimensionless"/>
        <!-- y[44];-->
        <variable initial_value="0" name="IObound" units="dimensionless"/>
        <!-- y[45];-->
        <variable initial_value="0" name="Obound" units="dimensionless"/>
        <!-- y[46];-->
        <variable initial_value="0" name="Cbound" units="dimensionless"/>
        <!-- y[47];-->
        <variable initial_value="0" name="D" units="dimensionless"/>
        <!-- y[48];
 A lot of constants/variables-->
        <variable name="GKr" units="milliS_per_microF"/>
        <variable name="GKr_total" units="milliS_per_microF"/>
        <variable initial_value="0.0264" name="A1" units="per_millisecond"/>
        <variable initial_value="4.631e-05" name="B1" units="per_millivolt"/>
        <variable initial_value="4.843" name="q1" units="dimensionless"/>
        <variable initial_value="4.986e-06" name="A2" units="per_millisecond"/>
        <variable initial_value="-0.004226" name="B2" units="per_millivolt"/>
        <variable initial_value="4.23" name="q2" units="dimensionless"/>
        <variable initial_value="0.001214" name="A3" units="per_millisecond"/>
        <variable initial_value="0.008516" name="B3" units="per_millivolt"/>
        <variable initial_value="4.962" name="q3" units="dimensionless"/>
        <variable initial_value="1.854e-05" name="A4" units="per_millisecond"/>
        <variable initial_value="-0.04641" name="B4" units="per_millivolt"/>
        <variable initial_value="3.769" name="q4" units="dimensionless"/>
        <variable initial_value="0.0007868" name="A11" units="per_millisecond"/>
        <variable initial_value="1.535e-08" name="B11" units="per_millivolt"/>
        <variable initial_value="4.942" name="q11" units="dimensionless"/>
        <variable initial_value="5.455e-06" name="A21" units="per_millisecond"/>
        <variable initial_value="-0.1688" name="B21" units="per_millivolt"/>
        <variable initial_value="4.156" name="q21" units="dimensionless"/>
        <variable initial_value="0.005509" name="A31" units="per_millisecond"/>
        <variable initial_value="7.771e-09" name="B31" units="per_millivolt"/>
        <variable initial_value="4.22" name="q31" units="dimensionless"/>
        <variable initial_value="0.001416" name="A41" units="per_millisecond"/>
        <variable initial_value="-0.02877" name="B41" units="per_millivolt"/>
        <variable initial_value="1.459" name="q41" units="dimensionless"/>
        <variable initial_value="0.4492" name="A51" units="per_millisecond"/>
        <variable initial_value="0.008595" name="B51" units="per_millivolt"/>
        <variable initial_value="5.0" name="q51" units="dimensionless"/>
        <variable initial_value="0.3181" name="A52" units="per_millisecond"/>
        <variable initial_value="3.613e-08" name="B52" units="per_millivolt"/>
        <variable initial_value="4.663" name="q52" units="dimensionless"/>
        <variable initial_value="0.149" name="A53" units="per_millisecond"/>
        <variable initial_value="0.004668" name="B53" units="per_millivolt"/>
        <variable initial_value="2.412" name="q53" units="dimensionless"/>
        <variable initial_value="0.01241" name="A61" units="per_millisecond"/>
        <variable initial_value="0.1725" name="B61" units="per_millivolt"/>
        <variable initial_value="5.568" name="q61" units="dimensionless"/>
        <variable initial_value="0.3226" name="A62" units="per_millisecond"/>
        <variable initial_value="-0.0006575" name="B62" units="per_millivolt"/>
        <variable initial_value="5.0" name="q62" units="dimensionless"/>
        <variable initial_value="0.008978" name="A63" units="per_millisecond"/>
        <variable initial_value="-0.02215" name="B63" units="per_millivolt"/>
        <variable initial_value="5.682" name="q63" units="dimensionless"/>
        <variable initial_value="0" name="Kmax" units="dimensionless"/>
        <variable initial_value="0" name="Ku" units="per_millisecond"/>
        <variable initial_value="1.0" name="n" units="dimensionless"/>
        <variable initial_value="1" name="halfmax" units="dimensionless"/>
        <variable initial_value="3.5e-5" name="Kt" units="per_millisecond"/>
        <variable initial_value="1.0" name="Vhalf" units="millivolt"/>
        <variable initial_value="310.0" name="Temp" units="kelvin"/>
        <variable initial_value="1.2" name="bGKr" units="dimensionless"/>
        <!-- Those going in and out-->
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="EK" public_interface="in" units="millivolt"/>
        <variable name="ko" public_interface="in" units="millimolar"/>
        <variable name="IKr" public_interface="out" units="microA_per_microF"/>
        <!-- Main ODEs!-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>IC1</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <minus/>
                                <apply>
                                    <times/>
                                    <ci>A11</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B11</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <ci>IC1</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q11</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>A21</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B21</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <ci>IC2</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q21</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>A51</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <ci>B51</ci>
                                    <ci>v</ci>
                                </apply>
                            </apply>
                            <ci>C1</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <ci>Temp</ci>
                                            <cn cellml:units="kelvin">293</cn>
                                        </apply>
                                        <apply>
                                            <ln/>
                                            <ci>q51</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="kelvin">10</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>A61</ci>
                        <apply>
                            <exp/>
                            <apply>
                                <times/>
                                <ci>B61</ci>
                                <ci>v</ci>
                            </apply>
                        </apply>
                        <ci>IC1</ci>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <ci>Temp</ci>
                                        <cn cellml:units="kelvin">293</cn>
                                    </apply>
                                    <apply>
                                        <ln/>
                                        <ci>q61</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="kelvin">10</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>IC2</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <minus/>
                                <apply>
                                    <times/>
                                    <ci>A11</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B11</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <ci>IC1</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q11</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>A21</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B21</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <ci>IC2</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q21</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <apply>
                                    <times/>
                                    <ci>A3</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B3</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <ci>IC2</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q3</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>A4</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B4</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <ci>IO</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q4</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>A52</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <ci>B52</ci>
                                    <ci>v</ci>
                                </apply>
                            </apply>
                            <ci>C2</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <ci>Temp</ci>
                                            <cn cellml:units="kelvin">293</cn>
                                        </apply>
                                        <apply>
                                            <ln/>
                                            <ci>q52</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="kelvin">10</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>A62</ci>
                        <apply>
                            <exp/>
                            <apply>
                                <times/>
                                <ci>B62</ci>
                                <ci>v</ci>
                            </apply>
                        </apply>
                        <ci>IC2</ci>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <ci>Temp</ci>
                                        <cn cellml:units="kelvin">293</cn>
                                    </apply>
                                    <apply>
                                        <ln/>
                                        <ci>q62</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="kelvin">10</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>C1</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>A1</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B1</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>C1</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q1</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <ci>A2</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B2</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>C2</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q2</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <ci>A51</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <ci>B51</ci>
                                    <ci>v</ci>
                                </apply>
                            </apply>
                            <ci>C1</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <ci>Temp</ci>
                                            <cn cellml:units="kelvin">293</cn>
                                        </apply>
                                        <apply>
                                            <ln/>
                                            <ci>q51</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="kelvin">10</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>A61</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <ci>B61</ci>
                                    <ci>v</ci>
                                </apply>
                            </apply>
                            <ci>IC1</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <ci>Temp</ci>
                                            <cn cellml:units="kelvin">293</cn>
                                        </apply>
                                        <apply>
                                            <ln/>
                                            <ci>q61</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="kelvin">10</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>C2</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>A1</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B1</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>C1</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q1</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <ci>A2</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B2</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>C2</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q2</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>A31</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B31</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>C2</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q31</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <ci>A41</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B41</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>O</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q41</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <ci>A52</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <ci>B52</ci>
                                    <ci>v</ci>
                                </apply>
                            </apply>
                            <ci>C2</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <ci>Temp</ci>
                                            <cn cellml:units="kelvin">293</cn>
                                        </apply>
                                        <apply>
                                            <ln/>
                                            <ci>q52</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="kelvin">10</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>A62</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <ci>B62</ci>
                                    <ci>v</ci>
                                </apply>
                            </apply>
                            <ci>IC2</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <ci>Temp</ci>
                                            <cn cellml:units="kelvin">293</cn>
                                        </apply>
                                        <apply>
                                            <ln/>
                                            <ci>q62</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="kelvin">10</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>O</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>A31</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B31</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>C2</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q31</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <ci>A41</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B41</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>O</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q41</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>A53</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B53</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>O</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q53</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <ci>A63</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B63</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>IO</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q63</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>Kmax</ci>
                                    <ci>Ku</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>n</ci>
                                            <apply>
                                                <ln/>
                                                <ci>D</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <plus/>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>n</ci>
                                            <apply>
                                                <ln/>
                                                <ci>D</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <ci>halfmax</ci>
                                </apply>
                            </apply>
                            <ci>O</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>Ku</ci>
                            <ci>Obound</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>IO</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <apply>
                                <minus/>
                                <apply>
                                    <times/>
                                    <ci>A3</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B3</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <ci>IC2</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q3</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>A4</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B4</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <ci>IO</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q4</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <ci>A53</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <ci>B53</ci>
                                        <ci>v</ci>
                                    </apply>
                                </apply>
                                <ci>O</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>Temp</ci>
                                                <cn cellml:units="kelvin">293</cn>
                                            </apply>
                                            <apply>
                                                <ln/>
                                                <ci>q53</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="kelvin">10</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>A63</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <ci>B63</ci>
                                    <ci>v</ci>
                                </apply>
                            </apply>
                            <ci>IO</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <ci>Temp</ci>
                                            <cn cellml:units="kelvin">293</cn>
                                        </apply>
                                        <apply>
                                            <ln/>
                                            <ci>q63</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="kelvin">10</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>Kmax</ci>
                                    <ci>Ku</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>n</ci>
                                            <apply>
                                                <ln/>
                                                <ci>D</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <plus/>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>n</ci>
                                            <apply>
                                                <ln/>
                                                <ci>D</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <ci>halfmax</ci>
                                </apply>
                            </apply>
                            <ci>IO</ci>
                        </apply>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>Ku</ci>
                                    <ci>A53</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B53</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q53</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>A63</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <ci>B63</ci>
                                            <ci>v</ci>
                                        </apply>
                                    </apply>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <apply>
                                                    <minus/>
                                                    <ci>Temp</ci>
                                                    <cn cellml:units="kelvin">293</cn>
                                                </apply>
                                                <apply>
                                                    <ln/>
                                                    <ci>q63</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="kelvin">10</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                            <ci>IObound</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>IObound</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>Kmax</ci>
                                        <ci>Ku</ci>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <times/>
                                                <ci>n</ci>
                                                <apply>
                                                    <ln/>
                                                    <ci>D</ci>
                                                </apply>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <apply>
                                        <plus/>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <times/>
                                                <ci>n</ci>
                                                <apply>
                                                    <ln/>
                                                    <ci>D</ci>
                                                </apply>
                                            </apply>
                                        </apply>
                                        <ci>halfmax</ci>
                                    </apply>
                                </apply>
                                <ci>IO</ci>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>Ku</ci>
                                        <ci>A53</ci>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <times/>
                                                <ci>B53</ci>
                                                <ci>v</ci>
                                            </apply>
                                        </apply>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <divide/>
                                                <apply>
                                                    <times/>
                                                    <apply>
                                                        <minus/>
                                                        <ci>Temp</ci>
                                                        <cn cellml:units="kelvin">293</cn>
                                                    </apply>
                                                    <apply>
                                                        <ln/>
                                                        <ci>q53</ci>
                                                    </apply>
                                                </apply>
                                                <cn cellml:units="kelvin">10</cn>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>A63</ci>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <times/>
                                                <ci>B63</ci>
                                                <ci>v</ci>
                                            </apply>
                                        </apply>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <divide/>
                                                <apply>
                                                    <times/>
                                                    <apply>
                                                        <minus/>
                                                        <ci>Temp</ci>
                                                        <cn cellml:units="kelvin">293</cn>
                                                    </apply>
                                                    <apply>
                                                        <ln/>
                                                        <ci>q63</ci>
                                                    </apply>
                                                </apply>
                                                <cn cellml:units="dimensionless">10</cn>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                                <ci>IObound</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <ci>Kt</ci>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <minus/>
                                                <apply>
                                                    <minus/>
                                                    <ci>v</ci>
                                                    <ci>Vhalf</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="millivolt">6.789</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                            <ci>Cbound</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>Kt</ci>
                        <ci>IObound</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Obound</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>Kmax</ci>
                                        <ci>Ku</ci>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <times/>
                                                <ci>n</ci>
                                                <apply>
                                                    <ln/>
                                                    <ci>D</ci>
                                                </apply>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <apply>
                                        <plus/>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <times/>
                                                <ci>n</ci>
                                                <apply>
                                                    <ln/>
                                                    <ci>D</ci>
                                                </apply>
                                            </apply>
                                        </apply>
                                        <ci>halfmax</ci>
                                    </apply>
                                </apply>
                                <ci>O</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>Ku</ci>
                                <ci>Obound</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <ci>Kt</ci>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <minus/>
                                                <apply>
                                                    <minus/>
                                                    <ci>v</ci>
                                                    <ci>Vhalf</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="millivolt">6.789</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                            <ci>Cbound</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>Kt</ci>
                        <ci>Obound</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Cbound</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <ci>Kt</ci>
                                    <apply>
                                        <plus/>
                                        <cn cellml:units="dimensionless">1</cn>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <divide/>
                                                <apply>
                                                    <minus/>
                                                    <apply>
                                                        <minus/>
                                                        <ci>v</ci>
                                                        <ci>Vhalf</ci>
                                                    </apply>
                                                </apply>
                                                <cn cellml:units="millivolt">6.789</cn>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                                <ci>Cbound</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>Kt</ci>
                                <ci>Obound</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <ci>Kt</ci>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <minus/>
                                                <apply>
                                                    <minus/>
                                                    <ci>v</ci>
                                                    <ci>Vhalf</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="millivolt">6.789</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                            <ci>Cbound</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>Kt</ci>
                            <ci>IObound</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>D</ci>
                </apply>
                <cn cellml:units="dimensionless">0</cn>
            </apply>
            <apply>
                <eq/>
                <ci>GKr</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>GKr_b</ci>
                            <ci>bGKr</ci>
                            <cn cellml:units="dimensionless">1.1</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <times/>
                            <ci>GKr_b</ci>
                            <ci>bGKr</ci>
                            <cn cellml:units="dimensionless">0.8</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>GKr_b</ci>
                            <ci>bGKr</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>GKr_total</ci>
                <apply>
                    <times/>
                    <ci>GKr</ci>
                    <apply>
                        <root/>
                        <apply>
                            <divide/>
                            <ci>ko</ci>
                            <cn cellml:units="millimolar">5.4</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IKr</ci>
                <apply>
                    <times/>
                    <ci>GKr_total</ci>
                    <ci>O</ci>
                    <apply>
                        <minus/>
                        <ci>v</ci>
                        <ci>EK</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="IKs">
        <!-- 0.0034/5.347594e-01 = 0.006357999504076038
 0.0034/0.53475935828877 = 0.006358000000000001-->
        <variable initial_value="0.0034" name="GKs_b" units="milliS_per_microF"/>
        <variable initial_value="2" name="bGKs" units="milliS_per_microF"/>
        <variable initial_value="8" name="EKshift" units="millivolt"/>
        <variable name="GKs" units="milliS_per_microF"/>
        <variable name="xs1ss" units="dimensionless"/>
        <variable name="xs2ss" units="dimensionless"/>
        <variable name="txs1" units="millisecond"/>
        <variable initial_value="817.3" name="txs1_max" units="millisecond"/>
        <variable initial_value="0" name="xs1" units="dimensionless"/>
        <variable initial_value="0" name="xs2" units="dimensionless"/>
        <variable name="KsCa" units="dimensionless"/>
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="EKs" public_interface="in" units="millivolt"/>
        <variable name="IKs" public_interface="out" units="microA_per_microF"/>
        <variable name="txs2" units="millisecond"/>
        <variable name="cai" public_interface="in" units="millimolar"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>xs1ss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <cn cellml:units="millivolt">11.6</cn>
                                        <ci>EKshift</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt">8.932</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>txs1</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="millisecond">817.3</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="millisecond">1</cn>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless" type="e-notation">2.326<sep/>-4</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <cn cellml:units="millivolt">48.28</cn>
                                            <ci>EKshift</ci>
                                        </apply>
                                        <cn cellml:units="millivolt">17.8</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.001292</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>v</ci>
                                                <cn cellml:units="millivolt">210</cn>
                                                <ci>EKshift</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="millivolt">230.0</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>xs1</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>xs1ss</ci>
                        <ci>xs1</ci>
                    </apply>
                    <ci>txs1</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>xs2ss</ci>
                <ci>xs1ss</ci>
            </apply>
            <apply>
                <eq/>
                <ci>txs2</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="millisecond">1</cn>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.01</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <apply>
                                            <minus/>
                                            <ci>v</ci>
                                            <cn cellml:units="millivolt">50</cn>
                                        </apply>
                                        <ci>EKshift</ci>
                                    </apply>
                                    <cn cellml:units="millivolt">20</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.0193</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <cn cellml:units="millivolt">66.54</cn>
                                            <ci>EKshift</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="millivolt">31.0</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>xs2</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>xs2ss</ci>
                        <ci>xs2</ci>
                    </apply>
                    <ci>txs2</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>KsCa</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.6</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <cn cellml:units="millimolar" type="e-notation">3.8<sep/>-5</cn>
                                    <ci>cai</ci>
                                </apply>
                                <cn cellml:units="dimensionless">1.4</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>GKs</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>bGKs</ci>
                            <ci>GKs_b</ci>
                            <cn cellml:units="dimensionless">1.4</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>bGKs</ci>
                            <ci>GKs_b</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>IKs</ci>
                <apply>
                    <times/>
                    <ci>GKs</ci>
                    <ci>KsCa</ci>
                    <ci>xs1</ci>
                    <ci>xs2</ci>
                    <apply>
                        <minus/>
                        <ci>v</ci>
                        <ci>EKs</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="IK1">
        <variable name="GK1" units="milliS_per_microF"/>
        <!-- 0.1908/6.296422e-01 = 0.3030292442279123
 0.1908/0.588928150765607 = 0.3239783999999998-->
        <variable initial_value="0.1908" name="GK1_b" units="milliS_per_microF"/>
        <variable initial_value="0.71" name="bGK1" units="dimensionless"/>
        <variable initial_value="8" name="EKshift" units="millivolt"/>
        <variable name="xk1ss" units="dimensionless"/>
        <variable name="txk1" units="millisecond"/>
        <variable initial_value="1" name="xk1" units="dimensionless"/>
        <variable name="rk1" units="millisecond"/>
        <variable initial_value="1.09" name="kslope_rk1" units="dimensionless"/>
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="EK" public_interface="in" units="millivolt"/>
        <variable name="ko" public_interface="in" units="millimolar"/>
        <variable name="IK1" public_interface="out" units="microA_per_microF"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>xk1ss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <apply>
                                            <times/>
                                            <cn cellml:units="millivolt_per_millimole">2.5538</cn>
                                            <ci>ko</ci>
                                        </apply>
                                        <cn cellml:units="millivolt">144.59</cn>
                                        <ci>EKshift</ci>
                                    </apply>
                                </apply>
                                <apply>
                                    <plus/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="millivolt_per_millimole">1.5692</cn>
                                        <ci>ko</ci>
                                    </apply>
                                    <cn cellml:units="millivolt">3.8115</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>txk1</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="millisecond">122.2</cn>
                    <apply>
                        <plus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>v</ci>
                                        <ci>EKshift</ci>
                                        <cn cellml:units="millivolt">127.2</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt">20.36</cn>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>v</ci>
                                    <ci>EKshift</ci>
                                    <cn cellml:units="millivolt">236.8</cn>
                                </apply>
                                <cn cellml:units="millivolt">69.33</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>xk1</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>xk1ss</ci>
                        <ci>xk1</ci>
                    </apply>
                    <ci>txk1</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>rk1</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <plus/>
                                            <ci>v</ci>
                                            <cn cellml:units="millivolt">105.8</cn>
                                        </apply>
                                        <apply>
                                            <times/>
                                            <cn cellml:units="millivolt_per_millimole">2.6</cn>
                                            <ci>ko</ci>
                                        </apply>
                                    </apply>
                                    <ci>EKshift</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>kslope_rk1</ci>
                                    <cn cellml:units="millivolt">9.493</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>GK1</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>bGK1</ci>
                            <ci>GK1_b</ci>
                            <cn cellml:units="dimensionless">1.2</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <times/>
                            <ci>bGK1</ci>
                            <ci>GK1_b</ci>
                            <cn cellml:units="dimensionless">1.3</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>bGK1</ci>
                            <ci>GK1_b</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>IK1</ci>
                <apply>
                    <times/>
                    <ci>GK1</ci>
                    <apply>
                        <root/>
                        <ci>ko</ci>
                    </apply>
                    <ci>rk1</ci>
                    <ci>xk1</ci>
                    <apply>
                        <minus/>
                        <ci>v</ci>
                        <ci>EK</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="INaCa_i">
        <variable initial_value="15.0" name="kna1" units="per_millisecond"/>
        <variable initial_value="5.0" name="kna2" units="per_millisecond"/>
        <variable initial_value="88.12" name="kna3" units="per_millisecond"/>
        <variable initial_value="12.5" name="kasymm" units="dimensionless"/>
        <variable initial_value="60000" name="wna" units="dimensionless"/>
        <variable initial_value="60000" name="wca" units="dimensionless"/>
        <variable initial_value="5000" name="wnaca" units="dimensionless"/>
        <variable initial_value="1500000" name="kcaon" units="per_millisecond"/>
        <variable initial_value="5000" name="kcaoff" units="per_millisecond"/>
        <variable initial_value="0.5224" name="qna" units="dimensionless"/>
        <variable initial_value="0.1670" name="qca" units="dimensionless"/>
        <variable name="hna" units="dimensionless"/>
        <variable name="hca" units="dimensionless"/>
        <variable name="zca" public_interface="in" units="dimensionless"/>
        <variable initial_value="150e-06" name="KmCaAct" units="millimolar"/>
        <variable name="zna" public_interface="in" units="dimensionless"/>
        <variable initial_value="0.0008" name="Gncx_b" units="milliS_per_microF"/>
        <variable initial_value="2.4" name="bGncx" units="dimensionless"/>
        <variable name="Gncx" units="milliS_per_microF"/>
        <variable name="R" public_interface="in" units="joule_per_kilomole_kelvin"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_mole"/>
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable name="nai" public_interface="in" units="millimolar"/>
        <variable name="nass" public_interface="in" units="millimolar"/>
        <variable name="cass" public_interface="in" units="millimolar"/>
        <variable name="nao" public_interface="in" units="millimolar"/>
        <variable name="cai" public_interface="in" units="millimolar"/>
        <variable name="cao" public_interface="in" units="millimolar"/>
        <variable name="h1_i" units="dimensionless"/>
        <variable name="h2_i" units="dimensionless"/>
        <variable name="h3_i" units="dimensionless"/>
        <variable name="h4_i" units="dimensionless"/>
        <variable name="h5_i" units="dimensionless"/>
        <variable name="h6_i" units="dimensionless"/>
        <variable name="h7_i" units="dimensionless"/>
        <variable name="h8_i" units="dimensionless"/>
        <variable name="h9_i" units="dimensionless"/>
        <variable name="h10_i" units="dimensionless"/>
        <variable name="h11_i" units="dimensionless"/>
        <variable name="h12_i" units="dimensionless"/>
        <variable name="k1_i" units="dimensionless"/>
        <variable name="k2_i" units="dimensionless"/>
        <variable name="k3p_i" units="dimensionless"/>
        <variable name="k3pp_i" units="dimensionless"/>
        <variable name="k3_i" units="dimensionless"/>
        <variable name="k4_i" units="dimensionless"/>
        <variable name="k4p_i" units="dimensionless"/>
        <variable name="k4pp_i" units="dimensionless"/>
        <variable name="k5_i" units="dimensionless"/>
        <variable name="k6_i" units="dimensionless"/>
        <variable name="k7_i" units="dimensionless"/>
        <variable name="k8_i" units="dimensionless"/>
        <variable name="x1_i" units="dimensionless"/>
        <variable name="x2_i" units="dimensionless"/>
        <variable name="x3_i" units="dimensionless"/>
        <variable name="x4_i" units="dimensionless"/>
        <variable name="E1_i" units="dimensionless"/>
        <variable name="E2_i" units="dimensionless"/>
        <variable name="E3_i" units="dimensionless"/>
        <variable name="E4_i" units="dimensionless"/>
        <variable name="allo_i" units="dimensionless"/>
        <variable name="JncxNa_i" units="millimolar_per_millisecond"/>
        <variable name="JncxCa_i" units="millimolar_per_millisecond"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="INaCa_i" public_interface="out" units="microA_per_microF"/>
        <variable name="INaCa_ss" public_interface="out" units="microA_per_microF"/>
        <variable name="h1_ss" units="dimensionless"/>
        <variable name="h2_ss" units="dimensionless"/>
        <variable name="h3_ss" units="dimensionless"/>
        <variable name="h4_ss" units="dimensionless"/>
        <variable name="h5_ss" units="dimensionless"/>
        <variable name="h6_ss" units="dimensionless"/>
        <variable name="h7_ss" units="dimensionless"/>
        <variable name="h8_ss" units="dimensionless"/>
        <variable name="h9_ss" units="dimensionless"/>
        <variable name="h10_ss" units="dimensionless"/>
        <variable name="h11_ss" units="dimensionless"/>
        <variable name="h12_ss" units="dimensionless"/>
        <variable name="k1_ss" units="dimensionless"/>
        <variable name="k2_ss" units="dimensionless"/>
        <variable name="k3p_ss" units="dimensionless"/>
        <variable name="k3pp_ss" units="dimensionless"/>
        <variable name="k3_ss" units="dimensionless"/>
        <variable name="k4_ss" units="dimensionless"/>
        <variable name="k4p_ss" units="dimensionless"/>
        <variable name="k4pp_ss" units="dimensionless"/>
        <variable name="k5_ss" units="dimensionless"/>
        <variable name="k6_ss" units="dimensionless"/>
        <variable name="k7_ss" units="dimensionless"/>
        <variable name="k8_ss" units="dimensionless"/>
        <variable name="x1_ss" units="dimensionless"/>
        <variable name="x2_ss" units="dimensionless"/>
        <variable name="x3_ss" units="dimensionless"/>
        <variable name="x4_ss" units="dimensionless"/>
        <variable name="E1_ss" units="dimensionless"/>
        <variable name="E2_ss" units="dimensionless"/>
        <variable name="E3_ss" units="dimensionless"/>
        <variable name="E4_ss" units="dimensionless"/>
        <variable name="allo_ss" units="dimensionless"/>
        <variable name="JncxNa_ss" units="millimolar_per_millisecond"/>
        <variable name="JncxCa_ss" units="millimolar_per_millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>hca</ci>
                <apply>
                    <exp/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>qca</ci>
                            <ci>v</ci>
                            <ci>F</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>hna</ci>
                <apply>
                    <exp/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>qna</ci>
                            <ci>v</ci>
                            <ci>F</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h1_i</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <ci>nai</ci>
                            <ci>kna3</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1.0</cn>
                            <ci>hna</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h2_i</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>nai</ci>
                        <ci>hna</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>kna3</ci>
                        <ci>h1_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h3_i</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <ci>h1_i</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h4_i</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <ci>nai</ci>
                            <ci>kna1</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1.0</cn>
                            <apply>
                                <divide/>
                                <ci>nai</ci>
                                <ci>kna2</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h5_i</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>nai</ci>
                        <ci>nai</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>h4_i</ci>
                        <ci>kna1</ci>
                        <ci>kna2</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h6_i</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <ci>h4_i</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h7_i</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <ci>nao</ci>
                            <ci>kna3</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1.0</cn>
                            <apply>
                                <divide/>
                                <cn cellml:units="dimensionless">1</cn>
                                <ci>hna</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h8_i</ci>
                <apply>
                    <divide/>
                    <ci>nao</ci>
                    <apply>
                        <times/>
                        <ci>kna3</ci>
                        <ci>hna</ci>
                        <ci>h7_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h9_i</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <ci>h7_i</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h10_i</ci>
                <apply>
                    <plus/>
                    <ci>kasymm</ci>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <ci>nao</ci>
                            <ci>kna1</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <ci>nao</ci>
                                <ci>kna2</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h11_i</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>nao</ci>
                        <ci>nao</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>h10_i</ci>
                        <ci>kna1</ci>
                        <ci>kna2</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h12_i</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <ci>h10_i</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k1_i</ci>
                <apply>
                    <times/>
                    <ci>h12_i</ci>
                    <ci>cao</ci>
                    <ci>kcaon</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k2_i</ci>
                <ci>kcaoff</ci>
            </apply>
            <apply>
                <eq/>
                <ci>k3p_i</ci>
                <apply>
                    <times/>
                    <ci>h9_i</ci>
                    <ci>wca</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k3pp_i</ci>
                <apply>
                    <times/>
                    <ci>h8_i</ci>
                    <ci>wnaca</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k3_i</ci>
                <apply>
                    <plus/>
                    <ci>k3p_i</ci>
                    <ci>k3pp_i</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k4p_i</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>h3_i</ci>
                        <ci>wca</ci>
                    </apply>
                    <ci>hca</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k4pp_i</ci>
                <apply>
                    <times/>
                    <ci>h2_i</ci>
                    <ci>wnaca</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k4_i</ci>
                <apply>
                    <plus/>
                    <ci>k4p_i</ci>
                    <ci>k4pp_i</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k5_i</ci>
                <ci>kcaoff</ci>
            </apply>
            <apply>
                <eq/>
                <ci>k6_i</ci>
                <apply>
                    <times/>
                    <ci>h6_i</ci>
                    <ci>cai</ci>
                    <ci>kcaon</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k7_i</ci>
                <apply>
                    <times/>
                    <ci>h5_i</ci>
                    <ci>h2_i</ci>
                    <ci>wna</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k8_i</ci>
                <apply>
                    <times/>
                    <ci>h8_i</ci>
                    <ci>h11_i</ci>
                    <ci>wna</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x1_i</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>k2_i</ci>
                        <ci>k4_i</ci>
                        <apply>
                            <plus/>
                            <ci>k7_i</ci>
                            <ci>k6_i</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>k5_i</ci>
                        <ci>k7_i</ci>
                        <apply>
                            <plus/>
                            <ci>k2_i</ci>
                            <ci>k3_i</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x2_i</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>k1_i</ci>
                        <ci>k7_i</ci>
                        <apply>
                            <plus/>
                            <ci>k4_i</ci>
                            <ci>k5_i</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>k4_i</ci>
                        <ci>k6_i</ci>
                        <apply>
                            <plus/>
                            <ci>k1_i</ci>
                            <ci>k8_i</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x3_i</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>k1_i</ci>
                        <ci>k3_i</ci>
                        <apply>
                            <plus/>
                            <ci>k7_i</ci>
                            <ci>k6_i</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>k8_i</ci>
                        <ci>k6_i</ci>
                        <apply>
                            <plus/>
                            <ci>k2_i</ci>
                            <ci>k3_i</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x4_i</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>k2_i</ci>
                        <ci>k8_i</ci>
                        <apply>
                            <plus/>
                            <ci>k4_i</ci>
                            <ci>k5_i</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>k3_i</ci>
                        <ci>k5_i</ci>
                        <apply>
                            <plus/>
                            <ci>k1_i</ci>
                            <ci>k8_i</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E1_i</ci>
                <apply>
                    <divide/>
                    <ci>x1_i</ci>
                    <apply>
                        <plus/>
                        <ci>x1_i</ci>
                        <ci>x2_i</ci>
                        <ci>x3_i</ci>
                        <ci>x4_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E2_i</ci>
                <apply>
                    <divide/>
                    <ci>x2_i</ci>
                    <apply>
                        <plus/>
                        <ci>x1_i</ci>
                        <ci>x2_i</ci>
                        <ci>x3_i</ci>
                        <ci>x4_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E3_i</ci>
                <apply>
                    <divide/>
                    <ci>x3_i</ci>
                    <apply>
                        <plus/>
                        <ci>x1_i</ci>
                        <ci>x2_i</ci>
                        <ci>x3_i</ci>
                        <ci>x4_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E4_i</ci>
                <apply>
                    <divide/>
                    <ci>x4_i</ci>
                    <apply>
                        <plus/>
                        <ci>x1_i</ci>
                        <ci>x2_i</ci>
                        <ci>x3_i</ci>
                        <ci>x4_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>allo_i</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>KmCaAct</ci>
                                <ci>cai</ci>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>JncxNa_i</ci>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">3.0</cn>
                            <apply>
                                <minus/>
                                <apply>
                                    <times/>
                                    <ci>E4_i</ci>
                                    <ci>k7_i</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>E1_i</ci>
                                    <ci>k8_i</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>E3_i</ci>
                            <ci>k4pp_i</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>E2_i</ci>
                        <ci>k3pp_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>JncxCa_i</ci>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <ci>E2_i</ci>
                        <ci>k2_i</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>E1_i</ci>
                        <ci>k1_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Gncx</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>bGncx</ci>
                            <ci>Gncx_b</ci>
                            <cn cellml:units="dimensionless">1.2</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <times/>
                            <ci>bGncx</ci>
                            <ci>Gncx_b</ci>
                            <cn cellml:units="dimensionless">1.4</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>bGncx</ci>
                            <ci>Gncx_b</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>INaCa_i</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">0.8</cn>
                    <ci>Gncx</ci>
                    <ci>allo_i</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>zna</ci>
                            <ci>JncxNa_i</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>zca</ci>
                            <ci>JncxCa_i</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h1_ss</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <ci>nass</ci>
                            <ci>kna3</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>hna</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h2_ss</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>nass</ci>
                        <ci>hna</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>kna3</ci>
                        <ci>h1_ss</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h3_ss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <ci>h1_ss</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h4_ss</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <ci>nass</ci>
                            <ci>kna1</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <ci>nass</ci>
                                <ci>kna2</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h5_ss</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>nass</ci>
                        <ci>nass</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>h4_ss</ci>
                        <ci>kna1</ci>
                        <ci>kna2</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h6_ss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <ci>h4_ss</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h7_ss</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <ci>nao</ci>
                            <ci>kna3</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <cn cellml:units="dimensionless">1</cn>
                                <ci>hna</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h8_ss</ci>
                <apply>
                    <divide/>
                    <ci>nao</ci>
                    <apply>
                        <times/>
                        <ci>kna3</ci>
                        <ci>hna</ci>
                        <ci>h7_ss</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h9_ss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <ci>h7_ss</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h10_ss</ci>
                <apply>
                    <plus/>
                    <ci>kasymm</ci>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <ci>nao</ci>
                            <ci>kna1</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <ci>nao</ci>
                                <ci>kna2</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h11_ss</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>nao</ci>
                        <ci>nao</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>h10_ss</ci>
                        <ci>kna1</ci>
                        <ci>kna2</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>h12_ss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <ci>h10_ss</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k1_ss</ci>
                <apply>
                    <times/>
                    <ci>h12_ss</ci>
                    <ci>cao</ci>
                    <ci>kcaon</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k2_ss</ci>
                <ci>kcaoff</ci>
            </apply>
            <apply>
                <eq/>
                <ci>k3p_ss</ci>
                <apply>
                    <times/>
                    <ci>h9_ss</ci>
                    <ci>wca</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k3pp_ss</ci>
                <apply>
                    <times/>
                    <ci>h8_ss</ci>
                    <ci>wnaca</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k3_ss</ci>
                <apply>
                    <plus/>
                    <ci>k3p_ss</ci>
                    <ci>k3pp_ss</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k4p_ss</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>h3_ss</ci>
                        <ci>wca</ci>
                    </apply>
                    <ci>hca</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k4pp_ss</ci>
                <apply>
                    <times/>
                    <ci>h2_ss</ci>
                    <ci>wnaca</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k4_ss</ci>
                <apply>
                    <plus/>
                    <ci>k4p_ss</ci>
                    <ci>k4pp_ss</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k5_ss</ci>
                <ci>kcaoff</ci>
            </apply>
            <apply>
                <eq/>
                <ci>k6_ss</ci>
                <apply>
                    <times/>
                    <ci>h6_ss</ci>
                    <ci>cass</ci>
                    <ci>kcaon</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k7_ss</ci>
                <apply>
                    <times/>
                    <ci>h5_ss</ci>
                    <ci>h2_ss</ci>
                    <ci>wna</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k8_ss</ci>
                <apply>
                    <times/>
                    <ci>h8_ss</ci>
                    <ci>h11_ss</ci>
                    <ci>wna</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x1_ss</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>k2_ss</ci>
                        <ci>k4_ss</ci>
                        <apply>
                            <plus/>
                            <ci>k7_ss</ci>
                            <ci>k6_ss</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>k5_ss</ci>
                        <ci>k7_ss</ci>
                        <apply>
                            <plus/>
                            <ci>k2_ss</ci>
                            <ci>k3_ss</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x2_ss</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>k1_ss</ci>
                        <ci>k7_ss</ci>
                        <apply>
                            <plus/>
                            <ci>k4_ss</ci>
                            <ci>k5_ss</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>k4_ss</ci>
                        <ci>k6_ss</ci>
                        <apply>
                            <plus/>
                            <ci>k1_ss</ci>
                            <ci>k8_ss</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x3_ss</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>k1_ss</ci>
                        <ci>k3_ss</ci>
                        <apply>
                            <plus/>
                            <ci>k7_ss</ci>
                            <ci>k6_ss</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>k8_ss</ci>
                        <ci>k6_ss</ci>
                        <apply>
                            <plus/>
                            <ci>k2_ss</ci>
                            <ci>k3_ss</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x4_ss</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>k2_ss</ci>
                        <ci>k8_ss</ci>
                        <apply>
                            <plus/>
                            <ci>k4_ss</ci>
                            <ci>k5_ss</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>k3_ss</ci>
                        <ci>k5_ss</ci>
                        <apply>
                            <plus/>
                            <ci>k1_ss</ci>
                            <ci>k8_ss</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E1_ss</ci>
                <apply>
                    <divide/>
                    <ci>x1_ss</ci>
                    <apply>
                        <plus/>
                        <ci>x1_ss</ci>
                        <ci>x2_ss</ci>
                        <ci>x3_ss</ci>
                        <ci>x4_ss</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E2_ss</ci>
                <apply>
                    <divide/>
                    <ci>x2_ss</ci>
                    <apply>
                        <plus/>
                        <ci>x1_ss</ci>
                        <ci>x2_ss</ci>
                        <ci>x3_ss</ci>
                        <ci>x4_ss</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E3_ss</ci>
                <apply>
                    <divide/>
                    <ci>x3_ss</ci>
                    <apply>
                        <plus/>
                        <ci>x1_ss</ci>
                        <ci>x2_ss</ci>
                        <ci>x3_ss</ci>
                        <ci>x4_ss</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E4_ss</ci>
                <apply>
                    <divide/>
                    <ci>x4_ss</ci>
                    <apply>
                        <plus/>
                        <ci>x1_ss</ci>
                        <ci>x2_ss</ci>
                        <ci>x3_ss</ci>
                        <ci>x4_ss</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>allo_ss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>KmCaAct</ci>
                                <ci>cass</ci>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>JncxNa_ss</ci>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">3</cn>
                            <apply>
                                <minus/>
                                <apply>
                                    <times/>
                                    <ci>E4_ss</ci>
                                    <ci>k7_ss</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>E1_ss</ci>
                                    <ci>k8_ss</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>E3_ss</ci>
                            <ci>k4pp_ss</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>E2_ss</ci>
                        <ci>k3pp_ss</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>JncxCa_ss</ci>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <ci>E2_ss</ci>
                        <ci>k2_ss</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>E1_ss</ci>
                        <ci>k1_ss</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>INaCa_ss</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">0.2</cn>
                    <ci>Gncx</ci>
                    <ci>allo_ss</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>zna</ci>
                            <ci>JncxNa_ss</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>zca</ci>
                            <ci>JncxCa_ss</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="INaK">
        <variable initial_value="949.5" name="k1p" units="per_millisecond"/>
        <variable initial_value="182.4" name="k1m" units="per_millisecond"/>
        <variable initial_value="687.2" name="k2p" units="per_millisecond"/>
        <variable initial_value="39.4" name="k2m" units="per_millisecond"/>
        <variable initial_value="1899.0" name="k3p" units="per_millisecond"/>
        <variable initial_value="79300.0" name="k3m" units="per_millisecond"/>
        <variable initial_value="639.0" name="k4p" units="per_millisecond"/>
        <variable initial_value="40.0" name="k4m" units="per_millisecond"/>
        <variable initial_value="9.073" name="Knai0" units="millimolar"/>
        <variable initial_value="27.78" name="Knao0" units="millimolar"/>
        <variable initial_value="-0.1550" name="delta" units="millivolt"/>
        <variable initial_value="0.5" name="Kki" units="per_millisecond"/>
        <variable initial_value="0.3582" name="Kko" units="per_millisecond"/>
        <variable initial_value="0.05" name="MgADP" units="millimolar"/>
        <variable initial_value="9.8" name="MgATP" units="millimolar"/>
        <variable initial_value="1.698e-7" name="Kmgatp" units="millimolar"/>
        <variable initial_value="1e-7" name="H" units="millimolar"/>
        <variable initial_value="4.2" name="eP" units="dimensionless"/>
        <variable initial_value="1.698e-7" name="Khp" units="millimolar"/>
        <variable initial_value="224.0" name="Knap" units="millimolar"/>
        <variable initial_value="292.0" name="Kxkur" units="millimolar"/>
        <variable name="zk" public_interface="in" units="dimensionless"/>
        <variable name="zna" public_interface="in" units="dimensionless"/>
        <variable initial_value="30" name="Pnak_b" units="milliS_per_microF"/>
        <variable name="Pnak" units="milliS_per_microF"/>
        <variable initial_value="2" name="bGnak" units="dimensionless"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="R" public_interface="in" units="joule_per_kilomole_kelvin"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="F" public_interface="in" units="coulomb_per_mole"/>
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable name="nai" public_interface="in" units="millimolar"/>
        <variable name="ki" public_interface="in" units="millimolar"/>
        <variable name="nao" public_interface="in" units="millimolar"/>
        <variable name="ko" public_interface="in" units="millimolar"/>
        <variable name="Knai" units="millimolar"/>
        <variable name="Knao" units="millimolar"/>
        <variable name="P" units="dimensionless"/>
        <variable name="a1" units="dimensionless"/>
        <variable name="b1" units="dimensionless"/>
        <variable name="a2" units="dimensionless"/>
        <variable name="b2" units="dimensionless"/>
        <variable name="a3" units="dimensionless"/>
        <variable name="b3" units="dimensionless"/>
        <variable name="a4" units="dimensionless"/>
        <variable name="b4" units="dimensionless"/>
        <variable name="x1" units="dimensionless"/>
        <variable name="x2" units="dimensionless"/>
        <variable name="x3" units="dimensionless"/>
        <variable name="x4" units="dimensionless"/>
        <variable name="E1" units="dimensionless"/>
        <variable name="E2" units="dimensionless"/>
        <variable name="E3" units="dimensionless"/>
        <variable name="E4" units="dimensionless"/>
        <variable name="JnakNa" units="millimolar_per_millisecond"/>
        <variable name="JnakK" units="millimolar_per_millisecond"/>
        <variable name="INaK" public_interface="out" units="microA_per_microF"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>Knai</ci>
                <apply>
                    <times/>
                    <ci>Knai0</ci>
                    <apply>
                        <exp/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>delta</ci>
                                <ci>v</ci>
                                <ci>F</ci>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">3.0</cn>
                                <ci>R</ci>
                                <ci>T</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Knao</ci>
                <apply>
                    <times/>
                    <ci>Knao0</ci>
                    <apply>
                        <exp/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">1.0</cn>
                                    <ci>delta</ci>
                                </apply>
                                <ci>v</ci>
                                <ci>F</ci>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">3.0</cn>
                                <ci>R</ci>
                                <ci>T</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>P</ci>
                <apply>
                    <divide/>
                    <ci>eP</ci>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <ci>H</ci>
                            <ci>Khp</ci>
                        </apply>
                        <apply>
                            <divide/>
                            <ci>nai</ci>
                            <ci>Knap</ci>
                        </apply>
                        <apply>
                            <divide/>
                            <ci>ki</ci>
                            <ci>Kxkur</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>a1</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>k1p</ci>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>nai</ci>
                                <ci>Knai</ci>
                            </apply>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <divide/>
                                        <ci>nai</ci>
                                        <ci>Knai</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">3</cn>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <divide/>
                                        <ci>ki</ci>
                                        <ci>Kki</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1.0</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>b1</ci>
                <apply>
                    <times/>
                    <ci>k1m</ci>
                    <ci>MgADP</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>a2</ci>
                <ci>k2p</ci>
            </apply>
            <apply>
                <eq/>
                <ci>b2</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>k2m</ci>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>nao</ci>
                                <ci>Knao</ci>
                            </apply>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <divide/>
                                        <ci>nao</ci>
                                        <ci>Knao</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">3</cn>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <divide/>
                                        <ci>ko</ci>
                                        <ci>Kko</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>a3</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>k3p</ci>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>ko</ci>
                                <ci>Kko</ci>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <divide/>
                                        <ci>nao</ci>
                                        <ci>Knao</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">3</cn>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <divide/>
                                        <ci>ko</ci>
                                        <ci>Kko</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1.0</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>b3</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>k3m</ci>
                        <ci>P</ci>
                        <ci>H</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <ci>MgATP</ci>
                            <ci>Kmgatp</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>a4</ci>
                <apply>
                    <divide/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>k4p</ci>
                            <ci>MgATP</ci>
                        </apply>
                        <ci>Kmgatp</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <ci>MgATP</ci>
                            <ci>Kmgatp</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>b4</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>k4m</ci>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>ki</ci>
                                <ci>Kki</ci>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <divide/>
                                        <ci>nai</ci>
                                        <ci>Knai</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">3</cn>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <divide/>
                                        <ci>ki</ci>
                                        <ci>Kki</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1.0</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x1</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>a4</ci>
                        <ci>a1</ci>
                        <ci>a2</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>b2</ci>
                        <ci>b4</ci>
                        <ci>b3</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>a2</ci>
                        <ci>b4</ci>
                        <ci>b3</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>b3</ci>
                        <ci>a1</ci>
                        <ci>a2</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x2</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>b2</ci>
                        <ci>b1</ci>
                        <ci>b4</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>a1</ci>
                        <ci>a2</ci>
                        <ci>a3</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>a3</ci>
                        <ci>b1</ci>
                        <ci>b4</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>a2</ci>
                        <ci>a3</ci>
                        <ci>b4</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x3</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>a2</ci>
                        <ci>a3</ci>
                        <ci>a4</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>b3</ci>
                        <ci>b2</ci>
                        <ci>b1</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>b2</ci>
                        <ci>b1</ci>
                        <ci>a4</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>a3</ci>
                        <ci>a4</ci>
                        <ci>b1</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x4</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>b4</ci>
                        <ci>b3</ci>
                        <ci>b2</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>a3</ci>
                        <ci>a4</ci>
                        <ci>a1</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>b2</ci>
                        <ci>a4</ci>
                        <ci>a1</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>b3</ci>
                        <ci>b2</ci>
                        <ci>a1</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E1</ci>
                <apply>
                    <divide/>
                    <ci>x1</ci>
                    <apply>
                        <plus/>
                        <ci>x1</ci>
                        <ci>x2</ci>
                        <ci>x3</ci>
                        <ci>x4</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E2</ci>
                <apply>
                    <divide/>
                    <ci>x2</ci>
                    <apply>
                        <plus/>
                        <ci>x1</ci>
                        <ci>x2</ci>
                        <ci>x3</ci>
                        <ci>x4</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E3</ci>
                <apply>
                    <divide/>
                    <ci>x3</ci>
                    <apply>
                        <plus/>
                        <ci>x1</ci>
                        <ci>x2</ci>
                        <ci>x3</ci>
                        <ci>x4</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E4</ci>
                <apply>
                    <divide/>
                    <ci>x4</ci>
                    <apply>
                        <plus/>
                        <ci>x1</ci>
                        <ci>x2</ci>
                        <ci>x3</ci>
                        <ci>x4</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>JnakNa</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">3</cn>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <ci>E1</ci>
                            <ci>a3</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>E2</ci>
                            <ci>b3</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>JnakK</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">2</cn>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <ci>E4</ci>
                            <ci>b1</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>E3</ci>
                            <ci>a1</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Pnak</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>bGnak</ci>
                            <ci>Pnak_b</ci>
                            <cn cellml:units="dimensionless">0.9</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <times/>
                            <ci>bGnak</ci>
                            <ci>Pnak_b</ci>
                            <cn cellml:units="dimensionless">0.7</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>bGnak</ci>
                            <ci>Pnak_b</ci>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>INaK</ci>
                <apply>
                    <times/>
                    <ci>Pnak</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>zna</ci>
                            <ci>JnakNa</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>zk</ci>
                            <ci>JnakK</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="IKb">
        <variable name="xkb" units="dimensionless"/>
        <variable initial_value="0.003" name="GKb_b" units="milliS_per_microF"/>
        <variable name="GKb" units="milliS_per_microF"/>
        <variable name="v" public_interface="in" units="millivolt"/>
        <variable name="EK" public_interface="in" units="millivolt"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="IKb" public_interface="out" units="microA_per_microF"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>xkb</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <ci>v</ci>
                                        <cn cellml:units="millivolt">14.48</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="millivolt">18.34</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>GKb</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>GKb_b</ci>
                            <cn cellml:units="dimensionless">0.6</cn>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <ci>GKb_b</ci>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>IKb</ci>
                <apply>
                    <times/>
                    <ci>GKb</ci>
                    <ci>xkb</ci>
                    <apply>
                        <minus/>
                        <ci>v</ci>
                        <ci>EK</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="INab">
        <variable initial_value="3.75e-10" name="PNab" units="milliS_per_microF"/>
        <variable name="INab" public_interface="out" units="microA_per_microF"/>
        <variable name="nai" public_interface="in" units="millimolar"/>
        <variable name="nao" public_interface="in" units="millimolar"/>
        <variable name="vffrt" public_interface="in" units="coulomb_per_mole"/>
        <variable name="vfrt" public_interface="in" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>INab</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>PNab</ci>
                        <ci>vffrt</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>nai</ci>
                                <apply>
                                    <exp/>
                                    <ci>vfrt</ci>
                                </apply>
                            </apply>
                            <ci>nao</ci>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <ci>vfrt</ci>
                        </apply>
                        <cn cellml:units="dimensionless">1.0</cn>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="ICab">
        <variable initial_value="2.5e-8" name="PCab" units="milliS_per_microF"/>
        <variable name="ICab" public_interface="out" units="microA_per_microF"/>
        <variable name="cai" public_interface="in" units="millimolar"/>
        <variable name="cao" public_interface="in" units="millimolar"/>
        <variable name="vffrt" public_interface="in" units="coulomb_per_mole"/>
        <variable name="vfrt" public_interface="in" units="dimensionless"/>
        <variable initial_value="0" name="undo_ICab" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>ICab</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>undo_ICab</ci>
                        </apply>
                        <ci>PCab</ci>
                        <cn cellml:units="dimensionless">16</cn>
                        <ci>vffrt</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">1.2</cn>
                                <ci>cai</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">2</cn>
                                        <ci>vfrt</ci>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.341</cn>
                                <ci>cao</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">2</cn>
                                <ci>vfrt</ci>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1.0</cn>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="IpCa">
        <variable initial_value="0.0005" name="GpCa" units="milliS_per_microF"/>
        <variable initial_value="0.0005" name="KmCap" units="millimolar"/>
        <variable name="IpCa" public_interface="out" units="microA_per_microF"/>
        <variable name="cai" public_interface="in" units="millimolar"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>IpCa</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>GpCa</ci>
                        <ci>cai</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <ci>KmCap</ci>
                        <ci>cai</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="diff">
        <variable name="cai" public_interface="in" units="millimolar"/>
        <variable name="cass" public_interface="in" units="millimolar"/>
        <variable name="nai" public_interface="in" units="millimolar"/>
        <variable name="nass" public_interface="in" units="millimolar"/>
        <variable name="ki" public_interface="in" units="millimolar"/>
        <variable name="kss" public_interface="in" units="millimolar"/>
        <variable name="JdiffNa" public_interface="out" units="millimolar_per_millisecond"/>
        <variable name="Jdiff" public_interface="out" units="millimolar_per_millisecond"/>
        <variable name="JdiffK" public_interface="out" units="millimolar_per_millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>JdiffNa</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>nass</ci>
                        <ci>nai</ci>
                    </apply>
                    <cn cellml:units="dimensionless">2.0</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>JdiffK</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>kss</ci>
                        <ci>ki</ci>
                    </apply>
                    <cn cellml:units="dimensionless">2.0</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Jdiff</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <ci>cass</ci>
                            <ci>cai</ci>
                        </apply>
                        <cn cellml:units="dimensionless">1.7</cn>
                    </apply>
                    <cn cellml:units="dimensionless">0.2</cn>
                </apply>
            </apply>
        </math>
    </component>
    <component name="ryr">
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="time" public_interface="in" units="millisecond"/>
        <variable name="KmCaMK" public_interface="in" units="millimolar"/>
        <variable name="CaMKa" public_interface="in" units="millimolar"/>
        <variable initial_value="0.05" name="RyRa1" units="micromolar"/>
        <variable initial_value="0.03" name="RyRa2" units="micromolar"/>
        <variable name="RyRohalf" units="micromolar"/>
        <variable name="RyRchalf" units="micromolar"/>
        <variable name="RyRSRCass" units="dimensionless"/>
        <variable name="RyRainfss" units="micromolar"/>
        <variable name="RyRtauadapt" units="millisecond"/>
        <variable initial_value="0.03" name="RyRa" units="micromolar"/>
        <variable name="RyRoinfss" units="dimensionless"/>
        <variable name="RyRtauact" units="millisecond"/>
        <variable name="RyRcinfss" units="dimensionless"/>
        <variable initial_value="0" name="RyRo" units="dimensionless"/>
        <variable name="RyRtauinact" units="millisecond"/>
        <variable initial_value="1" name="RyRc" units="dimensionless"/>
        <variable name="RyRtauinactp" units="millisecond"/>
        <variable initial_value="1" name="RyRcp" units="dimensionless"/>
        <variable name="casr" public_interface="in" units="millimolar"/>
        <variable name="cass" public_interface="in" units="millimolar"/>
        <variable name="fJrelp" units="dimensionless"/>
        <variable name="Jrel" public_interface="out" units="millimolar_per_millisecond"/>
        <variable name="Jrelnp" units="millimolar_per_millisecond"/>
        <variable name="Jrelp" units="millimolar_per_millisecond"/>
        <variable initial_value="0.02" name="g_irel_max" units="millimolar_per_second"/>
        <variable name="g_irel_max_M" units="per_second"/>
        <variable name="g_irel_max_p" units="per_second"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>RyRohalf</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="micromolar">0.12</cn>
                    <apply>
                        <minus/>
                        <ci>RyRa1</ci>
                        <apply>
                            <divide/>
                            <ci>RyRa2</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>RyRchalf</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="micromolar">0.10</cn>
                    <apply>
                        <minus/>
                        <ci>RyRa1</ci>
                        <apply>
                            <divide/>
                            <ci>RyRa2</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>RyRSRCass</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <ci>casr</ci>
                                        <cn cellml:units="millimolar">0.3</cn>
                                    </apply>
                                    <cn cellml:units="millimolar">0.1</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>RyRainfss</ci>
                <apply>
                    <minus/>
                    <ci>RyRa1</ci>
                    <apply>
                        <divide/>
                        <ci>RyRa2</ci>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <times/>
                                            <cn cellml:units="dimensionless">1000</cn>
                                            <ci>cass</ci>
                                        </apply>
                                        <cn cellml:units="micromolar">0.043</cn>
                                    </apply>
                                    <cn cellml:units="micromolar">0.0082</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>RyRtauadapt</ci>
                <cn cellml:units="millisecond">1000</cn>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>RyRa</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>RyRainfss</ci>
                        <ci>RyRa</ci>
                    </apply>
                    <ci>RyRtauadapt</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>RyRoinfss</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <times/>
                                            <cn cellml:units="dimensionless">1000</cn>
                                            <ci>cass</ci>
                                        </apply>
                                        <apply>
                                            <plus/>
                                            <ci>RyRa</ci>
                                            <ci>RyRohalf</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="micromolar">0.003</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>RyRtauact</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="millisecond" type="e-notation">18.75<sep/>-1</cn>
                    <cn cellml:units="dimensionless">1.875</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>RyRo</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>RyRoinfss</ci>
                        <ci>RyRo</ci>
                    </apply>
                    <ci>RyRtauact</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>RyRcinfss</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">1000</cn>
                                        <ci>cass</ci>
                                    </apply>
                                    <apply>
                                        <plus/>
                                        <ci>RyRa</ci>
                                        <ci>RyRchalf</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="micromolar">0.001</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>RyRtauinact</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <cn cellml:units="millisecond">87.5</cn>
                    </apply>
                    <cn cellml:units="dimensionless">10</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>RyRc</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>RyRcinfss</ci>
                        <ci>RyRc</ci>
                    </apply>
                    <ci>RyRtauinact</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>RyRtauinactp</ci>
                <apply>
                    <times/>
                    <ci>RyRtauinact</ci>
                    <cn cellml:units="dimensionless">1.25</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>RyRcp</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>RyRcinfss</ci>
                        <ci>RyRcp</ci>
                    </apply>
                    <ci>RyRtauinactp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>fJrelp</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <ci>KmCaMK</ci>
                            <ci>CaMKa</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>g_irel_max_M</ci>
                <apply>
                    <times/>
                    <ci>g_irel_max</ci>
                    <cn cellml:units="dimensionless">1.7</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Jrelnp</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>g_irel_max_M</ci>
                            <ci>RyRSRCass</ci>
                            <ci>RyRo</ci>
                            <ci>RyRc</ci>
                            <apply>
                                <minus/>
                                <ci>casr</ci>
                                <ci>cass</ci>
                            </apply>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>g_irel_max</ci>
                            <ci>RyRSRCass</ci>
                            <ci>RyRo</ci>
                            <ci>RyRc</ci>
                            <apply>
                                <minus/>
                                <ci>casr</ci>
                                <ci>cass</ci>
                            </apply>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>g_irel_max_p</ci>
                <apply>
                    <times/>
                    <ci>g_irel_max</ci>
                    <cn cellml:units="dimensionless">1.25</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Jrelp</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <times/>
                            <ci>g_irel_max_p</ci>
                            <cn cellml:units="dimensionless">1.7</cn>
                            <ci>RyRSRCass</ci>
                            <ci>RyRo</ci>
                            <ci>RyRcp</ci>
                            <apply>
                                <minus/>
                                <ci>casr</ci>
                                <ci>cass</ci>
                            </apply>
                        </apply>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <times/>
                            <ci>g_irel_max_p</ci>
                            <ci>RyRSRCass</ci>
                            <ci>RyRo</ci>
                            <ci>RyRcp</ci>
                            <apply>
                                <minus/>
                                <ci>casr</ci>
                                <ci>cass</ci>
                            </apply>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>Jrel</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>fJrelp</ci>
                        </apply>
                        <ci>Jrelnp</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>fJrelp</ci>
                        <ci>Jrelp</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="SERCA">
        <variable name="upScale" units="dimensionless"/>
        <variable name="Jupnp" units="millimolar_per_millisecond"/>
        <variable name="Jupp" units="millimolar_per_millisecond"/>
        <variable name="KmCaMK" public_interface="in" units="millimolar"/>
        <variable name="CaMKa" public_interface="in" units="millimolar"/>
        <variable name="celltype" public_interface="in" units="dimensionless"/>
        <variable name="cai" public_interface="in" units="millimolar"/>
        <!--var cansr: millimolar {pub: in};-->
        <variable name="fJupp" units="dimensionless"/>
        <variable name="Jleak" public_interface="out" units="millimolar_per_millisecond"/>
        <variable name="Jup" public_interface="out" units="millimolar_per_millisecond"/>
        <variable initial_value="1" name="Jup_b" units="dimensionless"/>
        <variable initial_value="3.13" name="cJup" units="dimensionless"/>
        <variable name="Vmax_SRCaP" units="millimolar_per_millisecond"/>
        <!-- [mM/msec] (286 umol/L cytosol/sec)-->
        <variable name="Kmf" units="millimolar"/>
        <variable name="casr" public_interface="in" units="millimolar"/>
        <variable name="Kmr" units="millimolar"/>
        <variable name="hillSRCaP" units="millimolar"/>
        <variable name="Jup2" public_interface="out" units="millimolar_per_millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>upScale</ci>
                <piecewise>
                    <piece>
                        <cn cellml:units="dimensionless">1.3</cn>
                        <apply>
                            <eq/>
                            <ci>celltype</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="dimensionless">1</cn>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>Jupnp</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>upScale</ci>
                        <cn cellml:units="dimensionless">0.004375</cn>
                        <ci>cai</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <ci>cai</ci>
                        <cn cellml:units="millimolar">0.00092</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Jupp</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>upScale</ci>
                        <cn cellml:units="dimensionless">2.75</cn>
                        <cn cellml:units="dimensionless">0.004375</cn>
                        <ci>cai</ci>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <ci>cai</ci>
                            <cn cellml:units="millimolar">0.00092</cn>
                        </apply>
                        <cn cellml:units="millimolar">0.00017</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>fJupp</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <ci>KmCaMK</ci>
                            <ci>CaMKa</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Jleak</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="millimolar_per_millisecond">0.0123</cn>
                        <ci>casr</ci>
                    </apply>
                    <cn cellml:units="millimolar">15.0</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Jup</ci>
                <apply>
                    <times/>
                    <ci>cJup</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <ci>fJupp</ci>
                            </apply>
                            <ci>Jupnp</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>fJupp</ci>
                            <ci>Jupp</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Vmax_SRCaP</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">1.0</cn>
                    <cn cellml:units="millimolar_per_millisecond" type="e-notation">5.3114<sep/>-3</cn>
                </apply>
            </apply>
            <!-- [mM/msec] (286 umol/L cytosol/sec)-->
            <apply>
                <eq/>
                <ci>Kmf</ci>
                <cn cellml:units="millimolar" type="e-notation">0.246<sep/>-3</cn>
            </apply>
            <apply>
                <eq/>
                <ci>Kmr</ci>
                <cn cellml:units="millimolar">1.7</cn>
            </apply>
            <apply>
                <eq/>
                <ci>hillSRCaP</ci>
                <cn cellml:units="millimolar">1.787</cn>
            </apply>
            <apply>
                <eq/>
                <ci>Jup2</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>Vmax_SRCaP</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <ci>cai</ci>
                                    <ci>Kmf</ci>
                                </apply>
                                <ci>hillSRCaP</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <ci>casr</ci>
                                    <ci>Kmr</ci>
                                </apply>
                                <ci>hillSRCaP</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>cai</ci>
                                <ci>Kmf</ci>
                            </apply>
                            <ci>hillSRCaP</ci>
                        </apply>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>casr</ci>
                                <ci>Kmr</ci>
                            </apply>
                            <ci>hillSRCaP</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="trans_flux">
        <!--var cansr: millimolar {pub: in};
var cajsr: millimolar {pub: in};-->
        <variable name="Jtr" public_interface="out" units="millimolar_per_millisecond"/>
        <!--Jtr = (cansr-cajsr)/100{millisecond};-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>Jtr</ci>
                <cn cellml:units="millimolar_per_millisecond">0</cn>
            </apply>
        </math>
    </component>
    <connection>
        <map_components component_1="intracellular_ions" component_2="INaL"/>
        <map_variables variable_1="INaL" variable_2="INaL"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="membrane"/>
        <map_variables variable_1="Istim" variable_2="Istim"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="trans_flux"/>
        <!--vars cajsr and cajsr;
vars cansr and cansr;-->
        <map_variables variable_1="Jtr" variable_2="Jtr"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="SERCA"/>
        <map_variables variable_1="cai" variable_2="cai"/>
        <!--vars cansr and cansr;-->
        <map_variables variable_1="casr" variable_2="casr"/>
        <map_variables variable_1="Jup" variable_2="Jup"/>
        <map_variables variable_1="Jleak" variable_2="Jleak"/>
    </connection>
    <connection>
        <map_components component_1="SERCA" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
    </connection>
    <connection>
        <map_components component_1="SERCA" component_2="CaMK"/>
        <map_variables variable_1="KmCaMK" variable_2="KmCaMK"/>
        <map_variables variable_1="CaMKa" variable_2="CaMKa"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="ryr"/>
        <!--    vars cajsr and cajsr;-->
        <map_variables variable_1="Jrel" variable_2="Jrel"/>
        <map_variables variable_1="cass" variable_2="cass"/>
        <map_variables variable_1="casr" variable_2="casr"/>
    </connection>
    <!--def map between ICaL and ryr for
vars ICaL and ICaL;
enddef;-->
    <connection>
        <map_components component_1="ryr" component_2="CaMK"/>
        <map_variables variable_1="KmCaMK" variable_2="KmCaMK"/>
        <map_variables variable_1="CaMKa" variable_2="CaMKa"/>
    </connection>
    <connection>
        <map_components component_1="ryr" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="diff"/>
        <map_variables variable_1="cai" variable_2="cai"/>
        <map_variables variable_1="cass" variable_2="cass"/>
        <map_variables variable_1="nai" variable_2="nai"/>
        <map_variables variable_1="nass" variable_2="nass"/>
        <map_variables variable_1="ki" variable_2="ki"/>
        <map_variables variable_1="kss" variable_2="kss"/>
        <map_variables variable_1="JdiffK" variable_2="JdiffK"/>
        <map_variables variable_1="Jdiff" variable_2="Jdiff"/>
        <map_variables variable_1="JdiffNa" variable_2="JdiffNa"/>
    </connection>
    <connection>
        <map_components component_1="IpCa" component_2="membrane"/>
        <map_variables variable_1="IpCa" variable_2="IpCa"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="IpCa"/>
        <map_variables variable_1="cai" variable_2="cai"/>
        <map_variables variable_1="IpCa" variable_2="IpCa"/>
    </connection>
    <connection>
        <map_components component_1="extracellular" component_2="ICab"/>
        <map_variables variable_1="cao" variable_2="cao"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="ICab"/>
        <map_variables variable_1="cai" variable_2="cai"/>
        <map_variables variable_1="ICab" variable_2="ICab"/>
    </connection>
    <connection>
        <map_components component_1="ICab" component_2="membrane"/>
        <map_variables variable_1="vffrt" variable_2="vffrt"/>
        <map_variables variable_1="vfrt" variable_2="vfrt"/>
        <map_variables variable_1="ICab" variable_2="ICab"/>
    </connection>
    <connection>
        <map_components component_1="extracellular" component_2="INab"/>
        <map_variables variable_1="nao" variable_2="nao"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="INab"/>
        <map_variables variable_1="nai" variable_2="nai"/>
        <map_variables variable_1="INab" variable_2="INab"/>
    </connection>
    <connection>
        <map_components component_1="INab" component_2="membrane"/>
        <map_variables variable_1="vffrt" variable_2="vffrt"/>
        <map_variables variable_1="vfrt" variable_2="vfrt"/>
        <map_variables variable_1="INab" variable_2="INab"/>
    </connection>
    <connection>
        <map_components component_1="IKb" component_2="membrane"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="IKb" variable_2="IKb"/>
    </connection>
    <connection>
        <map_components component_1="IKb" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
    </connection>
    <connection>
        <map_components component_1="IKb" component_2="reversal_potentials"/>
        <map_variables variable_1="EK" variable_2="EK"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="IKb"/>
        <map_variables variable_1="IKb" variable_2="IKb"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="INaK"/>
        <map_variables variable_1="ki" variable_2="ki"/>
        <map_variables variable_1="nai" variable_2="nai"/>
        <map_variables variable_1="INaK" variable_2="INaK"/>
    </connection>
    <connection>
        <map_components component_1="INaK" component_2="membrane"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="INaK" variable_2="INaK"/>
    </connection>
    <connection>
        <map_components component_1="INaK" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
    </connection>
    <connection>
        <map_components component_1="INaK" component_2="physical_constants"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="zna" variable_2="zna"/>
        <map_variables variable_1="zk" variable_2="zk"/>
    </connection>
    <connection>
        <map_components component_1="extracellular" component_2="INaK"/>
        <map_variables variable_1="nao" variable_2="nao"/>
        <map_variables variable_1="ko" variable_2="ko"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="INaCa_i"/>
        <map_variables variable_1="cai" variable_2="cai"/>
        <map_variables variable_1="nai" variable_2="nai"/>
        <map_variables variable_1="nass" variable_2="nass"/>
        <map_variables variable_1="cass" variable_2="cass"/>
        <map_variables variable_1="INaCa_i" variable_2="INaCa_i"/>
        <map_variables variable_1="INaCa_ss" variable_2="INaCa_ss"/>
    </connection>
    <connection>
        <map_components component_1="INaCa_i" component_2="membrane"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="INaCa_i" variable_2="INaCa_i"/>
        <map_variables variable_1="INaCa_ss" variable_2="INaCa_ss"/>
    </connection>
    <connection>
        <map_components component_1="INaCa_i" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
    </connection>
    <connection>
        <map_components component_1="INaCa_i" component_2="physical_constants"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="zna" variable_2="zna"/>
        <map_variables variable_1="zca" variable_2="zca"/>
    </connection>
    <connection>
        <map_components component_1="extracellular" component_2="INaCa_i"/>
        <map_variables variable_1="nao" variable_2="nao"/>
        <map_variables variable_1="cao" variable_2="cao"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="IKs"/>
        <map_variables variable_1="cai" variable_2="cai"/>
        <map_variables variable_1="IKs" variable_2="IKs"/>
    </connection>
    <connection>
        <map_components component_1="IK1" component_2="membrane"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="IK1" variable_2="IK1"/>
    </connection>
    <connection>
        <map_components component_1="IK1" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="IKs" component_2="membrane"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="IKs" variable_2="IKs"/>
    </connection>
    <connection>
        <map_components component_1="IKs" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="IK1" component_2="reversal_potentials"/>
        <map_variables variable_1="EK" variable_2="EK"/>
    </connection>
    <connection>
        <map_components component_1="IKs" component_2="reversal_potentials"/>
        <map_variables variable_1="EKs" variable_2="EKs"/>
    </connection>
    <connection>
        <map_components component_1="Ito" component_2="membrane"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="Ito" variable_2="Ito"/>
    </connection>
    <connection>
        <map_components component_1="INaL" component_2="membrane"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="INaL" variable_2="INaL"/>
    </connection>
    <connection>
        <map_components component_1="IKr" component_2="membrane"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="IKr" variable_2="IKr"/>
    </connection>
    <connection>
        <map_components component_1="IKr" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="INaL" component_2="reversal_potentials"/>
        <map_variables variable_1="ENa" variable_2="ENa"/>
    </connection>
    <connection>
        <map_components component_1="Ito" component_2="reversal_potentials"/>
        <map_variables variable_1="EK" variable_2="EK"/>
    </connection>
    <connection>
        <map_components component_1="INaL" component_2="CaMK"/>
        <map_variables variable_1="KmCaMK" variable_2="KmCaMK"/>
        <map_variables variable_1="CaMKa" variable_2="CaMKa"/>
    </connection>
    <connection>
        <map_components component_1="Ito" component_2="CaMK"/>
        <map_variables variable_1="KmCaMK" variable_2="KmCaMK"/>
        <map_variables variable_1="CaMKa" variable_2="CaMKa"/>
    </connection>
    <connection>
        <map_components component_1="INaL" component_2="INa"/>
        <map_variables variable_1="tm" variable_2="tm"/>
    </connection>
    <connection>
        <map_components component_1="INaL" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="ICaL" component_2="environment"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="ICaL" component_2="CaMK"/>
        <map_variables variable_1="KmCaMK" variable_2="KmCaMK"/>
        <map_variables variable_1="CaMKa" variable_2="CaMKa"/>
    </connection>
    <connection>
        <map_components component_1="CaMK" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="ICaL" component_2="physical_constants"/>
        <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="ICaL"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="vffrt" variable_2="vffrt"/>
        <map_variables variable_1="vfrt" variable_2="vfrt"/>
        <map_variables variable_1="ICaL" variable_2="ICaL"/>
        <map_variables variable_1="ICaNa" variable_2="ICaNa"/>
        <map_variables variable_1="ICaK" variable_2="ICaK"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="physical_constants"/>
        <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="intracellular_ions" component_2="physical_constants"/>
        <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="intracellular_ions" component_2="ICaL"/>
        <map_variables variable_1="cass" variable_2="cass"/>
        <map_variables variable_1="nass" variable_2="nass"/>
        <map_variables variable_1="kss" variable_2="kss"/>
        <map_variables variable_1="ICaNa" variable_2="ICaNa"/>
        <map_variables variable_1="ICaK" variable_2="ICaK"/>
        <map_variables variable_1="ICaL" variable_2="ICaL"/>
    </connection>
    <connection>
        <map_components component_1="extracellular" component_2="IK1"/>
        <map_variables variable_1="ko" variable_2="ko"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="IK1"/>
        <map_variables variable_1="IK1" variable_2="IK1"/>
    </connection>
    <connection>
        <map_components component_1="extracellular" component_2="ICaL"/>
        <map_variables variable_1="nao" variable_2="nao"/>
        <map_variables variable_1="ko" variable_2="ko"/>
        <map_variables variable_1="cao" variable_2="cao"/>
    </connection>
    <connection>
        <map_components component_1="extracellular" component_2="IKr"/>
        <map_variables variable_1="ko" variable_2="ko"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="IKr"/>
        <map_variables variable_1="IKr" variable_2="IKr"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="physical_constants"/>
        <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="reversal_potentials" component_2="IKr"/>
        <map_variables variable_1="EK" variable_2="EK"/>
    </connection>
    <connection>
        <map_components component_1="reversal_potentials" component_2="INa"/>
        <map_variables variable_1="ENa" variable_2="ENa"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="INa"/>
        <map_variables variable_1="INa" variable_2="INa"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="Ito"/>
        <map_variables variable_1="Ito" variable_2="Ito"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="INa"/>
        <map_variables variable_1="v" variable_2="v"/>
        <map_variables variable_1="INa" variable_2="INa"/>
    </connection>
    <connection>
        <map_components component_1="CaMK" component_2="INa"/>
        <map_variables variable_1="KmCaMK" variable_2="KmCaMK"/>
        <map_variables variable_1="CaMKa" variable_2="CaMKa"/>
    </connection>
    <connection>
        <map_components component_1="Ito" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
    </connection>
    <connection>
        <map_components component_1="INa" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="CaMK"/>
        <map_variables variable_1="cass" variable_2="cass"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="cell_geometry"/>
        <map_variables variable_1="Acap" variable_2="Acap"/>
        <map_variables variable_1="vmyo" variable_2="vmyo"/>
        <map_variables variable_1="vss" variable_2="vss"/>
        <map_variables variable_1="vsr" variable_2="vsr"/>
        <map_variables variable_1="vnsr" variable_2="vnsr"/>
        <map_variables variable_1="vjsr" variable_2="vjsr"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="environment"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="celltype" variable_2="celltype"/>
    </connection>
    <connection>
        <map_components component_1="intracellular_ions" component_2="reversal_potentials"/>
        <map_variables variable_1="nai" variable_2="nai"/>
        <map_variables variable_1="ki" variable_2="ki"/>
    </connection>
    <connection>
        <map_components component_1="extracellular" component_2="reversal_potentials"/>
        <map_variables variable_1="nao" variable_2="nao"/>
        <map_variables variable_1="ko" variable_2="ko"/>
    </connection>
</model>