Location: BG_GsProtein @ 8d20a88d38dc / BG_GsProtein.cellml

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2021-11-16 16:24:03+13:00
Desc:
Finding rational nullspace
Permanent Source URI:
https://models.physiomeproject.org/workspace/6f8/rawfile/8d20a88d38dc5e4f4323ffe434401ad27c54b96c/BG_GsProtein.cellml

<?xml version='1.0' encoding='UTF-8'?>
<!-- Gs protein metabolism, with reActions:
 Activation (Act1 and Act2), Hydration (Hyd), Reassociation (Reassoc)
 14Oct21 with separated Phosphate binding from Activation of RG and LRG
 26Oct21 with an intermediate compound formed after GDP ejection from G protein, and before GTP enters alpha binding site-->
<model name="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"/>
        <!--Initial conditions-->
        <variable initial_value="0.0004579000" name="q_R_B1_init" units="fmol"/>
        <variable initial_value="1e-18" name="q_Gs_init" units="fmol"/>
        <variable initial_value="1e-18" name="q_R_B1Gs_init" units="fmol"/>
        <variable initial_value="1e-1" name="q_LR_B1_init" units="fmol"/>
        <variable initial_value="1e-18" name="q_LR_B1Gs_init" units="fmol"/>
        <variable initial_value="0.02" name="q_a_Gs_GTP_init" units="fmol"/>
        <variable initial_value="0.02" name="q_beta_gamma_Gs_init" units="fmol"/>
        <variable initial_value="0.02" name="q_a_Gs_GDP_init" units="fmol"/>
        <variable initial_value="570" name="q_Pi_init" units="fmol"/>
        <variable initial_value="1e-18" name="q_R_B1_aby_init" units="fmol"/>
        <variable initial_value="1e-18" name="q_R_B1_aby_T_init" units="fmol"/>
        <variable initial_value="1e-18" name="q_LR_B1_aby_init" units="fmol"/>
        <variable initial_value="1e-18" name="q_LR_B1_aby_T_init" units="fmol"/>
        <variable initial_value="2.2" name="q_GTP_init" public_interface="out" units="fmol"/>
        <variable initial_value="1.1" name="q_GDP_init" public_interface="out" units="fmol"/>
        <!-- mass conservation checks-->
        <variable name="R_T" public_interface="in" units="fmol"/>
        <variable name="Gs_T" public_interface="in" units="fmol"/>
        <!-- Global value-->
        <variable name="q_R_B1" public_interface="out" units="fmol"/>
        <variable name="q_Gs" public_interface="out" units="fmol"/>
        <variable name="q_R_B1Gs" public_interface="out" units="fmol"/>
        <variable name="q_LR_B1" public_interface="out" units="fmol"/>
        <variable name="q_LR_B1Gs" public_interface="out" units="fmol"/>
        <variable name="q_a_Gs_GTP" public_interface="out" units="fmol"/>
        <variable name="q_beta_gamma_Gs" public_interface="out" units="fmol"/>
        <variable name="q_a_Gs_GDP" public_interface="out" units="fmol"/>
        <variable name="q_Pi" public_interface="out" units="fmol"/>
        <variable name="q_R_B1_aby" public_interface="out" units="fmol"/>
        <variable name="q_R_B1_aby_T" public_interface="out" units="fmol"/>
        <variable name="q_LR_B1_aby" public_interface="out" units="fmol"/>
        <variable name="q_LR_B1_aby_T" public_interface="out" units="fmol"/>
        <variable name="q_GTP" public_interface="out" units="fmol"/>
        <variable name="q_GDP" public_interface="out" units="fmol"/>
        <!-- From submodule-->
        <variable name="q_R_B1_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_Gs_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_R_B1Gs_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1Gs_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_a_Gs_GTP_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_beta_gamma_Gs_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_a_Gs_GDP_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_Pi_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_R_B1_aby_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_R_B1_aby_T_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1_aby_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1_aby_T_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_GTP_mGsProtein" public_interface="in" units="fmol"/>
        <variable name="q_GDP_mGsProtein" public_interface="in" units="fmol"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>q_R_B1</ci>
                <apply>
                    <plus/>
                    <ci>q_R_B1_mGsProtein</ci>
                    <ci>q_R_B1_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_Gs</ci>
                <apply>
                    <plus/>
                    <ci>q_Gs_mGsProtein</ci>
                    <ci>q_Gs_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_R_B1Gs</ci>
                <apply>
                    <plus/>
                    <ci>q_R_B1Gs_mGsProtein</ci>
                    <ci>q_R_B1Gs_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_LR_B1</ci>
                <apply>
                    <plus/>
                    <ci>q_LR_B1_mGsProtein</ci>
                    <ci>q_LR_B1_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_LR_B1Gs</ci>
                <apply>
                    <plus/>
                    <ci>q_LR_B1Gs_mGsProtein</ci>
                    <ci>q_LR_B1Gs_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_a_Gs_GTP</ci>
                <apply>
                    <plus/>
                    <ci>q_a_Gs_GTP_mGsProtein</ci>
                    <ci>q_a_Gs_GTP_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_beta_gamma_Gs</ci>
                <apply>
                    <plus/>
                    <ci>q_beta_gamma_Gs_mGsProtein</ci>
                    <ci>q_beta_gamma_Gs_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_a_Gs_GDP</ci>
                <apply>
                    <plus/>
                    <ci>q_a_Gs_GDP_mGsProtein</ci>
                    <ci>q_a_Gs_GDP_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_Pi</ci>
                <apply>
                    <plus/>
                    <ci>q_Pi_mGsProtein</ci>
                    <ci>q_Pi_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_R_B1_aby</ci>
                <apply>
                    <plus/>
                    <ci>q_R_B1_aby_mGsProtein</ci>
                    <ci>q_R_B1_aby_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_R_B1_aby_T</ci>
                <apply>
                    <plus/>
                    <ci>q_R_B1_aby_T_mGsProtein</ci>
                    <ci>q_R_B1_aby_T_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_LR_B1_aby</ci>
                <apply>
                    <plus/>
                    <ci>q_LR_B1_aby_mGsProtein</ci>
                    <ci>q_LR_B1_aby_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_LR_B1_aby_T</ci>
                <apply>
                    <plus/>
                    <ci>q_LR_B1_aby_T_mGsProtein</ci>
                    <ci>q_LR_B1_aby_T_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_GTP</ci>
                <apply>
                    <plus/>
                    <ci>q_GTP_mGsProtein</ci>
                    <ci>q_GTP_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_GDP</ci>
                <apply>
                    <plus/>
                    <ci>q_GDP_mGsProtein</ci>
                    <ci>q_GDP_init</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="GsProtein_parameters">
        <variable initial_value="3.24446" name="kappa_Doff1_Gs" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="0.00514879" name="kappa_Ton1_Gs" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="82.3806" name="kappa_Act1_Gs" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="3.24446" name="kappa_Doff2_Gs" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="0.00514879" name="kappa_Ton2_Gs" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="82.3806" name="kappa_Act2_Gs" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="6.23078" name="kappa_hyd_Gs" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="1.18725e+06" name="kappa_reassoc_Gs" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="0.000240255" name="K_R_B1" public_interface="out" units="per_fmol"/>
        <variable initial_value="379.224" name="K_Gs" public_interface="out" units="per_fmol"/>
        <variable initial_value="8.95982" name="K_R_B1Gs" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.000240255" name="K_LR_B1" public_interface="out" units="per_fmol"/>
        <variable initial_value="8.95982" name="K_LR_B1Gs" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.00373241" name="K_a_Gs_GTP" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.000332535" name="K_beta_gamma_Gs" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.00258994" name="K_a_Gs_GDP" public_interface="out" units="per_fmol"/>
        <variable initial_value="5.23662e-05" name="K_Pi" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.0808593" name="K_R_B1_aby" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.00564595" name="K_R_B1_aby_T" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.0808593" name="K_LR_B1_aby" public_interface="out" units="per_fmol"/>
        <variable initial_value="0.00564595" name="K_LR_B1_aby_T" public_interface="out" units="per_fmol"/>
        <variable initial_value="2029.78" name="K_GTP" public_interface="out" units="per_fmol"/>
        <variable initial_value="3.22115e-06" name="K_GDP" public_interface="out" 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"/>
        <!-- BG parameters-->
        <variable name="kappa_Doff1_Gs" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_Ton1_Gs" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_Act1_Gs" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_Doff2_Gs" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_Ton2_Gs" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_Act2_Gs" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_hyd_Gs" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_reassoc_Gs" public_interface="in" units="fmol_per_sec"/>
        <variable name="K_R_B1" public_interface="in" units="per_fmol"/>
        <variable name="K_Gs" public_interface="in" units="per_fmol"/>
        <variable name="K_R_B1Gs" public_interface="in" units="per_fmol"/>
        <variable name="K_LR_B1" public_interface="in" units="per_fmol"/>
        <variable name="K_LR_B1Gs" public_interface="in" units="per_fmol"/>
        <variable name="K_a_Gs_GTP" public_interface="in" units="per_fmol"/>
        <variable name="K_beta_gamma_Gs" public_interface="in" units="per_fmol"/>
        <variable name="K_a_Gs_GDP" public_interface="in" units="per_fmol"/>
        <variable name="K_Pi" public_interface="in" units="per_fmol"/>
        <variable name="K_R_B1_aby" public_interface="in" units="per_fmol"/>
        <variable name="K_R_B1_aby_T" public_interface="in" units="per_fmol"/>
        <variable name="K_LR_B1_aby" public_interface="in" units="per_fmol"/>
        <variable name="K_LR_B1_aby_T" public_interface="in" units="per_fmol"/>
        <variable name="K_GTP" public_interface="in" units="per_fmol"/>
        <variable name="K_GDP" public_interface="in" units="per_fmol"/>
        <!-- Input from global environment-->
        <variable name="q_R_B1_global" public_interface="in" units="fmol"/>
        <variable name="q_Gs_global" public_interface="in" units="fmol"/>
        <variable name="q_R_B1Gs_global" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1_global" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1Gs_global" public_interface="in" units="fmol"/>
        <variable name="q_a_Gs_GTP_global" public_interface="in" units="fmol"/>
        <variable name="q_beta_gamma_Gs_global" public_interface="in" units="fmol"/>
        <variable name="q_a_Gs_GDP_global" public_interface="in" units="fmol"/>
        <variable name="q_Pi_global" public_interface="in" units="fmol"/>
        <variable name="q_R_B1_aby_global" public_interface="in" units="fmol"/>
        <variable name="q_R_B1_aby_T_global" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1_aby_global" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1_aby_T_global" public_interface="in" units="fmol"/>
        <variable name="q_GTP_global" public_interface="in" units="fmol"/>
        <variable name="q_GDP_global" public_interface="in" units="fmol"/>
        <!-- Output to global environment-->
        <variable initial_value="1e-16" name="q_R_B1" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_Gs" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_R_B1Gs" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_LR_B1" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_LR_B1Gs" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_a_Gs_GTP" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_beta_gamma_Gs" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_a_Gs_GDP" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_Pi" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_R_B1_aby" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_R_B1_aby_T" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_LR_B1_aby" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_LR_B1_aby_T" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_GTP" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_GDP" public_interface="out" units="fmol"/>
        <!-- Bond variables-->
        <variable name="vDoff1_Gs" units="fmol_per_sec"/>
        <variable name="vTon1_Gs" units="fmol_per_sec"/>
        <variable name="vAct1_Gs" units="fmol_per_sec"/>
        <variable name="vDoff2_Gs" units="fmol_per_sec"/>
        <variable name="vTon2_Gs" units="fmol_per_sec"/>
        <variable name="vAct2_Gs" units="fmol_per_sec"/>
        <variable name="vhyd_Gs" units="fmol_per_sec"/>
        <variable name="vreassoc_Gs" units="fmol_per_sec"/>
        <variable name="mu_R_B1" units="J_per_mol"/>
        <variable name="mu_Gs" units="J_per_mol"/>
        <variable name="mu_R_B1Gs" units="J_per_mol"/>
        <variable name="mu_LR_B1" units="J_per_mol"/>
        <variable name="mu_LR_B1Gs" units="J_per_mol"/>
        <variable name="mu_a_Gs_GTP" units="J_per_mol"/>
        <variable name="mu_beta_gamma_Gs" units="J_per_mol"/>
        <variable name="mu_a_Gs_GDP" units="J_per_mol"/>
        <variable name="mu_Pi" units="J_per_mol"/>
        <variable name="mu_R_B1_aby" units="J_per_mol"/>
        <variable name="mu_R_B1_aby_T" units="J_per_mol"/>
        <variable name="mu_LR_B1_aby" units="J_per_mol"/>
        <variable name="mu_LR_B1_aby_T" units="J_per_mol"/>
        <variable name="mu_GTP" units="J_per_mol"/>
        <variable name="mu_GDP" units="J_per_mol"/>
        <!-- Constitutive equations-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>mu_R_B1</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_R_B1</ci>
                            <ci>q_R_B1_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_Gs</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Gs</ci>
                            <ci>q_Gs_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_R_B1Gs</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_R_B1Gs</ci>
                            <ci>q_R_B1Gs_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_LR_B1</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_LR_B1</ci>
                            <ci>q_LR_B1_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_LR_B1Gs</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_LR_B1Gs</ci>
                            <ci>q_LR_B1Gs_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_a_Gs_GTP</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_a_Gs_GTP</ci>
                            <ci>q_a_Gs_GTP_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_beta_gamma_Gs</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_beta_gamma_Gs</ci>
                            <ci>q_beta_gamma_Gs_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_a_Gs_GDP</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_a_Gs_GDP</ci>
                            <ci>q_a_Gs_GDP_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_Pi</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_Pi</ci>
                            <ci>q_Pi_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_R_B1_aby</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_R_B1_aby</ci>
                            <ci>q_R_B1_aby_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_R_B1_aby_T</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_R_B1_aby_T</ci>
                            <ci>q_R_B1_aby_T_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_LR_B1_aby</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_LR_B1_aby</ci>
                            <ci>q_LR_B1_aby_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_LR_B1_aby_T</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_LR_B1_aby_T</ci>
                            <ci>q_LR_B1_aby_T_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_GTP</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_GTP</ci>
                            <ci>q_GTP_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_GDP</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_GDP</ci>
                            <ci>q_GDP_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vDoff1_Gs</ci>
                <apply>
                    <times/>
                    <ci>kappa_Doff1_Gs</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_R_B1Gs</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_R_B1_aby</ci>
                                    <ci>mu_GDP</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vTon1_Gs</ci>
                <apply>
                    <times/>
                    <ci>kappa_Ton1_Gs</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_R_B1_aby</ci>
                                    <ci>mu_GTP</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_R_B1_aby_T</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vAct1_Gs</ci>
                <apply>
                    <times/>
                    <ci>kappa_Act1_Gs</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_R_B1_aby_T</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_a_Gs_GTP</ci>
                                    <ci>mu_beta_gamma_Gs</ci>
                                    <ci>mu_R_B1</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vDoff2_Gs</ci>
                <apply>
                    <times/>
                    <ci>kappa_Doff2_Gs</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_LR_B1Gs</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_LR_B1_aby</ci>
                                    <ci>mu_GDP</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vTon2_Gs</ci>
                <apply>
                    <times/>
                    <ci>kappa_Ton2_Gs</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_LR_B1_aby</ci>
                                    <ci>mu_GTP</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_LR_B1_aby_T</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vAct2_Gs</ci>
                <apply>
                    <times/>
                    <ci>kappa_Act2_Gs</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_LR_B1_aby_T</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_a_Gs_GTP</ci>
                                    <ci>mu_beta_gamma_Gs</ci>
                                    <ci>mu_LR_B1</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vhyd_Gs</ci>
                <apply>
                    <times/>
                    <ci>kappa_hyd_Gs</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_a_Gs_GTP</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_a_Gs_GDP</ci>
                                    <ci>mu_Pi</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vreassoc_Gs</ci>
                <apply>
                    <times/>
                    <ci>kappa_reassoc_Gs</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_a_Gs_GDP</ci>
                                    <ci>mu_beta_gamma_Gs</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_Gs</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_R_B1</ci>
                </apply>
                <ci>vAct1_Gs</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_R_B1Gs</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vDoff1_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_Gs</ci>
                </apply>
                <ci>vreassoc_Gs</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LR_B1</ci>
                </apply>
                <ci>vAct2_Gs</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LR_B1Gs</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vDoff2_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_a_Gs_GTP</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <ci>vAct1_Gs</ci>
                        <ci>vAct2_Gs</ci>
                    </apply>
                    <ci>vhyd_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_beta_gamma_Gs</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <ci>vAct1_Gs</ci>
                        <ci>vAct2_Gs</ci>
                    </apply>
                    <ci>vreassoc_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_a_Gs_GDP</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vhyd_Gs</ci>
                    <ci>vreassoc_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_Pi</ci>
                </apply>
                <ci>vhyd_Gs</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_R_B1_aby</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vDoff1_Gs</ci>
                    <ci>vTon1_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_R_B1_aby_T</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vTon1_Gs</ci>
                    <ci>vAct1_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LR_B1_aby</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vDoff2_Gs</ci>
                    <ci>vTon2_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LR_B1_aby_T</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vTon2_Gs</ci>
                    <ci>vAct2_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_GTP</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <ci>vTon1_Gs</ci>
                    </apply>
                    <ci>vTon2_Gs</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_GDP</ci>
                </apply>
                <apply>
                    <plus/>
                    <ci>vDoff1_Gs</ci>
                    <ci>vDoff2_Gs</ci>
                </apply>
            </apply>
        </math>
        <!-- mass conservation checks -->
        <variable name="R_T" public_interface="out" units="fmol"/>
        <variable name="Gs_T" public_interface="out" units="fmol"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>R_T</ci>
                <apply>
                    <plus/>
                    <ci>q_R_B1_global</ci>
                    <ci>q_R_B1Gs_global</ci>
                    <ci>q_LR_B1_global</ci>
                    <ci>q_LR_B1Gs_global</ci>
                    <ci>q_R_B1_aby_global</ci>
                    <ci>q_R_B1_aby_T_global</ci>
                    <ci>q_LR_B1_aby_global</ci>
                    <ci>q_LR_B1_aby_T_global</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Gs_T</ci>
                <apply>
                    <plus/>
                    <ci>q_Gs_global</ci>
                    <ci>q_R_B1Gs_global</ci>
                    <ci>q_LR_B1Gs_global</ci>
                    <ci>q_a_Gs_GTP_global</ci>
                    <ci>q_a_Gs_GDP_global</ci>
                    <ci>q_R_B1_aby_global</ci>
                    <ci>q_R_B1_aby_T_global</ci>
                    <ci>q_LR_B1_aby_global</ci>
                    <ci>q_LR_B1_aby_T_global</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_R_B1_mGsProtein" variable_2="q_R_B1"/>
        <map_variables variable_1="q_R_B1" variable_2="q_R_B1_global"/>
        <map_variables variable_1="q_Gs_mGsProtein" variable_2="q_Gs"/>
        <map_variables variable_1="q_Gs" variable_2="q_Gs_global"/>
        <map_variables variable_1="q_R_B1Gs_mGsProtein" variable_2="q_R_B1Gs"/>
        <map_variables variable_1="q_R_B1Gs" variable_2="q_R_B1Gs_global"/>
        <map_variables variable_1="q_LR_B1_mGsProtein" variable_2="q_LR_B1"/>
        <map_variables variable_1="q_LR_B1" variable_2="q_LR_B1_global"/>
        <map_variables variable_1="q_LR_B1Gs_mGsProtein" variable_2="q_LR_B1Gs"/>
        <map_variables variable_1="q_LR_B1Gs" variable_2="q_LR_B1Gs_global"/>
        <map_variables variable_1="q_a_Gs_GTP_mGsProtein" variable_2="q_a_Gs_GTP"/>
        <map_variables variable_1="q_a_Gs_GTP" variable_2="q_a_Gs_GTP_global"/>
        <map_variables variable_1="q_beta_gamma_Gs_mGsProtein" variable_2="q_beta_gamma_Gs"/>
        <map_variables variable_1="q_beta_gamma_Gs" variable_2="q_beta_gamma_Gs_global"/>
        <map_variables variable_1="q_a_Gs_GDP_mGsProtein" variable_2="q_a_Gs_GDP"/>
        <map_variables variable_1="q_a_Gs_GDP" variable_2="q_a_Gs_GDP_global"/>
        <map_variables variable_1="q_Pi_mGsProtein" variable_2="q_Pi"/>
        <map_variables variable_1="q_Pi" variable_2="q_Pi_global"/>
        <map_variables variable_1="q_R_B1_aby_mGsProtein" variable_2="q_R_B1_aby"/>
        <map_variables variable_1="q_R_B1_aby" variable_2="q_R_B1_aby_global"/>
        <map_variables variable_1="q_R_B1_aby_T_mGsProtein" variable_2="q_R_B1_aby_T"/>
        <map_variables variable_1="q_R_B1_aby_T" variable_2="q_R_B1_aby_T_global"/>
        <map_variables variable_1="q_LR_B1_aby_mGsProtein" variable_2="q_LR_B1_aby"/>
        <map_variables variable_1="q_LR_B1_aby" variable_2="q_LR_B1_aby_global"/>
        <map_variables variable_1="q_LR_B1_aby_T_mGsProtein" variable_2="q_LR_B1_aby_T"/>
        <map_variables variable_1="q_LR_B1_aby_T" variable_2="q_LR_B1_aby_T_global"/>
        <map_variables variable_1="q_GTP_mGsProtein" variable_2="q_GTP"/>
        <map_variables variable_1="q_GTP" variable_2="q_GTP_global"/>
        <map_variables variable_1="q_GDP_mGsProtein" variable_2="q_GDP"/>
        <map_variables variable_1="q_GDP" variable_2="q_GDP_global"/>
        <map_variables variable_1="R_T" variable_2="R_T"/>
        <map_variables variable_1="Gs_T" variable_2="Gs_T"/>
    </connection>
    <connection>
        <map_components component_1="GsProtein_parameters" component_2="GsProtein"/>
        <map_variables variable_1="kappa_Doff1_Gs" variable_2="kappa_Doff1_Gs"/>
        <map_variables variable_1="kappa_Ton1_Gs" variable_2="kappa_Ton1_Gs"/>
        <map_variables variable_1="kappa_Act1_Gs" variable_2="kappa_Act1_Gs"/>
        <map_variables variable_1="kappa_Doff2_Gs" variable_2="kappa_Doff2_Gs"/>
        <map_variables variable_1="kappa_Ton2_Gs" variable_2="kappa_Ton2_Gs"/>
        <map_variables variable_1="kappa_Act2_Gs" variable_2="kappa_Act2_Gs"/>
        <map_variables variable_1="kappa_hyd_Gs" variable_2="kappa_hyd_Gs"/>
        <map_variables variable_1="kappa_reassoc_Gs" variable_2="kappa_reassoc_Gs"/>
        <map_variables variable_1="K_R_B1" variable_2="K_R_B1"/>
        <map_variables variable_1="K_Gs" variable_2="K_Gs"/>
        <map_variables variable_1="K_R_B1Gs" variable_2="K_R_B1Gs"/>
        <map_variables variable_1="K_LR_B1" variable_2="K_LR_B1"/>
        <map_variables variable_1="K_LR_B1Gs" variable_2="K_LR_B1Gs"/>
        <map_variables variable_1="K_a_Gs_GTP" variable_2="K_a_Gs_GTP"/>
        <map_variables variable_1="K_beta_gamma_Gs" variable_2="K_beta_gamma_Gs"/>
        <map_variables variable_1="K_a_Gs_GDP" variable_2="K_a_Gs_GDP"/>
        <map_variables variable_1="K_Pi" variable_2="K_Pi"/>
        <map_variables variable_1="K_R_B1_aby" variable_2="K_R_B1_aby"/>
        <map_variables variable_1="K_R_B1_aby_T" variable_2="K_R_B1_aby_T"/>
        <map_variables variable_1="K_LR_B1_aby" variable_2="K_LR_B1_aby"/>
        <map_variables variable_1="K_LR_B1_aby_T" variable_2="K_LR_B1_aby_T"/>
        <map_variables variable_1="K_GTP" variable_2="K_GTP"/>
        <map_variables variable_1="K_GDP" variable_2="K_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>