Location: 12 L Platform 1 model codes @ a8a92308e217 / USMC / Nernst_potential.cellml

Author:
aram148 <42922407+aram148@users.noreply.github.com>
Date:
2022-07-22 15:47:05+12:00
Desc:
Added documentation for VSM model
Permanent Source URI:
http://models.cellml.org/workspace/6b0/rawfile/a8a92308e217ac5626809237dd90a31240b22834/USMC/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="J_per_K_mol" units_ref="J_per_K_mol"/>
        <units name="C_per_mmol" units_ref="C_per_mmol"/>
        <units name="mM" units_ref="mM"/>
        <units name="mV" units_ref="mV"/>
    </import>
    <component name="Nernst_potential">
        <variable name="R" public_interface="in" units="J_per_K_mol"/>
        <variable name="F" public_interface="in" units="C_per_mmol"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <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>