Location: Model of Human Jejunal Smooth Muscle Cell Electrophysiology @ 16b60039d436 / Experiments / I_stim_protocol.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2021-06-01 18:45:10+12:00
Desc:
Add more components; Membrane_potential passed the validation with "[Warning] [128:38] Units validation results may be incorrect because the exponent is not a constant."
Permanent Source URI:
https://staging.physiomeproject.org/workspace/692/rawfile/16b60039d43648fceaf9bcbb117f9e27f45e61ac/Experiments/I_stim_protocol.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="I_stim_protocol" 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"/>
        <units name="pA" units_ref="pA"/>
        <units name="mV" units_ref="mV"/>
        <units name="nS" units_ref="nS"/>
    </import>
    <component name="I_stim_protocol">
        <variable name="I_stim" public_interface="out" units="pA"/>
        <variable name="time" public_interface="in" units="ms"/>
        <variable name="V" public_interface="in" units="mV"/>
        <variable initial_value="10000" name="t_period" units="ms"/>
        <variable initial_value="2.6" name="Gcouple" units="nS"/>
        <variable initial_value="-57" name="V_ICCrest" units="mV"/>
        <variable initial_value="33.5" name="V_ICCamp" units="mV"/>
        <variable initial_value="300" name="t_ICCpeak" units="ms"/>
        <variable initial_value="600" name="t_slope" units="ms"/>
        <variable initial_value="12000" name="f_1" units="ms"/>
        <variable initial_value="300" name="f_2" units="ms"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>I_stim</ci>
                <apply>
                    <times/>
                    <ci>Gcouple</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>V_ICC</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>V_ICC</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <plus/>
                            <ci>V_ICCrest</ci>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>V_ICCamp</ci>
                                    <ci>time</ci>
                                </apply>
                                <ci>f_2</ci>
                            </apply>
                        </apply>
                        <apply>
                            <lt/>
                            <apply>
                                <rem/>
                                <ci>time</ci>
                                <ci>t_period</ci>
                            </apply>
                            <ci>t_ICCpeak</ci>
                        </apply>
                    </piece>
                    <otherwise>
                        <apply>
                            <plus/>
                            <ci>V_ICCrest</ci>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>V_ICCamp</ci>
                                    <apply>
                                        <plus/>
                                        <cn cellml:units="dimensionless">1</cn>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <divide/>
                                                <apply>
                                                    <minus/>
                                                    <ci>f_1</ci>
                                                </apply>
                                                <apply>
                                                    <times/>
                                                    <cn cellml:units="dimensionless">2</cn>
                                                    <ci>t_slope</ci>
                                                </apply>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <minus/>
                                                <apply>
                                                    <minus/>
                                                    <ci>time</ci>
                                                    <ci>f_2</ci>
                                                </apply>
                                                <apply>
                                                    <times/>
                                                    <cn cellml:units="dimensionless">0.5</cn>
                                                    <ci>f_1</ci>
                                                </apply>
                                            </apply>
                                            <ci>t_slope</ci>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </otherwise>
                </piecewise>
            </apply>
        </math>
    </component>
</model>