Location: BG_B1AR @ dcd09e817a01 / BG_B1AR.cellml

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2021-09-17 11:31:18+12:00
Desc:
Using common PMR repo for units_and_constants
Permanent Source URI:
https://models.cellml.org/workspace/6ba/rawfile/dcd09e817a01dfe8d711c7e7889c5b45b2fc64d6/BG_B1AR.cellml

<?xml version='1.0' encoding='UTF-8'?>
<!-- BG model of beta1 adrenergic receptor activation, based on saucerman2003
 1jul21 initialising file 
 19 Jul beta1AR only: no Gactivation (see GsProtein)
 1sept sig module is now an import - sharing vsig1-4 variables-->
<model name="BG_beta1AR" 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
 8jul21 original kinetic concs + equal division of enzyme states-->
        <variable initial_value="0" name="q_LR_B1_init" units="fmol"/>
        <variable initial_value="0.0000508778" name="q_LR_B1Gs_init" units="fmol"/>
        <variable initial_value="0" name="q_B1d_init" units="fmol"/>
        <variable initial_value="0.0228" name="q_BARK_init" units="fmol"/>
        <variable initial_value="0.0000508778" name="q_LR_B1_BARK_init" units="fmol"/>
        <variable initial_value="0.0000508778" name="q_LR_B1Gs_BARK_init" units="fmol"/>
        <variable initial_value="0" name="q_B1p_init" units="fmol"/>
        <variable initial_value="0.0000508778" name="q_B1tot_init" units="fmol"/>
        <variable initial_value="0.000221209" name="q_PKACI_init" units="fmol"/>
        <variable initial_value="0.008778" name="q_PKACI_B1p_init" units="fmol"/>
        <!-- Global value-->
        <variable name="q_LR_B1" public_interface="out" units="fmol"/>
        <variable name="q_LR_B1Gs" public_interface="out" units="fmol"/>
        <variable name="q_B1d" public_interface="out" units="fmol"/>
        <variable name="q_BARK" public_interface="out" units="fmol"/>
        <variable name="q_LR_B1_BARK" public_interface="out" units="fmol"/>
        <variable name="q_LR_B1Gs_BARK" public_interface="out" units="fmol"/>
        <variable name="q_B1p" public_interface="out" units="fmol"/>
        <variable name="q_B1tot" public_interface="out" units="fmol"/>
        <variable name="q_PKACI" public_interface="out" units="fmol"/>
        <variable name="q_PKACI_B1p" public_interface="out" units="fmol"/>
        <!-- From submodule-->
        <variable name="q_LR_B1_mB1AR" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1Gs_mB1AR" public_interface="in" units="fmol"/>
        <variable name="q_B1d_mB1AR" public_interface="in" units="fmol"/>
        <variable name="q_BARK_mB1AR" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1_BARK_mB1AR" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1Gs_BARK_mB1AR" public_interface="in" units="fmol"/>
        <variable name="q_B1p_mB1AR" public_interface="in" units="fmol"/>
        <variable name="q_B1tot_mB1AR" public_interface="in" units="fmol"/>
        <variable name="q_PKACI_mB1AR" public_interface="in" units="fmol"/>
        <variable name="q_PKACI_B1p_mB1AR" public_interface="in" units="fmol"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>q_LR_B1</ci>
                <apply>
                    <plus/>
                    <ci>q_LR_B1_mB1AR</ci>
                    <ci>q_LR_B1_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_LR_B1Gs</ci>
                <apply>
                    <plus/>
                    <ci>q_LR_B1Gs_mB1AR</ci>
                    <ci>q_LR_B1Gs_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_B1d</ci>
                <apply>
                    <plus/>
                    <ci>q_B1d_mB1AR</ci>
                    <ci>q_B1d_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_BARK</ci>
                <apply>
                    <plus/>
                    <ci>q_BARK_mB1AR</ci>
                    <ci>q_BARK_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_LR_B1_BARK</ci>
                <apply>
                    <plus/>
                    <ci>q_LR_B1_BARK_mB1AR</ci>
                    <ci>q_LR_B1_BARK_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_LR_B1Gs_BARK</ci>
                <apply>
                    <plus/>
                    <ci>q_LR_B1Gs_BARK_mB1AR</ci>
                    <ci>q_LR_B1Gs_BARK_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_B1p</ci>
                <apply>
                    <plus/>
                    <ci>q_B1p_mB1AR</ci>
                    <ci>q_B1p_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_B1tot</ci>
                <apply>
                    <plus/>
                    <ci>q_B1tot_mB1AR</ci>
                    <ci>q_B1tot_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_PKACI</ci>
                <apply>
                    <plus/>
                    <ci>q_PKACI_mB1AR</ci>
                    <ci>q_PKACI_init</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>q_PKACI_B1p</ci>
                <apply>
                    <plus/>
                    <ci>q_PKACI_B1p_mB1AR</ci>
                    <ci>q_PKACI_B1p_init</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="B1AR_parameters">
        <variable initial_value="7.97564e-05" name="kappa_B11" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="36252.9" name="kappa_B12" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="7.97564e-05" name="kappa_B21" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="36252.9" name="kappa_B22" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="0.0240723" name="kappa_P1" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="0.00231579" name="kappa_P2" public_interface="out" units="fmol_per_sec"/>
        <variable initial_value="60.8156" name="K_LR_B1" units="per_fmol"/>
        <variable initial_value="60.8156" name="K_LR_B1Gs" units="per_fmol"/>
        <variable initial_value="7.29788e-11" name="K_B1d" units="per_fmol"/>
        <variable initial_value="0.000319407" name="K_BARK" units="per_fmol"/>
        <variable initial_value="0.80186" name="K_LR_B1_BARK" units="per_fmol"/>
        <variable initial_value="0.80186" name="K_LR_B1Gs_BARK" units="per_fmol"/>
        <variable initial_value="0.0336751" name="K_B1p" units="per_fmol"/>
        <variable initial_value="0.0336751" name="K_B1tot" units="per_fmol"/>
        <variable initial_value="0.0390101" name="K_PKACI" units="per_fmol"/>
        <variable initial_value="1.2076e-06" name="K_PKACI_B1p" units="per_fmol"/>
    </component>
    <component name="B1AR">
        <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"/>
        <!-- Bond graph parameters, found using pinv of kinetic parameters-->
        <variable name="kappa_B11" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_B12" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_B21" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_B22" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_P1" public_interface="in" units="fmol_per_sec"/>
        <variable name="kappa_P2" public_interface="in" units="fmol_per_sec"/>
        <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_B1d" public_interface="in" units="per_fmol"/>
        <variable name="K_BARK" public_interface="in" units="per_fmol"/>
        <variable name="K_LR_B1_BARK" public_interface="in" units="per_fmol"/>
        <variable name="K_LR_B1Gs_BARK" public_interface="in" units="per_fmol"/>
        <variable name="K_B1p" public_interface="in" units="per_fmol"/>
        <variable name="K_B1tot" public_interface="in" units="per_fmol"/>
        <variable name="K_PKACI" public_interface="in" units="per_fmol"/>
        <variable name="K_PKACI_B1p" public_interface="in" units="per_fmol"/>
        <!-- States (and initial conditions)-->
        <!-- Input from global environment-->
        <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_B1d_global" public_interface="in" units="fmol"/>
        <variable name="q_BARK_global" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1_BARK_global" public_interface="in" units="fmol"/>
        <variable name="q_LR_B1Gs_BARK_global" public_interface="in" units="fmol"/>
        <variable name="q_B1p_global" public_interface="in" units="fmol"/>
        <variable name="q_B1tot_global" public_interface="in" units="fmol"/>
        <variable name="q_PKACI_global" public_interface="in" units="fmol"/>
        <variable name="q_PKACI_B1p_global" public_interface="in" units="fmol"/>
        <!-- Output to global environment-->
        <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_B1d" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_BARK" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_LR_B1_BARK" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_LR_B1Gs_BARK" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_B1p" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_B1tot" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_PKACI" public_interface="out" units="fmol"/>
        <variable initial_value="1e-16" name="q_PKACI_B1p" public_interface="out" units="fmol"/>
        <!-- Bond variables-->
        <variable name="vB11" units="fmol_per_sec"/>
        <variable name="vB12" units="fmol_per_sec"/>
        <variable name="vB21" units="fmol_per_sec"/>
        <variable name="vB22" units="fmol_per_sec"/>
        <variable name="vP1" units="fmol_per_sec"/>
        <variable name="vP2" units="fmol_per_sec"/>
        <variable name="mu_LR_B1" units="J_per_mol"/>
        <variable name="mu_LR_B1Gs" units="J_per_mol"/>
        <variable name="mu_B1d" units="J_per_mol"/>
        <variable name="mu_BARK" units="J_per_mol"/>
        <variable name="mu_LR_B1_BARK" units="J_per_mol"/>
        <variable name="mu_LR_B1Gs_BARK" units="J_per_mol"/>
        <variable name="mu_B1p" units="J_per_mol"/>
        <variable name="mu_B1tot" units="J_per_mol"/>
        <variable name="mu_PKACI" units="J_per_mol"/>
        <variable name="mu_PKACI_B1p" units="J_per_mol"/>
        <!-- Constitutive equations-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <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_B1d</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_B1d</ci>
                            <ci>q_B1d_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_BARK</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_BARK</ci>
                            <ci>q_BARK_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_LR_B1_BARK</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_LR_B1_BARK</ci>
                            <ci>q_LR_B1_BARK_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_LR_B1Gs_BARK</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_LR_B1Gs_BARK</ci>
                            <ci>q_LR_B1Gs_BARK_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_B1p</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_B1p</ci>
                            <ci>q_B1p_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_B1tot</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_B1tot</ci>
                            <ci>q_B1tot_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_PKACI</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_PKACI</ci>
                            <ci>q_PKACI_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>mu_PKACI_B1p</ci>
                <apply>
                    <times/>
                    <ci>R</ci>
                    <ci>T</ci>
                    <apply>
                        <ln/>
                        <apply>
                            <times/>
                            <ci>K_PKACI_B1p</ci>
                            <ci>q_PKACI_B1p_global</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vB11</ci>
                <apply>
                    <times/>
                    <ci>kappa_B11</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_LR_B1</ci>
                                    <ci>mu_BARK</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_LR_B1_BARK</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vB12</ci>
                <apply>
                    <times/>
                    <ci>kappa_B12</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_LR_B1_BARK</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_BARK</ci>
                                    <ci>mu_B1d</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vB21</ci>
                <apply>
                    <times/>
                    <ci>kappa_B21</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_LR_B1Gs</ci>
                                    <ci>mu_BARK</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_LR_B1Gs_BARK</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vB22</ci>
                <apply>
                    <times/>
                    <ci>kappa_B22</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_LR_B1Gs_BARK</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_BARK</ci>
                                    <ci>mu_B1d</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vP1</ci>
                <apply>
                    <times/>
                    <ci>kappa_P1</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_B1p</ci>
                                    <ci>mu_PKACI</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_PKACI_B1p</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>vP2</ci>
                <apply>
                    <times/>
                    <ci>kappa_P2</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <ci>mu_PKACI_B1p</ci>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>mu_PKACI</ci>
                                    <ci>mu_B1tot</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--  BG model-->
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LR_B1</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vB11</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_B1d</ci>
                </apply>
                <apply>
                    <plus/>
                    <ci>vB12</ci>
                    <ci>vB22</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_BARK</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <ci>vB12</ci>
                            <ci>vB22</ci>
                        </apply>
                        <ci>vB11</ci>
                    </apply>
                    <ci>vB21</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LR_B1_BARK</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vB11</ci>
                    <ci>vB12</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LR_B1Gs</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vB21</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_LR_B1Gs_BARK</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vB21</ci>
                    <ci>vB22</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_B1p</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vP1</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_B1tot</ci>
                </apply>
                <ci>vP2</ci>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_PKACI</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vP2</ci>
                    <ci>vP1</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>q_PKACI_B1p</ci>
                </apply>
                <apply>
                    <minus/>
                    <ci>vP1</ci>
                    <ci>vP2</ci>
                </apply>
            </apply>
        </math>
    </component>
    <connection>
        <map_components component_1="environment" component_2="B1AR"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="q_LR_B1_mB1AR" 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_mB1AR" variable_2="q_LR_B1Gs"/>
        <map_variables variable_1="q_LR_B1Gs" variable_2="q_LR_B1Gs_global"/>
        <map_variables variable_1="q_B1d_mB1AR" variable_2="q_B1d"/>
        <map_variables variable_1="q_B1d" variable_2="q_B1d_global"/>
        <map_variables variable_1="q_BARK_mB1AR" variable_2="q_BARK"/>
        <map_variables variable_1="q_BARK" variable_2="q_BARK_global"/>
        <map_variables variable_1="q_LR_B1_BARK_mB1AR" variable_2="q_LR_B1_BARK"/>
        <map_variables variable_1="q_LR_B1_BARK" variable_2="q_LR_B1_BARK_global"/>
        <map_variables variable_1="q_LR_B1Gs_BARK_mB1AR" variable_2="q_LR_B1Gs_BARK"/>
        <map_variables variable_1="q_LR_B1Gs_BARK" variable_2="q_LR_B1Gs_BARK_global"/>
        <map_variables variable_1="q_B1p_mB1AR" variable_2="q_B1p"/>
        <map_variables variable_1="q_B1p" variable_2="q_B1p_global"/>
        <map_variables variable_1="q_B1tot_mB1AR" variable_2="q_B1tot"/>
        <map_variables variable_1="q_B1tot" variable_2="q_B1tot_global"/>
        <map_variables variable_1="q_PKACI_mB1AR" variable_2="q_PKACI"/>
        <map_variables variable_1="q_PKACI" variable_2="q_PKACI_global"/>
        <map_variables variable_1="q_PKACI_B1p_mB1AR" variable_2="q_PKACI_B1p"/>
        <map_variables variable_1="q_PKACI_B1p" variable_2="q_PKACI_B1p_global"/>
    </connection>
    <connection>
        <map_components component_1="B1AR_parameters" component_2="B1AR"/>
        <map_variables variable_1="kappa_B11" variable_2="kappa_B11"/>
        <map_variables variable_1="kappa_B12" variable_2="kappa_B12"/>
        <map_variables variable_1="kappa_B21" variable_2="kappa_B21"/>
        <map_variables variable_1="kappa_B22" variable_2="kappa_B22"/>
        <map_variables variable_1="kappa_P1" variable_2="kappa_P1"/>
        <map_variables variable_1="kappa_P2" variable_2="kappa_P2"/>
        <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_B1d" variable_2="K_B1d"/>
        <map_variables variable_1="K_BARK" variable_2="K_BARK"/>
        <map_variables variable_1="K_LR_B1_BARK" variable_2="K_LR_B1_BARK"/>
        <map_variables variable_1="K_LR_B1Gs_BARK" variable_2="K_LR_B1Gs_BARK"/>
        <map_variables variable_1="K_B1p" variable_2="K_B1p"/>
        <map_variables variable_1="K_B1tot" variable_2="K_B1tot"/>
        <map_variables variable_1="K_PKACI" variable_2="K_PKACI"/>
        <map_variables variable_1="K_PKACI_B1p" variable_2="K_PKACI_B1p"/>
    </connection>
    <connection>
        <map_components component_1="constants" component_2="B1AR"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
    </connection>
</model>