- 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/unit_tests/simple_ode.cellml
<?xml version="1.0" encoding="UTF-8"?>
<model xmlns="http://www.cellml.org/cellml/1.0#"
xmlns:cellml="http://www.cellml.org/cellml/1.0#"
xmlns:cmeta="http://www.cellml.org/metadata/1.0#"
cmeta:id="simple_ode" name="simple_ode">
<units name="ms">
<unit prefix="milli" units="second"/>
</units>
<units name="mV">
<unit prefix="milli" units="volt"/>
</units>
<units name="mV_per_ms">
<unit units="mV"/>
<unit units="ms" exponent="-1"/>
</units>
<component name="main">
<variable name="time" units="ms" cmeta:id="time"/>
<variable name="V" units="mV" cmeta:id="V" initial_value="0"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply><eq/>
<apply><diff/>
<bvar><ci>time</ci></bvar>
<ci>V</ci>
</apply>
<cn cellml:units="mV_per_ms">1</cn>
</apply>
</math>
</component>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:bqbiol="http://biomodels.net/biology-qualifiers/">
<rdf:Description rdf:about="#time">
<bqbiol:is rdf:resource="https://chaste.comlab.ox.ac.uk/cellml/ns/oxford-metadata#time"/>
</rdf:Description>
<rdf:Description rdf:about="#V">
<bqbiol:is rdf:resource="https://chaste.comlab.ox.ac.uk/cellml/ns/oxford-metadata#membrane_voltage"/>
</rdf:Description>
</rdf:RDF>
</model>