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

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-03-31 10:48:40+13:00
Desc:
Add open channel IV of HH models; Add simulation and plot python scripts
Permanent Source URI:
https://models.cellml.org/workspace/64f/rawfile/ab2962b8796666ad9938a2577611c954f006b5fd/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-->
        <!--V = I_leak/g_leak;-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>I_leak</ci>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                    </apply>
                    <ci>g_leak</ci>
                </apply>
            </apply>
            <!--Conservation laws-->
            <!--V_m = V+V_leak;-->
            <apply>
                <eq/>
                <ci>V</ci>
                <apply>
                    <minus/>
                    <ci>V_m</ci>
                    <ci>V_leak</ci>
                </apply>
            </apply>
        </math>
    </component>
</model>