Location: Al Abed, Guo, Lovell, Dokos, 2013 (Generic Cardiac Ionic Models) @ 2105a486f141 / AlAbed_2013_LA_model / generic_LA.cellml

Author:
Amr Al Abed <amra@unsw.edu.au>
Date:
2017-06-16 22:07:22+10:00
Desc:
Converted encoding to UTF-8
Permanent Source URI:
https://models.physiomeproject.org/workspace/28b/rawfile/2105a486f14159db17520e1830b3a2e1d3ad2acf/AlAbed_2013_LA_model/generic_LA.cellml

<?xml version='1.0'?>
    <!--Author: Amr Al Abed
Date: 12/02/2016
Generic ionic model based on the formulation of Al Abed et al 2013 for a left atrial cell-->

<!--metadata-->
<model name="LA_generic_model" cmeta:id="LA_generic_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#">


  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:bqs="http://www.cellml.org/bqs/1.0#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:vCard="http://www.w3.org/2001/vcard-rdf/3.0#">
    <rdf:Description rdf:about="#LA_generic_model">
      <bqs:reference rdf:parseType="Resource">
        <dc:subject rdf:parseType="Resource">
          <bqs:subject_type>keyword</bqs:subject_type>
          <rdf:value>
            <rdf:Bag>
              <rdf:li>electrophysiology</rdf:li>
              <rdf:li>cardiac</rdf:li>
              <rdf:li>cardiac electrophysiology</rdf:li>
			  <rdf:li>pacemaker</rdf:li>
			  <rdf:li>left atrium</rdf:li>
            </rdf:Bag>
          </rdf:value>
        </dc:subject>
      </bqs:reference>
    </rdf:Description> 
  </rdf:RDF>
  
    <!-- import components-->
    <import xlink:href="outward_generic_current">
        <component component_ref="outward_generic_channel" name="i1_current"/>
    </import>
    <import xlink:href="inward_generic_current">
        <component component_ref="inward_generic_channel" name="i2_current"/>
    </import>
    <import xlink:href="leakage_current">
        <component component_ref="leakage_channel" name="L_current"/>
    </import>
    <!--Define units-->
    <units name="millisec">
        <unit prefix="milli" units="second"/>
    </units>
    <units name="millivolt">
        <unit prefix="milli" units="volt"/>
    </units>
    <units name="nanoA_per_cm2">
        <unit prefix="nano" units="ampere"/>
        <unit exponent="-2" prefix="centi" units="metre"/>
    </units>
    <units name="microF_per_cm2">
        <unit prefix="micro" units="farad"/>
        <unit exponent="-2" prefix="centi" units="metre"/>
    </units>
    <!--Define encapsulation for ionic current-->
    <group>
        <relationship_ref relationship="encapsulation"/>
        <component_ref component="membrane">
            <component_ref component="i1_current"/>
            <component_ref component="i2_current"/>
            <component_ref component="L_current"/>
        </component_ref>
    </group>
    <!--Define simulation environment-->
    <component name="environment">
        <variable initial_value="-80.75" name="V" public_interface="out" units="millivolt"/>
        <variable name="t" public_interface="out" units="millisec"/>
    </component>
    <!--Mapping variables-->
    <connection>
        <map_components component_1="environment" component_2="membrane"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="t" variable_2="t"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="i1_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="t" variable_2="t"/>
        <map_variables variable_1="i_1" variable_2="i_1"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="i2_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="t" variable_2="t"/>
        <map_variables variable_1="i_2" variable_2="i_2"/>
    </connection>
    <connection>
        <map_components component_1="membrane" component_2="L_current"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="i_L" variable_2="i_L"/>
    </connection>
    <!--Define membrane equation -->
    <component name="membrane">
        <variable name="V" private_interface="out" public_interface="in" units="millivolt"/>
        <variable name="t" private_interface="out" public_interface="in" units="second"/>
        <variable name="i_1" private_interface="in" public_interface="out" units="nanoA_per_cm2"/>
        <variable name="i_2" private_interface="in" public_interface="out" units="nanoA_per_cm2"/>
        <variable name="i_L" private_interface="in" public_interface="out" units="nanoA_per_cm2"/>
        <variable initial_value="1" name="Cm" units="microF_per_cm2"/>
        <variable name="i_Stim" units="nanoA_per_cm2"/>
        <variable name="i_Tot" units="nanoA_per_cm2"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>i_Stim</ci>
                <piecewise>
                    <piece>
                        <apply>
                            <minus/>
                            <cn cellml:units="microA_per_cm2">10000</cn>
                        </apply>
                        <apply>
                            <and/>
                            <apply>
                                <geq/>
                                <ci>t</ci>
                                <cn cellml:units="second">0.1</cn>
                            </apply>
                            <apply>
                                <leq/>
                                <ci>t</ci>
                                <cn cellml:units="second">0.102</cn>
                            </apply>
                        </apply>
                    </piece>
                    <otherwise>
                        <cn cellml:units="microA_per_cm2">0</cn>
                    </otherwise>
                </piecewise>
            </apply>
            <apply>
                <eq/>
                <ci>i_Tot</ci>
                <apply>
                    <plus/>
                    <ci>i_Stim</ci>
                    <ci>i_1</ci>
                    <ci>i_2</ci>
                    <ci>i_L</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>V</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>i_Tot</ci>
                    </apply>
                    <ci>Cm</ci>
                </apply>
            </apply>
        </math>
    </component>
</model>