Location: cellLib @ d0fef299e91b / Components / Ionic_currents.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-03-09 10:04:11+13:00
Desc:
expose q in C component and gate model to validate the states quantities
Permanent Source URI:
https://models.cellml.org/workspace/6bc/rawfile/d0fef299e91b00f5109c80457c21b96c6112fee6/Components/Ionic_currents.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="Ionic_currents" 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.cellml">
        <units name="nS" units_ref="nS"/>
        <units name="pA" units_ref="pA"/>
        <units name="mV" units_ref="mV"/>
    </import>
    <component name="Ionic_currents">
        <variable name="V" public_interface="in" units="mV"/>
        <variable name="E" public_interface="in" units="mV"/>
        <variable name="g_max" public_interface="in" units="nS"/>
        <variable name="PO" public_interface="in" units="dimensionless"/>
        <variable name="I" public_interface="out" units="pA"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply id="I_calculation">
                <eq/>
                <ci>I</ci>
                <apply>
                    <times/>
                    <ci>g_max</ci>
                    <ci>PO</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>E</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
</model>