Location: Andre's Hodgkin Huxley model @ 957c2190e1ee / experiments / potential-ramp.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.physiomeproject.org/w/andre/HH/rawfile/957c2190e1eed47d7634613250bc274dc836b826/experiments/potential-ramp.xml

<?xml version="1.0" encoding="iso-8859-1"?>
<model xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" xmlns:xlink="http://www.w3.org/1999/xlink" name="ramp" cmeta:id="ramp_model">
  
  <import xlink:href="../components/units.xml">
    <units name="ms" units_ref="ms"/>
    <units name="mV" units_ref="mV"/>
    <units name="mV_per_ms" units_ref="mV_per_ms"/>
  </import>
  <component name="ramp" cmeta:id="ramp_component">
    
    <variable cmeta:id="y" name="y" public_interface="out" private_interface="out" units="mV" initial_value="y_initial"/>
    <variable cmeta:id="y_initial" name="y_initial" public_interface="in" units="mV"/>
    <variable cmeta:id="time" name="time" public_interface="in" units="ms"/>
    <variable cmeta:id="k" name="k" public_interface="in" units="mV_per_ms"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply id="ramp_calculation"><eq/>
        <apply><diff/>
          <bvar><ci>time</ci></bvar>
          <ci>y</ci>
        </apply>
        <ci>k</ci>
      </apply>
    </math>
  </component>
</model>