Location: 12 L Platform 1 model codes @ a8a92308e217 / USMC / ca2.cellml

Author:
aram148 <42922407+aram148@users.noreply.github.com>
Date:
2022-07-22 15:47:05+12:00
Desc:
Added documentation for VSM model
Permanent Source URI:
https://models.physiomeproject.org/workspace/6b0/rawfile/a8a92308e217ac5626809237dd90a31240b22834/USMC/ca2.cellml

<?xml version='1.0'?>
<model name="ca2" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
    <units name="per_sec">
        <unit exponent="-1" units="second"/>
    </units>
    <units name="mM">
        <unit prefix="micro" units="mole"/>
        <unit exponent="-1" units="litre"/>
    </units>
    <!--    def comp environment as
        var time: second {pub: out};
    enddef;-->
    <component name="calcium">
        <variable name="time" public_interface="in" units="second"/>
        <variable name="k1" public_interface="out" units="per_sec"/>
        <variable name="k2" public_interface="out" units="per_sec"/>
        <variable initial_value="0.5962" name="k1a" units="per_sec"/>
        <variable name="c" public_interface="out" units="dimensionless"/>
        <variable initial_value="1.35" name="k1b" units="mM"/>
        <variable initial_value="156.9" name="tau" units="second"/>
        <variable initial_value="0" name="P" units="dimensionless"/>
        <variable name="kon" units="dimensionless"/>
        <variable name="koff" units="dimensionless"/>
        <variable initial_value="242.14" name="k2b" units="per_sec"/>
        <variable initial_value="0.000125" name="kon1" units="dimensionless"/>
        <variable initial_value="0.8988" name="kon2" units="mM"/>
        <variable initial_value="0.4629" name="koff1" units="dimensionless"/>
        <variable initial_value="20.035" name="koff2" units="dimensionless"/>
        <variable name="a" public_interface="out" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>kon</ci>
                <apply>
                    <plus/>
                    <ci>kon1</ci>
                    <apply>
                        <divide/>
                        <apply>
                            <power/>
                            <ci>c</ci>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                        <apply>
                            <plus/>
                            <apply>
                                <power/>
                                <ci>kon2</ci>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                            <apply>
                                <power/>
                                <ci>c</ci>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!-- -->
            <apply>
                <eq/>
                <ci>koff</ci>
                <apply>
                    <plus/>
                    <ci>koff1</ci>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>koff2</ci>
                            <ci>a</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>a</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>P</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>tau</ci>
                        </apply>
                        <ci>kon</ci>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>P</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>koff</ci>
                        <ci>P</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k2</ci>
                <apply>
                    <times/>
                    <ci>k2b</ci>
                    <apply>
                        <power/>
                        <ci>P</ci>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k1</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>k1a</ci>
                        <apply>
                            <power/>
                            <ci>c</ci>
                            <cn cellml:units="dimensionless">4</cn>
                        </apply>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <power/>
                            <ci>k1b</ci>
                            <cn cellml:units="dimensionless">4</cn>
                        </apply>
                        <apply>
                            <power/>
                            <ci>c</ci>
                            <cn cellml:units="dimensionless">4</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>c</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.1</cn>
                        <apply>
                            <leq/>
                            <ci>time</ci>
                            <cn cellml:units="second">50</cn>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.65</cn>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>time</ci>
                                <cn cellml:units="second">50</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>time</ci>
                                <cn cellml:units="second">120</cn>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.1</cn>
                        <apply>
                            <gt/>
                            <ci>time</ci>
                            <cn cellml:units="second">120</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>a</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0</cn>
                        <apply>
                            <leq/>
                            <ci>time</ci>
                            <cn cellml:units="second">80</cn>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">6</cn>
                        <apply>
                            <and/>
                            <apply>
                                <gt/>
                                <ci>time</ci>
                                <cn cellml:units="second">80</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>time</ci>
                                <cn cellml:units="second">100</cn>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0</cn>
                        <apply>
                            <gt/>
                            <ci>time</ci>
                            <cn cellml:units="second">100</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
</model>