Location: Approximating Sine Waves @ 46ffb5e4c20e / sin_approximations_sedml.xml

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:
http://models.cellml.org/w/andre/sine/rawfile/46ffb5e4c20e6b4243be2c5b71f5c89744092645/sin_approximations_sedml.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.1#"
	level="1" version="1">
	<listOfSimulations>
		<uniformTimeCourse id="simulation1" initialTime="0"
			outputStartTime="0" outputEndTime="6.283185307179586232"
			numberOfPoints="15">
			<algorithm kisaoID="KISAO:0000019" />
		</uniformTimeCourse>
	</listOfSimulations>
	<listOfModels>
		<model id="model1" name="sine_approximations" language="urn:sedml:language:cellml"
			source="sin_approximations_import.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>