Location: Al Abed, Guo, Lovell, Dokos, 2013 (Generic Cardiac Ionic Models) @ 1e3fe21cccfe / AlAbed_2013_LA_model / generic_LA

Author:
Amr Al Abed <amr_aa@gmx.com>
Date:
2016-03-04 18:47:34+11:00
Desc:
Uploading files - programmed using openCOR
Permanent Source URI:
https://models.physiomeproject.org/workspace/28b/rawfile/1e3fe21cccfedd3d893bc922849e749c8cff2a18/AlAbed_2013_LA_model/generic_LA

<?xml version='1.0'?>
<model name="HH" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!--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-->
    <!-- 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>