Location: BG_GsProtein @ cf2ff7c2fc38 / BG_GsProtein.cellml

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2021-09-02 17:17:32+12:00
Desc:
Fixing ODEs
Permanent Source URI:
https://models.physiomeproject.org/workspace/6f8/rawfile/cf2ff7c2fc383938e5a62dd05d70cdbca90bed11/BG_GsProtein.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="BG_GsProtein" 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_and_constants/units_BG.cellml">
        <units name="per_sec" units_ref="per_sec"/>
        <units name="J_per_K_per_mol" units_ref="J_per_K_per_mol"/>
        <units name="C_per_mol" units_ref="C_per_mol"/>
        <units name="fmol" units_ref="fmol"/>
        <units name="fmol_per_L" units_ref="fmol_per_L"/>
        <units name="fmol_per_L_per_sec" units_ref="fmol_per_L_per_sec"/>
        <units name="per_sec_per_fmol_per_L" units_ref="per_sec_per_fmol_per_L"/>
        <units name="per_fmol" units_ref="per_fmol"/>
        <units name="fmol_per_sec" units_ref="fmol_per_sec"/>
        <units name="J_per_mol" units_ref="J_per_mol"/>
        <units name="mM" units_ref="mM"/>
        <units name="uM" units_ref="uM"/>
        <units name="mM_per_sec" units_ref="mM_per_sec"/>
        <units name="uM_per_sec" units_ref="uM_per_sec"/>
        <units name="pL" units_ref="pL"/>
        <units name="m_to_u" units_ref="m_to_u"/>
    </import>
    <import xlink:href="units_and_constants/constants_BG.cellml">
        <component component_ref="constants" name="constants"/>
    </import>
    <component name="environment">
        <variable name="time" public_interface="out" units="second"/>
        <variable initial_value="1e-6" name="q_LR_global" units="fmol"/>
        <variable name="c_RG" public_interface="in" units="uM"/>
        <variable name="c_R" public_interface="in" units="uM"/>
        <variable name="c_G" public_interface="in" units="uM"/>
        <variable name="c_LR" public_interface="in" units="uM"/>
        <variable name="c_LRG" public_interface="in" units="uM"/>
        <variable name="c_a_GTP" public_interface="in" units="uM"/>
        <variable name="c_beta_gamma" public_interface="in" units="uM"/>
        <variable name="c_a_GDP" public_interface="in" units="uM"/>
    </component>
    <component name="GsProtein_parameters">
        <variable initial_value="0.0598586" name="kappa_act1" units="fmol_per_sec"/>
        <variable initial_value="0.0598586" name="kappa_act2" units="fmol_per_sec"/>
        <variable initial_value="0.0204713" name="kappa_hyd" units="fmol_per_sec"/>
        <variable initial_value="12975.8" name="kappa_reassoc" units="fmol_per_sec"/>
        <variable initial_value="6.5099e-06" name="K_R" units="per_fmol"/>
        <variable initial_value="2.71077e-06" name="K_G" units="per_fmol"/>
        <variable initial_value="7.77025" name="K_RG" units="per_fmol"/>
        <variable initial_value="6.5099e-06" name="K_LR" units="per_fmol"/>
        <variable initial_value="7.77025" name="K_LRG" units="per_fmol"/>
        <variable initial_value="1.13602" name="K_a_GTP" units="per_fmol"/>
        <variable initial_value="0.0554931" name="K_beta_gamma" units="per_fmol"/>
        <variable initial_value="0.00142002" name="K_a_GDP" units="per_fmol"/>
    </component>
    <component name="GsProtein">
        <variable name="time" public_interface="in" units="second"/>
        <!-- Physical parameters-->
        <variable name="R" public_interface="in" units="J_per_K_per_mol"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <!-- 21july FKC with all 3 constraints, and detailed bal for ksig4m and for scheme2 kP2p. Merged GsabyGDP into G. R and LR in scheme 4. new constraint of R + L to LR using Gibbs free energy -->
        <variable name="kappa_act1" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_act2" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_hyd" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_reassoc" public_interface="in" units="fmol_per_sec"/>
        <variable name="K_LRG" public_interface="in" units="per_fmol"/>
        <variable name="K_R" public_interface="in" units="per_fmol"/>
        <variable name="K_G" public_interface="in" units="per_fmol"/>
        <variable name="K_LR" public_interface="in" units="per_fmol"/>
        <variable name="K_RG" public_interface="in" units="per_fmol"/>
        <variable name="K_a_GTP" public_interface="in" units="per_fmol"/>
        <variable name="K_beta_gamma" public_interface="in" units="per_fmol"/>
        <variable name="K_a_GDP" public_interface="in" units="per_fmol"/>
        <!-- States (and initial conditions)
 8jul21 original kinetic concs + equal division of enzyme states-->
        <variable initial_value="1e-6" name="q_LRG" public_interface="out" units="fmol"/>
        <variable initial_value="1.697e-06" name="q_LR" public_interface="out" units="fmol"/>
        <variable initial_value="0.000219725" name="q_R" public_interface="out" units="fmol"/>
        <variable initial_value="0.145305" name="q_G" public_interface="out" units="fmol"/>
        <variable initial_value="1e-6" name="q_RG" public_interface="out" units="fmol"/>
        <variable initial_value="0.0009519" name="q_a_GTP" public_interface="out" units="fmol"/>
        <variable initial_value="0.00097622" name="q_beta_gamma" public_interface="out" units="fmol"/>
        <variable initial_value="2.44948e-05" name="q_a_GDP" public_interface="out" units="fmol"/>
        <variable name="q_LR_global" public_interface="in" units="fmol"/>
        <!-- Bond variables-->
        <variable name="vact1" units="fmol_per_sec"/>
        <variable name="vact2" units="fmol_per_sec"/>
        <variable name="vhyd" units="fmol_per_sec"/>
        <variable name="vreassoc" units="fmol_per_sec"/>
        <variable name="mu_R" units="J_per_mol"/>
        <variable name="mu_G" units="J_per_mol"/>
        <variable name="mu_RG" units="J_per_mol"/>
        <variable name="mu_LR" units="J_per_mol"/>
        <variable name="mu_LRG" units="J_per_mol"/>
        <variable name="mu_a_GTP" units="J_per_mol"/>
        <variable name="mu_beta_gamma" units="J_per_mol"/>
        <variable name="mu_a_GDP" units="J_per_mol"/>
        <!-- Concentrations - for plotting-->
        <variable name="c_R" public_interface="out" units="uM"/>
        <variable name="c_G" public_interface="out" units="uM"/>
        <variable name="c_RG" public_interface="out" units="uM"/>
        <variable name="c_LR" public_interface="out" units="uM"/>
        <variable name="c_LRG" public_interface="out" units="uM"/>
        <variable name="c_a_GTP" public_interface="out" units="uM"/>
        <variable name="c_beta_gamma" public_interface="out" units="uM"/>
        <variable name="c_a_GDP" public_interface="out" units="uM"/>
        <variable initial_value="38.0" name="vol" units="pL"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>c_R</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="m_to_u" type="e-notation">1<sep/>3</cn>
                        <ci>q_R</ci>
                    </apply>
                    <ci>vol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>c_G</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="m_to_u" type="e-notation">1<sep/>3</cn>
                        <ci>q_G</ci>
                    </apply>
                    <ci>vol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>c_RG</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="m_to_u" type="e-notation">1<sep/>3</cn>
                        <ci>q_RG</ci>
                    </apply>
                    <ci>vol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>c_LR</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="m_to_u" type="e-notation">1<sep/>3</cn>
                        <ci>q_LR_global</ci>
                    </apply>
                    <ci>vol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>c_LRG</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="m_to_u" type="e-notation">1<sep/>3</cn>
                        <ci>q_LRG</ci>
                    </apply>
                    <ci>vol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>c_a_GTP</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="m_to_u" type="e-notation">1<sep/>3</cn>
                        <ci>q_a_GTP</ci>
                    </apply>
                    <ci>vol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>c_beta_gamma</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="m_to_u" type="e-notation">1<sep/>3</cn>
                        <ci>q_beta_gamma</ci>
                    </apply>
                    <ci>vol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>c_a_GDP</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="m_to_u" type="e-notation">1<sep/>3</cn>
                        <ci>q_a_GDP</ci>
                    </apply>
                    <ci>vol</ci>
                </apply>
            </apply>
            <!-- Constitutive equations-->
            <apply>
                <eq/>
                <ci>mu_R</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_R</ci>
                            <ci>q_R</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_G</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_G</ci>
                            <ci>q_G</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_RG</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_RG</ci>
                            <ci>q_RG</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_LR</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_LR</ci>
                            <ci>q_LR_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_LRG</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_LRG</ci>
                            <ci>q_LRG</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_a_GTP</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_a_GTP</ci>
                            <ci>q_a_GTP</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_beta_gamma</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_beta_gamma</ci>
                            <ci>q_beta_gamma</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_a_GDP</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_a_GDP</ci>
                            <ci>q_a_GDP</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vact1</ci>
                <apply>
                    <times/>
                    <ci>kappa_act1</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_RG</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_a_GTP</ci>
                                    <ci>mu_beta_gamma</ci>
                                    <ci>mu_R</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vact2</ci>
                <apply>
                    <times/>
                    <ci>kappa_act2</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_LRG</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_a_GTP</ci>
                                    <ci>mu_beta_gamma</ci>
                                    <ci>mu_LR</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vhyd</ci>
                <apply>
                    <times/>
                    <ci>kappa_hyd</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_a_GTP</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_a_GDP</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vreassoc</ci>
                <apply>
                    <times/>
                    <ci>kappa_reassoc</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_a_GDP</ci>
                                    <ci>mu_beta_gamma</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_G</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
        <!-- velocity in uM_per_sec-->
        <variable name="vact1_kinetic" units="uM_per_sec"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>vact1_kinetic</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>vact1</ci>
                        <cn cellml:units="m_to_u" type="e-notation">1<sep/>3</cn>
                    </apply>
                    <ci>vol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_R</ci>
                </apply>
                <ci>vact1</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_RG</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vact1</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_G</ci>
                </apply>
                <ci>vreassoc</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LR</ci>
                </apply>
                <ci>vact2</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LRG</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vact2</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_a_GTP</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <ci>vact1</ci>
                        <ci>vact2</ci>
                    </apply>
                    <ci>vhyd</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_beta_gamma</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <ci>vact1</ci>
                        <ci>vact2</ci>
                    </apply>
                    <ci>vreassoc</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_a_GDP</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vhyd</ci>
                    <ci>vreassoc</ci>
                </apply>
            </apply>
        </math>
    </component>
    <connection>
        <map_components component_1="environment" component_2="GsProtein"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="q_LR_global" variable_2="q_LR_global"/>
        <map_variables variable_1="c_RG" variable_2="c_RG"/>
        <map_variables variable_1="c_R" variable_2="c_R"/>
        <map_variables variable_1="c_G" variable_2="c_G"/>
        <map_variables variable_1="c_LR" variable_2="c_LR"/>
        <map_variables variable_1="c_LRG" variable_2="c_LRG"/>
        <map_variables variable_1="c_a_GTP" variable_2="c_a_GTP"/>
        <map_variables variable_1="c_beta_gamma" variable_2="c_beta_gamma"/>
        <map_variables variable_1="c_a_GDP" variable_2="c_a_GDP"/>
    </connection>
    <connection>
        <map_components component_1="GsProtein_parameters" component_2="GsProtein"/>
        <map_variables variable_1="kappa_act1" variable_2="kappa_act1"/>
        <map_variables variable_1="kappa_act2" variable_2="kappa_act2"/>
        <map_variables variable_1="kappa_hyd" variable_2="kappa_hyd"/>
        <map_variables variable_1="kappa_reassoc" variable_2="kappa_reassoc"/>
        <map_variables variable_1="K_LRG" variable_2="K_LRG"/>
        <map_variables variable_1="K_R" variable_2="K_R"/>
        <map_variables variable_1="K_RG" variable_2="K_RG"/>
        <map_variables variable_1="K_G" variable_2="K_G"/>
        <map_variables variable_1="K_LR" variable_2="K_LR"/>
        <map_variables variable_1="K_a_GTP" variable_2="K_a_GTP"/>
        <map_variables variable_1="K_beta_gamma" variable_2="K_beta_gamma"/>
        <map_variables variable_1="K_a_GDP" variable_2="K_a_GDP"/>
    </connection>
    <connection>
        <map_components component_1="constants" component_2="GsProtein"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
    </connection>
</model>