- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-02-24 10:10:18+13:00
- Desc:
- Fixing flux with Am
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/82a/rawfile/ea8b1e77f87eae1620da8425933326a6b45439a4/BG_CaB.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="CaB_model" 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="per_mol" units_ref="per_mol"/>
<units name="J_per_mol" units_ref="J_per_mol"/>
<units name="J_per_C" units_ref="J_per_C"/>
<units name="mol_per_s" units_ref="mol_per_s"/>
<units name="C_per_mol" units_ref="C_per_mol"/>
<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="fmol" units_ref="fmol"/>
<units name="fmol_per_sec" units_ref="fmol_per_sec"/>
<units name="per_fmol" units_ref="per_fmol"/>
<units name="pL" units_ref="pL"/>
<units name="mA_per_mM" units_ref="mA_per_mM"/>
</import>
<component name="environment">
<variable name="t" public_interface="out" units="second"/>
<variable initial_value="1e6" name="C_m" public_interface="out" units="fF"/>
<variable initial_value="25.8" name="w_i" public_interface="out" units="pL"/>
<variable initial_value="3.52" name="w_o" public_interface="out" units="pL"/>
<variable initial_value="-8.5e4" name="q_mem" public_interface="out" units="fC"/>
<variable initial_value="2494.34" name="RT" public_interface="out" units="J_per_mol"/>
<variable initial_value="2" name="zCa" public_interface="out" units="dimensionless"/>
<variable initial_value="96500" name="F" public_interface="out" units="C_per_mol"/>
<variable name="v_CaB" public_interface="in" units="fmol_per_sec"/>
<variable initial_value="9.3276" name="q_Cae" public_interface="out" units="fmol"/>
<variable initial_value="0.00456" name="q_Cai" public_interface="out" units="fmol"/>
<variable name="V_mem" public_interface="out" units="J_per_C"/>
<variable name="I_mem" public_interface="in" units="fA"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>q_Cai</ci>
</apply>
<apply>
<minus/>
<ci>v_CaB</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>q_Cae</ci>
</apply>
<ci>v_CaB</ci>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>q_mem</ci>
</apply>
<ci>I_mem</ci>
</apply>
<apply>
<eq/>
<ci>V_mem</ci>
<apply>
<divide/>
<ci>q_mem</ci>
<ci>C_m</ci>
</apply>
</apply>
</math>
</component>
<component name="CaB_parameters">
<variable initial_value="3.93262520981626" name="K_Cai" public_interface="out" units="per_fmol"/>
<variable initial_value="28.8391024993633" name="K_Cae" public_interface="out" units="per_fmol"/>
<variable initial_value="1.029448273845296e+04" name="kappa_CaB" public_interface="out" units="fmol_per_sec"/>
</component>
<component name="CaB">
<variable name="t" public_interface="in" units="second"/>
<variable name="RT" public_interface="in" units="J_per_mol"/>
<variable name="zCa" public_interface="in" units="dimensionless"/>
<variable name="F" public_interface="in" units="C_per_mol"/>
<variable name="K_Cai" public_interface="in" units="per_fmol"/>
<variable name="K_Cae" public_interface="in" units="per_fmol"/>
<variable name="kappa_CaB" public_interface="in" units="fmol_per_sec"/>
<variable name="q_Cai" public_interface="in" units="fmol"/>
<variable name="q_Cae" public_interface="in" units="fmol"/>
<variable name="mu_Cai" units="J_per_mol"/>
<variable name="mu_Cae" units="J_per_mol"/>
<variable name="Am_CaB" units="J_per_mol"/>
<variable name="q_mem" public_interface="in" units="fC"/>
<variable name="v_CaB" public_interface="out" units="fmol_per_sec"/>
<variable name="I_mem" public_interface="out" units="fA"/>
<variable name="V_mem" public_interface="in" units="J_per_C"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>mu_Cai</ci>
<apply>
<times/>
<ci>RT</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_Cai</ci>
<ci>q_Cai</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>mu_Cae</ci>
<apply>
<times/>
<ci>RT</ci>
<apply>
<ln/>
<apply>
<times/>
<ci>K_Cae</ci>
<ci>q_Cae</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>Am_CaB</ci>
<apply>
<times/>
<ci>zCa</ci>
<apply>
<times/>
<ci>F</ci>
<ci>V_mem</ci>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_CaB</ci>
<apply>
<times/>
<ci>kappa_CaB</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_Cai</ci>
<ci>RT</ci>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_Cae</ci>
<ci>RT</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_CaB</ci>
<piecewise>
<piece>
<apply>
<times/>
<ci>kappa_CaB</ci>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_Cai</ci>
<ci>RT</ci>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_Cae</ci>
<ci>RT</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>Am_CaB</ci>
<cn cellml:units="J_per_mol">0</cn>
</apply>
</piece>
<otherwise>
<apply>
<times/>
<apply>
<divide/>
<apply>
<divide/>
<apply>
<times/>
<ci>kappa_CaB</ci>
<ci>Am_CaB</ci>
</apply>
<ci>RT</ci>
</apply>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<ci>Am_CaB</ci>
<ci>RT</ci>
</apply>
</apply>
<cn cellml:units="dimensionless">1</cn>
</apply>
</apply>
<apply>
<minus/>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_Cai</ci>
<ci>RT</ci>
</apply>
</apply>
<apply>
<exp/>
<apply>
<divide/>
<ci>mu_Cae</ci>
<ci>RT</ci>
</apply>
</apply>
</apply>
</apply>
</otherwise>
</piecewise>
</apply>
<apply>
<eq/>
<ci>I_mem</ci>
<apply>
<times/>
<ci>zCa</ci>
<ci>F</ci>
<ci>v_CaB</ci>
</apply>
</apply>
</math>
</component>
<connection>
<map_components component_1="environment" component_2="CaB"/>
<map_variables variable_1="t" variable_2="t"/>
<map_variables variable_1="RT" variable_2="RT"/>
<map_variables variable_1="zCa" variable_2="zCa"/>
<map_variables variable_1="F" variable_2="F"/>
<map_variables variable_1="v_CaB" variable_2="v_CaB"/>
<map_variables variable_1="I_mem" variable_2="I_mem"/>
<map_variables variable_1="q_Cai" variable_2="q_Cai"/>
<map_variables variable_1="q_Cae" variable_2="q_Cae"/>
<map_variables variable_1="q_mem" variable_2="q_mem"/>
<map_variables variable_1="V_mem" variable_2="V_mem"/>
</connection>
<connection>
<map_components component_1="CaB" component_2="CaB_parameters"/>
<map_variables variable_1="K_Cai" variable_2="K_Cai"/>
<map_variables variable_1="K_Cae" variable_2="K_Cae"/>
<map_variables variable_1="kappa_CaB" variable_2="kappa_CaB"/>
</connection>
</model>