Location: OpenCOR @ 902e04339cd9 / tests / cellml / simple_dae_model.cellml

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/simple_dae_model.cellml

<?xml version='1.0'?>
<model name="simple_dae_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="a" units="dimensionless"/>
        <variable name="b" units="dimensionless"/>
        <variable name="t" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>a</ci>
                </apply>
                <apply>
                    <cos/>
                    <ci>b</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <minus/>
                    <apply>
                        <sin/>
                        <ci>a</ci>
                    </apply>
                    <ci>b</ci>
                </apply>
                <cn cellml:units="dimensionless">0</cn>
            </apply>
        </math>
    </component>
</model>