Location: Single PASMC model (Gosak et al 2014) @ 225052a89a07 / Components / JKi.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-03 15:39:40+12:00
Desc:
Update README.rst with runSim.psl
Permanent Source URI:
https://models.cellml.org/workspace/83f/rawfile/225052a89a07e1d4baee130b2d102cff2f5393f3/Components/JKi.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="JKi" 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">
    <import xlink:href="../cellLib/Components/units.cellml">
        <units name="C_per_mmol" units_ref="C_per_mmol"/>
        <units name="J_per_K_mol" units_ref="J_per_K_mol"/>
        <units name="mM" units_ref="mM"/>
        <units name="mV" units_ref="mV"/>
        <units name="per_s" units_ref="per_s"/>
        <units name="uM" units_ref="uM"/>
        <units name="uM2" units_ref="uM2"/>
        <units name="uM_per_s" units_ref="uM_per_s"/>
        <units name="uM_per_s_mV" units_ref="uM_per_s_mV"/>
    </import>
    <import xlink:href="../cellLib/Components/E_Nernst.cellml">
        <component component_ref="E_K" name="E_K"/>
    </import>
    <component name="JKi">
        <variable name="G_Ki" public_interface="in" units="uM_per_s_mV"/>
        <variable name="v_K" private_interface="in" public_interface="out" units="mV"/>
        <variable name="wi_init" public_interface="in" units="dimensionless"/>
        <variable initial_value="wi_init" name="w_i" units="dimensionless"/>
        <variable name="lambda" public_interface="in" units="per_s"/>
        <variable name="K_activationi" units="dimensionless"/>
        <variable name="c_w" public_interface="in" units="uM"/>
        <variable name="v_Ca3" public_interface="in" units="mV"/>
        <variable name="R_K" public_interface="in" units="mV"/>
        <variable name="beta" public_interface="in" units="uM2"/>
        <variable name="T" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="R" private_interface="out" public_interface="in" units="J_per_K_mol"/>
        <variable name="F" private_interface="out" public_interface="in" units="C_per_mmol"/>
        <variable name="Ki" private_interface="out" public_interface="in" units="mM"/>
        <variable name="K_out" private_interface="out" public_interface="in" units="mM"/>
        <variable name="t" public_interface="in" units="second"/>
        <variable name="c_i" public_interface="in" units="uM"/>
        <variable name="v_i" public_interface="in" units="mV"/>
        <variable name="J_Ki" public_interface="out" units="uM_per_s"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>J_Ki</ci>
                <apply>
                    <times/>
                    <ci>G_Ki</ci>
                    <ci>w_i</ci>
                    <apply>
                        <minus/>
                        <ci>v_i</ci>
                        <ci>v_K</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>w_i</ci>
                </apply>
                <apply>
                    <times/>
                    <ci>lambda</ci>
                    <apply>
                        <minus/>
                        <ci>K_activationi</ci>
                        <ci>w_i</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>K_activationi</ci>
                <apply>
                    <divide/>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <ci>c_i</ci>
                            <ci>c_w</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <power/>
                            <apply>
                                <plus/>
                                <ci>c_i</ci>
                                <ci>c_w</ci>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                        <apply>
                            <times/>
                            <ci>beta</ci>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <ci>v_i</ci>
                                            <ci>v_Ca3</ci>
                                        </apply>
                                    </apply>
                                    <ci>R_K</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <group>
        <relationship_ref relationship="encapsulation"/>
        <component_ref component="JKi">
            <component_ref component="E_K"/>
        </component_ref>
    </group>
    <connection>
        <map_components component_1="E_K" component_2="JKi"/>
        <map_variables variable_1="E_K" variable_2="v_K"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="Ki" variable_2="Ki"/>
        <map_variables variable_1="Ko" variable_2="K_out"/>
    </connection>
</model>