Location: AndyCalciumSubsystem @ 077458727c35 / BG_NCX_d.cellml

Author:
Andy Lo <alo006@aucklanduni.ac.nz>
Date:
2023-06-11 22:30:49+12:00
Desc:
N/A
Permanent Source URI:
http://models.cellml.org/workspace/b13/rawfile/077458727c35644c994839e26102b527444555c2/BG_NCX_d.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="cardiac_AP_NCX_only" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink">
    <import xlink:href="units_and_constants/units_BG.cellml">
        <units name="mM" units_ref="mM"/>
        <units name="fmol" units_ref="fmol"/>
        <units name="per_fmol" units_ref="per_fmol"/>
        <units name="J_per_mol" units_ref="J_per_mol"/>
        <units name="fmol_per_sec" units_ref="fmol_per_sec"/>
        <units name="C_per_mol" units_ref="C_per_mol"/>
        <units name="J_per_C" units_ref="J_per_C"/>
        <units name="J_per_K_per_mol" units_ref="J_per_K_per_mol"/>
        <units name="fF" units_ref="fF"/>
        <units name="fC" units_ref="fC"/>
        <units name="fA" units_ref="fA"/>
    </import>
    <import xlink:href="units_and_constants/constants_BG.cellml">
        <component component_ref="constants" name="constants"/>
    </import>
    <component name="environment">
        <variable initial_value="0" name="t" public_interface="out" units="second"/>
        <variable initial_value="-0.07" name="V_mem_clamp" public_interface="out" units="volt"/>
        <variable initial_value="9.3276" name="q_Ca_o" public_interface="out" units="fmol"/>
        <variable initial_value="0.00000378129" name="q_Ca_d" public_interface="out" units="fmol"/>
        <variable initial_value="725.48" name="q_Na_o" public_interface="out" units="fmol"/>
        <variable initial_value="0.3151" name="q_Na_d" public_interface="out" units="fmol"/>
        <variable initial_value="0.00001138599" name="q_P1_NCX_d" public_interface="out" units="fmol"/>
        <variable initial_value="0.00001138599" name="q_P2_NCX_d" public_interface="out" units="fmol"/>
        <variable initial_value="0.00001138599" name="q_P3_NCX_d" public_interface="out" units="fmol"/>
        <variable initial_value="0.00001138599" name="q_P4_NCX_d" public_interface="out" units="fmol"/>
        <variable initial_value="0.00001138599" name="q_P5_NCX_d" public_interface="out" units="fmol"/>
        <variable initial_value="0.00001138599" name="q_P6_NCX_d" public_interface="out" units="fmol"/>
        <variable name="v_Ca_o_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <variable name="v_Ca_d_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <variable name="v_Na_o_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <variable name="v_Na_d_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_Ca_o</ci>
                </apply>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">1</cn>
                    <ci>v_Ca_o_NCX_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_Ca_d</ci>
                </apply>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">1</cn>
                    <ci>v_Ca_d_NCX_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_Na_o</ci>
                </apply>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">1</cn>
                    <ci>v_Na_o_NCX_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_Na_d</ci>
                </apply>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">1</cn>
                    <ci>v_Na_d_NCX_d</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="NCX_parameters">
        <variable initial_value="417309" name="kappa_1_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="1.39522e+07" name="kappa_2_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="472.755" name="kappa_3_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="1.39522e+07" name="kappa_4_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="417309" name="kappa_5_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="0.370405" name="kappa_6_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="2.93394e+08" name="K_1_NCX_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="14.1045" name="K_2_NCX_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="263471" name="K_3_NCX_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="2.39875e+06" name="K_4_NCX_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="2373.73" name="K_5_NCX_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="956.214" name="K_6_NCX_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.0137751" name="K_Na_d_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="10.2446" name="K_Ca_d_NCX_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.470129" name="K_Na_o_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="7572.91" name="K_Ca_o_d" public_interface="out" units="per_fmol"/>
        <variable initial_value="3" name="nNa_o_NCX_d" public_interface="out" units="dimensionless"/>
        <variable initial_value="3" name="nNa_d_NCX_d" public_interface="out" units="dimensionless"/>
        <variable initial_value="-0.55679" name="zf_NCX_d" public_interface="out" units="dimensionless"/>
        <variable initial_value="0.44321" name="zr_NCX_d" public_interface="out" units="dimensionless"/>
    </component>
    <component name="NCX_d">
        <variable name="t" public_interface="in" units="second"/>
        <variable name="R" public_interface="in" units="J_per_K_per_mol"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <variable name="K_1_NCX_d" public_interface="in" units="per_fmol"/>
        <variable name="K_2_NCX_d" public_interface="in" units="per_fmol"/>
        <variable name="K_3_NCX_d" public_interface="in" units="per_fmol"/>
        <variable name="K_4_NCX_d" public_interface="in" units="per_fmol"/>
        <variable name="K_5_NCX_d" public_interface="in" units="per_fmol"/>
        <variable name="K_6_NCX_d" public_interface="in" units="per_fmol"/>
        <variable name="K_Ca_o_d" public_interface="in" units="per_fmol"/>
        <variable name="K_Ca_d_NCX_d" public_interface="in" units="per_fmol"/>
        <variable name="K_Na_o_d" public_interface="in" units="per_fmol"/>
        <variable name="K_Na_d_d" public_interface="in" units="per_fmol"/>
        <variable name="kappa_1_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_2_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_3_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_4_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_5_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_6_NCX_d" public_interface="in" units="fmol_per_sec"/>
        <variable name="nNa_o_NCX_d" public_interface="in" units="dimensionless"/>
        <variable name="nNa_d_NCX_d" public_interface="in" units="dimensionless"/>
        <variable name="zf_NCX_d" public_interface="in" units="dimensionless"/>
        <variable name="zr_NCX_d" public_interface="in" units="dimensionless"/>
        <variable name="q_Ca_o" public_interface="in" units="fmol"/>
        <variable name="q_Ca_d" public_interface="in" units="fmol"/>
        <variable name="q_Na_o" public_interface="in" units="fmol"/>
        <variable name="q_Na_d" public_interface="in" units="fmol"/>
        <variable name="V_mem_clamp" public_interface="in" units="volt"/>
        <variable name="q_P1_NCX_d" public_interface="in" units="fmol"/>
        <variable name="q_P2_NCX_d" public_interface="in" units="fmol"/>
        <variable name="q_P3_NCX_d" public_interface="in" units="fmol"/>
        <variable name="q_P4_NCX_d" public_interface="in" units="fmol"/>
        <variable name="q_P5_NCX_d" public_interface="in" units="fmol"/>
        <variable name="q_P6_NCX_d" public_interface="in" units="fmol"/>
        <variable name="mu_Ca_o_d" units="J_per_mol"/>
        <variable name="mu_Ca_d_d" units="J_per_mol"/>
        <variable name="mu_Na_o_d" units="J_per_mol"/>
        <variable name="mu_Na_d_d" units="J_per_mol"/>
        <variable name="mu_P1_NCX_d" units="J_per_mol"/>
        <variable name="mu_P2_NCX_d" units="J_per_mol"/>
        <variable name="mu_P3_NCX_d" units="J_per_mol"/>
        <variable name="mu_P4_NCX_d" units="J_per_mol"/>
        <variable name="mu_P5_NCX_d" units="J_per_mol"/>
        <variable name="mu_P6_NCX_d" units="J_per_mol"/>
        <variable name="v_Ca_o_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable name="v_Ca_d_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable name="v_Na_o_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable name="v_Na_d_NCX_d" public_interface="out" units="fmol_per_sec"/>
        <variable name="v_P1_NCX_d" units="fmol_per_sec"/>
        <variable name="v_P2_NCX_d" units="fmol_per_sec"/>
        <variable name="v_P3_NCX_d" units="fmol_per_sec"/>
        <variable name="v_P4_NCX_d" units="fmol_per_sec"/>
        <variable name="v_P5_NCX_d" units="fmol_per_sec"/>
        <variable name="v_P6_NCX_d" units="fmol_per_sec"/>
        <variable name="Af_r1_d" units="J_per_mol"/>
        <variable name="Ar_r1_d" units="J_per_mol"/>
        <variable name="v_r1_d" public_interface="out" units="fmol_per_sec"/>
        <variable name="Af_r2_d" units="J_per_mol"/>
        <variable name="Ar_r2_d" units="J_per_mol"/>
        <variable name="v_r2_d" public_interface="out" units="fmol_per_sec"/>
        <variable name="Af_r3_d" units="J_per_mol"/>
        <variable name="Ar_r3_d" units="J_per_mol"/>
        <variable name="v_r3_d" public_interface="out" units="fmol_per_sec"/>
        <variable name="Af_r4_d" units="J_per_mol"/>
        <variable name="Ar_r4_d" units="J_per_mol"/>
        <variable name="v_r4_d" public_interface="out" units="fmol_per_sec"/>
        <variable name="Af_r5_d" units="J_per_mol"/>
        <variable name="Ar_r5_d" units="J_per_mol"/>
        <variable name="v_r5_d" public_interface="out" units="fmol_per_sec"/>
        <variable name="Af_r6_d" units="J_per_mol"/>
        <variable name="Ar_r6_d" units="J_per_mol"/>
        <variable name="v_r6_d" public_interface="out" units="fmol_per_sec"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>mu_Ca_o_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Ca_o_d</ci>
                            <ci>q_Ca_o</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_Ca_d_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Ca_d_NCX_d</ci>
                            <ci>q_Ca_d</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_Na_o_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Na_o_d</ci>
                            <ci>q_Na_o</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_Na_d_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Na_d_d</ci>
                            <ci>q_Na_d</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P1_NCX_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_1_NCX_d</ci>
                            <ci>q_P1_NCX_d</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P2_NCX_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_2_NCX_d</ci>
                            <ci>q_P2_NCX_d</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P3_NCX_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_3_NCX_d</ci>
                            <ci>q_P3_NCX_d</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P4_NCX_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_4_NCX_d</ci>
                            <ci>q_P4_NCX_d</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P5_NCX_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_5_NCX_d</ci>
                            <ci>q_P5_NCX_d</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P6_NCX_d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_6_NCX_d</ci>
                            <ci>q_P6_NCX_d</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r1_d</ci>
                <apply>
                    <times/>
                    <ci>kappa_1_NCX_d</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r1_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r1_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r2_d</ci>
                <apply>
                    <times/>
                    <ci>kappa_2_NCX_d</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r2_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r2_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r3_d</ci>
                <apply>
                    <times/>
                    <ci>kappa_3_NCX_d</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r3_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r3_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r4_d</ci>
                <apply>
                    <times/>
                    <ci>kappa_4_NCX_d</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r4_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r4_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r5_d</ci>
                <apply>
                    <times/>
                    <ci>kappa_5_NCX_d</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r5_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r5_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r6_d</ci>
                <apply>
                    <times/>
                    <ci>kappa_6_NCX_d</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r6_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r6_d</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r1_d</ci>
                <ci>mu_P1_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r2_d</ci>
                <apply>
                    <plus/>
                    <ci>mu_P2_NCX_d</ci>
                    <ci>mu_Ca_d_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r3_d</ci>
                <ci>mu_P3_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r4_d</ci>
                <ci>mu_P4_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r5_d</ci>
                <apply>
                    <plus/>
                    <ci>mu_P5_NCX_d</ci>
                    <apply>
                        <times/>
                        <ci>nNa_o_NCX_d</ci>
                        <ci>mu_Na_o_d</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r6_d</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>R</ci>
                        <ci>T</ci>
                        <apply>
                            <ln/>
                            <apply>
                                <times/>
                                <ci>K_6_NCX_d</ci>
                                <ci>q_P6_NCX_d</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>zf_NCX_d</ci>
                        <ci>F</ci>
                        <ci>V_mem_clamp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r1_d</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>nNa_d_NCX_d</ci>
                        <ci>mu_Na_d_d</ci>
                    </apply>
                    <ci>mu_P2_NCX_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r2_d</ci>
                <ci>mu_P3_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r3_d</ci>
                <ci>mu_P4_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r4_d</ci>
                <apply>
                    <plus/>
                    <ci>mu_P5_NCX_d</ci>
                    <ci>mu_Ca_o_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r5_d</ci>
                <ci>mu_P6_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r6_d</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>R</ci>
                        <ci>T</ci>
                        <apply>
                            <ln/>
                            <apply>
                                <times/>
                                <ci>K_1_NCX_d</ci>
                                <ci>q_P1_NCX_d</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>zr_NCX_d</ci>
                        <ci>F</ci>
                        <ci>V_mem_clamp</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_Ca_o_NCX_d</ci>
                <ci>v_r4_d</ci>
            </apply>
            <apply>
                <eq/>
                <ci>v_Ca_d_NCX_d</ci>
                <apply>
                    <minus/>
                    <ci>v_r2_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_Na_o_NCX_d</ci>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <ci>nNa_o_NCX_d</ci>
                    </apply>
                    <ci>v_r5_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_Na_d_NCX_d</ci>
                <apply>
                    <times/>
                    <ci>nNa_d_NCX_d</ci>
                    <ci>v_r1_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P1_NCX_d</ci>
                <apply>
                    <minus/>
                    <ci>v_r6_d</ci>
                    <ci>v_r1_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P2_NCX_d</ci>
                <apply>
                    <minus/>
                    <ci>v_r1_d</ci>
                    <ci>v_r2_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P3_NCX_d</ci>
                <apply>
                    <minus/>
                    <ci>v_r2_d</ci>
                    <ci>v_r3_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P4_NCX_d</ci>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <ci>v_r4_d</ci>
                    </apply>
                    <ci>v_r3_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P5_NCX_d</ci>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <ci>v_r5_d</ci>
                    </apply>
                    <ci>v_r4_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P6_NCX_d</ci>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <ci>v_r6_d</ci>
                    </apply>
                    <ci>v_r5_d</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_P1_NCX_d</ci>
                </apply>
                <ci>v_P1_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_P2_NCX_d</ci>
                </apply>
                <ci>v_P2_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_P3_NCX_d</ci>
                </apply>
                <ci>v_P3_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_P4_NCX_d</ci>
                </apply>
                <ci>v_P4_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_P5_NCX_d</ci>
                </apply>
                <ci>v_P5_NCX_d</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_P6_NCX_d</ci>
                </apply>
                <ci>v_P6_NCX_d</ci>
            </apply>
        </math>
    </component>
    <connection>
        <map_components component_1="NCX_d" component_2="NCX_parameters"/>
        <map_variables variable_1="K_1_NCX_d" variable_2="K_1_NCX_d"/>
        <map_variables variable_1="K_2_NCX_d" variable_2="K_2_NCX_d"/>
        <map_variables variable_1="K_3_NCX_d" variable_2="K_3_NCX_d"/>
        <map_variables variable_1="K_4_NCX_d" variable_2="K_4_NCX_d"/>
        <map_variables variable_1="K_5_NCX_d" variable_2="K_5_NCX_d"/>
        <map_variables variable_1="K_6_NCX_d" variable_2="K_6_NCX_d"/>
        <map_variables variable_1="K_Ca_o_d" variable_2="K_Ca_o_d"/>
        <map_variables variable_1="K_Ca_d_NCX_d" variable_2="K_Ca_d_NCX_d"/>
        <map_variables variable_1="K_Na_o_d" variable_2="K_Na_o_d"/>
        <map_variables variable_1="K_Na_d_d" variable_2="K_Na_d_d"/>
        <map_variables variable_1="kappa_1_NCX_d" variable_2="kappa_1_NCX_d"/>
        <map_variables variable_1="kappa_2_NCX_d" variable_2="kappa_2_NCX_d"/>
        <map_variables variable_1="kappa_3_NCX_d" variable_2="kappa_3_NCX_d"/>
        <map_variables variable_1="kappa_4_NCX_d" variable_2="kappa_4_NCX_d"/>
        <map_variables variable_1="kappa_5_NCX_d" variable_2="kappa_5_NCX_d"/>
        <map_variables variable_1="kappa_6_NCX_d" variable_2="kappa_6_NCX_d"/>
        <map_variables variable_1="nNa_o_NCX_d" variable_2="nNa_o_NCX_d"/>
        <map_variables variable_1="nNa_d_NCX_d" variable_2="nNa_d_NCX_d"/>
        <map_variables variable_1="zf_NCX_d" variable_2="zf_NCX_d"/>
        <map_variables variable_1="zr_NCX_d" variable_2="zr_NCX_d"/>
    </connection>
    <connection>
        <map_components component_1="NCX_d" component_2="environment"/>
        <map_variables variable_1="t" variable_2="t"/>
        <map_variables variable_1="q_Ca_o" variable_2="q_Ca_o"/>
        <map_variables variable_1="q_Ca_d" variable_2="q_Ca_d"/>
        <map_variables variable_1="q_Na_o" variable_2="q_Na_o"/>
        <map_variables variable_1="q_Na_d" variable_2="q_Na_d"/>
        <map_variables variable_1="q_P1_NCX_d" variable_2="q_P1_NCX_d"/>
        <map_variables variable_1="q_P2_NCX_d" variable_2="q_P2_NCX_d"/>
        <map_variables variable_1="q_P3_NCX_d" variable_2="q_P3_NCX_d"/>
        <map_variables variable_1="q_P4_NCX_d" variable_2="q_P4_NCX_d"/>
        <map_variables variable_1="q_P5_NCX_d" variable_2="q_P5_NCX_d"/>
        <map_variables variable_1="q_P6_NCX_d" variable_2="q_P6_NCX_d"/>
        <map_variables variable_1="v_Ca_o_NCX_d" variable_2="v_Ca_o_NCX_d"/>
        <map_variables variable_1="v_Ca_d_NCX_d" variable_2="v_Ca_d_NCX_d"/>
        <map_variables variable_1="v_Na_o_NCX_d" variable_2="v_Na_o_NCX_d"/>
        <map_variables variable_1="v_Na_d_NCX_d" variable_2="v_Na_d_NCX_d"/>
        <map_variables variable_1="V_mem_clamp" variable_2="V_mem_clamp"/>
    </connection>
    <connection>
        <map_components component_1="constants" component_2="NCX_d"/>
        <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>
</model>