Location: FCU_cardiacAP_Pan @ de93756f9ef0 / CMDN_buffer.cellml

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-02-16 16:15:00+13:00
Desc:
Adding right matlab file
Permanent Source URI:
https://models.physiomeproject.org/workspace/81b/rawfile/de93756f9ef0bb9369ab809d4e616d43c7d0eb08/CMDN_buffer.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="cardiac_AP_CMDN_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="0.00456" name="x_Cai_init" units="fmol"/>
        <variable initial_value="1.8088" name="x_CMDN_init" units="fmol"/>
        <variable initial_value="0.0912" name="x_CMDNCa_init" units="fmol"/>
        <variable name="x_CMDN_mCMDN" public_interface="in" units="fmol"/>
        <variable name="x_CMDN" public_interface="out" units="fmol"/>
        <variable name="x_CMDNCa_mCMDN" public_interface="in" units="fmol"/>
        <variable name="x_CMDNCa" public_interface="out" units="fmol"/>
        <variable name="x_Cai_mCMDN" public_interface="in" units="fmol"/>
        <variable name="x_Cai" public_interface="out" units="fmol"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>x_CMDN</ci>
                <apply>
                    <plus/>
                    <ci>x_CMDN_init</ci>
                    <ci>x_CMDN_mCMDN</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_CMDNCa</ci>
                <apply>
                    <plus/>
                    <ci>x_CMDNCa_init</ci>
                    <ci>x_CMDNCa_mCMDN</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>x_Cai</ci>
                <apply>
                    <plus/>
                    <ci>x_Cai_init</ci>
                    <ci>x_Cai_mCMDN</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="CMDN_parameters">
        <variable initial_value="22.0647" name="K_CMDN" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.044337" name="K_CMDNCa" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.022218" name="K_Cai" public_interface="out" units="per_fmol"/>
        <variable initial_value="1412.6324" name="kappa_b2" public_interface="out" units="fmol_per_sec"/>
    </component>
    <component name="CMDN_buffer">
        <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_CMDN" public_interface="in" units="per_fmol"/>
        <variable name="K_CMDNCa" public_interface="in" units="per_fmol"/>
        <variable name="K_Cai" public_interface="in" units="per_fmol"/>
        <variable name="kappa_b2" public_interface="in" units="fmol_per_sec"/>
        <variable name="x_CMDN_global" public_interface="in" units="fmol"/>
        <variable name="x_CMDNCa_global" public_interface="in" units="fmol"/>
        <variable name="x_Cai_global" public_interface="in" units="fmol"/>
        <variable initial_value="0" name="x_CMDN" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_CMDNCa" public_interface="out" units="fmol"/>
        <variable initial_value="0" name="x_Cai" public_interface="out" units="fmol"/>
        <variable name="mu_CMDN" units="J_per_mol"/>
        <variable name="mu_CMDNCa" units="J_per_mol"/>
        <variable name="mu_Cai" units="J_per_mol"/>
        <variable name="v_CMDN" units="fmol_per_sec"/>
        <variable name="v_CMDNCa" units="fmol_per_sec"/>
        <variable name="v_Cai" units="fmol_per_sec"/>
        <variable name="Af_b2" units="J_per_mol"/>
        <variable name="Ar_b2" units="J_per_mol"/>
        <variable name="v_b2" units="fmol_per_sec"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>mu_CMDN</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_CMDN</ci>
                            <ci>x_CMDN_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_CMDNCa</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_CMDNCa</ci>
                            <ci>x_CMDNCa_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>v_b2</ci>
                <apply>
                    <times/>
                    <ci>kappa_b2</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Af_b2</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>Ar_b2</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Af_b2</ci>
                <apply>
                    <plus/>
                    <ci>mu_Cai</ci>
                    <ci>mu_CMDN</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ar_b2</ci>
                <ci>mu_CMDNCa</ci>
            </apply>
            <apply>
                <eq/>
                <ci>v_CMDN</ci>
                <apply>
                    <minus/>
                    <ci>v_b2</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_CMDNCa</ci>
                <ci>v_b2</ci>
            </apply>
            <apply>
                <eq/>
                <ci>v_Cai</ci>
                <apply>
                    <minus/>
                    <ci>v_b2</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_CMDN</ci>
                </apply>
                <ci>v_CMDN</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_CMDNCa</ci>
                </apply>
                <ci>v_CMDNCa</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x_Cai</ci>
                </apply>
                <ci>v_Cai</ci>
            </apply>
        </math>
    </component>
    <connection>
        <map_components component_1="CMDN_buffer" component_2="CMDN_parameters"/>
        <map_variables variable_1="K_CMDN" variable_2="K_CMDN"/>
        <map_variables variable_1="K_CMDNCa" variable_2="K_CMDNCa"/>
        <map_variables variable_1="K_Cai" variable_2="K_Cai"/>
        <map_variables variable_1="kappa_b2" variable_2="kappa_b2"/>
    </connection>
    <connection>
        <map_components component_1="CMDN_buffer" 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_CMDN_global" variable_2="x_CMDN"/>
        <map_variables variable_1="x_CMDN" variable_2="x_CMDN_mCMDN"/>
        <map_variables variable_1="x_CMDNCa_global" variable_2="x_CMDNCa"/>
        <map_variables variable_1="x_CMDNCa" variable_2="x_CMDNCa_mCMDN"/>
        <map_variables variable_1="x_Cai_global" variable_2="x_Cai"/>
        <map_variables variable_1="x_Cai" variable_2="x_Cai_mCMDN"/>
    </connection>
</model>