Location: OpenCOR @ 902e04339cd9 / tests / cellml / definite_integral_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/definite_integral_model.cellml

<?xml version='1.0'?>
<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>