- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2022-07-13 15:26:37+12:00
- Desc:
- Moving channel initial moles to main environment from channel component
- Permanent Source URI:
- https://models.cellml.org/workspace/882/rawfile/e479536490c5930360f79e4e2d44a90ed4a2cf38/BG_AE_pH_regulation.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="individual_AE" 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="mM" units_ref="mM"/>
<units name="fmol" units_ref="fmol"/>
<units name="per_fmol" units_ref="per_fmol"/>
<units name="J_per_mol" units_ref="J_per_mol"/>
<units name="fmol_per_sec" units_ref="fmol_per_sec"/>
<units name="C_per_mol" units_ref="C_per_mol"/>
<units name="fF" units_ref="fF"/>
<units name="fC" units_ref="fC"/>
<units name="per_second" units_ref="per_second"/>
<units name="per_sec" units_ref="per_sec"/>
<units name="J_per_K_per_mol" units_ref="J_per_K_per_mol"/>
<units name="fmol_per_L" units_ref="fmol_per_L"/>
<units name="pL" units_ref="pL"/>
</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 values-->
<variable initial_value="5.902" name="q_HCO3_i" public_interface="out" units="fmol"/>
<variable initial_value="112.2952" name="q_HCO3_o" public_interface="out" units="fmol"/>
<variable initial_value="824.6" name="q_Cl_i" public_interface="out" units="fmol"/>
<variable initial_value="725.48" name="q_Cl_o" public_interface="out" units="fmol"/>
<variable initial_value="2.69019E-06" name="q_H_i" public_interface="out" units="fmol"/>
<variable initial_value="2.06299E-07" name="q_H_o" public_interface="out" units="fmol"/>
<variable name="ni" public_interface="in" units="dimensionless"/>
<variable name="no" public_interface="in" units="dimensionless"/>
<!-- From submodule-->
<variable name="v_R61_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R12_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R23_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R34_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R45_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R56_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R61_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R12_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R23_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R34_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R45_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R56_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R61_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R12_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R23_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R34_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R45_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="v_R56_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_HCO3_i</ci>
</apply>
<apply>
<minus/>
<ci>v_R56_AE</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_HCO3_o</ci>
</apply>
<ci>v_R12_AE</ci>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_Cl_i</ci>
</apply>
<ci>v_R45_AE</ci>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_Cl_o</ci>
</apply>
<apply>
<minus/>
<ci>v_R23_AE</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_H_i</ci>
</apply>
<apply>
<times/>
<apply>
<minus/>
<ci>ni</ci>
</apply>
<apply>
<plus/>
<ci>v_R61_pHi_AE</ci>
<ci>v_R12_pHi_AE</ci>
<ci>v_R23_pHi_AE</ci>
<ci>v_R34_pHi_AE</ci>
<ci>v_R45_pHi_AE</ci>
<ci>v_R56_pHi_AE</ci>
</apply>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_H_o</ci>
</apply>
<apply>
<times/>
<ci>no</ci>
<apply>
<plus/>
<ci>v_R61_pHo_AE</ci>
<ci>v_R12_pHo_AE</ci>
<ci>v_R23_pHo_AE</ci>
<ci>v_R34_pHo_AE</ci>
<ci>v_R45_pHo_AE</ci>
<ci>v_R56_pHo_AE</ci>
</apply>
</apply>
</apply>
</math>
</component>
<component name="AE_parameters">
<variable initial_value="107382" name="kappa_R61_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="3.41881e+11" name="kappa_R12_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="3.03168e+12" name="kappa_R23_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="109685" name="kappa_R34_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="3.01505e+12" name="kappa_R45_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="3.40219e+11" name="kappa_R56_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="9.40641e-31" name="kappa_R61_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="9.43009e-31" name="kappa_R12_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="9.43157e-31" name="kappa_R23_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="9.40641e-31" name="kappa_R34_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="9.38132e-31" name="kappa_R45_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="9.38279e-31" name="kappa_R56_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="7.18016e+17" name="kappa_R61_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="7.19824e+17" name="kappa_R12_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="7.19936e+17" name="kappa_R23_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="7.18016e+17" name="kappa_R34_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="7.16101e+17" name="kappa_R45_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="7.16212e+17" name="kappa_R56_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="2.37042e-05" name="K_HCO3_i" public_interface="out" units="per_fmol"/>
<variable initial_value="0.000173879" name="K_HCO3_o" public_interface="out" units="per_fmol"/>
<variable initial_value="2.67479e-06" name="K_Cl_i" public_interface="out" units="per_fmol"/>
<variable initial_value="1.96083e-05" name="K_Cl_o" public_interface="out" units="per_fmol"/>
<variable initial_value="8.54406e-05" name="K_S1_AE" public_interface="out" units="per_fmol"/>
<variable initial_value="8.54272e-05" name="K_S2_AE" public_interface="out" units="per_fmol"/>
<variable initial_value="8.54139e-05" name="K_S3_AE" public_interface="out" units="per_fmol"/>
<variable initial_value="8.58848e-05" name="K_S4_AE" public_interface="out" units="per_fmol"/>
<variable initial_value="8.58714e-05" name="K_S5_AE" public_interface="out" units="per_fmol"/>
<variable initial_value="8.5858e-05" name="K_S6_AE" public_interface="out" units="per_fmol"/>
<variable initial_value="906184" name="K_H_i" public_interface="out" units="per_fmol"/>
<variable initial_value="618732" name="K_H_o" public_interface="out" units="per_fmol"/>
</component>
<component name="AE">
<variable name="time" public_interface="in" units="second"/>
<variable name="R" public_interface="in" units="J_per_K_per_mol"/>
<variable name="T" public_interface="in" units="kelvin"/>
<!-- parameters-->
<variable name="kappa_R61_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R12_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R23_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R34_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R45_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R56_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R61_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R12_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R23_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R34_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R45_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R56_pHi_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R61_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R12_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R23_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R34_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R45_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_R56_pHo_AE" public_interface="in" units="fmol_per_sec"/>
<variable name="K_HCO3_i" public_interface="in" units="per_fmol"/>
<variable name="K_HCO3_o" public_interface="in" units="per_fmol"/>
<variable name="K_Cl_i" public_interface="in" units="per_fmol"/>
<variable name="K_Cl_o" public_interface="in" units="per_fmol"/>
<variable name="K_S1_AE" public_interface="in" units="per_fmol"/>
<variable name="K_S2_AE" public_interface="in" units="per_fmol"/>
<variable name="K_S3_AE" public_interface="in" units="per_fmol"/>
<variable name="K_S4_AE" public_interface="in" units="per_fmol"/>
<variable name="K_S5_AE" public_interface="in" units="per_fmol"/>
<variable name="K_S6_AE" public_interface="in" units="per_fmol"/>
<variable name="K_H_i" public_interface="in" units="per_fmol"/>
<variable name="K_H_o" public_interface="in" units="per_fmol"/>
<variable initial_value="5.11" name="ni" public_interface="out" units="dimensionless"/>
<variable initial_value="1.44" name="no" public_interface="out" units="dimensionless"/>
<!-- Input from global environment-->
<variable name="q_HCO3_i" public_interface="in" units="fmol"/>
<variable name="q_HCO3_o" public_interface="in" units="fmol"/>
<variable name="q_Cl_i" public_interface="in" units="fmol"/>
<variable name="q_Cl_o" public_interface="in" units="fmol"/>
<variable name="q_H_i" public_interface="in" units="fmol"/>
<variable name="q_H_o" public_interface="in" units="fmol"/>
<variable initial_value="1.666e-7" name="q_S1_AE" units="fmol"/>
<variable initial_value="1.666e-7" name="q_S2_AE" units="fmol"/>
<variable initial_value="1.666e-7" name="q_S3_AE" units="fmol"/>
<variable initial_value="1.666e-7" name="q_S4_AE" units="fmol"/>
<variable initial_value="1.666e-7" name="q_S5_AE" units="fmol"/>
<variable initial_value="1.666e-7" name="q_S6_AE" units="fmol"/>
<!-- Constitutive parameters-->
<variable name="mu_HCO3_i" units="J_per_mol"/>
<variable name="mu_HCO3_o" units="J_per_mol"/>
<variable name="mu_Cl_i" units="J_per_mol"/>
<variable name="mu_Cl_o" units="J_per_mol"/>
<variable name="mu_S1_AE" units="J_per_mol"/>
<variable name="mu_S2_AE" units="J_per_mol"/>
<variable name="mu_S3_AE" units="J_per_mol"/>
<variable name="mu_S4_AE" units="J_per_mol"/>
<variable name="mu_S5_AE" units="J_per_mol"/>
<variable name="mu_S6_AE" units="J_per_mol"/>
<variable name="mu_H_i" units="J_per_mol"/>
<variable name="mu_H_o" units="J_per_mol"/>
<variable name="v_R61_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R12_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R23_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R34_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R45_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R56_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R61_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R12_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R23_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R34_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R45_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R56_pHi_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R61_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R12_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R23_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R34_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R45_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<variable name="v_R56_pHo_AE" public_interface="out" units="fmol_per_sec"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>mu_HCO3_i</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_HCO3_i</ci>
<ci>q_HCO3_i</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_HCO3_o</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_HCO3_o</ci>
<ci>q_HCO3_o</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_Cl_i</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_Cl_i</ci>
<ci>q_Cl_i</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_Cl_o</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_Cl_o</ci>
<ci>q_Cl_o</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_S1_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_S1_AE</ci>
<ci>q_S1_AE</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_S2_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_S2_AE</ci>
<ci>q_S2_AE</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_S3_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_S3_AE</ci>
<ci>q_S3_AE</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_S4_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_S4_AE</ci>
<ci>q_S4_AE</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_S5_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_S5_AE</ci>
<ci>q_S5_AE</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_S6_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_S6_AE</ci>
<ci>q_S6_AE</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_H_i</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_H_i</ci>
<ci>q_H_i</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_H_o</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_H_o</ci>
<ci>q_H_o</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R61_AE</ci>
<apply>
<times/>
<ci>kappa_R61_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S6_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S1_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R12_AE</ci>
<apply>
<times/>
<ci>kappa_R12_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S1_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S2_AE</ci>
<ci>mu_HCO3_o</ci>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R23_AE</ci>
<apply>
<times/>
<ci>kappa_R23_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S2_AE</ci>
<ci>mu_Cl_o</ci>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S3_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R34_AE</ci>
<apply>
<times/>
<ci>kappa_R34_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S3_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S4_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R45_AE</ci>
<apply>
<times/>
<ci>kappa_R45_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S4_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S5_AE</ci>
<ci>mu_Cl_i</ci>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R56_AE</ci>
<apply>
<times/>
<ci>kappa_R56_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S5_AE</ci>
<ci>mu_HCO3_i</ci>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S6_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R61_pHi_AE</ci>
<apply>
<times/>
<ci>kappa_R61_pHi_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S6_AE</ci>
<apply>
<times/>
<ci>ni</ci>
<ci>mu_H_i</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S1_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R12_pHi_AE</ci>
<apply>
<times/>
<ci>kappa_R12_pHi_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S1_AE</ci>
<apply>
<times/>
<ci>ni</ci>
<ci>mu_H_i</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S2_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R23_pHi_AE</ci>
<apply>
<times/>
<ci>kappa_R23_pHi_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S2_AE</ci>
<apply>
<times/>
<ci>ni</ci>
<ci>mu_H_i</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S3_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R34_pHi_AE</ci>
<apply>
<times/>
<ci>kappa_R34_pHi_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S3_AE</ci>
<apply>
<times/>
<ci>ni</ci>
<ci>mu_H_i</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S4_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R45_pHi_AE</ci>
<apply>
<times/>
<ci>kappa_R45_pHi_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S4_AE</ci>
<apply>
<times/>
<ci>ni</ci>
<ci>mu_H_i</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S5_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R56_pHi_AE</ci>
<apply>
<times/>
<ci>kappa_R56_pHi_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_S5_AE</ci>
<apply>
<times/>
<ci>ni</ci>
<ci>mu_H_i</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S6_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R61_pHo_AE</ci>
<apply>
<times/>
<ci>kappa_R61_pHo_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<minus/>
<ci>mu_S6_AE</ci>
<apply>
<times/>
<ci>no</ci>
<ci>mu_H_o</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S1_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R12_pHo_AE</ci>
<apply>
<times/>
<ci>kappa_R12_pHo_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<minus/>
<ci>mu_S1_AE</ci>
<apply>
<times/>
<ci>no</ci>
<ci>mu_H_o</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S2_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R23_pHo_AE</ci>
<apply>
<times/>
<ci>kappa_R23_pHo_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<minus/>
<ci>mu_S2_AE</ci>
<apply>
<times/>
<ci>no</ci>
<ci>mu_H_o</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S3_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R34_pHo_AE</ci>
<apply>
<times/>
<ci>kappa_R34_pHo_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<minus/>
<ci>mu_S3_AE</ci>
<apply>
<times/>
<ci>no</ci>
<ci>mu_H_o</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S4_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R45_pHo_AE</ci>
<apply>
<times/>
<ci>kappa_R45_pHo_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<minus/>
<ci>mu_S4_AE</ci>
<apply>
<times/>
<ci>no</ci>
<ci>mu_H_o</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S5_AE</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_R56_pHo_AE</ci>
<apply>
<times/>
<ci>kappa_R56_pHo_AE</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<minus/>
<ci>mu_S5_AE</ci>
<apply>
<times/>
<ci>no</ci>
<ci>mu_H_o</ci>
</apply>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_S6_AE</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_S1_AE</ci>
</apply>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<ci>v_R61_AE</ci>
<ci>v_R12_AE</ci>
</apply>
<ci>v_R61_pHi_AE</ci>
</apply>
<ci>v_R12_pHi_AE</ci>
</apply>
<ci>v_R61_pHo_AE</ci>
</apply>
<ci>v_R12_pHo_AE</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_S2_AE</ci>
</apply>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<ci>v_R12_AE</ci>
<ci>v_R23_AE</ci>
</apply>
<ci>v_R12_pHi_AE</ci>
</apply>
<ci>v_R23_pHi_AE</ci>
</apply>
<ci>v_R12_pHo_AE</ci>
</apply>
<ci>v_R23_pHo_AE</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_S3_AE</ci>
</apply>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<ci>v_R23_AE</ci>
<ci>v_R34_AE</ci>
</apply>
<ci>v_R23_pHi_AE</ci>
</apply>
<ci>v_R34_pHi_AE</ci>
</apply>
<ci>v_R23_pHo_AE</ci>
</apply>
<ci>v_R34_pHo_AE</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_S4_AE</ci>
</apply>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<ci>v_R34_AE</ci>
<ci>v_R45_AE</ci>
</apply>
<ci>v_R34_pHi_AE</ci>
</apply>
<ci>v_R45_pHi_AE</ci>
</apply>
<ci>v_R34_pHo_AE</ci>
</apply>
<ci>v_R45_pHo_AE</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_S5_AE</ci>
</apply>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<ci>v_R45_AE</ci>
<ci>v_R56_AE</ci>
</apply>
<ci>v_R45_pHi_AE</ci>
</apply>
<ci>v_R56_pHi_AE</ci>
</apply>
<ci>v_R45_pHo_AE</ci>
</apply>
<ci>v_R56_pHo_AE</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_S6_AE</ci>
</apply>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<apply>
<plus/>
<apply>
<minus/>
<ci>v_R56_AE</ci>
<ci>v_R61_AE</ci>
</apply>
<ci>v_R56_pHi_AE</ci>
</apply>
<ci>v_R61_pHi_AE</ci>
</apply>
<ci>v_R56_pHo_AE</ci>
</apply>
<ci>v_R61_pHo_AE</ci>
</apply>
</apply>
</math>
</component>
<connection>
<map_components component_1="environment" component_2="AE"/>
<map_variables variable_1="time" variable_2="time"/>
<map_variables variable_1="q_HCO3_i" variable_2="q_HCO3_i"/>
<map_variables variable_1="q_HCO3_o" variable_2="q_HCO3_o"/>
<map_variables variable_1="q_Cl_i" variable_2="q_Cl_i"/>
<map_variables variable_1="q_Cl_o" variable_2="q_Cl_o"/>
<map_variables variable_1="q_H_i" variable_2="q_H_i"/>
<map_variables variable_1="q_H_o" variable_2="q_H_o"/>
<map_variables variable_1="v_R61_AE" variable_2="v_R61_AE"/>
<map_variables variable_1="v_R12_AE" variable_2="v_R12_AE"/>
<map_variables variable_1="v_R23_AE" variable_2="v_R23_AE"/>
<map_variables variable_1="v_R34_AE" variable_2="v_R34_AE"/>
<map_variables variable_1="v_R45_AE" variable_2="v_R45_AE"/>
<map_variables variable_1="v_R56_AE" variable_2="v_R56_AE"/>
<map_variables variable_1="v_R61_pHi_AE" variable_2="v_R61_pHi_AE"/>
<map_variables variable_1="v_R12_pHi_AE" variable_2="v_R12_pHi_AE"/>
<map_variables variable_1="v_R23_pHi_AE" variable_2="v_R23_pHi_AE"/>
<map_variables variable_1="v_R34_pHi_AE" variable_2="v_R34_pHi_AE"/>
<map_variables variable_1="v_R45_pHi_AE" variable_2="v_R45_pHi_AE"/>
<map_variables variable_1="v_R56_pHi_AE" variable_2="v_R56_pHi_AE"/>
<map_variables variable_1="v_R61_pHo_AE" variable_2="v_R61_pHo_AE"/>
<map_variables variable_1="v_R12_pHo_AE" variable_2="v_R12_pHo_AE"/>
<map_variables variable_1="v_R23_pHo_AE" variable_2="v_R23_pHo_AE"/>
<map_variables variable_1="v_R34_pHo_AE" variable_2="v_R34_pHo_AE"/>
<map_variables variable_1="v_R45_pHo_AE" variable_2="v_R45_pHo_AE"/>
<map_variables variable_1="v_R56_pHo_AE" variable_2="v_R56_pHo_AE"/>
<map_variables variable_1="ni" variable_2="ni"/>
<map_variables variable_1="no" variable_2="no"/>
</connection>
<connection>
<map_components component_1="AE" component_2="AE_parameters"/>
<map_variables variable_1="kappa_R61_AE" variable_2="kappa_R61_AE"/>
<map_variables variable_1="kappa_R12_AE" variable_2="kappa_R12_AE"/>
<map_variables variable_1="kappa_R23_AE" variable_2="kappa_R23_AE"/>
<map_variables variable_1="kappa_R34_AE" variable_2="kappa_R34_AE"/>
<map_variables variable_1="kappa_R45_AE" variable_2="kappa_R45_AE"/>
<map_variables variable_1="kappa_R56_AE" variable_2="kappa_R56_AE"/>
<map_variables variable_1="kappa_R61_pHi_AE" variable_2="kappa_R61_pHi_AE"/>
<map_variables variable_1="kappa_R12_pHi_AE" variable_2="kappa_R12_pHi_AE"/>
<map_variables variable_1="kappa_R23_pHi_AE" variable_2="kappa_R23_pHi_AE"/>
<map_variables variable_1="kappa_R34_pHi_AE" variable_2="kappa_R34_pHi_AE"/>
<map_variables variable_1="kappa_R45_pHi_AE" variable_2="kappa_R45_pHi_AE"/>
<map_variables variable_1="kappa_R56_pHi_AE" variable_2="kappa_R56_pHi_AE"/>
<map_variables variable_1="kappa_R61_pHo_AE" variable_2="kappa_R61_pHo_AE"/>
<map_variables variable_1="kappa_R12_pHo_AE" variable_2="kappa_R12_pHo_AE"/>
<map_variables variable_1="kappa_R23_pHo_AE" variable_2="kappa_R23_pHo_AE"/>
<map_variables variable_1="kappa_R34_pHo_AE" variable_2="kappa_R34_pHo_AE"/>
<map_variables variable_1="kappa_R45_pHo_AE" variable_2="kappa_R45_pHo_AE"/>
<map_variables variable_1="kappa_R56_pHo_AE" variable_2="kappa_R56_pHo_AE"/>
<map_variables variable_1="K_HCO3_i" variable_2="K_HCO3_i"/>
<map_variables variable_1="K_HCO3_o" variable_2="K_HCO3_o"/>
<map_variables variable_1="K_Cl_i" variable_2="K_Cl_i"/>
<map_variables variable_1="K_Cl_o" variable_2="K_Cl_o"/>
<map_variables variable_1="K_S1_AE" variable_2="K_S1_AE"/>
<map_variables variable_1="K_S2_AE" variable_2="K_S2_AE"/>
<map_variables variable_1="K_S3_AE" variable_2="K_S3_AE"/>
<map_variables variable_1="K_S4_AE" variable_2="K_S4_AE"/>
<map_variables variable_1="K_S5_AE" variable_2="K_S5_AE"/>
<map_variables variable_1="K_S6_AE" variable_2="K_S6_AE"/>
<map_variables variable_1="K_H_i" variable_2="K_H_i"/>
<map_variables variable_1="K_H_o" variable_2="K_H_o"/>
</connection>
<connection>
<map_components component_1="constants" component_2="AE"/>
<map_variables variable_1="R" variable_2="R"/>
<map_variables variable_1="T" variable_2="T"/>
</connection>
</model>