Location: 12 L Platform 1 model codes @ 55efde1e181f / USMC / J_Ca.cellml

Author:
aram148 <a.rampadarath@auckland.ac.nz>
Date:
2021-10-11 21:47:30+13:00
Desc:
Peripheral airway pseudo-BG
Permanent Source URI:
https://models.physiomeproject.org/workspace/6b0/rawfile/55efde1e181fb28eb5ec12c06d40e63dfe2ca938/USMC/J_Ca.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="J_Ca" 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="units.cellml">
        <units name="pA" units_ref="pA"/>
        <units name="mV" units_ref="mV"/>
        <units name="mM" units_ref="mM"/>
        <units name="nS" units_ref="nS"/>
        <units name="mM_per_s" units_ref="mM_per_s"/>
        <units name="C_per_mmol" units_ref="C_per_mmol"/>
        <units name="fm3" units_ref="fm3"/>
        <units name="mM_per_s_mV" units_ref="mM_per_s_mV"/>
    </import>
    <import xlink:href="Ionic_currents.cellml">
        <component component_ref="Ionic_currents" name="Ionic_currents"/>
    </import>
    <component name="J_VOCC">
        <variable name="F" private_interface="out" public_interface="in" units="C_per_mmol"/>
        <variable name="V_cell" public_interface="in" units="fm3"/>
        <variable name="V_Cahalf" public_interface="in" units="mV"/>
        <variable name="K_Cahalf" public_interface="in" units="mV"/>
        <variable name="g_mCa" private_interface="out" public_interface="in" units="nS"/>
        <variable name="E_Ca" private_interface="out" public_interface="in" units="mV"/>
        <variable name="V" private_interface="out" public_interface="in" units="mV"/>
        <variable name="rho_vCa" private_interface="out" public_interface="out" units="dimensionless"/>
        <variable name="I_VOCC" private_interface="in" units="pA"/>
        <variable name="J_VOCC" public_interface="out" units="mM_per_s"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>rho_vCa</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <ci>V_Cahalf</ci>
                                    <ci>V</ci>
                                </apply>
                                <ci>K_Cahalf</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_VOCC</ci>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>I_VOCC</ci>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <ci>V_cell</ci>
                        <ci>F</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="J_CaPump">
        <variable name="V_pmax" public_interface="in" units="mM_per_s_mV"/>
        <variable name="n" public_interface="in" units="dimensionless"/>
        <variable name="K_ph" public_interface="in" units="mM"/>
        <variable name="Cai" public_interface="in" units="mM"/>
        <variable name="J_CaPump" public_interface="out" units="mM_per_s"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>J_CaPump</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <ci>V_pmax</ci>
                        </apply>
                        <apply>
                            <power/>
                            <ci>Cai</ci>
                            <ci>n</ci>
                        </apply>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <power/>
                            <ci>K_ph</ci>
                            <ci>n</ci>
                        </apply>
                        <apply>
                            <power/>
                            <ci>Cai</ci>
                            <ci>n</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="J_NaCa">
        <variable name="K_NaCa" public_interface="in" units="mM"/>
        <variable name="G_NaCa" public_interface="in" units="mM_per_s_mV"/>
        <variable name="E_Ca" public_interface="in" units="mV"/>
        <variable name="E_Na" public_interface="in" units="mV"/>
        <variable name="Cai" public_interface="in" units="mM"/>
        <variable name="V" public_interface="in" units="mV"/>
        <variable name="V_mNaCa" units="mV"/>
        <variable name="J_NaCa" public_interface="out" units="mM_per_s"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>V_mNaCa</ci>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">3</cn>
                        <ci>E_Na</ci>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <ci>E_Ca</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_NaCa</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>G_NaCa</ci>
                            <ci>Cai</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <ci>Cai</ci>
                            <ci>K_NaCa</ci>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>V_mNaCa</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="Cai">
        <variable name="time" public_interface="in" units="second"/>
        <variable name="J_VOCC" public_interface="in" units="mM_per_s"/>
        <variable name="J_CaPump" public_interface="in" units="mM_per_s"/>
        <variable name="J_NaCa" public_interface="in" units="mM_per_s"/>
        <variable name="inhPump" public_interface="in" units="dimensionless"/>
        <variable name="Cai_init" public_interface="in" units="mM"/>
        <variable initial_value="Cai_init" name="Cai" public_interface="out" units="mM"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Cai</ci>
                </apply>
                <apply>
                    <plus/>
                    <ci>J_VOCC</ci>
                    <apply>
                        <times/>
                        <ci>inhPump</ci>
                        <ci>J_CaPump</ci>
                    </apply>
                    <ci>J_NaCa</ci>
                </apply>
            </apply>
        </math>
    </component>
    <group>
        <relationship_ref relationship="encapsulation"/>
        <component_ref component="J_VOCC">
            <component_ref component="Ionic_currents"/>
        </component_ref>
    </group>
    <connection>
        <map_components component_1="J_VOCC" component_2="Ionic_currents"/>
        <map_variables variable_1="I_VOCC" variable_2="I"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="E_Ca" variable_2="E"/>
        <map_variables variable_1="g_mCa" variable_2="g_max"/>
        <map_variables variable_1="rho_vCa" variable_2="PO"/>
    </connection>
</model>