Location: A review of cardiac cellular electrophysiology models @ 0b61cf0bc2ee / models / 1991_luo / time_dependent_potassium_current_model.xml

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2010-07-06 16:55:39+12:00
Desc:
correcting errors found with newer versions of the CellML API: e-notation; namespace; and an initial value is required for state variables. The initial value on x1 fixes the problem reported on tracker item 2521
Permanent Source URI:
https://models.physiomeproject.org/workspace/a1/rawfile/0b61cf0bc2ee4a696e08c67f233a2b5708b66974/models/1991_luo/time_dependent_potassium_current_model.xml

<?xml version="1.0"?>
<model xmlns="http://www.cellml.org/cellml/1.1#" name="time_dependent_potassium_current_model">
  <component name="time_dependent_potassium_current">
    <variable name="i_K" private_interface="out" public_interface="out" units="uA_per_mm2"/>
    <variable name="g_K" private_interface="out" public_interface="in" units="mS_per_mm2"/>
    <variable name="g_K_max" private_interface="out" public_interface="out" units="mS_per_mm2"/>
    <variable name="E_K" private_interface="out" public_interface="out" units="mV"/>
    <variable name="PR_NaK" private_interface="out" public_interface="in" units="dimensionless"/>
    <variable name="time" private_interface="out" public_interface="in" units="ms"/>
    <variable name="V" private_interface="out" public_interface="in" units="mV"/>
    <variable name="R" private_interface="out" public_interface="in" units="gas_constant_units"/>
    <variable name="T" private_interface="out" public_interface="in" units="kelvin"/>
    <variable name="F" private_interface="out" public_interface="in" units="faradays_constant_units"/>
    <variable name="Ko" private_interface="out" public_interface="in" units="concentration_units"/>
    <variable name="Ki" private_interface="out" public_interface="in" units="concentration_units"/>
    <variable name="Nao" private_interface="out" public_interface="in" units="concentration_units"/>
    <variable name="Nai" private_interface="out" public_interface="in" units="concentration_units"/>
    <variable name="X" private_interface="out" public_interface="in" units="dimensionless"/>
    <variable name="Xi" private_interface="out" public_interface="in" units="dimensionless"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" cmeta:id="g_K_max_calculation_eq">
      <apply id="g_K_max_calculation"><eq/>
        <ci> g_K_max </ci>
        <apply><times/>
          <ci> g_K </ci>
          <apply><root/>
            <apply><divide/>
              <ci> Ko </ci>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="concentration_units"> 5.4 </cn>
            </apply>
          </apply>                                                              
        </apply>
      </apply>
    </math>
    <math xmlns="http://www.w3.org/1998/Math/MathML" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" cmeta:id="E_K_calculation_eq">
      <apply id="E_K_calculation"><eq/>
        <ci> E_K </ci>
        <apply><times/>
          <apply><divide/>
            <apply><times/>
              <ci> R </ci>
              <ci> T </ci>
            </apply>
            <ci> F </ci>
          </apply>
          <apply><ln/>
            <apply><divide/>
              <apply><plus/>
                <ci> Ko </ci>
                <apply><times/>
                  <ci> PR_NaK </ci>
                  <ci> Nao </ci>
                </apply>
              </apply>
              <apply><plus/>
                <ci> Ki </ci>
                <apply><times/>
                  <ci> PR_NaK </ci>
                  <ci> Nai </ci>
                </apply>
              </apply>
            </apply>
          </apply>
        </apply>
      </apply>
    </math>
    <math xmlns="http://www.w3.org/1998/Math/MathML" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" cmeta:id="i_K_calculation_eq">
      <apply id="i_K_calculation"><eq/>
        <ci> i_K </ci>
        <apply><times/>
          <ci> g_K_max </ci>
          <ci> X </ci>
          <ci> Xi </ci>
          <apply><minus/>
            <ci> V </ci>
            <ci> E_K </ci>
          </apply>
        </apply>
      </apply>
    </math>
  </component>
  <import xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="luo_rudy_I_model_1991_units_model.xml">
    <units name="ms" units_ref="ms"/>
    <units name="per_ms" units_ref="per_ms"/>
    <units name="mV" units_ref="mV"/>
    <units name="per_mV" units_ref="per_mV"/>
    <units name="per_mV_ms" units_ref="per_mV_ms"/>
    <units name="mS_per_mm2" units_ref="mS_per_mm2"/>
    <units name="uF_per_mm2" units_ref="uF_per_mm2"/>
    <units name="uA_per_mm2" units_ref="uA_per_mm2"/>
    <units name="concentration_units" units_ref="concentration_units"/>
    <units name="gas_constant_units" units_ref="gas_constant_units"/>
    <units name="faradays_constant_units" units_ref="faradays_constant_units"/>
  </import>
</model>