- Author:
- David Nickerson <nickerso@users.sourceforge.net>
- Date:
- 2016-11-17 21:37:14+13:00
- Desc:
- move the definition of the parabolic approximation constant to the top level model to expose it in OpenCOR and make it available as a target for SED-ML
- Permanent Source URI:
- https://models.fieldml.org/w/andre/sine/rawfile/46ffb5e4c20e6b4243be2c5b71f5c89744092645/DTP-template-sed-ml.xml
<?xml version="1.0" encoding="utf-8"?>
<sedML xmlns="http://sed-ml.org/" xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:cellml="http://www.cellml.org/cellml/1.0#"
level="1" version="1">
<listOfSimulations>
<uniformTimeCourse id="simulation1" initialTime="0"
outputStartTime="0" outputEndTime="6.283185307179586232"
numberOfPoints="15">
<algorithm kisaoID="KISAO:0000030">
<listOfAlgorithmParameters>
<!-- Absolute tolerance -->
<algorithmParameter kisaoID="KISAO:0000211" value="1.0e-6"/>
<!-- Relative tolerance -->
<algorithmParameter kisaoID="KISAO:0000209" value="1.0e-8"/>
<!-- Maximum step size -->
<algorithmParameter kisaoID="KISAO:0000467" value="0.001"/>
</listOfAlgorithmParameters>
</algorithm>
</uniformTimeCourse>
</listOfSimulations>
<listOfModels>
<model id="model1" name="sine_approximations" language="urn:sedml:language:cellml"
source="sin_approximations.xml" />
</listOfModels>
<listOfTasks>
<task id="task1" name="Sine Waves" modelReference="model1"
simulationReference="simulation1" />
</listOfTasks>
<listOfDataGenerators>
<dataGenerator id="dgX" name="X">
<listOfVariables>
<variable id="x" taskReference="task1"
target="/cellml:model/cellml:component[@name='main']/cellml:variable[@name='x']" />
</listOfVariables>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<ci>x</ci>
</math>
</dataGenerator>
<dataGenerator id="dgSin1" name="Sine function">
<listOfVariables>
<variable id="sin1" taskReference="task1"
target="/cellml:model/cellml:component[@name='main']/cellml:variable[@name='sin1']" />
</listOfVariables>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<ci>sin1</ci>
</math>
</dataGenerator>
<dataGenerator id="dgSin2" name="Derivative approximation">
<listOfVariables>
<variable id="sin2" taskReference="task1"
target="/cellml:model/cellml:component[@name='main']/cellml:variable[@name='sin2']" />
</listOfVariables>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<ci>sin2</ci>
</math>
</dataGenerator>
<dataGenerator id="dgSin3" name="Parabolic approximation">
<listOfVariables>
<variable id="sin3" taskReference="task1"
target="/cellml:model/cellml:component[@name='main']/cellml:variable[@name='sin3']" />
</listOfVariables>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<ci>sin3</ci>
</math>
</dataGenerator>
</listOfDataGenerators>
<listOfOutputs>
<report id="report" name="Steady State Values">
<listOfDataSets>
<dataSet id="col_1" dataReference="dgX" label="X" />
<dataSet id="col_2" dataReference="dgSin1" label="sin(X)"/>
<dataSet id="col_3" dataReference="dgSin2" label="Derivative approximation" />
<dataSet id="col_4" dataReference="dgSin3" label="Parabolic approximation" />
</listOfDataSets>
</report>
<!-- <plot2D id="plot1" name="Sine Waves">
<listOfCurves>
<curve id="c1" logX="false" logY="false" xDataReference="dgX"
yDataReference="dgSin1" />
<curve id="c2" logX="false" logY="false" xDataReference="dgX"
yDataReference="dgSin2" />
<curve id="c3" logX="false" logY="false" xDataReference="dgX"
yDataReference="dgSin3" />
</listOfCurves>
</plot2D> -->
</listOfOutputs>
</sedML>