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

Author:
aram148 <a.rampadarath@auckland.ac.nz>
Date:
2021-10-11 21:43:42+13:00
Desc:
Create VSM - Exported.cellml
Permanent Source URI:
https://models.physiomeproject.org/workspace/6b0/rawfile/507ac7eefb10930c9eb5d5d9a7113ad5203639bd/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>