Location: BG_CaL @ f5b524a95e7b / BG_LCC_flat.cellml

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2021-10-22 15:27:06+13:00
Desc:
Adding parameter finder in python and tidied cellml code
Permanent Source URI:
https://models.cellml.org/workspace/6d7/rawfile/f5b524a95e7b8d1946196533d3ed7c2f9277f324/BG_LCC_flat.cellml

<?xml version="1.0" encoding="utf-8"?>
<!--
This CellML file was generated on 25/08/2021 at 1:58:37 at PM using:

COR (0.9.31.1409)
Copyright 2002-2021 Dr Alan Garny
http://cor.physiol.ox.ac.uk/ - cor@physiol.ox.ac.uk

CellML 1.0 was used to generate this model
http://www.cellml.org/
-->
<model name="LCC" cmeta:id="LCC" xmlns="http://www.cellml.org/cellml/1.0#" xmlns:cellml="http://www.cellml.org/cellml/1.0#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#">
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_second">
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="J_per_K_per_mol">
      <unit units="joule"/>
      <unit units="kelvin" exponent="-1"/>
      <unit units="mole" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="J_per_C">
      <unit units="joule"/>
      <unit units="coulomb" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="C_per_mol">
      <unit units="coulomb"/>
      <unit units="mole" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="fmol">
      <unit units="mole" prefix="femto"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="fmol_per_L">
      <unit units="mole" prefix="femto"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="fmol_per_L_per_sec">
      <unit units="fmol_per_L"/>
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_sec_per_fmol_per_L">
      <unit units="second" exponent="-1"/>
      <unit units="fmol_per_L" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="per_fmol">
      <unit units="fmol" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="fmol_per_sec">
      <unit units="fmol"/>
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="J_per_mol">
      <unit units="joule"/>
      <unit units="mole" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="mM">
      <unit units="mole" prefix="milli"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="uM">
      <unit units="mole" prefix="micro"/>
      <unit units="litre" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="mM_per_sec">
      <unit units="mM"/>
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="uM_per_sec">
      <unit units="uM"/>
      <unit units="second" exponent="-1"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="pL">
      <unit units="litre" prefix="pico"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="fA">
      <unit units="ampere" prefix="femto"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="fC">
      <unit units="coulomb" prefix="femto"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="fF">
      <unit units="farad" prefix="femto"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="millivolt">
      <unit units="volt" prefix="milli"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="microm3">
      <unit units="metre" prefix="micro" exponent="3"/>
   </units>
   <units xmlns="http://www.cellml.org/cellml/1.0#" name="m_to_u">
      <unit units="second" prefix="micro"/>
      <unit units="second" prefix="milli"/>
   </units>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="membrane">
      <variable name="t" units="second" public_interface="out"/>
      <variable name="Vmem" units="volt"/>
      <variable name="q_membrane" units="fC" initial_value="-13039" public_interface="out"/>
      <variable name="C_m" units="fF" initial_value="153400" public_interface="out"/>
      <variable name="RT" units="J_per_mol" initial_value="2494.34" public_interface="out"/>
      <variable name="F" units="C_per_mol" initial_value="96485" public_interface="out"/>
      <variable name="vol_o" units="microm3" initial_value="1e4" public_interface="out"/>
      <variable name="q_Cao" units="fmol" initial_value="9.3276" public_interface="out"/>
      <variable name="q_Cai" units="fmol" initial_value="0.00456" public_interface="out"/>
      <variable name="q_Ko" units="fmol" initial_value="27.9828" public_interface="out"/>
      <variable name="q_Ki" units="fmol" initial_value="5510" public_interface="out"/>
      <variable name="v_CaGHK_i" units="fmol_per_sec" public_interface="in"/>
      <variable name="v_CaGHK_o" units="fmol_per_sec" public_interface="in"/>
      <variable name="v_KGHK_i" units="fmol_per_sec" public_interface="in"/>
      <variable name="v_KGHK_o" units="fmol_per_sec" public_interface="in"/>
      <variable name="v_E" units="fA"/>
      <variable name="zCa" units="dimensionless" initial_value="2" public_interface="out"/>
      <variable name="zK" units="dimensionless" initial_value="1" public_interface="out"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>v_E</ci>
            <apply>
               <times/>
               <ci>zCa</ci>
               <ci>F</ci>
               <apply>
                  <plus/>
                  <ci>v_CaGHK_o</ci>
                  <ci>v_KGHK_o</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_Cai</ci>
            </apply>
            <ci>v_CaGHK_i</ci>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_Cao</ci>
            </apply>
            <ci>v_CaGHK_o</ci>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_Ki</ci>
            </apply>
            <ci>v_KGHK_i</ci>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_Ko</ci>
            </apply>
            <ci>v_KGHK_o</ci>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_membrane</ci>
            </apply>
            <apply>
               <minus/>
               <ci>v_E</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Vmem</ci>
            <apply>
               <divide/>
               <ci>q_membrane</ci>
               <ci>C_m</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="BG_LCC">
      <variable name="t" units="second" public_interface="in" private_interface="out"/>
      <variable name="RT" units="J_per_mol" public_interface="in" private_interface="out"/>
      <variable name="F" units="C_per_mol" public_interface="in" private_interface="out"/>
      <variable name="C_m" units="fF" public_interface="in"/>
      <variable name="K_Cai" units="per_fmol" initial_value="0.0102432"/>
      <variable name="K_Cao" units="per_fmol" initial_value="0.0751143"/>
      <variable name="K_Ki" units="per_fmol" initial_value="0.00578984"/>
      <variable name="K_Ko" units="per_fmol" initial_value="0.0424574"/>
      <variable name="kappa_LCC_Ca1" units="fmol_per_sec" initial_value="115.689"/>
      <variable name="kappa_LCC_Ca2" units="fmol_per_sec" initial_value="216.336"/>
      <variable name="kappa_LCC_K1" units="fmol_per_sec" initial_value="0.160891"/>
      <variable name="kappa_LCC_K2" units="fmol_per_sec" initial_value="0.300862"/>
      <variable name="Cao" units="mM"/>
      <variable name="vol_o" units="microm3" public_interface="in"/>
      <variable name="zCa" units="dimensionless" public_interface="in"/>
      <variable name="zK" units="dimensionless" public_interface="in"/>
      <variable name="q_Cai" units="fmol" public_interface="in"/>
      <variable name="q_Cao" units="fmol" public_interface="in"/>
      <variable name="q_Ki" units="fmol" public_interface="in"/>
      <variable name="q_Ko" units="fmol" public_interface="in"/>
      <variable name="q_E" units="fC" public_interface="in"/>
      <variable name="mu_E" units="J_per_C" private_interface="out"/>
      <variable name="mu_mem_Ca" units="J_per_mol"/>
      <variable name="mu_mem_K" units="J_per_mol"/>
      <variable name="v_CaGHK_i" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_CaGHK_o" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_KGHK_i" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_KGHK_o" units="fmol_per_sec" public_interface="out"/>
      <variable name="mu_Cai" units="J_per_mol" private_interface="out"/>
      <variable name="mu_Cao" units="J_per_mol"/>
      <variable name="mu_Ki" units="J_per_mol"/>
      <variable name="mu_Ko" units="J_per_mol"/>
      <variable name="mu_S111" units="J_per_mol" private_interface="in"/>
      <variable name="mu_S121" units="J_per_mol" private_interface="in"/>
      <variable name="Af_LCC_Ca1" units="J_per_mol"/>
      <variable name="Ar_LCC_Ca1" units="J_per_mol"/>
      <variable name="Am_LCC_Ca1" units="J_per_mol"/>
      <variable name="v_LCC_Ca1" units="fmol_per_sec" public_interface="out"/>
      <variable name="Af_LCC_Ca2" units="J_per_mol"/>
      <variable name="Ar_LCC_Ca2" units="J_per_mol"/>
      <variable name="Am_LCC_Ca2" units="J_per_mol"/>
      <variable name="v_LCC_Ca2" units="fmol_per_sec" public_interface="out"/>
      <variable name="Af_LCC_K1" units="J_per_mol"/>
      <variable name="Ar_LCC_K1" units="J_per_mol"/>
      <variable name="Am_LCC_K1" units="J_per_mol"/>
      <variable name="v_LCC_K1" units="fmol_per_sec" public_interface="out"/>
      <variable name="Af_LCC_K2" units="J_per_mol"/>
      <variable name="Ar_LCC_K2" units="J_per_mol"/>
      <variable name="Am_LCC_K2" units="J_per_mol"/>
      <variable name="v_LCC_K2" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_fCa00" units="fmol_per_sec" private_interface="in"/>
      <variable name="v_fCa01" units="fmol_per_sec" private_interface="in"/>
      <variable name="v_fCa02" units="fmol_per_sec" private_interface="in"/>
      <variable name="v_fCa10" units="fmol_per_sec" private_interface="in"/>
      <variable name="v_fCa11" units="fmol_per_sec" private_interface="in"/>
      <variable name="v_fCa12" units="fmol_per_sec" private_interface="in"/>
      <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_Cao</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_Cao</ci>
                     <ci>q_Cao</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>mu_Ki</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_Ki</ci>
                     <ci>q_Ki</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>mu_Ko</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_Ko</ci>
                     <ci>q_Ko</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Cao</ci>
            <apply>
               <divide/>
               <apply>
                  <times/>
                  <cn type="e-notation" cellml:units="dimensionless">1   <sep/>
                  -3</cn>
                  <ci>q_Cao</ci>
               </apply>
               <ci>vol_o</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>mu_mem_Ca</ci>
            <apply>
               <times/>
               <ci>zCa</ci>
               <ci>F</ci>
               <ci>mu_E</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>mu_mem_K</ci>
            <apply>
               <times/>
               <ci>zK</ci>
               <ci>F</ci>
               <ci>mu_E</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_LCC_Ca1</ci>
            <apply>
               <plus/>
               <ci>mu_Cai</ci>
               <ci>mu_mem_Ca</ci>
               <ci>mu_S111</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_LCC_Ca1</ci>
            <apply>
               <plus/>
               <ci>mu_Cao</ci>
               <ci>mu_S111</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Am_LCC_Ca1</ci>
            <ci>mu_mem_Ca</ci>
         </apply>
         <apply>
            <eq/>
            <ci>v_LCC_Ca1</ci>
            <piecewise>
               <piece>
                  <apply>
                     <times/>
                     <ci>kappa_LCC_Ca1</ci>
                     <apply>
                        <minus/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Af_LCC_Ca1</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Ar_LCC_Ca1</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <eq/>
                     <ci>Am_LCC_Ca1</ci>
                     <cn cellml:units="J_per_mol">0</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <ci>kappa_LCC_Ca1</ci>
                              <ci>Am_LCC_Ca1</ci>
                           </apply>
                           <ci>RT</ci>
                        </apply>
                        <apply>
                           <minus/>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <ci>Am_LCC_Ca1</ci>
                                 <ci>RT</ci>
                              </apply>
                           </apply>
                           <cn cellml:units="dimensionless">1</cn>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Af_LCC_Ca1</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Ar_LCC_Ca1</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>Af_LCC_Ca2</ci>
            <apply>
               <plus/>
               <ci>mu_Cai</ci>
               <ci>mu_mem_Ca</ci>
               <ci>mu_S121</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_LCC_Ca2</ci>
            <apply>
               <plus/>
               <ci>mu_Cao</ci>
               <ci>mu_S121</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Am_LCC_Ca2</ci>
            <ci>mu_mem_Ca</ci>
         </apply>
         <apply>
            <eq/>
            <ci>v_LCC_Ca2</ci>
            <piecewise>
               <piece>
                  <apply>
                     <times/>
                     <ci>kappa_LCC_Ca2</ci>
                     <apply>
                        <minus/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Af_LCC_Ca2</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Ar_LCC_Ca2</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <eq/>
                     <ci>Am_LCC_Ca2</ci>
                     <cn cellml:units="J_per_mol">0</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <ci>kappa_LCC_Ca2</ci>
                              <ci>Am_LCC_Ca2</ci>
                           </apply>
                           <ci>RT</ci>
                        </apply>
                        <apply>
                           <minus/>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <ci>Am_LCC_Ca2</ci>
                                 <ci>RT</ci>
                              </apply>
                           </apply>
                           <cn cellml:units="dimensionless">1</cn>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Af_LCC_Ca2</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Ar_LCC_Ca2</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>Af_LCC_K1</ci>
            <apply>
               <plus/>
               <ci>mu_Ki</ci>
               <ci>mu_mem_K</ci>
               <ci>mu_S111</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_LCC_K1</ci>
            <apply>
               <plus/>
               <ci>mu_Ko</ci>
               <ci>mu_S111</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Am_LCC_K1</ci>
            <ci>mu_mem_K</ci>
         </apply>
         <apply>
            <eq/>
            <ci>v_LCC_K1</ci>
            <piecewise>
               <piece>
                  <apply>
                     <times/>
                     <ci>kappa_LCC_K1</ci>
                     <apply>
                        <minus/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Af_LCC_K1</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Ar_LCC_K1</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <eq/>
                     <ci>Am_LCC_K1</ci>
                     <cn cellml:units="J_per_mol">0</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <ci>kappa_LCC_K1</ci>
                              <ci>Am_LCC_K1</ci>
                           </apply>
                           <ci>RT</ci>
                        </apply>
                        <apply>
                           <minus/>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <ci>Am_LCC_K1</ci>
                                 <ci>RT</ci>
                              </apply>
                           </apply>
                           <cn cellml:units="dimensionless">1</cn>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Af_LCC_K1</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Ar_LCC_K1</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>Af_LCC_K2</ci>
            <apply>
               <plus/>
               <ci>mu_Ki</ci>
               <ci>mu_mem_K</ci>
               <ci>mu_S121</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_LCC_K2</ci>
            <apply>
               <plus/>
               <ci>mu_Ko</ci>
               <ci>mu_S121</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Am_LCC_K2</ci>
            <ci>mu_mem_K</ci>
         </apply>
         <apply>
            <eq/>
            <ci>v_LCC_K2</ci>
            <piecewise>
               <piece>
                  <apply>
                     <times/>
                     <ci>kappa_LCC_K2</ci>
                     <apply>
                        <minus/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Af_LCC_K2</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Ar_LCC_K2</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
                  <apply>
                     <eq/>
                     <ci>Am_LCC_K2</ci>
                     <cn cellml:units="J_per_mol">0</cn>
                  </apply>
               </piece>
               <otherwise>
                  <apply>
                     <times/>
                     <apply>
                        <divide/>
                        <apply>
                           <divide/>
                           <apply>
                              <times/>
                              <ci>kappa_LCC_K2</ci>
                              <ci>Am_LCC_K2</ci>
                           </apply>
                           <ci>RT</ci>
                        </apply>
                        <apply>
                           <minus/>
                           <apply>
                              <exp/>
                              <apply>
                                 <divide/>
                                 <ci>Am_LCC_K2</ci>
                                 <ci>RT</ci>
                              </apply>
                           </apply>
                           <cn cellml:units="dimensionless">1</cn>
                        </apply>
                     </apply>
                     <apply>
                        <minus/>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Af_LCC_K2</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                        <apply>
                           <exp/>
                           <apply>
                              <divide/>
                              <ci>Ar_LCC_K2</ci>
                              <ci>RT</ci>
                           </apply>
                        </apply>
                     </apply>
                  </apply>
               </otherwise>
            </piecewise>
         </apply>
         <apply>
            <eq/>
            <ci>mu_E</ci>
            <apply>
               <divide/>
               <ci>q_E</ci>
               <ci>C_m</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_CaGHK_i</ci>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <times/>
                     <ci>zCa</ci>
                     <apply>
                        <plus/>
                        <ci>v_fCa10</ci>
                        <ci>v_fCa11</ci>
                        <ci>v_fCa02</ci>
                        <ci>v_fCa01</ci>
                        <ci>v_fCa00</ci>
                        <ci>v_fCa12</ci>
                     </apply>
                  </apply>
                  <ci>v_LCC_Ca1</ci>
               </apply>
               <ci>v_LCC_Ca2</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_CaGHK_o</ci>
            <apply>
               <plus/>
               <ci>v_LCC_Ca2</ci>
               <ci>v_LCC_Ca1</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_KGHK_i</ci>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <ci>v_LCC_K1</ci>
               </apply>
               <ci>v_LCC_K2</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_KGHK_o</ci>
            <apply>
               <plus/>
               <ci>v_LCC_K2</ci>
               <ci>v_LCC_K1</ci>
            </apply>
         </apply>
      </math>
   </component>
   <component xmlns="http://www.cellml.org/cellml/1.0#" name="LCC_states_BG">
      <variable name="t" units="second" public_interface="in"/>
      <variable name="Vmem" units="volt" public_interface="in"/>
      <variable name="F" units="C_per_mol" public_interface="in"/>
      <variable name="RT" units="J_per_mol" public_interface="in"/>
      <variable name="kappa_d000" units="fmol_per_sec" initial_value="132.798"/>
      <variable name="kappa_d010" units="fmol_per_sec" initial_value="3.27634"/>
      <variable name="kappa_d020" units="fmol_per_sec" initial_value="6.12666"/>
      <variable name="kappa_d001" units="fmol_per_sec" initial_value="0.525901"/>
      <variable name="kappa_d011" units="fmol_per_sec" initial_value="0.0129748"/>
      <variable name="kappa_d021" units="fmol_per_sec" initial_value="0.0242625"/>
      <variable name="kappa_f1_000" units="fmol_per_sec" initial_value="0.244648"/>
      <variable name="kappa_f1_100" units="fmol_per_sec" initial_value="1.21486"/>
      <variable name="kappa_f1_001" units="fmol_per_sec" initial_value="0.000968841"/>
      <variable name="kappa_f1_101" units="fmol_per_sec" initial_value="0.00481102"/>
      <variable name="kappa_f2_000" units="fmol_per_sec" initial_value="0.448058"/>
      <variable name="kappa_f2_100" units="fmol_per_sec" initial_value="2.22495"/>
      <variable name="kappa_f2_001" units="fmol_per_sec" initial_value="0.00177438"/>
      <variable name="kappa_f2_101" units="fmol_per_sec" initial_value="0.00881111"/>
      <variable name="kappa_f3_010" units="fmol_per_sec" initial_value="1258.66"/>
      <variable name="kappa_f3_110" units="fmol_per_sec" initial_value="6250.17"/>
      <variable name="kappa_f3_011" units="fmol_per_sec" initial_value="4.98447"/>
      <variable name="kappa_f3_111" units="fmol_per_sec" initial_value="24.7516"/>
      <variable name="kappa_fCa000" units="fmol_per_sec" initial_value="180068"/>
      <variable name="kappa_fCa100" units="fmol_per_sec" initial_value="894171"/>
      <variable name="kappa_fCa010" units="fmol_per_sec" initial_value="4442.55"/>
      <variable name="kappa_fCa110" units="fmol_per_sec" initial_value="22060.6"/>
      <variable name="kappa_fCa020" units="fmol_per_sec" initial_value="8307.45"/>
      <variable name="kappa_fCa120" units="fmol_per_sec" initial_value="41252.7"/>
      <variable name="K_000_LCC" units="per_fmol" initial_value="3.66543"/>
      <variable name="K_010_LCC" units="per_fmol" initial_value="148.569"/>
      <variable name="K_020_LCC" units="per_fmol" initial_value="79.4498"/>
      <variable name="K_100_LCC" units="per_fmol" initial_value="0.738142"/>
      <variable name="K_110_LCC" units="per_fmol" initial_value="29.9187"/>
      <variable name="K_120_LCC" units="per_fmol" initial_value="15.9996"/>
      <variable name="K_001_LCC" units="per_fmol" initial_value="925.578"/>
      <variable name="K_011_LCC" units="per_fmol" initial_value="37516"/>
      <variable name="K_021_LCC" units="per_fmol" initial_value="20062.3"/>
      <variable name="K_101_LCC" units="per_fmol" initial_value="186.392"/>
      <variable name="K_111_LCC" units="per_fmol" initial_value="7554.95"/>
      <variable name="K_121_LCC" units="per_fmol" initial_value="4040.14"/>
      <variable name="q_S000_LCC" units="fmol" initial_value="3.6989e-7"/>
      <variable name="q_S010_LCC" units="fmol" initial_value="7.3239e-5"/>
      <variable name="q_S020_LCC" units="fmol" initial_value="3.6989e-7"/>
      <variable name="q_S100_LCC" units="fmol" initial_value="3.7363e-9"/>
      <variable name="q_S110_LCC" units="fmol" initial_value="7.3979e-7"/>
      <variable name="q_S120_LCC" units="fmol" initial_value="3.7363e-9"/>
      <variable name="q_S001_LCC" units="fmol" initial_value="4.1099e-8"/>
      <variable name="q_S011_LCC" units="fmol" initial_value="8.1377e-6"/>
      <variable name="q_S021_LCC" units="fmol" initial_value="4.1099e-8"/>
      <variable name="q_S101_LCC" units="fmol" initial_value="4.1514e-10"/>
      <variable name="q_S111_LCC" units="fmol" initial_value="8.2199e-8"/>
      <variable name="q_S121_LCC" units="fmol" initial_value="4.1514e-10"/>
      <variable name="mu_Cai" units="J_per_mol" public_interface="in"/>
      <variable name="mu_S000_LCC" units="J_per_mol"/>
      <variable name="mu_S010_LCC" units="J_per_mol"/>
      <variable name="mu_S020_LCC" units="J_per_mol"/>
      <variable name="mu_S100_LCC" units="J_per_mol"/>
      <variable name="mu_S110_LCC" units="J_per_mol"/>
      <variable name="mu_S120_LCC" units="J_per_mol"/>
      <variable name="mu_S001_LCC" units="J_per_mol"/>
      <variable name="mu_S011_LCC" units="J_per_mol"/>
      <variable name="mu_S021_LCC" units="J_per_mol"/>
      <variable name="mu_S101_LCC" units="J_per_mol"/>
      <variable name="mu_S111_LCC" units="J_per_mol" public_interface="out"/>
      <variable name="mu_S121_LCC" units="J_per_mol" public_interface="out"/>
      <variable name="Af_fCa00" units="J_per_mol"/>
      <variable name="Ar_fCa00" units="J_per_mol"/>
      <variable name="Af_fCa01" units="J_per_mol"/>
      <variable name="Ar_fCa01" units="J_per_mol"/>
      <variable name="Af_fCa02" units="J_per_mol"/>
      <variable name="Ar_fCa02" units="J_per_mol"/>
      <variable name="Af_fCa10" units="J_per_mol"/>
      <variable name="Ar_fCa10" units="J_per_mol"/>
      <variable name="Af_fCa11" units="J_per_mol"/>
      <variable name="Ar_fCa11" units="J_per_mol"/>
      <variable name="Af_fCa12" units="J_per_mol"/>
      <variable name="Ar_fCa12" units="J_per_mol"/>
      <variable name="Af_d000" units="J_per_mol"/>
      <variable name="Ar_d000" units="J_per_mol"/>
      <variable name="Ar_d010" units="J_per_mol"/>
      <variable name="Af_d010" units="J_per_mol"/>
      <variable name="Af_d020" units="J_per_mol"/>
      <variable name="Ar_d020" units="J_per_mol"/>
      <variable name="Af_f1_000" units="J_per_mol"/>
      <variable name="Ar_f1_000" units="J_per_mol"/>
      <variable name="Af_f2_000" units="J_per_mol"/>
      <variable name="Ar_f2_000" units="J_per_mol"/>
      <variable name="Af_f3_010" units="J_per_mol"/>
      <variable name="Ar_f3_010" units="J_per_mol"/>
      <variable name="Af_f1_100" units="J_per_mol"/>
      <variable name="Ar_f1_100" units="J_per_mol"/>
      <variable name="Af_f2_100" units="J_per_mol"/>
      <variable name="Ar_f2_100" units="J_per_mol"/>
      <variable name="Af_f3_110" units="J_per_mol"/>
      <variable name="Ar_f3_110" units="J_per_mol"/>
      <variable name="Af_d001" units="J_per_mol"/>
      <variable name="Ar_d001" units="J_per_mol"/>
      <variable name="Af_d011" units="J_per_mol"/>
      <variable name="Ar_d011" units="J_per_mol"/>
      <variable name="Af_d021" units="J_per_mol"/>
      <variable name="Ar_d021" units="J_per_mol"/>
      <variable name="Af_f1_001" units="J_per_mol"/>
      <variable name="Ar_f1_001" units="J_per_mol"/>
      <variable name="Af_f2_001" units="J_per_mol"/>
      <variable name="Ar_f2_001" units="J_per_mol"/>
      <variable name="Af_f3_011" units="J_per_mol"/>
      <variable name="Ar_f3_011" units="J_per_mol"/>
      <variable name="Af_f1_101" units="J_per_mol"/>
      <variable name="Ar_f1_101" units="J_per_mol"/>
      <variable name="Af_f2_101" units="J_per_mol"/>
      <variable name="Ar_f2_101" units="J_per_mol"/>
      <variable name="Af_f3_111" units="J_per_mol"/>
      <variable name="Ar_f3_111" units="J_per_mol"/>
      <variable name="v_fCa00" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_fCa01" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_fCa02" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_fCa10" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_fCa11" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_fCa12" units="fmol_per_sec" public_interface="out"/>
      <variable name="v_f1_000" units="fmol_per_sec"/>
      <variable name="v_f2_000" units="fmol_per_sec"/>
      <variable name="v_f3_010" units="fmol_per_sec"/>
      <variable name="v_f1_100" units="fmol_per_sec"/>
      <variable name="v_f2_100" units="fmol_per_sec"/>
      <variable name="v_f3_110" units="fmol_per_sec"/>
      <variable name="v_d000" units="fmol_per_sec"/>
      <variable name="v_d010" units="fmol_per_sec"/>
      <variable name="v_d020" units="fmol_per_sec"/>
      <variable name="v_d001" units="fmol_per_sec"/>
      <variable name="v_d011" units="fmol_per_sec"/>
      <variable name="v_d021" units="fmol_per_sec"/>
      <variable name="v_f1_001" units="fmol_per_sec"/>
      <variable name="v_f2_001" units="fmol_per_sec"/>
      <variable name="v_f3_011" units="fmol_per_sec"/>
      <variable name="v_f1_101" units="fmol_per_sec"/>
      <variable name="v_f2_101" units="fmol_per_sec"/>
      <variable name="v_f3_111" units="fmol_per_sec"/>
      <variable name="v_S000_LCC" units="fmol_per_sec"/>
      <variable name="v_S010_LCC" units="fmol_per_sec"/>
      <variable name="v_S020_LCC" units="fmol_per_sec"/>
      <variable name="v_S100_LCC" units="fmol_per_sec"/>
      <variable name="v_S110_LCC" units="fmol_per_sec"/>
      <variable name="v_S120_LCC" units="fmol_per_sec"/>
      <variable name="v_S001_LCC" units="fmol_per_sec"/>
      <variable name="v_S011_LCC" units="fmol_per_sec"/>
      <variable name="v_S021_LCC" units="fmol_per_sec"/>
      <variable name="v_S101_LCC" units="fmol_per_sec"/>
      <variable name="v_S111_LCC" units="fmol_per_sec"/>
      <variable name="v_S121_LCC" units="fmol_per_sec"/>
      <variable name="zCa" units="dimensionless" initial_value="2"/>
      <variable name="z_fd" units="dimensionless" initial_value="2.1404"/>
      <variable name="z_ff1" units="dimensionless" initial_value="-1.1495"/>
      <variable name="z_ff2" units="dimensionless" initial_value="0.72162"/>
      <variable name="z_ff3" units="dimensionless" initial_value="4.2933"/>
      <variable name="z_rd" units="dimensionless" initial_value="-2.1404"/>
      <variable name="z_rf1" units="dimensionless" initial_value="1.8993"/>
      <variable name="z_rf2" units="dimensionless" initial_value="-0.52288"/>
      <variable name="z_rf3" units="dimensionless" initial_value="0"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>Af_fCa00</ci>
            <ci>mu_S000_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_fCa00</ci>
            <apply>
               <plus/>
               <ci>mu_S001_LCC</ci>
               <apply>
                  <times/>
                  <ci>zCa</ci>
                  <ci>mu_Cai</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_fCa00</ci>
            <apply>
               <times/>
               <ci>kappa_fCa000</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_fCa00</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_fCa00</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_fCa01</ci>
            <ci>mu_S010_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_fCa01</ci>
            <apply>
               <plus/>
               <ci>mu_S011_LCC</ci>
               <apply>
                  <times/>
                  <ci>zCa</ci>
                  <ci>mu_Cai</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_fCa01</ci>
            <apply>
               <times/>
               <ci>kappa_fCa010</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_fCa01</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_fCa01</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_fCa02</ci>
            <ci>mu_S020_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_fCa02</ci>
            <apply>
               <plus/>
               <ci>mu_S021_LCC</ci>
               <apply>
                  <times/>
                  <ci>zCa</ci>
                  <ci>mu_Cai</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_fCa02</ci>
            <apply>
               <times/>
               <ci>kappa_fCa020</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_fCa02</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_fCa02</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_fCa10</ci>
            <ci>mu_S100_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_fCa10</ci>
            <apply>
               <plus/>
               <ci>mu_S101_LCC</ci>
               <apply>
                  <times/>
                  <ci>zCa</ci>
                  <ci>mu_Cai</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_fCa10</ci>
            <apply>
               <times/>
               <ci>kappa_fCa100</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_fCa10</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_fCa10</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_fCa11</ci>
            <ci>mu_S110_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_fCa11</ci>
            <apply>
               <plus/>
               <ci>mu_S111_LCC</ci>
               <apply>
                  <times/>
                  <ci>zCa</ci>
                  <ci>mu_Cai</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_fCa11</ci>
            <apply>
               <times/>
               <ci>kappa_fCa110</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_fCa11</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_fCa11</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_fCa12</ci>
            <ci>mu_S120_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_fCa12</ci>
            <apply>
               <plus/>
               <ci>mu_S121_LCC</ci>
               <apply>
                  <times/>
                  <ci>zCa</ci>
                  <ci>mu_Cai</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_fCa12</ci>
            <apply>
               <times/>
               <ci>kappa_fCa120</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_fCa12</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_fCa12</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_d000</ci>
            <apply>
               <plus/>
               <ci>mu_S000_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_fd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_d000</ci>
            <apply>
               <plus/>
               <ci>mu_S100_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_d000</ci>
            <apply>
               <times/>
               <ci>kappa_d000</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_d000</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_d000</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_d010</ci>
            <apply>
               <plus/>
               <ci>mu_S010_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_fd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_d010</ci>
            <apply>
               <plus/>
               <ci>mu_S110_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_d010</ci>
            <apply>
               <times/>
               <ci>kappa_d010</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_d010</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_d010</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_d020</ci>
            <apply>
               <plus/>
               <ci>mu_S020_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_fd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_d020</ci>
            <apply>
               <plus/>
               <ci>mu_S120_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_d020</ci>
            <apply>
               <times/>
               <ci>kappa_d020</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_d020</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_d020</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f1_000</ci>
            <apply>
               <plus/>
               <ci>mu_S000_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff1</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f1_000</ci>
            <apply>
               <plus/>
               <ci>mu_S010_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf1</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f1_000</ci>
            <apply>
               <times/>
               <ci>kappa_f1_000</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f1_000</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f1_000</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f2_000</ci>
            <apply>
               <plus/>
               <ci>mu_S000_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff2</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f2_000</ci>
            <apply>
               <plus/>
               <ci>mu_S020_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf2</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f2_000</ci>
            <apply>
               <times/>
               <ci>kappa_f2_000</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f2_000</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f2_000</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f3_010</ci>
            <apply>
               <plus/>
               <ci>mu_S010_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff3</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f3_010</ci>
            <apply>
               <plus/>
               <ci>mu_S020_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf3</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f3_010</ci>
            <apply>
               <times/>
               <ci>kappa_f3_010</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f3_010</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f3_010</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f1_100</ci>
            <apply>
               <plus/>
               <ci>mu_S100_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff1</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f1_100</ci>
            <apply>
               <plus/>
               <ci>mu_S110_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf1</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f1_100</ci>
            <apply>
               <times/>
               <ci>kappa_f1_100</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f1_100</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f1_100</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f2_100</ci>
            <apply>
               <plus/>
               <ci>mu_S100_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff2</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f2_100</ci>
            <apply>
               <plus/>
               <ci>mu_S120_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf2</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f2_100</ci>
            <apply>
               <times/>
               <ci>kappa_f2_100</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f2_100</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f2_100</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f3_110</ci>
            <apply>
               <plus/>
               <ci>mu_S110_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff3</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f3_110</ci>
            <apply>
               <plus/>
               <ci>mu_S120_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf3</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f3_110</ci>
            <apply>
               <times/>
               <ci>kappa_f3_110</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f3_110</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f3_110</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_d001</ci>
            <apply>
               <plus/>
               <ci>mu_S001_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_fd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_d001</ci>
            <apply>
               <plus/>
               <ci>mu_S101_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_d001</ci>
            <apply>
               <times/>
               <ci>kappa_d001</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_d001</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_d001</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_d011</ci>
            <apply>
               <plus/>
               <ci>mu_S011_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_fd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_d011</ci>
            <apply>
               <plus/>
               <ci>mu_S111_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_d011</ci>
            <apply>
               <times/>
               <ci>kappa_d011</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_d011</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_d011</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_d021</ci>
            <apply>
               <plus/>
               <ci>mu_S021_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_fd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_d021</ci>
            <apply>
               <plus/>
               <ci>mu_S121_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rd</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_d021</ci>
            <apply>
               <times/>
               <ci>kappa_d021</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_d021</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_d021</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f1_001</ci>
            <apply>
               <plus/>
               <ci>mu_S001_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff1</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f1_001</ci>
            <apply>
               <plus/>
               <ci>mu_S011_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf1</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f1_001</ci>
            <apply>
               <times/>
               <ci>kappa_f1_001</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f1_001</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f1_001</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f2_001</ci>
            <apply>
               <plus/>
               <ci>mu_S001_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff2</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f2_001</ci>
            <apply>
               <plus/>
               <ci>mu_S021_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf2</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f2_001</ci>
            <apply>
               <times/>
               <ci>kappa_f2_001</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f2_001</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f2_001</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f3_011</ci>
            <apply>
               <plus/>
               <ci>mu_S011_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff3</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f3_011</ci>
            <apply>
               <plus/>
               <ci>mu_S021_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf3</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f3_011</ci>
            <apply>
               <times/>
               <ci>kappa_f3_011</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f3_011</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f3_011</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f1_101</ci>
            <apply>
               <plus/>
               <ci>mu_S101_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff1</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f1_101</ci>
            <apply>
               <plus/>
               <ci>mu_S111_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf1</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f1_101</ci>
            <apply>
               <times/>
               <ci>kappa_f1_101</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f1_101</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f1_101</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f2_101</ci>
            <apply>
               <plus/>
               <ci>mu_S101_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff2</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f2_101</ci>
            <apply>
               <plus/>
               <ci>mu_S121_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf2</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f2_101</ci>
            <apply>
               <times/>
               <ci>kappa_f2_101</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f2_101</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f2_101</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Af_f3_111</ci>
            <apply>
               <plus/>
               <ci>mu_S111_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_ff3</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>Ar_f3_111</ci>
            <apply>
               <plus/>
               <ci>mu_S121_LCC</ci>
               <apply>
                  <times/>
                  <ci>z_rf3</ci>
                  <ci>F</ci>
                  <ci>Vmem</ci>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_f3_111</ci>
            <apply>
               <times/>
               <ci>kappa_f3_111</ci>
               <apply>
                  <minus/>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Af_f3_111</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
                  <apply>
                     <exp/>
                     <apply>
                        <divide/>
                        <ci>Ar_f3_111</ci>
                        <ci>RT</ci>
                     </apply>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S000_LCC</ci>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <minus/>
                     <apply>
                        <minus/>
                        <ci>v_d000</ci>
                     </apply>
                     <ci>v_f1_000</ci>
                  </apply>
                  <ci>v_f2_000</ci>
               </apply>
               <ci>v_fCa00</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S000_LCC</ci>
            </apply>
            <ci>v_S000_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S000_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_000_LCC</ci>
                     <ci>q_S000_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S010_LCC</ci>
            <apply>
               <minus/>
               <apply>
                  <plus/>
                  <apply>
                     <minus/>
                     <apply>
                        <minus/>
                        <ci>v_d010</ci>
                     </apply>
                     <ci>v_f3_010</ci>
                  </apply>
                  <ci>v_f1_100</ci>
               </apply>
               <ci>v_fCa01</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S010_LCC</ci>
            </apply>
            <ci>v_S010_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S010_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_010_LCC</ci>
                     <ci>q_S010_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S020_LCC</ci>
            <apply>
               <minus/>
               <apply>
                  <plus/>
                  <apply>
                     <minus/>
                     <ci>v_d020</ci>
                  </apply>
                  <ci>v_f3_010</ci>
                  <ci>v_f2_000</ci>
               </apply>
               <ci>v_fCa02</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S020_LCC</ci>
            </apply>
            <ci>v_S020_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S020_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_020_LCC</ci>
                     <ci>q_S020_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S100_LCC</ci>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <apply>
                        <minus/>
                        <ci>v_f2_100</ci>
                     </apply>
                     <ci>v_d000</ci>
                  </apply>
                  <ci>v_f1_100</ci>
               </apply>
               <ci>v_fCa10</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S100_LCC</ci>
            </apply>
            <ci>v_S100_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S100_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_100_LCC</ci>
                     <ci>q_S100_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S110_LCC</ci>
            <apply>
               <minus/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <ci>v_f1_100</ci>
                     <ci>v_d010</ci>
                  </apply>
                  <ci>v_fCa11</ci>
               </apply>
               <ci>v_f3_110</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S110_LCC</ci>
            </apply>
            <ci>v_S110_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S110_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_110_LCC</ci>
                     <ci>q_S110_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S120_LCC</ci>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <ci>v_f2_100</ci>
                     <ci>v_d020</ci>
                  </apply>
                  <ci>v_fCa12</ci>
               </apply>
               <ci>v_f3_110</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S120_LCC</ci>
            </apply>
            <ci>v_S120_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S120_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_120_LCC</ci>
                     <ci>q_S120_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S001_LCC</ci>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <apply>
                     <minus/>
                     <apply>
                        <minus/>
                        <ci>v_d001</ci>
                     </apply>
                     <ci>v_f1_001</ci>
                  </apply>
                  <ci>v_f2_001</ci>
               </apply>
               <ci>v_fCa00</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S001_LCC</ci>
            </apply>
            <ci>v_S001_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S001_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_001_LCC</ci>
                     <ci>q_S001_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S011_LCC</ci>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <apply>
                     <minus/>
                     <ci>v_d011</ci>
                  </apply>
                  <ci>v_f3_011</ci>
               </apply>
               <ci>v_f1_101</ci>
               <ci>v_fCa01</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S011_LCC</ci>
            </apply>
            <ci>v_S011_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S011_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_011_LCC</ci>
                     <ci>q_S011_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S021_LCC</ci>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <ci>v_d021</ci>
               </apply>
               <ci>v_f3_011</ci>
               <ci>v_f2_001</ci>
               <ci>v_fCa02</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S021_LCC</ci>
            </apply>
            <ci>v_S021_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S021_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_021_LCC</ci>
                     <ci>q_S021_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S101_LCC</ci>
            <apply>
               <plus/>
               <apply>
                  <minus/>
                  <apply>
                     <plus/>
                     <apply>
                        <minus/>
                        <ci>v_f2_101</ci>
                     </apply>
                     <ci>v_d001</ci>
                  </apply>
                  <ci>v_f1_101</ci>
               </apply>
               <ci>v_fCa10</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S101_LCC</ci>
            </apply>
            <ci>v_S101_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S101_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_101_LCC</ci>
                     <ci>q_S101_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S111_LCC</ci>
            <apply>
               <minus/>
               <apply>
                  <plus/>
                  <ci>v_f1_101</ci>
                  <ci>v_d011</ci>
                  <ci>v_fCa11</ci>
               </apply>
               <ci>v_f3_111</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S111_LCC</ci>
            </apply>
            <ci>v_S111_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S111_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_111_LCC</ci>
                     <ci>q_S111_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
         <apply>
            <eq/>
            <ci>v_S121_LCC</ci>
            <apply>
               <plus/>
               <ci>v_f2_101</ci>
               <ci>v_d021</ci>
               <ci>v_fCa12</ci>
               <ci>v_f3_111</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>q_S121_LCC</ci>
            </apply>
            <ci>v_S121_LCC</ci>
         </apply>
         <apply>
            <eq/>
            <ci>mu_S121_LCC</ci>
            <apply>
               <times/>
               <ci>RT</ci>
               <apply>
                  <ln/>
                  <apply>
                     <times/>
                     <ci>K_121_LCC</ci>
                     <ci>q_S121_LCC</ci>
                  </apply>
               </apply>
            </apply>
         </apply>
      </math>
   </component>
   <group xmlns="http://www.cellml.org/cellml/1.0#">
      <relationship_ref relationship="encapsulation"/>
      <component_ref component="BG_LCC">
         <component_ref component="LCC_states_BG"/>
      </component_ref>
   </group>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="membrane" component_2="BG_LCC"/>
      <map_variables variable_1="t" variable_2="t"/>
      <map_variables variable_1="RT" variable_2="RT"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="q_Cai" variable_2="q_Cai"/>
      <map_variables variable_1="q_Cao" variable_2="q_Cao"/>
      <map_variables variable_1="q_Ki" variable_2="q_Ki"/>
      <map_variables variable_1="q_Ko" variable_2="q_Ko"/>
      <map_variables variable_1="q_membrane" variable_2="q_E"/>
      <map_variables variable_1="C_m" variable_2="C_m"/>
      <map_variables variable_1="vol_o" variable_2="vol_o"/>
      <map_variables variable_1="v_CaGHK_i" variable_2="v_CaGHK_i"/>
      <map_variables variable_1="v_CaGHK_o" variable_2="v_CaGHK_o"/>
      <map_variables variable_1="v_KGHK_i" variable_2="v_KGHK_i"/>
      <map_variables variable_1="v_KGHK_o" variable_2="v_KGHK_o"/>
      <map_variables variable_1="zCa" variable_2="zCa"/>
      <map_variables variable_1="zK" variable_2="zK"/>
   </connection>
   <connection xmlns="http://www.cellml.org/cellml/1.0#">
      <map_components component_1="BG_LCC" component_2="LCC_states_BG"/>
      <map_variables variable_1="t" variable_2="t"/>
      <map_variables variable_1="F" variable_2="F"/>
      <map_variables variable_1="RT" variable_2="RT"/>
      <map_variables variable_1="mu_E" variable_2="Vmem"/>
      <map_variables variable_1="mu_Cai" variable_2="mu_Cai"/>
      <map_variables variable_1="mu_S111" variable_2="mu_S111_LCC"/>
      <map_variables variable_1="mu_S121" variable_2="mu_S121_LCC"/>
      <map_variables variable_1="v_fCa00" variable_2="v_fCa00"/>
      <map_variables variable_1="v_fCa01" variable_2="v_fCa01"/>
      <map_variables variable_1="v_fCa02" variable_2="v_fCa02"/>
      <map_variables variable_1="v_fCa10" variable_2="v_fCa10"/>
      <map_variables variable_1="v_fCa11" variable_2="v_fCa11"/>
      <map_variables variable_1="v_fCa12" variable_2="v_fCa12"/>
   </connection>
</model>