Location: BG_Na_background @ aec444968d9c / BG_NaB.cellml

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-02-23 09:49:50+13:00
Desc:
Init
Permanent Source URI:
https://models.cellml.org/workspace/82b/rawfile/aec444968d9c3e31691efdeee706e8872b77b4af/BG_NaB.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="NaB_model" 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="per_mol" units_ref="per_mol"/>
        <units name="J_per_mol" units_ref="J_per_mol"/>
        <units name="J_per_C" units_ref="J_per_C"/>
        <units name="mol_per_s" units_ref="mol_per_s"/>
        <units name="C_per_mol" units_ref="C_per_mol"/>
        <units name="microm3" units_ref="microm3"/>
        <units name="fF" units_ref="fF"/>
        <units name="fC" units_ref="fC"/>
        <units name="fA" units_ref="fA"/>
        <units name="fmol" units_ref="fmol"/>
        <units name="fmol_per_s" units_ref="fmol_per_sec"/>
        <units name="per_fmol" units_ref="per_fmol"/>
        <units name="pL" units_ref="pL"/>
        <units name="mA_per_mM" units_ref="mA_per_mM"/>
    </import>
    <units name="mA">
        <unit prefix="milli" units="ampere"/>
    </units>
    <units name="mA_per_mM">
        <unit units="mA"/>
        <unit exponent="-1" units="mM"/>
    </units>
    <units name="microA_per_microF">
        <unit prefix="micro" units="ampere"/>
        <unit exponent="-1" prefix="micro" units="farad"/>
    </units>
    <units name="millivolt">
        <unit prefix="milli" units="volt"/>
    </units>
    <units name="m2f">
        <unit prefix="femto" units="second"/>
        <unit exponent="-1" prefix="milli" units="second"/>
    </units>
    <units name="one2m">
        <unit prefix="milli" units="second"/>
        <unit exponent="-1" units="second"/>
    </units>
    <component name="environment">
        <variable name="t" public_interface="out" units="second"/>
        <variable initial_value="1e6" name="C_m" public_interface="out" units="fF"/>
        <variable initial_value="25.8" name="w_i" public_interface="out" units="pL"/>
        <variable initial_value="3.52" name="w_o" public_interface="out" units="pL"/>
        <variable initial_value="-8.5e4" name="q_mem" public_interface="out" units="fC"/>
        <variable initial_value="2494.34" name="RT" public_interface="out" units="J_per_mol"/>
        <variable initial_value="2" name="z" public_interface="out" units="dimensionless"/>
        <variable initial_value="96500" name="F" public_interface="out" units="C_per_mol"/>
        <variable name="i_BG_in_to_out" public_interface="in" units="microA_per_microF"/>
        <variable name="v_Re" public_interface="in" units="fmol_per_s"/>
        <variable name="I_NaB" public_interface="in" units="fA"/>
        <variable initial_value="0.233" name="q_Nai" public_interface="out" units="fmol"/>
        <variable initial_value="3.41" name="q_Nae" public_interface="out" units="fmol"/>
        <variable name="I_mem" public_interface="in" units="fA"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_Nai</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>v_Re</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_Nae</ci>
                </apply>
                <ci>v_Re</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>q_mem</ci>
                </apply>
                <ci>I_mem</ci>
            </apply>
        </math>
    </component>
    <component name="NaB_parameters">
        <variable initial_value="1.48425858828997e-09" name="G_GHK" public_interface="out" units="mA_per_mM"/>
        <variable initial_value="1" name="G_ion" public_interface="out" units="dimensionless"/>
    </component>
    <component name="NaB">
        <variable name="t" public_interface="in" units="second"/>
        <variable name="RT" public_interface="in" units="J_per_mol"/>
        <variable name="z" public_interface="in" units="dimensionless"/>
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <variable name="V_norm" units="dimensionless"/>
        <variable name="i_GHK" units="mA"/>
        <variable name="w_i" public_interface="in" units="pL"/>
        <variable name="w_o" public_interface="in" units="pL"/>
        <variable name="C_m" public_interface="in" units="fF"/>
        <variable name="G_pore" units="dimensionless"/>
        <variable name="G_ion" public_interface="in" units="dimensionless"/>
        <variable name="q_Nai" public_interface="in" units="fmol"/>
        <variable name="q_Nae" public_interface="in" units="fmol"/>
        <variable name="q_mem" public_interface="in" units="fC"/>
        <variable name="cNai" units="mM"/>
        <variable name="cNae" units="mM"/>
        <variable name="i_BG_in_to_out" public_interface="out" units="microA_per_microF"/>
        <variable name="v_Re" public_interface="out" units="fmol_per_s"/>
        <variable name="I_NaB" public_interface="out" units="fA"/>
        <variable name="V_mem" units="J_per_C"/>
        <variable name="V_BG_mV" units="millivolt"/>
        <variable name="G_GHK" public_interface="in" units="mA_per_mM"/>
        <variable name="I_mem" public_interface="out" units="fA"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>cNai</ci>
                <apply>
                    <divide/>
                    <ci>q_Nai</ci>
                    <ci>w_i</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>cNae</ci>
                <apply>
                    <divide/>
                    <ci>q_Nae</ci>
                    <ci>w_o</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>V_norm</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>F</ci>
                        <ci>V_mem</ci>
                    </apply>
                    <ci>RT</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>G_pore</ci>
                <apply>
                    <divide/>
                    <ci>V_norm</ci>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <minus/>
                                <ci>V_norm</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>i_GHK</ci>
                <apply>
                    <times/>
                    <ci>G_GHK</ci>
                    <ci>G_pore</ci>
                    <apply>
                        <minus/>
                        <ci>cNai</ci>
                        <apply>
                            <times/>
                            <ci>cNae</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <minus/>
                                    <ci>V_norm</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>v_Re</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="m2f" type="e-notation">1<sep/>12</cn>
                        <ci>i_GHK</ci>
                        <ci>G_ion</ci>
                    </apply>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_mem</ci>
                <apply>
                    <times/>
                    <ci>z</ci>
                    <ci>F</ci>
                    <ci>v_Re</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>V_mem</ci>
                <apply>
                    <divide/>
                    <ci>q_mem</ci>
                    <ci>C_m</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_NaB</ci>
                <apply>
                    <times/>
                    <ci>z</ci>
                    <ci>F</ci>
                    <ci>v_Re</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>i_BG_in_to_out</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>i_GHK</ci>
                        <cn cellml:units="m2f" type="e-notation">1<sep/>12</cn>
                    </apply>
                    <ci>C_m</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>V_BG_mV</ci>
                <apply>
                    <times/>
                    <ci>V_mem</ci>
                    <cn cellml:units="one2m" type="e-notation">1<sep/>3</cn>
                </apply>
            </apply>
        </math>
    </component>
    <connection>
        <map_components component_1="environment" component_2="NaB"/>
        <map_variables variable_1="t" variable_2="t"/>
        <map_variables variable_1="RT" variable_2="RT"/>
        <map_variables variable_1="z" variable_2="z"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="w_i" variable_2="w_i"/>
        <map_variables variable_1="w_o" variable_2="w_o"/>
        <map_variables variable_1="C_m" variable_2="C_m"/>
        <map_variables variable_1="v_Re" variable_2="v_Re"/>
        <map_variables variable_1="I_mem" variable_2="I_mem"/>
        <map_variables variable_1="I_NaB" variable_2="I_NaB"/>
        <map_variables variable_1="i_BG_in_to_out" variable_2="i_BG_in_to_out"/>
        <map_variables variable_1="q_Nai" variable_2="q_Nai"/>
        <map_variables variable_1="q_Nae" variable_2="q_Nae"/>
        <map_variables variable_1="q_mem" variable_2="q_mem"/>
    </connection>
    <connection>
        <map_components component_1="NaB" component_2="NaB_parameters"/>
        <map_variables variable_1="G_GHK" variable_2="G_GHK"/>
        <map_variables variable_1="G_ion" variable_2="G_ion"/>
    </connection>
</model>