Location: Model of Human Jejunal Smooth Muscle Cell Electrophysiology @ d5a44a9d9492 / Components / Nernst_potential.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2021-06-02 14:40:15+12:00
Desc:
Add E_Nernst to instantiate Nernst potential for Ca, Na and K and modify relevant models to accommodate the change. Add experiment of Periodic_stimulation, which can run.
Permanent Source URI:
https://models.cellml.org/workspace/692/rawfile/d5a44a9d949275dfd1b2e46aeaa827571356cd68/Components/Nernst_potential.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="Nernst_potential" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" xmlns:xlink="http://www.w3.org/1999/xlink">
    <import xlink:href="units.cellml">
        <units name="mV" units_ref="mV"/>
        <units name="mM" units_ref="mM"/>
        <units name="J_per_K_mol" units_ref="J_per_K_mol"/>
        <units name="C_per_mmol" units_ref="C_per_mmol"/>
    </import>
    <component name="Nernst_potential">
        <variable name="R" public_interface="in" units="J_per_K_mol"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="F" public_interface="in" units="C_per_mmol"/>
        <variable name="z" public_interface="in" units="dimensionless"/>
        <variable name="X_i" public_interface="in" units="mM"/>
        <variable name="X_o" public_interface="in" units="mM"/>
        <variable cmeta:id="Nernst_potentials_E" name="E" public_interface="out" units="mV"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>E</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>T</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>z</ci>
                            <ci>F</ci>
                        </apply>
                    </apply>
                    <apply>
                        <ln/>
                        <apply>
                            <divide/>
                            <ci>X_o</ci>
                            <ci>X_i</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
</model>