<?xml version='1.0' encoding='UTF-8'?>
<model name="individual_RTK" 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="J_per_C" units_ref="J_per_C"/>
<units name="microm3" units_ref="microm3"/>
<units name="fF" units_ref="fF"/>
<units name="fC" units_ref="fC"/>
<units name="fA" units_ref="fA"/>
<units name="per_second" units_ref="per_second"/>
<units name="millivolt" units_ref="millivolt"/>
<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="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="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 values-->
<variable initial_value="1" name="q_L" public_interface="out" units="fmol"/>
<variable initial_value="1e-3" name="q_K1" public_interface="out" units="fmol"/>
<variable initial_value="1e-3" name="q_K2" public_interface="out" units="fmol"/>
<variable initial_value="1e-6" name="q_LK1" public_interface="out" units="fmol"/>
<variable initial_value="1e-9" name="q_K2P" public_interface="out" units="fmol"/>
<variable initial_value="1" name="q_P" public_interface="out" units="fmol"/>
<variable initial_value="1e-9" name="q_LK1K2" public_interface="out" units="fmol"/>
<!-- From submodule-->
<variable name="v_Re1" public_interface="in" units="fmol_per_sec"/>
<variable name="v_Re2" public_interface="in" units="fmol_per_sec"/>
<variable name="v_Re3" 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_L</ci>
</apply>
<apply>
<minus/>
<ci>v_Re1</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_K1</ci>
</apply>
<apply>
<minus/>
<ci>v_Re1</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_K2</ci>
</apply>
<apply>
<minus/>
<ci>v_Re2</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_LK1</ci>
</apply>
<apply>
<plus/>
<apply>
<minus/>
<ci>v_Re1</ci>
<ci>v_Re2</ci>
</apply>
<ci>v_Re3</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_K2P</ci>
</apply>
<ci>v_Re3</ci>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_P</ci>
</apply>
<apply>
<minus/>
<ci>v_Re3</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>q_LK1K2</ci>
</apply>
<apply>
<minus/>
<ci>v_Re2</ci>
<ci>v_Re3</ci>
</apply>
</apply>
</math>
</component>
<component name="RTK_parameters">
<variable initial_value="0.000186898" name="kappa_Re1" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="0.0125535" name="kappa_Re2" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="132.879" name="kappa_Re3" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="197.162" name="K_L" public_interface="out" units="per_fmol"/>
<variable initial_value="197.162" name="K_K1" public_interface="out" units="per_fmol"/>
<variable initial_value="4.01297e+09" name="K_K2" public_interface="out" units="per_fmol"/>
<variable initial_value="0.00144219" name="K_LK1" public_interface="out" units="per_fmol"/>
<variable initial_value="3.79118e-07" name="K_K2P" public_interface="out" units="per_fmol"/>
<variable initial_value="2.54645e+07" name="K_P" public_interface="out" units="per_fmol"/>
<variable initial_value="2.14714e-05" name="K_LK1K2" public_interface="out" units="per_fmol"/>
</component>
<component name="RTK">
<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_Re1" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_Re2" public_interface="in" units="fmol_per_sec"/>
<variable name="kappa_Re3" public_interface="in" units="fmol_per_sec"/>
<variable name="K_L" public_interface="in" units="per_fmol"/>
<variable name="K_K1" public_interface="in" units="per_fmol"/>
<variable name="K_K2" public_interface="in" units="per_fmol"/>
<variable name="K_LK1" public_interface="in" units="per_fmol"/>
<variable name="K_K2P" public_interface="in" units="per_fmol"/>
<variable name="K_P" public_interface="in" units="per_fmol"/>
<variable name="K_LK1K2" public_interface="in" units="per_fmol"/>
<!-- Input from global environment-->
<variable name="q_L" public_interface="in" units="fmol"/>
<variable name="q_K1" public_interface="in" units="fmol"/>
<variable name="q_K2" public_interface="in" units="fmol"/>
<variable name="q_LK1" public_interface="in" units="fmol"/>
<variable name="q_K2P" public_interface="in" units="fmol"/>
<variable name="q_P" public_interface="in" units="fmol"/>
<variable name="q_LK1K2" public_interface="in" units="fmol"/>
<!-- Constitutive parameters-->
<variable name="mu_L" units="J_per_mol"/>
<variable name="mu_K1" units="J_per_mol"/>
<variable name="mu_K2" units="J_per_mol"/>
<variable name="mu_LK1" units="J_per_mol"/>
<variable name="mu_K2P" units="J_per_mol"/>
<variable name="mu_P" units="J_per_mol"/>
<variable name="mu_LK1K2" units="J_per_mol"/>
<variable name="v_Re1" public_interface="out" units="fmol_per_sec"/>
<variable name="v_Re2" public_interface="out" units="fmol_per_sec"/>
<variable name="v_Re3" public_interface="out" units="fmol_per_sec"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>mu_L</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_L</ci>
<ci>q_L</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_K1</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_K1</ci>
<ci>q_K1</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_K2</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_K2</ci>
<ci>q_K2</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_LK1</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_LK1</ci>
<ci>q_LK1</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_K2P</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_K2P</ci>
<ci>q_K2P</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_P</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_P</ci>
<ci>q_P</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_LK1K2</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_LK1K2</ci>
<ci>q_LK1K2</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_Re1</ci>
<apply>
<times/>
<ci>kappa_Re1</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_L</ci>
<ci>mu_K1</ci>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_LK1</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_Re2</ci>
<apply>
<times/>
<ci>kappa_Re2</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_LK1</ci>
<ci>mu_K2</ci>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_LK1K2</ci>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_Re3</ci>
<apply>
<times/>
<ci>kappa_Re3</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_P</ci>
<ci>mu_LK1K2</ci>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>mu_LK1</ci>
<ci>mu_K2P</ci>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
</math>
</component>
<connection>
<map_components component_1="environment" component_2="RTK"/>
<map_variables variable_1="time" variable_2="time"/>
<map_variables variable_1="q_L" variable_2="q_L"/>
<map_variables variable_1="q_K1" variable_2="q_K1"/>
<map_variables variable_1="q_K2" variable_2="q_K2"/>
<map_variables variable_1="q_LK1" variable_2="q_LK1"/>
<map_variables variable_1="q_K2P" variable_2="q_K2P"/>
<map_variables variable_1="q_P" variable_2="q_P"/>
<map_variables variable_1="q_LK1K2" variable_2="q_LK1K2"/>
<map_variables variable_1="v_Re1" variable_2="v_Re1"/>
<map_variables variable_1="v_Re2" variable_2="v_Re2"/>
<map_variables variable_1="v_Re3" variable_2="v_Re3"/>
</connection>
<connection>
<map_components component_1="RTK" component_2="RTK_parameters"/>
<map_variables variable_1="kappa_Re1" variable_2="kappa_Re1"/>
<map_variables variable_1="kappa_Re2" variable_2="kappa_Re2"/>
<map_variables variable_1="kappa_Re3" variable_2="kappa_Re3"/>
<map_variables variable_1="K_L" variable_2="K_L"/>
<map_variables variable_1="K_K1" variable_2="K_K1"/>
<map_variables variable_1="K_K2" variable_2="K_K2"/>
<map_variables variable_1="K_LK1" variable_2="K_LK1"/>
<map_variables variable_1="K_K2P" variable_2="K_K2P"/>
<map_variables variable_1="K_P" variable_2="K_P"/>
<map_variables variable_1="K_LK1K2" variable_2="K_LK1K2"/>
</connection>
<connection>
<map_components component_1="constants" component_2="RTK"/>
<map_variables variable_1="R" variable_2="R"/>
<map_variables variable_1="T" variable_2="T"/>
</connection>
</model>