- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2023-04-04 15:51:18+12:00
- Desc:
- Add a steady state example
- Permanent Source URI:
- https://models.fieldml.org/workspace/6bc/rawfile/a7940fcacd455a09bdb7beac0da91eca79cf1adb/BG/ssFlux.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="A_test" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
<units name="per_sec">
<unit exponent="-1" units="second"/>
</units>
<units name="J_per_K_per_mol">
<unit units="joule"/>
<unit exponent="-1" units="kelvin"/>
<unit exponent="-1" units="mole"/>
</units>
<units name="C_per_mol">
<unit units="coulomb"/>
<unit exponent="-1" units="mole"/>
</units>
<units name="fmol">
<unit prefix="femto" units="mole"/>
</units>
<units name="fF">
<unit prefix="femto" units="farad"/>
</units>
<units name="fC">
<unit prefix="femto" units="coulomb"/>
</units>
<units name="fS">
<unit prefix="femto" units="siemens"/>
</units>
<units name="fA">
<unit prefix="femto" units="ampere"/>
</units>
<units name="fmol_per_L">
<unit prefix="femto" units="mole"/>
<unit exponent="-1" units="litre"/>
</units>
<units name="fmol_per_L_per_sec">
<unit units="fmol_per_L"/>
<unit exponent="-1" units="second"/>
</units>
<units name="per_sec_per_fmol_per_L">
<unit exponent="-1" units="second"/>
<unit exponent="-1" units="fmol_per_L"/>
</units>
<units name="per_fmol">
<unit exponent="-1" units="fmol"/>
</units>
<units name="fmol_per_sec">
<unit units="fmol"/>
<unit exponent="-1" units="second"/>
</units>
<units name="J_per_mol">
<unit units="joule"/>
<unit exponent="-1" units="mole"/>
</units>
<units name="mM">
<unit prefix="milli" units="mole"/>
<unit exponent="-1" units="litre"/>
</units>
<units name="uM">
<unit prefix="micro" units="mole"/>
<unit exponent="-1" units="litre"/>
</units>
<units name="mM_per_sec">
<unit units="mM"/>
<unit exponent="-1.0" units="second"/>
</units>
<units name="uM_per_sec">
<unit units="uM"/>
<unit exponent="-1.0" units="second"/>
</units>
<units name="pL">
<unit prefix="pico" units="litre"/>
</units>
<component name="A_test_para">
<variable initial_value="8.31" name="R" public_interface="out" units="J_per_K_per_mol"/>
<variable initial_value="96485" name="F" public_interface="out" units="C_per_mol"/>
<variable initial_value="279.45" name="T" public_interface="out" units="kelvin"/>
<variable initial_value="1" name="K_Ai" public_interface="out" units="per_fmol"/>
<variable initial_value="1" name="K_Ao" public_interface="out" units="per_fmol"/>
<variable initial_value="1" name="K_Ei" public_interface="out" units="per_fmol"/>
<variable initial_value="1" name="K_Eo" public_interface="out" units="per_fmol"/>
<variable initial_value="1" name="K_EAi" public_interface="out" units="per_fmol"/>
<variable initial_value="1" name="K_EAo" public_interface="out" units="per_fmol"/>
<variable initial_value="1" name="q_Ai_init" public_interface="out" units="fmol"/>
<variable initial_value="4" name="q_Ao_init" public_interface="out" units="fmol"/>
<variable initial_value="2" name="q_Ei_init" public_interface="out" units="fmol"/>
<variable initial_value="2" name="q_Eo_init" public_interface="out" units="fmol"/>
<variable initial_value="2" name="q_EAi_init" public_interface="out" units="fmol"/>
<variable initial_value="2" name="q_EAo_init" public_interface="out" units="fmol"/>
<variable initial_value="1" name="kappa_Re1" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="1" name="kappa_Re2" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="1" name="kappa_Re3" public_interface="out" units="fmol_per_sec"/>
<variable initial_value="1" name="kappa_Re4" public_interface="out" units="fmol_per_sec"/>
</component>
<component name="A_test">
<variable name="R" private_interface="out" public_interface="in" units="J_per_K_per_mol"/>
<variable name="T" private_interface="out" public_interface="in" units="kelvin"/>
<variable initial_value="0" name="t" units="second"/>
<variable name="K_Ai" public_interface="in" units="per_fmol"/>
<variable name="q_Ai_init" public_interface="in" units="fmol"/>
<variable initial_value="q_Ai_init" name="q_Ai" public_interface="out" units="fmol"/>
<variable name="K_Ao" public_interface="in" units="per_fmol"/>
<variable name="q_Ao_init" public_interface="in" units="fmol"/>
<variable initial_value="q_Ao_init" name="q_Ao" public_interface="out" units="fmol"/>
<variable name="K_Ei" public_interface="in" units="per_fmol"/>
<variable name="q_Ei_init" public_interface="in" units="fmol"/>
<variable initial_value="q_Ei_init" name="q_Ei" public_interface="out" units="fmol"/>
<variable name="K_Eo" public_interface="in" units="per_fmol"/>
<variable name="q_Eo_init" public_interface="in" units="fmol"/>
<variable initial_value="q_Eo_init" name="q_Eo" public_interface="out" units="fmol"/>
<variable name="K_EAi" public_interface="in" units="per_fmol"/>
<variable name="q_EAi_init" public_interface="in" units="fmol"/>
<variable initial_value="q_EAi_init" name="q_EAi" public_interface="out" units="fmol"/>
<variable name="K_EAo" public_interface="in" units="per_fmol"/>
<variable name="q_EAo_init" public_interface="in" units="fmol"/>
<variable initial_value="q_EAo_init" name="q_EAo" public_interface="out" units="fmol"/>
<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="kappa_Re4" public_interface="in" units="fmol_per_sec"/>
<variable name="k1f" units="per_sec"/>
<variable name="k1r" units="per_sec"/>
<variable name="k2f" units="per_sec"/>
<variable name="k2r" units="per_sec"/>
<variable name="k3f" units="per_sec"/>
<variable name="k3r" units="per_sec"/>
<variable name="k4f" units="per_sec"/>
<variable name="k4r" units="per_sec"/>
<variable name="E" units="fmol"/>
<variable name="v" units="fmol_per_sec"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>k1f</ci>
<apply>
<times/>
<ci>kappa_Re1</ci>
<ci>K_EAi</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>k1r</ci>
<apply>
<times/>
<ci>kappa_Re1</ci>
<ci>K_Ai</ci>
<ci>K_Ei</ci>
<cn cellml:units="fmol">1</cn>
</apply>
</apply>
<apply>
<eq/>
<ci>k2f</ci>
<apply>
<times/>
<ci>kappa_Re2</ci>
<ci>K_Ao</ci>
<ci>K_EAi</ci>
<cn cellml:units="fmol">1</cn>
</apply>
</apply>
<apply>
<eq/>
<ci>k2r</ci>
<apply>
<times/>
<ci>kappa_Re2</ci>
<ci>K_Ai</ci>
<ci>K_EAo</ci>
<cn cellml:units="fmol">1</cn>
</apply>
</apply>
<apply>
<eq/>
<ci>k3f</ci>
<apply>
<times/>
<ci>kappa_Re3</ci>
<ci>K_Ei</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>k3r</ci>
<apply>
<times/>
<ci>kappa_Re3</ci>
<ci>K_Eo</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>k4f</ci>
<apply>
<times/>
<ci>kappa_Re4</ci>
<ci>K_EAo</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>k4r</ci>
<apply>
<times/>
<ci>kappa_Re4</ci>
<ci>K_EAi</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>E</ci>
<apply>
<plus/>
<ci>q_Ei</ci>
<ci>q_Eo</ci>
<ci>q_EAi</ci>
<ci>q_EAo</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>v</ci>
<apply>
<divide/>
<apply>
<times/>
<ci>E</ci>
<apply>
<minus/>
<apply>
<times/>
<ci>k1f</ci>
<ci>k2f</ci>
<ci>k3f</ci>
<ci>k4f</ci>
<ci>q_Ao</ci>
</apply>
<apply>
<times/>
<ci>k1r</ci>
<ci>k2r</ci>
<ci>k3r</ci>
<ci>k4r</ci>
<ci>q_Ai</ci>
</apply>
</apply>
</apply>
<apply>
<plus/>
<apply>
<times/>
<ci>k1f</ci>
<ci>k3f</ci>
<ci>k4f</ci>
</apply>
<apply>
<times/>
<ci>k1f</ci>
<ci>k3f</ci>
<ci>k2r</ci>
</apply>
<apply>
<times/>
<ci>k1f</ci>
<ci>k4f</ci>
<ci>k3r</ci>
</apply>
<apply>
<times/>
<ci>k1f</ci>
<ci>k2r</ci>
<ci>k3r</ci>
</apply>
<apply>
<times/>
<ci>k3f</ci>
<ci>k2r</ci>
<ci>k4r</ci>
</apply>
<apply>
<times/>
<ci>k2r</ci>
<ci>k3r</ci>
<ci>k4r</ci>
</apply>
<apply>
<times/>
<ci>k1f</ci>
<ci>k2f</ci>
<ci>k3f</ci>
<ci>q_Ao</ci>
</apply>
<apply>
<times/>
<ci>k1f</ci>
<ci>k2f</ci>
<ci>k4f</ci>
<ci>q_Ao</ci>
</apply>
<apply>
<times/>
<ci>k2f</ci>
<ci>k3f</ci>
<ci>k4f</ci>
<ci>q_Ao</ci>
</apply>
<apply>
<times/>
<ci>k2f</ci>
<ci>k3f</ci>
<ci>k4r</ci>
<ci>q_Ao</ci>
</apply>
<apply>
<times/>
<ci>k4f</ci>
<ci>k1r</ci>
<ci>k3r</ci>
<ci>q_Ai</ci>
</apply>
<apply>
<times/>
<ci>k1r</ci>
<ci>k2r</ci>
<ci>k3r</ci>
<ci>q_Ai</ci>
</apply>
<apply>
<times/>
<ci>k1r</ci>
<ci>k2r</ci>
<ci>k4r</ci>
<ci>q_Ai</ci>
</apply>
<apply>
<times/>
<ci>k1r</ci>
<ci>k3r</ci>
<ci>k4r</ci>
<ci>q_Ai</ci>
</apply>
<apply>
<times/>
<ci>k2f</ci>
<ci>k4f</ci>
<ci>k1r</ci>
<ci>q_Ai</ci>
<ci>q_Ao</ci>
</apply>
<apply>
<times/>
<ci>k2f</ci>
<ci>k1r</ci>
<ci>k4r</ci>
<ci>q_Ai</ci>
<ci>q_Ao</ci>
</apply>
</apply>
</apply>
</apply>
</math>
</component>
<connection>
<map_components component_1="A_test_para" component_2="A_test"/>
<map_variables variable_1="R" variable_2="R"/>
<map_variables variable_1="T" variable_2="T"/>
<map_variables variable_1="K_Ai" variable_2="K_Ai"/>
<map_variables variable_1="q_Ai_init" variable_2="q_Ai_init"/>
<map_variables variable_1="K_Ao" variable_2="K_Ao"/>
<map_variables variable_1="q_Ao_init" variable_2="q_Ao_init"/>
<map_variables variable_1="K_Ei" variable_2="K_Ei"/>
<map_variables variable_1="q_Ei_init" variable_2="q_Ei_init"/>
<map_variables variable_1="K_Eo" variable_2="K_Eo"/>
<map_variables variable_1="q_Eo_init" variable_2="q_Eo_init"/>
<map_variables variable_1="K_EAi" variable_2="K_EAi"/>
<map_variables variable_1="q_EAi_init" variable_2="q_EAi_init"/>
<map_variables variable_1="K_EAo" variable_2="K_EAo"/>
<map_variables variable_1="q_EAo_init" variable_2="q_EAo_init"/>
<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="kappa_Re4" variable_2="kappa_Re4"/>
</connection>
</model>