Location: FCU_cardiacAP_Pan @ 741c36ef265c / NCX_channel.cellml

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-02-10 15:16:34+13:00
Desc:
Adding Vmem calculation and matlab solving script
Permanent Source URI:
https://models.physiomeproject.org/workspace/81b/rawfile/741c36ef265cf870464a66704b1f6616183a4927/NCX_channel.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="cardiac_AP_NCX_only" xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#">
    <units name="J_per_K_per_mol">
        <unit units="joule"/>
        <unit exponent="-1" units="kelvin"/>
        <unit exponent="-1" units="mole"/>
    </units>
    <units name="C_per_mol">
        <unit units="coulomb"/>
        <unit exponent="-1" units="mole"/>
    </units>
    <units name="fF">
        <unit prefix="femto" units="farad"/>
    </units>
    <units name="fmol">
        <unit prefix="femto" units="mole"/>
    </units>
    <units name="per_fmol">
        <unit exponent="-1" units="fmol"/>
    </units>
    <units name="fmol_per_sec">
        <unit units="fmol"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="fC">
        <unit prefix="femto" units="coulomb"/>
    </units>
    <units name="fA">
        <unit prefix="femto" units="ampere"/>
    </units>
    <units name="J_per_mol">
        <unit units="joule"/>
        <unit exponent="-1" units="mole"/>
    </units>
    <component name="environment">
        <variable initial_value="0" name="t" public_interface="out" units="second"/>
        <variable initial_value="8.314" name="R" public_interface="out" units="J_per_K_per_mol"/>
        <variable initial_value="310" name="T" public_interface="out" units="kelvin"/>
        <variable initial_value="96485" name="F" public_interface="out" units="C_per_mol"/>
        <variable initial_value="153400" name="C_m" public_interface="out" units="fF"/>
        <variable initial_value="9.3276" name="x_Cae_init" units="fmol"/>
        <variable initial_value="0.00456" name="x_Cai_init" units="fmol"/>
        <variable initial_value="725.48" name="x_Nae_init" units="fmol"/>
        <variable initial_value="380" name="x_Nai_init" units="fmol"/>
        <variable initial_value="0.00072174" name="x_P1_NCX_init" units="fmol"/>
        <variable initial_value="0.00072174" name="x_P2_NCX_init" units="fmol"/>
        <variable initial_value="0.00072174" name="x_P3_NCX_init" units="fmol"/>
        <variable initial_value="0.00072174" name="x_P4_NCX_init" units="fmol"/>
        <variable initial_value="0.00072174" name="x_P5_NCX_init" units="fmol"/>
        <variable initial_value="0.00072174" name="x_P6_NCX_init" units="fmol"/>
        <variable name="x_Cae_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_Cae" public_interface="out" units="fmol"/>
        <variable name="x_Cai_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_Cai" public_interface="out" units="fmol"/>
        <variable name="x_Nae_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_Nae" public_interface="out" units="fmol"/>
        <variable name="x_Nai_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_Nai" public_interface="out" units="fmol"/>
        <variable name="x_P1_NCX_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_P1_NCX" public_interface="out" units="fmol"/>
        <variable name="x_P2_NCX_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_P2_NCX" public_interface="out" units="fmol"/>
        <variable name="x_P3_NCX_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_P3_NCX" public_interface="out" units="fmol"/>
        <variable name="x_P4_NCX_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_P4_NCX" public_interface="out" units="fmol"/>
        <variable name="x_P5_NCX_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_P5_NCX" public_interface="out" units="fmol"/>
        <variable name="x_P6_NCX_mNCX" public_interface="in" units="fmol"/>
        <variable name="x_P6_NCX" public_interface="out" units="fmol"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>x_Cae</ci>
                <apply>
                    <plus/>
                    <ci>x_Cae_init</ci>
                    <ci>x_Cae_mNCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_Cai</ci>
                <apply>
                    <plus/>
                    <ci>x_Cai_init</ci>
                    <ci>x_Cai_mNCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_Nae</ci>
                <apply>
                    <plus/>
                    <ci>x_Nae_init</ci>
                    <ci>x_Nae_mNCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_Nai</ci>
                <apply>
                    <plus/>
                    <ci>x_Nai_init</ci>
                    <ci>x_Nai_mNCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_P1_NCX</ci>
                <apply>
                    <plus/>
                    <ci>x_P1_NCX_init</ci>
                    <ci>x_P1_NCX_mNCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_P2_NCX</ci>
                <apply>
                    <plus/>
                    <ci>x_P2_NCX_init</ci>
                    <ci>x_P2_NCX_mNCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_P3_NCX</ci>
                <apply>
                    <plus/>
                    <ci>x_P3_NCX_init</ci>
                    <ci>x_P3_NCX_mNCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_P4_NCX</ci>
                <apply>
                    <plus/>
                    <ci>x_P4_NCX_init</ci>
                    <ci>x_P4_NCX_mNCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_P5_NCX</ci>
                <apply>
                    <plus/>
                    <ci>x_P5_NCX_init</ci>
                    <ci>x_P5_NCX_mNCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_P6_NCX</ci>
                <apply>
                    <plus/>
                    <ci>x_P6_NCX_init</ci>
                    <ci>x_P6_NCX_mNCX</ci>
                </apply>
            </apply>
        </math>
        <variable initial_value="-13039" name="q_mem_init" units="fC"/>
        <variable name="q_mem_mNCX" public_interface="in" units="fC"/>
        <variable name="q_mem" public_interface="out" units="fC"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>q_mem</ci>
                <apply>
                    <plus/>
                    <ci>q_mem_init</ci>
                    <ci>q_mem_mNCX</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="NCX_parameters">
        <variable initial_value="160144852.2746" name="K_1_NCX" public_interface="out" units="per_fmol"/>
        <variable initial_value="407.3479" name="K_2_NCX" public_interface="out" units="per_fmol"/>
        <variable initial_value="22191.7214" name="K_3_NCX" public_interface="out" units="per_fmol"/>
        <variable initial_value="119580.5289" name="K_4_NCX" public_interface="out" units="per_fmol"/>
        <variable initial_value="10363474.1803" name="K_5_NCX" public_interface="out" units="per_fmol"/>
        <variable initial_value="199.44" name="K_6_NCX" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.16293" name="K_Cae" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.022218" name="K_Cai" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.017678" name="K_Nae" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.0024108" name="K_Nai" public_interface="out" units="per_fmol"/>
        <variable initial_value="256862.245" name="kappa_1_NCX" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="21141816.1231" name="kappa_2_NCX" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="6834.2872" name="kappa_3_NCX" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="21141816.1231" name="kappa_4_NCX" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="256862.245" name="kappa_5_NCX" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="1.7753" name="kappa_6_NCX" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="3" name="nNae_NCX" public_interface="out" units="dimensionless"/>
        <variable initial_value="3" name="nNai_NCX" public_interface="out" units="dimensionless"/>
        <variable initial_value="-0.55679" name="zf_NCX" public_interface="out" units="dimensionless"/>
        <variable initial_value="0.44321" name="zr_NCX" public_interface="out" units="dimensionless"/>
    </component>
    <component name="NCX_channel">
        <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="C_m" public_interface="in" units="fF"/>
        <variable name="K_1_NCX" public_interface="in" units="per_fmol"/>
        <variable name="K_2_NCX" public_interface="in" units="per_fmol"/>
        <variable name="K_3_NCX" public_interface="in" units="per_fmol"/>
        <variable name="K_4_NCX" public_interface="in" units="per_fmol"/>
        <variable name="K_5_NCX" public_interface="in" units="per_fmol"/>
        <variable name="K_6_NCX" public_interface="in" units="per_fmol"/>
        <variable name="K_Cae" public_interface="in" units="per_fmol"/>
        <variable name="K_Cai" public_interface="in" units="per_fmol"/>
        <variable name="K_Nae" public_interface="in" units="per_fmol"/>
        <variable name="K_Nai" public_interface="in" units="per_fmol"/>
        <variable name="kappa_1_NCX" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_2_NCX" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_3_NCX" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_4_NCX" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_5_NCX" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_6_NCX" public_interface="in" units="fmol_per_sec"/>
        <variable name="nNae_NCX" public_interface="in" units="dimensionless"/>
        <variable name="nNai_NCX" public_interface="in" units="dimensionless"/>
        <variable name="zf_NCX" public_interface="in" units="dimensionless"/>
        <variable name="zr_NCX" public_interface="in" units="dimensionless"/>
        <variable name="x_Cae_global" public_interface="in" units="fmol"/>
        <variable name="x_Cai_global" public_interface="in" units="fmol"/>
        <variable name="x_Nae_global" public_interface="in" units="fmol"/>
        <variable name="x_Nai_global" public_interface="in" units="fmol"/>
        <variable name="x_P1_NCX_global" public_interface="in" units="fmol"/>
        <variable name="x_P2_NCX_global" public_interface="in" units="fmol"/>
        <variable name="x_P3_NCX_global" public_interface="in" units="fmol"/>
        <variable name="x_P4_NCX_global" public_interface="in" units="fmol"/>
        <variable name="x_P5_NCX_global" public_interface="in" units="fmol"/>
        <variable name="x_P6_NCX_global" public_interface="in" units="fmol"/>
        <variable initial_value="0" name="x_Cae" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_Cai" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_Nae" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_Nai" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_P1_NCX" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_P2_NCX" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_P3_NCX" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_P4_NCX" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_P5_NCX" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_P6_NCX" public_interface="out" units="fmol"/>
        <variable name="q_mem_global" public_interface="in" units="fC"/>
        <variable initial_value="0" name="q_mem" public_interface="out" units="fC"/>
        <variable name="mu_Cae" units="J_per_mol"/>
        <variable name="mu_Cai" units="J_per_mol"/>
        <variable name="mu_Nae" units="J_per_mol"/>
        <variable name="mu_Nai" units="J_per_mol"/>
        <variable name="mu_P1_NCX" units="J_per_mol"/>
        <variable name="mu_P2_NCX" units="J_per_mol"/>
        <variable name="mu_P3_NCX" units="J_per_mol"/>
        <variable name="mu_P4_NCX" units="J_per_mol"/>
        <variable name="mu_P5_NCX" units="J_per_mol"/>
        <variable name="mu_P6_NCX" units="J_per_mol"/>
        <variable name="v_Cae" units="fmol_per_sec"/>
        <variable name="v_Cai" units="fmol_per_sec"/>
        <variable name="v_Nae" units="fmol_per_sec"/>
        <variable name="v_Nai" units="fmol_per_sec"/>
        <variable name="v_P1_NCX" units="fmol_per_sec"/>
        <variable name="v_P2_NCX" units="fmol_per_sec"/>
        <variable name="v_P3_NCX" units="fmol_per_sec"/>
        <variable name="v_P4_NCX" units="fmol_per_sec"/>
        <variable name="v_P5_NCX" units="fmol_per_sec"/>
        <variable name="v_P6_NCX" units="fmol_per_sec"/>
        <variable name="Af_r1" units="J_per_mol"/>
        <variable name="Ar_r1" units="J_per_mol"/>
        <variable name="v_r1" units="fmol_per_sec"/>
        <variable name="Af_r2" units="J_per_mol"/>
        <variable name="Ar_r2" units="J_per_mol"/>
        <variable name="v_r2" units="fmol_per_sec"/>
        <variable name="Af_r3" units="J_per_mol"/>
        <variable name="Ar_r3" units="J_per_mol"/>
        <variable name="v_r3" units="fmol_per_sec"/>
        <variable name="Af_r4" units="J_per_mol"/>
        <variable name="Ar_r4" units="J_per_mol"/>
        <variable name="v_r4" units="fmol_per_sec"/>
        <variable name="Af_r5" units="J_per_mol"/>
        <variable name="Ar_r5" units="J_per_mol"/>
        <variable name="v_r5" units="fmol_per_sec"/>
        <variable name="Af_r6" units="J_per_mol"/>
        <variable name="Ar_r6" units="J_per_mol"/>
        <variable name="v_r6" units="fmol_per_sec"/>
        <variable name="V_mem" units="volt"/>
        <variable name="I_mem" units="fA"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>V_mem</ci>
                <apply>
                    <divide/>
                    <ci>q_mem_global</ci>
                    <ci>C_m</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_mem</ci>
                <apply>
                    <times/>
                    <ci>F</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <ci>zf_NCX</ci>
                            </apply>
                            <ci>v_r6</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>zr_NCX</ci>
                            <ci>v_r6</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_Cae</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Cae</ci>
                            <ci>x_Cae_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_Cai</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Cai</ci>
                            <ci>x_Cai_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_Nae</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Nae</ci>
                            <ci>x_Nae_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_Nai</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Nai</ci>
                            <ci>x_Nai_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P1_NCX</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_1_NCX</ci>
                            <ci>x_P1_NCX_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P2_NCX</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_2_NCX</ci>
                            <ci>x_P2_NCX_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P3_NCX</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_3_NCX</ci>
                            <ci>x_P3_NCX_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P4_NCX</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_4_NCX</ci>
                            <ci>x_P4_NCX_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P5_NCX</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_5_NCX</ci>
                            <ci>x_P5_NCX_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_P6_NCX</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_6_NCX</ci>
                            <ci>x_P6_NCX_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r1</ci>
                <apply>
                    <times/>
                    <ci>kappa_1_NCX</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r1</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r1</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r2</ci>
                <apply>
                    <times/>
                    <ci>kappa_2_NCX</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r2</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r2</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r3</ci>
                <apply>
                    <times/>
                    <ci>kappa_3_NCX</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r3</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r3</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r4</ci>
                <apply>
                    <times/>
                    <ci>kappa_4_NCX</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r4</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r4</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r5</ci>
                <apply>
                    <times/>
                    <ci>kappa_5_NCX</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r5</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r5</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_r6</ci>
                <apply>
                    <times/>
                    <ci>kappa_6_NCX</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_r6</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_r6</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r1</ci>
                <ci>mu_P1_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r2</ci>
                <apply>
                    <plus/>
                    <ci>mu_P2_NCX</ci>
                    <ci>mu_Cai</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r3</ci>
                <ci>mu_P3_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r4</ci>
                <ci>mu_P4_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r5</ci>
                <apply>
                    <plus/>
                    <ci>mu_P5_NCX</ci>
                    <apply>
                        <times/>
                        <ci>nNae_NCX</ci>
                        <ci>mu_Nae</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Af_r6</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>R</ci>
                        <ci>T</ci>
                        <apply>
                            <ln/>
                            <apply>
                                <times/>
                                <ci>K_6_NCX</ci>
                                <ci>x_P6_NCX</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>zf_NCX</ci>
                        <ci>F</ci>
                        <ci>V_mem</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r1</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>nNai_NCX</ci>
                        <ci>mu_Nai</ci>
                    </apply>
                    <ci>mu_P2_NCX</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r2</ci>
                <ci>mu_P3_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r3</ci>
                <ci>mu_P4_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r4</ci>
                <apply>
                    <plus/>
                    <ci>mu_P5_NCX</ci>
                    <ci>mu_Cae</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r5</ci>
                <ci>mu_P6_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_r6</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>R</ci>
                        <ci>T</ci>
                        <apply>
                            <ln/>
                            <apply>
                                <times/>
                                <ci>K_1_NCX</ci>
                                <ci>x_P1_NCX</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>zr_NCX</ci>
                        <ci>F</ci>
                        <ci>V_mem</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_Cae</ci>
                <ci>v_r4</ci>
            </apply>
            <apply>
                <eq/>
                <ci>v_Cai</ci>
                <apply>
                    <minus/>
                    <ci>v_r2</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_Nae</ci>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <ci>nNae_NCX</ci>
                    </apply>
                    <ci>v_r5</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_Nai</ci>
                <apply>
                    <times/>
                    <ci>nNai_NCX</ci>
                    <ci>v_r1</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P1_NCX</ci>
                <apply>
                    <minus/>
                    <ci>v_r6</ci>
                    <ci>v_r1</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P2_NCX</ci>
                <apply>
                    <minus/>
                    <ci>v_r1</ci>
                    <ci>v_r2</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P3_NCX</ci>
                <apply>
                    <minus/>
                    <ci>v_r2</ci>
                    <ci>v_r3</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P4_NCX</ci>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <ci>v_r4</ci>
                    </apply>
                    <ci>v_r3</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P5_NCX</ci>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <ci>v_r5</ci>
                    </apply>
                    <ci>v_r4</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_P6_NCX</ci>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <ci>v_r6</ci>
                    </apply>
                    <ci>v_r5</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_Cae</ci>
                </apply>
                <ci>v_Cae</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_Cai</ci>
                </apply>
                <ci>v_Cai</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_Nae</ci>
                </apply>
                <ci>v_Nae</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_Nai</ci>
                </apply>
                <ci>v_Nai</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_P1_NCX</ci>
                </apply>
                <ci>v_P1_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_P2_NCX</ci>
                </apply>
                <ci>v_P2_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_P3_NCX</ci>
                </apply>
                <ci>v_P3_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_P4_NCX</ci>
                </apply>
                <ci>v_P4_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_P5_NCX</ci>
                </apply>
                <ci>v_P5_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_P6_NCX</ci>
                </apply>
                <ci>v_P6_NCX</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_mem</ci>
                </apply>
                <ci>I_mem</ci>
            </apply>
        </math>
    </component>
    <connection>
        <map_components component_1="NCX_channel" component_2="NCX_parameters"/>
        <map_variables variable_1="K_1_NCX" variable_2="K_1_NCX"/>
        <map_variables variable_1="K_2_NCX" variable_2="K_2_NCX"/>
        <map_variables variable_1="K_3_NCX" variable_2="K_3_NCX"/>
        <map_variables variable_1="K_4_NCX" variable_2="K_4_NCX"/>
        <map_variables variable_1="K_5_NCX" variable_2="K_5_NCX"/>
        <map_variables variable_1="K_6_NCX" variable_2="K_6_NCX"/>
        <map_variables variable_1="K_Cae" variable_2="K_Cae"/>
        <map_variables variable_1="K_Cai" variable_2="K_Cai"/>
        <map_variables variable_1="K_Nae" variable_2="K_Nae"/>
        <map_variables variable_1="K_Nai" variable_2="K_Nai"/>
        <map_variables variable_1="kappa_1_NCX" variable_2="kappa_1_NCX"/>
        <map_variables variable_1="kappa_2_NCX" variable_2="kappa_2_NCX"/>
        <map_variables variable_1="kappa_3_NCX" variable_2="kappa_3_NCX"/>
        <map_variables variable_1="kappa_4_NCX" variable_2="kappa_4_NCX"/>
        <map_variables variable_1="kappa_5_NCX" variable_2="kappa_5_NCX"/>
        <map_variables variable_1="kappa_6_NCX" variable_2="kappa_6_NCX"/>
        <map_variables variable_1="nNae_NCX" variable_2="nNae_NCX"/>
        <map_variables variable_1="nNai_NCX" variable_2="nNai_NCX"/>
        <map_variables variable_1="zf_NCX" variable_2="zf_NCX"/>
        <map_variables variable_1="zr_NCX" variable_2="zr_NCX"/>
    </connection>
    <connection>
        <map_components component_1="NCX_channel" component_2="environment"/>
        <map_variables variable_1="t" variable_2="t"/>
        <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="C_m" variable_2="C_m"/>
        <map_variables variable_1="x_Cae_global" variable_2="x_Cae"/>
        <map_variables variable_1="x_Cae" variable_2="x_Cae_mNCX"/>
        <map_variables variable_1="x_Cai_global" variable_2="x_Cai"/>
        <map_variables variable_1="x_Cai" variable_2="x_Cai_mNCX"/>
        <map_variables variable_1="x_Nae_global" variable_2="x_Nae"/>
        <map_variables variable_1="x_Nae" variable_2="x_Nae_mNCX"/>
        <map_variables variable_1="x_Nai_global" variable_2="x_Nai"/>
        <map_variables variable_1="x_Nai" variable_2="x_Nai_mNCX"/>
        <map_variables variable_1="x_P1_NCX_global" variable_2="x_P1_NCX"/>
        <map_variables variable_1="x_P1_NCX" variable_2="x_P1_NCX_mNCX"/>
        <map_variables variable_1="x_P2_NCX_global" variable_2="x_P2_NCX"/>
        <map_variables variable_1="x_P2_NCX" variable_2="x_P2_NCX_mNCX"/>
        <map_variables variable_1="x_P3_NCX_global" variable_2="x_P3_NCX"/>
        <map_variables variable_1="x_P3_NCX" variable_2="x_P3_NCX_mNCX"/>
        <map_variables variable_1="x_P4_NCX_global" variable_2="x_P4_NCX"/>
        <map_variables variable_1="x_P4_NCX" variable_2="x_P4_NCX_mNCX"/>
        <map_variables variable_1="x_P5_NCX_global" variable_2="x_P5_NCX"/>
        <map_variables variable_1="x_P5_NCX" variable_2="x_P5_NCX_mNCX"/>
        <map_variables variable_1="x_P6_NCX_global" variable_2="x_P6_NCX"/>
        <map_variables variable_1="x_P6_NCX" variable_2="x_P6_NCX_mNCX"/>
        <map_variables variable_1="q_mem_global" variable_2="q_mem"/>
        <map_variables variable_1="q_mem" variable_2="q_mem_mNCX"/>
    </connection>
</model>