Location: Some test SED-ML to play with the nested proposal @ 9def2d7f03b8 / unit_tests / simple_ode.cellml

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2015-05-25 08:28:39+12:00
Desc:
also need to update the CellML namespace
Permanent Source URI:
https://models.physiomeproject.org/w/andre/testing-Sed-ML-nesting/rawfile/9def2d7f03b8cd9a7b2471dba578106687bf5faf/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>