Location: Hodgkin & Huxley (1952) model @ e5b790e74a8b / BG / Ileak_BG.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2021-11-15 14:43:10+13:00
Desc:
Update cellLib for the gate_plot.m
Permanent Source URI:
https://staging.physiomeproject.org/workspace/64f/rawfile/e5b790e74a8bdec81933e6bb2716ae9c0a446d34/BG/Ileak_BG.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="Ileak_BG" 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="../cellLib/BG/units_BG.cellml">
        <units name="fS" units_ref="fS"/>
        <units name="fA" units_ref="fA"/>
    </import>
    <component name="Ileak_BG">
        <!--Parameters-->
        <variable name="g_leak" public_interface="in" units="fS"/>
        <variable name="V_leak" public_interface="in" units="volt"/>
        <!--Inputs        -->
        <variable name="V_m" public_interface="in" units="volt"/>
        <!--Outputs-->
        <variable name="I_leak" public_interface="out" units="fA"/>
        <!--Intermediate variables-->
        <variable name="V" units="volt"/>
        <!-- Constitutive relation of the R:leak-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>V</ci>
                <apply>
                    <divide/>
                    <ci>I_leak</ci>
                    <ci>g_leak</ci>
                </apply>
            </apply>
            <!--Conservation laws-->
            <apply>
                <eq/>
                <ci>V_m</ci>
                <apply>
                    <plus/>
                    <ci>V</ci>
                    <ci>V_leak</ci>
                </apply>
            </apply>
        </math>
    </component>
</model>