Location: VPH-MIP case study on CellML @ 4e4d6040a3c6 / components / INa.xml

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2012-09-26 15:39:23+12:00
Desc:
fixing up references to the tutorial to match what the exposure wants to used.
Permanent Source URI:
https://models.fieldml.org/w/andre/VPH-MIP/rawfile/4e4d6040a3c6df519d3106bbb61297b93c9c47bc/components/INa.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="INa" cmeta:id="INa_model">
  
  <import xlink:href="units.xml">
    <units name="K" units_ref="K"/>
    <units name="ms" units_ref="ms"/>
    <units name="mV" units_ref="mV"/>
    <units name="per_ms" units_ref="per_ms"/>
    <units name="per_ms_mV" units_ref="per_ms_mV"/>
    <units name="uA_per_cmsq" units_ref="uA_per_cmsq"/>
    <units name="mS_per_cmsq" units_ref="mS_per_cmsq"/>
  </import>
  <import xlink:href="gating-variable.xml">
    <component cmeta:id="m_gate" name="m_gate" component_ref="hh_gating_variable_dynamic"/>
  </import>
  <import xlink:href="gating-variable.xml">
    <component cmeta:id="h_gate" name="h_gate" component_ref="hh_gating_variable_dynamic"/>
  </import>
  <import xlink:href="INa-gating-rates.xml">
    <component cmeta:id="alpha_m" name="alpha_m" component_ref="alpha_m"/>
    <component cmeta:id="beta_m" name="beta_m" component_ref="beta_m"/>
    <component cmeta:id="alpha_h" name="alpha_h" component_ref="alpha_h"/>
    <component cmeta:id="beta_h" name="beta_h" component_ref="beta_h"/>
  </import>
  <component name="INa" cmeta:id="INa_component">
    
    <variable cmeta:id="INa" name="INa" public_interface="out" private_interface="out" units="uA_per_cmsq"/>
    <variable cmeta:id="m_initial" name="m_initial" public_interface="in" private_interface="out" units="dimensionless"/>
    <variable cmeta:id="m" name="m" public_interface="out" private_interface="in" units="dimensionless"/>
    <variable cmeta:id="h_initial" name="h_initial" public_interface="in" private_interface="out" units="dimensionless"/>
    <variable cmeta:id="h" name="h" public_interface="out" private_interface="in" units="dimensionless"/>
    <variable cmeta:id="time" name="time" public_interface="in" private_interface="out" units="ms"/>
    <variable cmeta:id="Tref" name="Tref" public_interface="in" private_interface="out" units="K"/>
    <variable cmeta:id="T" name="T" public_interface="in" private_interface="out" units="K"/>
    <variable cmeta:id="Q10" name="Q10" public_interface="in" private_interface="out" units="dimensionless"/>
    <variable cmeta:id="V" name="V" public_interface="in" private_interface="out" units="mV"/>
    <variable cmeta:id="VNa" name="VNa" public_interface="in" private_interface="out" units="mV"/>
    <variable cmeta:id="gNa" name="gNa" public_interface="out" private_interface="out" units="mS_per_cmsq"/>
    <variable cmeta:id="gNa_max" name="gNa_max" public_interface="in" private_interface="out" units="mS_per_cmsq"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply id="INa_calculation"><eq/>
        <ci>INa</ci>
        <apply><times/>
          <ci>gNa</ci>
          <apply><minus/>
            <ci>V</ci>
            <ci>VNa</ci>
          </apply>
        </apply>
      </apply>
    </math>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply id="gNa_calculation"><eq/>
        <ci>gNa</ci>
        <apply><times/>
          <ci>gNa_max</ci>
          <apply><power/>
            <ci>m</ci>
            <cn cellml:units="dimensionless">3.0</cn>
          </apply>
          <ci>h</ci>
        </apply>
      </apply>
    </math>
  </component>
  <group>
    <relationship_ref relationship="encapsulation"/>
    <component_ref component="INa">
      <component_ref component="alpha_m"/>
      <component_ref component="beta_m"/>
      <component_ref component="alpha_h"/>
      <component_ref component="beta_h"/>
      <component_ref component="m_gate"/>
      <component_ref component="h_gate"/>
    </component_ref>
  </group>
  <connection>
    <map_components component_1="INa" component_2="m_gate"/>
    <map_variables variable_1="time" variable_2="time"/>
    <map_variables variable_1="m_initial" variable_2="gate_initial"/>
    <map_variables variable_1="m" variable_2="gate"/>
  </connection>
  <connection>
    <map_components component_1="INa" component_2="h_gate"/>
    <map_variables variable_1="time" variable_2="time"/>
    <map_variables variable_1="h_initial" variable_2="gate_initial"/>
    <map_variables variable_1="h" variable_2="gate"/>
  </connection>
  <connection>
    <map_components component_1="INa" component_2="alpha_m"/>
    <map_variables variable_1="Q10" variable_2="Q10"/>
    <map_variables variable_1="T" variable_2="T"/>
    <map_variables variable_1="Tref" variable_2="Tref"/>
    <map_variables variable_1="V" variable_2="V"/>
  </connection>
  <connection>
    <map_components component_1="INa" component_2="beta_m"/>
    <map_variables variable_1="Q10" variable_2="Q10"/>
    <map_variables variable_1="T" variable_2="T"/>
    <map_variables variable_1="Tref" variable_2="Tref"/>
    <map_variables variable_1="V" variable_2="V"/>
  </connection>
  <connection>
    <map_components component_1="INa" component_2="alpha_h"/>
    <map_variables variable_1="Q10" variable_2="Q10"/>
    <map_variables variable_1="T" variable_2="T"/>
    <map_variables variable_1="Tref" variable_2="Tref"/>
    <map_variables variable_1="V" variable_2="V"/>
  </connection>
  <connection>
    <map_components component_1="INa" component_2="beta_h"/>
    <map_variables variable_1="Q10" variable_2="Q10"/>
    <map_variables variable_1="T" variable_2="T"/>
    <map_variables variable_1="Tref" variable_2="Tref"/>
    <map_variables variable_1="V" variable_2="V"/>
  </connection>
  <connection>
    <map_components component_1="m_gate" component_2="alpha_m"/>
    <map_variables variable_1="alpha" variable_2="alpha"/>
  </connection>
  <connection>
    <map_components component_1="m_gate" component_2="beta_m"/>
    <map_variables variable_1="beta" variable_2="beta"/>
  </connection>
  <connection>
    <map_components component_1="h_gate" component_2="alpha_h"/>
    <map_variables variable_1="alpha" variable_2="alpha"/>
  </connection>
  <connection>
    <map_components component_1="h_gate" component_2="beta_h"/>
    <map_variables variable_1="beta" variable_2="beta"/>
  </connection>
</model>