Location: Some test SED-ML to play with the nested proposal @ 0382d975a69e / ORd / nestedTask-cellType-ORd--sedml.xml

Author:
Jonathan Cooper <jonathan.cooper@cs.ox.ac.uk>
Date:
2012-09-05 09:18:42+01:00
Desc:
Add some unit test style simulations of a very simple single ODE model, in order to check that implementations are processing the proposed extension elements as expected.
Permanent Source URI:
https://models.fieldml.org/w/andre/testing-Sed-ML-nesting/rawfile/0382d975a69edd8a34c13bbb8b57e47d6856f285/ORd/nestedTask-cellType-ORd--sedml.xml

<?xml version="1.0" encoding="utf-8"?>
<sedML  xmlns="http://sed-ml.org/" 
    xmlns:math="http://www.w3.org/1998/Math/MathML" level="1" version="1">
    <listOfSimulations>
        <uniformTimeCourse id="simulation1" 
            initialTime="0" outputStartTime="0" outputEndTime="1000" 
            numberOfPoints="2000" >
            <algorithm kisaoID="KISAO:0000019"/>
        </uniformTimeCourse>
    </listOfSimulations>
    <listOfModels>
        <model id="cellType1" name="ORd(1)" language="urn:sedml:language:cellml" source="http://models.cellml.org/w/andre/testing-Sed-ML-nesting/@@rawfile/10eff2db234634da52b79350ea3b4e4111d356f2/ORd/nestedTask-cellType-ORd--cellType1.xml"/>
        <model id="cellType2" name="ORd(2)" language="urn:sedml:language:cellml" source="http://models.cellml.org/w/andre/testing-Sed-ML-nesting/@@rawfile/10eff2db234634da52b79350ea3b4e4111d356f2/ORd/nestedTask-cellType-ORd--cellType2.xml"/>
        <model id="cellType3" name="ORd(3)" language="urn:sedml:language:cellml" source="http://models.cellml.org/w/andre/testing-Sed-ML-nesting/@@rawfile/10eff2db234634da52b79350ea3b4e4111d356f2/ORd/nestedTask-cellType-ORd--cellType3.xml"/>
    </listOfModels>
    
    <listOfTasks>
        <task id="task1" name="Action Potential - type 1" modelReference="cellType1" simulationReference="simulation1"/>
        <task id="task2" name="Action Potential - type 2" modelReference="cellType2" simulationReference="simulation1"/>
        <task id="task3" name="Action Potential - type 3" modelReference="cellType3" simulationReference="simulation1"/>
    </listOfTasks>
    <listOfDataGenerators>
        <dataGenerator id="time" name="time">
            <listOfVariables>
                <variable id="t" taskReference="task1" target="/cellml:model/cellml:component[@name='environment']/cellml:variable[@name='time']" />
            </listOfVariables>
            <math:math>
                <math:ci>t</math:ci>
            </math:math>
        </dataGenerator>
        <dataGenerator id="Vm1" name="Membrane Potential (type 1)">
            <listOfVariables>
                <variable id="v1" taskReference="task1" target="/cellml:model/cellml:component[@name='membrane']/cellml:variable[@name='v']" />
            </listOfVariables>
            <math:math>
                <math:ci>v1</math:ci>
            </math:math>
        </dataGenerator>
        <dataGenerator id="Vm2" name="Membrane Potential (type 2)">
            <listOfVariables>
                <variable id="v2" taskReference="task2" target="/cellml:model/cellml:component[@name='membrane']/cellml:variable[@name='v']" />
            </listOfVariables>
            <math:math>
                <math:ci>v2</math:ci>
            </math:math>
        </dataGenerator>
        <dataGenerator id="Vm3" name="Membrane Potential (type 3)">
            <listOfVariables>
                <variable id="v3" taskReference="task3" target="/cellml:model/cellml:component[@name='membrane']/cellml:variable[@name='v']" />
            </listOfVariables>
            <math:math>
                <math:ci>v3</math:ci>
            </math:math>
        </dataGenerator>
    </listOfDataGenerators>
    
    <listOfOutputs>
        <plot2D id="plot1" name="Action Potential">
            <listOfCurves>
                <curve id="c1" logX="false" logY="false" xDataReference="time" yDataReference="Vm1" />
                <curve id="c2" logX="false" logY="false" xDataReference="time" yDataReference="Vm2" />
                <curve id="c3" logX="false" logY="false" xDataReference="time" yDataReference="Vm3" />
            </listOfCurves>
        </plot2D>
    </listOfOutputs>
</sedML>