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

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2015-11-16 17:07:58+13:00
Desc:
update to expose variables of interest at top level so that they are visible in OpenCOR following snapshot 2015-11-15.
Permanent Source URI:
http://models.cellml.org/workspace/25d/rawfile/f12f9de2cd7c65b90b09cb5858d006b5ecf34470/vanderpol.cellml

<?xml version='1.0'?>
<model name="van_der_pol_model" xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#">
    <component name="main">
        <variable initial_value="0" name="t" units="dimensionless"/>
        <variable initial_value="-2" name="x" units="dimensionless"/>
        <variable initial_value="0" name="y" units="dimensionless"/>
        <variable initial_value="1" name="mu" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>x</ci>
                </apply>
                <ci>y</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>y</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <ci>mu</ci>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <power/>
                                <ci>x</ci>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                        <ci>y</ci>
                    </apply>
                    <ci>x</ci>
                </apply>
            </apply>
        </math>
    </component>
</model>