Location: Andre's Hodgkin Huxley model @ 957c2190e1ee / sed-ml / voltage-clamp-temperature.xml

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2015-05-25 08:31:46+12:00
Desc:
adding a SED-ML document which does nested repeated tasks to iterate over clamp potential and temperature; doesn't work with get-sed-ml-client
Permanent Source URI:
https://models.cellml.org/w/andre/HH/rawfile/957c2190e1eed47d7634613250bc274dc836b826/sed-ml/voltage-clamp-temperature.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"
	xmlns:cellml="http://www.cellml.org/cellml/1.1#">
	<listOfSimulations>
		<uniformTimeCourse id="simulation1" initialTime="0"
			outputStartTime="0" outputEndTime="50"
			numberOfPoints="500">
			<algorithm kisaoID="KISAO:0000019" />
		</uniformTimeCourse>
	</listOfSimulations>
	<listOfModels>
		<model id="model1" name="voltage_clamp" language="urn:sedml:language:cellml"
			source="../experiments/voltage-clamp-005.xml" />
	</listOfModels>

	<listOfTasks>
		<task id="task0" name="VoltageClamp" modelReference="model1"
			simulationReference="simulation1" />
		<repeatedTask id="task1" resetModel="false" range="currentPotential">
			<listOfRanges>
				<uniformRange id="currentPotential" start="0.0" end="-130" numberOfPoints="2" type="linear" />
			</listOfRanges>
			<listOfChanges>
				<setValue
					target="/cellml:model/cellml:component[@name='parameters']/cellml:variable[@name='clamp_potential']"
					range="currentPotential" modelReference="model1">
					<math xmlns="http://www.w3.org/1998/Math/MathML">
						<ci>currentPotential</ci>
					</math>
				</setValue>
			</listOfChanges>
			<listOfSubTasks>
				<subTask order="1" task="task0" />
			</listOfSubTasks>
		</repeatedTask>
		<repeatedTask id="task2" resetModel="true" range="currentTemperature">
			<listOfRanges>
				<uniformRange id="currentTemperature" start="270" end="310" numberOfPoints="2" type="linear" />
			</listOfRanges>
			<listOfChanges>
				<setValue
					target="/cellml:model/cellml:component[@name='parameters']/cellml:variable[@name='T']"
					range="currentTemperature" modelReference="model1">
					<math xmlns="http://www.w3.org/1998/Math/MathML">
						<ci>currentTemperature</ci>
					</math>
				</setValue>
			</listOfChanges>
			<listOfSubTasks>
				<subTask order="1" task="task1" />
			</listOfSubTasks>
		</repeatedTask>
	</listOfTasks>
	<listOfDataGenerators>
		<dataGenerator id="dgTime" name="Time">
			<listOfVariables>
				<variable id="t" taskReference="task2"
					target="/cellml:model/cellml:component[@name='outputs']/cellml:variable[@name='time']" />
			</listOfVariables>
			<math:math>
				<math:ci>t</math:ci>
			</math:math>
		</dataGenerator>
		<dataGenerator id="dgV" name="Membrane Potential">
			<listOfVariables>
				<variable id="V" taskReference="task2"
					target="/cellml:model/cellml:component[@name='outputs']/cellml:variable[@name='V']" />
			</listOfVariables>
			<math:math>
				<math:ci>V</math:ci>
			</math:math>
		</dataGenerator>
		<dataGenerator id="dgINa" name="INa">
			<listOfVariables>
				<variable id="INa" taskReference="task2"
					target="/cellml:model/cellml:component[@name='outputs']/cellml:variable[@name='INa']" />
			</listOfVariables>
			<math:math>
				<math:ci>INa</math:ci>
			</math:math>
		</dataGenerator>
		<dataGenerator id="dgIK" name="IK">
			<listOfVariables>
				<variable id="IK" taskReference="task2"
					target="/cellml:model/cellml:component[@name='outputs']/cellml:variable[@name='IK']" />
			</listOfVariables>
			<math:math>
				<math:ci>IK</math:ci>
			</math:math>
		</dataGenerator>
		<dataGenerator id="dgIleak" name="Ileak">
			<listOfVariables>
				<variable id="Ileak" taskReference="task2"
					target="/cellml:model/cellml:component[@name='outputs']/cellml:variable[@name='Ileak']" />
			</listOfVariables>
			<math:math>
				<math:ci>Ileak</math:ci>
			</math:math>
		</dataGenerator>
	</listOfDataGenerators>

	<listOfOutputs>
		<report id="report" name="timecourse data">
			<listOfDataSets>
				<dataSet id="col_1" dataReference="dgTime" label="t" />
				<dataSet id="col_2" dataReference="dgV" label="V" />
				<dataSet id="col_3" dataReference="dgINa" label="INa" />
				<dataSet id="col_4" dataReference="dgIK" label="IK" />
				<dataSet id="col_5" dataReference="dgIleak" label="Ileak" />
			</listOfDataSets>
		</report>
	</listOfOutputs>
</sedML>