Location: cellLib @ de133176b6c4 / Components / gating_kinetics.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2021-10-13 10:54:14+13:00
Desc:
Add more Istim protocols
Permanent Source URI:
https://models.physiomeproject.org/workspace/6bc/rawfile/de133176b6c4d94462030f98c0689c1b9af45028/Components/gating_kinetics.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="gating_kinetics" 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="ms" units_ref="ms"/>
    </import>
    <import xlink:href="phiT.cellml">
        <component component_ref="phiT" name="phiT"/>
    </import>
    <component name="gating_kinetics">
        <variable name="time" public_interface="in" units="ms"/>
        <variable name="X_init" public_interface="in" units="dimensionless"/>
        <variable name="X_inf" public_interface="in" units="dimensionless"/>
        <variable name="tau_X" public_interface="in" units="ms"/>
        <variable name="Q_10" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="T" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="T_0" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="phi_T" private_interface="in" units="dimensionless"/>
        <variable initial_value="X_init" name="X" public_interface="out" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>X</ci>
                </apply>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <minus/>
                            <ci>X_inf</ci>
                            <ci>X</ci>
                        </apply>
                        <ci>tau_X</ci>
                    </apply>
                    <ci>phi_T</ci>
                </apply>
            </apply>
        </math>
    </component>
    <group>
        <relationship_ref relationship="encapsulation"/>
        <component_ref component="gating_kinetics">
            <component_ref component="phiT"/>
        </component_ref>
    </group>
    <connection>
        <map_components component_1="gating_kinetics" component_2="phiT"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="T_0" variable_2="T_0"/>
        <map_variables variable_1="Q_10" variable_2="Q_10"/>
        <map_variables variable_1="phi_T" variable_2="phi_T"/>
    </connection>
</model>