Location: Andre's Hodgkin Huxley model @ 930166f28bc3 / components / Ileak.xml

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2012-09-26 16:19:50+12:00
Desc:
fixing up references to the tutorial to match what the exposure on the live site wants to used.
Permanent Source URI:
https://models.cellml.org/w/andre/HH/rawfile/930166f28bc386e6ad7611a3a8ee5ffd5a3490df/components/Ileak.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="Ileak" cmeta:id="Ileak_model">
  
  <import xlink:href="units.xml">
    <units name="mV" units_ref="mV"/>
    <units name="uA_per_cmsq" units_ref="uA_per_cmsq"/>
    <units name="mS_per_cmsq" units_ref="mS_per_cmsq"/>
  </import>
  <component name="Ileak" cmeta:id="Ileak_component">
    
    <variable cmeta:id="Ileak" name="Ileak" public_interface="out" private_interface="out" units="uA_per_cmsq"/>
    <variable cmeta:id="V" name="V" public_interface="in" private_interface="out" units="mV"/>
    <variable cmeta:id="Vleak" name="Vleak" public_interface="in" private_interface="out" units="mV"/>
    <variable cmeta:id="gleak_max" name="gleak_max" public_interface="in" private_interface="out" units="mS_per_cmsq"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply id="Ileak_calculation"><eq/>
        <ci>Ileak</ci>
        <apply><times/>
          <ci>gleak_max</ci>
          <apply><minus/>
            <ci>V</ci>
            <ci>Vleak</ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
</model>