Location: OpenCOR @ 902e04339cd9 / tests / cellml / cellml_1_1 / components / IK-gating-rates.xml

Author:
Alan Garny <a.garny@auckland.ac.nz>
Date:
2018-12-05 18:16:37-05:00
Desc:
Models that come with the OpenCOR repository.
Permanent Source URI:
http://models.cellml.org/workspace/55d/rawfile/902e04339cd9643a375562c2b871da8a3a801060/tests/cellml/cellml_1_1/components/IK-gating-rates.xml

<?xml version='1.0'?>
<model name="IK_gating_rates" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" xmlns:xlink="http://www.w3.org/1999/xlink">
    <import xlink:href="units.xml">
        <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"/>
    </import>
    <component name="alpha_n">
        <variable name="alpha" private_interface="out" public_interface="out" units="per_ms"/>
        <variable name="V" private_interface="out" public_interface="in" units="mV"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply cmeta:id="alpha_n_calculation">
                <eq/>
                <ci>alpha</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="per_ms_mV">0.01</cn>
                        <apply>
                            <plus/>
                            <ci>V</ci>
                            <cn cellml:units="mV">10</cn>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="mV">10</cn>
                                </apply>
                                <cn cellml:units="mV">10</cn>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="beta_n">
        <variable name="beta" private_interface="out" public_interface="out" units="per_ms"/>
        <variable name="V" private_interface="out" public_interface="in" units="mV"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply cmeta:id="beta_n_calculation">
                <eq/>
                <ci>beta</ci>
                <apply>
                    <times/>
                    <cn cellml:units="per_ms">0.125</cn>
                    <apply>
                        <exp/>
                        <apply>
                            <divide/>
                            <ci>V</ci>
                            <cn cellml:units="mV">80</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
</model>