Location: Hodgkin & Huxley (1952) model @ ab2962b87966 / components / IK.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.fieldml.org/workspace/64f/rawfile/ab2962b8796666ad9938a2577611c954f006b5fd/components/IK.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="IK" 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/Components/units.cellml">
        <units name="ms" units_ref="ms"/>
        <units name="mV" units_ref="mV"/>
        <units name="per_ms" units_ref="per_ms"/>
        <units name="per_ms_mV" units_ref="per_ms_mV"/>
        <units name="uA_per_cmsq" units_ref="uA_per_cmsq"/>
        <units name="mS_per_cmsq" units_ref="mS_per_cmsq"/>
    </import>
    <import xlink:href="../cellLib/Components/gating-variable.cellml">
        <component component_ref="hh_gating_variable" name="n_gate"/>
    </import>
    <import xlink:href="IK-gating-rates.cellml">
        <component component_ref="alpha_n" name="alpha_n"/>
        <component component_ref="beta_n" name="beta_n"/>
    </import>
    <component name="IK">
        <variable name="IK" private_interface="out" public_interface="out" units="uA_per_cmsq"/>
        <variable name="n_initial" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="n" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="time" private_interface="out" public_interface="in" units="ms"/>
        <variable name="V" private_interface="out" public_interface="in" units="mV"/>
        <variable name="VK" private_interface="out" public_interface="in" units="mV"/>
        <variable name="gK" private_interface="out" public_interface="out" units="mS_per_cmsq"/>
        <variable name="gK_max" private_interface="out" public_interface="in" units="mS_per_cmsq"/>
        <variable name="T" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="T0K" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="Q10K" private_interface="out" public_interface="in" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply id="IK_calculation">
                <eq/>
                <ci>IK</ci>
                <apply>
                    <times/>
                    <ci>gK</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>VK</ci>
                    </apply>
                </apply>
            </apply>
            <apply id="gK_calculation">
                <eq/>
                <ci>gK</ci>
                <apply>
                    <times/>
                    <ci>gK_max</ci>
                    <apply>
                        <power/>
                        <ci>n</ci>
                        <cn cellml:units="dimensionless">4.0</cn>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <group>
        <relationship_ref relationship="encapsulation"/>
        <component_ref component="IK">
            <component_ref component="alpha_n"/>
            <component_ref component="beta_n"/>
            <component_ref component="n_gate"/>
        </component_ref>
    </group>
    <connection>
        <map_components component_1="IK" component_2="n_gate"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="n_initial" variable_2="X_initial"/>
        <map_variables variable_1="n" variable_2="X"/>
        <map_variables variable_1="T0K" variable_2="T_0"/>
        <map_variables variable_1="Q10K" variable_2="Q_10"/>
        <map_variables variable_1="T" variable_2="T"/>
    </connection>
    <connection>
        <map_components component_1="IK" component_2="alpha_n"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="IK" component_2="beta_n"/>
        <map_variables variable_1="V" variable_2="V"/>
    </connection>
    <connection>
        <map_components component_1="n_gate" component_2="alpha_n"/>
        <map_variables variable_1="alpha_X" variable_2="alpha"/>
    </connection>
    <connection>
        <map_components component_1="n_gate" component_2="beta_n"/>
        <map_variables variable_1="beta_X" variable_2="beta"/>
    </connection>
</model>