Location: Models for the OpenCOR and PMR tutorial by Peter Hunter @ f0e63e292ebb / SimpleFirstOrderEqn.cellml

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2016-03-17 20:24:31+13:00
Desc:
adding SED-ML for the Lorenz simulation
Permanent Source URI:
https://models.physiomeproject.org/workspace/25d/rawfile/f0e63e292ebb1d6798da08914b4217aec434af96/SimpleFirstOrderEqn.cellml

<?xml version='1.0'?>
<model name="first_order_model" xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#">
    <units name="millisecond">
        <unit prefix="milli" units="second"/>
    </units>
    <units name="per_millisecond">
        <unit exponent="-1" prefix="milli" units="second"/>
    </units>
    <units name="millivolt">
        <unit prefix="milli" units="volt"/>
    </units>
    <units name="microA_per_cm2">
        <unit prefix="micro" units="ampere"/>
        <unit exponent="-2" prefix="centi" units="metre"/>
    </units>
    <units name="milliS_per_cm2">
        <unit prefix="milli" units="siemens"/>
        <unit exponent="-2" prefix="centi" units="metre"/>
    </units>
    <component name="y_channel">
        <variable initial_value="0" name="t" units="millisecond"/>
        <variable initial_value="0" name="y" units="dimensionless"/>
        <variable initial_value="0" name="V" units="millivolt"/>
        <variable initial_value="-85" name="E_y" units="millivolt"/>
        <variable name="i_y" units="microA_per_cm2"/>
        <variable initial_value="36" name="g_y" units="milliS_per_cm2"/>
        <variable initial_value="4" name="gamma" units="dimensionless"/>
        <variable initial_value="1" name="alpha_y" units="per_millisecond"/>
        <variable initial_value="2" name="beta_y" units="per_millisecond"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>y</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <ci>alpha_y</ci>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>y</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>beta_y</ci>
                        <ci>y</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>i_y</ci>
                <apply>
                    <times/>
                    <ci>g_y</ci>
                    <apply>
                        <power/>
                        <ci>y</ci>
                        <ci>gamma</ci>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>E_y</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
</model>