Location: OpenCOR @ d2a2c8f403d8 / tests / cellml / definite_integral_model.cellml

Author:
Alan Garny <a.garny@auckland.ac.nz>
Date:
2019-03-15 11:07:33+13:00
Desc:
Some minor cleaning up.
Permanent Source URI:
http://models.cellml.org/workspace/55d/rawfile/d2a2c8f403d891dee660a9e1f0af89287b164c9e/tests/cellml/definite_integral_model.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="definite_integral_model" xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#">
    <component name="main">
        <units name="per_second">
            <unit exponent="-1" units="second"/>
        </units>
        <variable name="time" units="second"/>
        <variable initial_value="0" name="x" units="dimensionless"/>
        <variable name="y" units="dimensionless"/>
        <variable name="z" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>x</ci>
                </apply>
                <cn cellml:units="per_second">1</cn>
            </apply>
            <apply>
                <eq/>
                <ci>y</ci>
                <apply>
                    <int/>
                    <bvar>
                        <ci>z</ci>
                    </bvar>
                    <lowlimit>
                        <cn cellml:units="dimensionless">0</cn>
                    </lowlimit>
                    <uplimit>
                        <cn cellml:units="dimensionless">2</cn>
                    </uplimit>
                    <ci>z</ci>
                </apply>
            </apply>
        </math>
    </component>
</model>