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

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2012-05-25 14:11:05+02:00
Desc:
adding initial SED-ML describing the nested tasks from nestedTask-cellType-ORd.xml as three separate tasks with three different CellML models. Runs in SED-ML Web Tools to produce the expected action potentials.
Permanent Source URI:
https://models.physiomeproject.org/w/andre/testing-Sed-ML-nesting/rawfile/cbb19e3cc4ccd3e9ee72b4d7f51b13f77f8e8f61/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>