Location: cellLib @ a7940fcacd45 / Components / Ionic_currents.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2023-04-04 15:51:18+12:00
Desc:
Add a steady state example
Permanent Source URI:
https://models.physiomeproject.org/workspace/6bc/rawfile/a7940fcacd455a09bdb7beac0da91eca79cf1adb/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>