Location: Glucose Transport Model (Thorsen) @ 9228fb82a5fb / Composite Model(Thorsen).cellml

Author:
nima <nafs080@aucklanduni.ac.nz>
Date:
2020-08-24 18:20:57+12:00
Desc:
SedML files is fixed
Permanent Source URI:
https://models.cellml.org/workspace/5b8/rawfile/9228fb82a5fbade44d3e54d903710377759ffa77/Composite Model(Thorsen).cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="Nima_2016" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
    <!--capacitance is changed, initial values changed to S.S . no stimulus for glucose_m-->
    <units name="per_second">
        <unit exponent="-1" units="second"/>
    </units>
    <!--    def unit per_second5 as
        unit second {expo: -5};
    enddef;-->
    <units name="volt_per_second">
        <unit units="volt"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="per_volt_per_second">
        <unit exponent="-1" units="volt"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="per_volt4_per_second">
        <unit exponent="-4" units="volt"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="per_volt3_per_second">
        <unit exponent="-3" units="volt"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="per_volt2_per_second">
        <unit exponent="-2" units="volt"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="per_mol">
        <unit exponent="-1" units="mole"/>
    </units>
    <units name="umol">
        <unit prefix="micro" units="mole"/>
    </units>
    <units name="per_umol">
        <unit exponent="-1" units="umol"/>
    </units>
    <units name="M">
        <unit units="mole"/>
        <unit exponent="-1" units="litre"/>
    </units>
    <units name="m2">
        <unit exponent="2" units="metre"/>
    </units>
    <units name="cm">
        <unit prefix="centi" units="metre"/>
    </units>
    <units name="um2">
        <unit exponent="2" prefix="micro" units="metre"/>
    </units>
    <units name="um">
        <unit prefix="micro" units="meter"/>
    </units>
    <units name="um3">
        <unit exponent="3" prefix="micro" units="metre"/>
    </units>
    <units name="m3">
        <unit exponent="3" units="metre"/>
    </units>
    <!--    def unit litre as
        unit m3 {pref: milli};
    enddef;-->
    <units name="mol_per_um2">
        <unit units="mole"/>
        <unit exponent="-1" units="um2"/>
    </units>
    <units name="mM">
        <unit prefix="milli" units="mole"/>
        <unit exponent="-1" units="litre"/>
    </units>
    <units name="mV">
        <unit prefix="milli" units="volt"/>
    </units>
    <units name="J_per_K_per_mol">
        <unit exponent="-1" units="mole"/>
        <unit units="joule"/>
        <unit exponent="-1" units="kelvin"/>
    </units>
    <units name="pA_per_cm2">
        <unit prefix="pico" units="ampere"/>
        <unit exponent="-2" prefix="centi" units="metre"/>
    </units>
    <units name="uA">
        <unit prefix="micro" units="ampere"/>
    </units>
    <units name="uA_per_um2">
        <unit units="uA"/>
        <unit exponent="-1" units="um2"/>
    </units>
    <units name="uA_per_A">
        <unit units="uA"/>
        <unit exponent="-1" units="ampere"/>
    </units>
    <units name="umol_per_mol">
        <unit units="umol"/>
        <unit exponent="-1" units="mole"/>
    </units>
    <units name="C_per_mol">
        <unit exponent="-1" units="mole"/>
        <unit units="coulomb"/>
    </units>
    <units name="per_M_per_second">
        <unit exponent="-1" units="M"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="per_M2_per_second">
        <unit exponent="-2" units="M"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="uM">
        <unit prefix="micro" units="M"/>
    </units>
    <units name="M2">
        <unit exponent="2" units="M"/>
    </units>
    <units name="M3">
        <unit exponent="3" units="M"/>
    </units>
    <units name="M3_per_second">
        <unit exponent="3" units="M"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="per_M3_per_second5">
        <unit exponent="-3" units="M"/>
        <unit exponent="-5" units="second"/>
    </units>
    <units name="M_per_second">
        <unit units="M"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="cm2">
        <unit exponent="2" prefix="centi" units="metre"/>
    </units>
    <units name="cm2_per_s">
        <unit units="cm2"/>
        <unit exponent="-1" units="second"/>
    </units>
    <!--    def unit uM_per_cm2_per_s as
        unit uM;
        unit cm2 {expo: -1};
        unit second {expo: -1};
    enddef;-->
    <units name="Farad">
        <unit exponent="-1" units="volt"/>
        <unit units="coulomb"/>
    </units>
    <units name="uF">
        <unit prefix="micro" units="Farad"/>
    </units>
    <units name="uF_per_cm2">
        <unit prefix="micro" units="Farad"/>
        <unit exponent="-1" units="cm2"/>
    </units>
    <units name="umol_per_cm2_per_s">
        <unit prefix="micro" units="mole"/>
        <unit exponent="-1" units="cm2"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="umol_per_s">
        <unit prefix="micro" units="mole"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="uA_per_cm2">
        <unit units="uA"/>
        <unit exponent="-2" prefix="centi" units="metre"/>
    </units>
    <units name="m_per_s">
        <unit units="meter"/>
        <unit exponent="-1" units="second"/>
    </units>
    <units name="m3_mole_per_litre_per_umol">
        <unit units="m3"/>
        <unit units="mole"/>
        <unit exponent="-1" units="litre"/>
        <unit exponent="-1" units="umol"/>
    </units>
    <units name="litre_umol_per_mol_per_m3">
        <unit units="litre"/>
        <unit units="umol"/>
        <unit exponent="-1" units="mole"/>
        <unit exponent="-1" units="m3"/>
    </units>
    <component name="parameters">
        <variable initial_value="-1" name="z_Cl" public_interface="out" units="dimensionless"/>
        <variable initial_value="1" name="z_Na" public_interface="out" units="dimensionless"/>
        <variable initial_value="1" name="z_k" public_interface="out" units="dimensionless"/>
        <variable initial_value="96485" name="F" public_interface="out" units="C_per_mol"/>
        <variable initial_value="8.314" name="R" public_interface="out" units="J_per_K_per_mol"/>
        <variable initial_value="310" name="T" public_interface="out" units="kelvin"/>
        <variable initial_value="1e-5" name="capacitance" public_interface="out" units="uF"/>
        <variable initial_value="8.4e-10" name="A_Apical" public_interface="out" units="m2"/>
        <variable initial_value="5e-10" name="A_Basol" public_interface="out" units="m2"/>
        <variable initial_value="5e-16" name="v_cell" public_interface="out" units="m3"/>
        <variable initial_value="1e-9" name="P_Na" public_interface="out" units="m_per_s"/>
        <variable initial_value="8e-10" name="P_k" public_interface="out" units="m_per_s"/>
        <variable initial_value="8e-10" name="P_Cl" public_interface="out" units="m_per_s"/>
        <variable initial_value="20.5e-6" name="P_P_Na" public_interface="out" units="m_per_s"/>
        <variable initial_value="17.5e-6" name="P_P_k" public_interface="out" units="m_per_s"/>
        <variable initial_value="8.8e-6" name="P_P_Cl" public_interface="out" units="m_per_s"/>
        <variable initial_value="1e-9" name="P_Bl_Na" public_interface="out" units="m_per_s"/>
        <variable initial_value="4.06e-8" name="P_Bl_k" public_interface="out" units="m_per_s"/>
        <variable initial_value="7.22e-9" name="P_Bl_Cl" public_interface="out" units="m_per_s"/>
        <variable name="time" public_interface="out" units="second"/>
        <variable initial_value="140000" name="k0_12" public_interface="out" units="per_M2_per_second"/>
        <variable initial_value="300" name="k0_21" public_interface="out" units="per_second"/>
        <variable initial_value="45e3" name="k0_23" public_interface="out" units="per_M_per_second"/>
        <variable initial_value="20" name="k0_32" public_interface="out" units="per_second"/>
        <variable initial_value="0" name="k0_25" public_interface="out" units="per_second"/>
        <variable initial_value="0" name="k0_52" public_interface="out" units="per_second"/>
        <variable initial_value="50" name="k0_34" public_interface="out" units="per_second"/>
        <variable initial_value="50" name="k0_43" public_interface="out" units="per_second"/>
        <variable initial_value="800" name="k0_45" public_interface="out" units="per_second"/>
        <variable initial_value="77778" name="k0_54" public_interface="out" units="per_M_per_second"/>
        <variable initial_value="5" name="k0_56" public_interface="out" units="per_second"/>
        <variable initial_value="2250" name="k0_65" public_interface="out" units="per_M2_per_second"/>
        <variable initial_value="25" name="k0_61" public_interface="out" units="per_second"/>
        <variable initial_value="600" name="k0_16" public_interface="out" units="per_second"/>
        <variable initial_value="0.7" name="delta" public_interface="out" units="dimensionless"/>
        <variable initial_value="0.3" name="alpha_p" public_interface="out" units="dimensionless"/>
        <variable initial_value="0" name="alpha_pp" public_interface="out" units="dimensionless"/>
        <!--ar N_C: dimensionless {init: 6e10};
var N_Avo: per_mol {init: 6.022e23};-->
        <!--var C_T: umol {pub: out};-->
        <variable initial_value="2" name="n" public_interface="out" units="dimensionless"/>
        <variable initial_value="-2" name="z_c" public_interface="out" units="dimensionless"/>
        <variable name="v_mc" public_interface="in" units="volt"/>
        <variable name="mu" public_interface="out" units="dimensionless"/>
        <!--alpha_p = 1{dimensionless}-delta-alpha_pp;-->
        <!--C_T = 1e6{umol_per_mol}*N_C/N_Avo;-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>mu</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>F</ci>
                        <ci>v_mc</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>R</ci>
                        <ci>T</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="Apical_concentrations">
        <variable initial_value="140e-3" name="Na_m" public_interface="out" units="M"/>
        <variable initial_value="5.4e-3" name="K_m" public_interface="out" units="M"/>
        <variable name="glucose_m" public_interface="out" units="M"/>
        <variable initial_value="103e-3" name="Cl_m" public_interface="out" units="M"/>
        <variable initial_value="0.2" name="k" public_interface="out" units="per_second"/>
        <variable initial_value="20e-3" name="glucose_0" public_interface="out" units="M"/>
        <variable initial_value="0.1e-3" name="glucose_f" public_interface="out" units="M"/>
        <variable name="time" public_interface="in" units="second"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>glucose_m</ci>
                <piecewise>
                    <piece>
                        <cn cellml:units="M" type="e-notation">0.1<sep/>-3</cn>
                        <apply>
                            <and/>
                            <apply>
                                <geq/>
                                <ci>time</ci>
                                <cn cellml:units="second">0</cn>
                            </apply>
                            <apply>
                                <lt/>
                                <ci>time</ci>
                                <cn cellml:units="second">60</cn>
                            </apply>
                        </apply>
                    </piece>
                    <piece>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <apply>
                                    <minus/>
                                    <ci>glucose_0</ci>
                                    <ci>glucose_f</ci>
                                </apply>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <ci>k</ci>
                                        </apply>
                                        <apply>
                                            <minus/>
                                            <ci>time</ci>
                                            <cn cellml:units="second">60</cn>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                            <ci>glucose_f</ci>
                        </apply>
                        <apply>
                            <geq/>
                            <ci>time</ci>
                            <cn cellml:units="second">60</cn>
                        </apply>
                    </piece>
                </piecewise>
            </apply>
        </math>
    </component>
    <component name="Apical_voltage">
        <variable initial_value="-49e-3" name="v_mc" public_interface="out" units="volt"/>
        <variable name="time" public_interface="in" units="second"/>
        <variable name="capacitance" public_interface="in" units="uF"/>
        <variable name="I_D_Na" public_interface="in" units="uA"/>
        <variable name="I_D_K" public_interface="in" units="uA"/>
        <variable name="I_D_Cl" public_interface="in" units="uA"/>
        <variable name="I_D_P_Na" public_interface="in" units="uA"/>
        <variable name="I_D_P_K" public_interface="in" units="uA"/>
        <variable name="I_D_P_Cl" public_interface="in" units="uA"/>
        <!--var I_NaCl: uA {pub: in};-->
        <variable name="I_Na_SGLT" public_interface="in" units="uA"/>
        <!--var I_Gl_SGLT: uA {pub: in};-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>v_mc</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <plus/>
                        <ci>I_D_Na</ci>
                        <ci>I_D_K</ci>
                        <ci>I_D_Cl</ci>
                        <ci>I_Na_SGLT</ci>
                        <ci>I_D_P_Na</ci>
                        <ci>I_D_P_K</ci>
                        <ci>I_D_P_Cl</ci>
                    </apply>
                    <ci>capacitance</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="Cell_concentration">
        <variable initial_value="49e-3" name="Na_i" public_interface="out" units="M"/>
        <variable initial_value="12e-3" name="glucose_i" public_interface="out" units="M"/>
        <variable initial_value="129e-3" name="K_i" public_interface="out" units="M"/>
        <variable initial_value="57e-3" name="Cl_i" public_interface="out" units="M"/>
        <variable name="v_cell" public_interface="in" units="m3"/>
        <variable name="J_Na_SGLT" public_interface="in" units="umol_per_s"/>
        <variable name="J_Gl_SGLT" public_interface="in" units="umol_per_s"/>
        <variable name="J_Na_NaK" public_interface="in" units="umol_per_s"/>
        <variable name="J_K_NaK" public_interface="in" units="umol_per_s"/>
        <variable name="J_NaCl" public_interface="in" units="umol_per_s"/>
        <variable name="J_D_Na" public_interface="in" units="umol_per_s"/>
        <variable name="J_D_Bl_Na" public_interface="in" units="umol_per_s"/>
        <variable name="J_GLUT" public_interface="in" units="umol_per_s"/>
        <variable name="J_D_K" public_interface="in" units="umol_per_s"/>
        <variable name="J_D_Bl_K" public_interface="in" units="umol_per_s"/>
        <variable name="J_D_Cl" public_interface="in" units="umol_per_s"/>
        <variable name="J_D_Bl_Cl" public_interface="in" units="umol_per_s"/>
        <variable name="time" public_interface="in" units="second"/>
        <variable initial_value="1" name="theta_1" units="dimensionless"/>
        <variable initial_value="1" name="theta_2" units="dimensionless"/>
        <variable initial_value="1" name="theta_3" units="dimensionless"/>
        <variable initial_value="1" name="theta_4" units="dimensionless"/>
        <variable initial_value="1" name="theta_5" units="dimensionless"/>
        <variable initial_value="1" name="theta_6" units="dimensionless"/>
        <variable initial_value="1" name="theta_7" units="dimensionless"/>
        <variable initial_value="1" name="theta_8" units="dimensionless"/>
        <variable initial_value="1" name="theta_9" units="dimensionless"/>
        <variable initial_value="1" name="theta_10" units="dimensionless"/>
        <variable initial_value="1" name="theta_11" units="dimensionless"/>
        <variable initial_value="1" name="theta_12" units="dimensionless"/>
        <variable initial_value="1" name="theta_13" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Na_i</ci>
                </apply>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <cn cellml:units="m3_mole_per_litre_per_umol" type="e-notation">1<sep/>-9</cn>
                        <ci>v_cell</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>theta_1</ci>
                            <ci>J_Na_SGLT</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>theta_2</ci>
                            <ci>J_Na_NaK</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>theta_3</ci>
                            <ci>J_NaCl</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>theta_4</ci>
                            <ci>J_D_Na</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>theta_5</ci>
                            <ci>J_D_Bl_Na</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>glucose_i</ci>
                </apply>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <cn cellml:units="m3_mole_per_litre_per_umol" type="e-notation">1<sep/>-9</cn>
                        <ci>v_cell</ci>
                    </apply>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <ci>theta_6</ci>
                            <ci>J_Gl_SGLT</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>theta_7</ci>
                            <ci>J_GLUT</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>K_i</ci>
                </apply>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <cn cellml:units="m3_mole_per_litre_per_umol" type="e-notation">1<sep/>-9</cn>
                        <ci>v_cell</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>theta_8</ci>
                            <ci>J_K_NaK</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>theta_9</ci>
                            <ci>J_D_K</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>theta_10</ci>
                            <ci>J_D_Bl_K</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Cl_i</ci>
                </apply>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <cn cellml:units="m3_mole_per_litre_per_umol" type="e-notation">1<sep/>-9</cn>
                        <ci>v_cell</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>theta_11</ci>
                            <ci>J_NaCl</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>theta_12</ci>
                            <ci>J_D_Cl</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>theta_13</ci>
                            <ci>J_D_Bl_Cl</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="Basolateral_concentrations">
        <variable initial_value="140e-3" name="Na_s" public_interface="out" units="M"/>
        <variable initial_value="10e-3" name="glucose_s" public_interface="out" units="M"/>
        <variable initial_value="103e-3" name="Cl_s" public_interface="out" units="M"/>
        <variable initial_value="5.4e-3" name="K_s" public_interface="out" units="M"/>
        <!--var time: second {pub: out};-->
    </component>
    <component name="Basol_voltage">
        <variable initial_value="-52e-3" name="v_sc" public_interface="out" units="volt"/>
        <variable name="time" public_interface="in" units="second"/>
        <variable name="capacitance" public_interface="in" units="uF"/>
        <variable name="I_D_Bl_Na" public_interface="in" units="uA"/>
        <variable name="I_D_Bl_K" public_interface="in" units="uA"/>
        <variable name="I_D_Bl_Cl" public_interface="in" units="uA"/>
        <variable name="I_Na_NaK" public_interface="in" units="uA"/>
        <variable name="I_K_NaK" public_interface="in" units="uA"/>
        <variable name="I_D_P_Na" public_interface="in" units="uA"/>
        <variable name="I_D_P_K" public_interface="in" units="uA"/>
        <variable name="I_D_P_Cl" public_interface="in" units="uA"/>
        <!--var I_GLUT: uA {pub: in};-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>v_sc</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <minus/>
                                <apply>
                                    <plus/>
                                    <ci>I_D_Bl_Na</ci>
                                    <ci>I_D_Bl_K</ci>
                                    <ci>I_D_Bl_Cl</ci>
                                    <ci>I_Na_NaK</ci>
                                    <ci>I_K_NaK</ci>
                                </apply>
                                <ci>I_D_P_Na</ci>
                            </apply>
                            <ci>I_D_P_K</ci>
                        </apply>
                        <ci>I_D_P_Cl</ci>
                    </apply>
                    <ci>capacitance</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="rate_constants">
        <variable name="Na_i" public_interface="in" units="M"/>
        <variable name="Na_m" public_interface="in" units="M"/>
        <variable name="glucose_i" public_interface="in" units="M"/>
        <variable name="glucose_m" public_interface="in" units="M"/>
        <variable name="k_12" public_interface="out" units="per_second"/>
        <variable name="ks_12" public_interface="out" units="per_M2_per_second"/>
        <variable name="k_21" public_interface="out" units="per_second"/>
        <!--var k_23: per_second {pub: out};-->
        <variable name="k_32" public_interface="out" units="per_second"/>
        <variable name="k_25" public_interface="out" units="per_second"/>
        <variable name="k_52" public_interface="out" units="per_second"/>
        <variable name="k_34" public_interface="out" units="per_second"/>
        <variable name="k_43" public_interface="out" units="per_second"/>
        <variable name="k_45" public_interface="out" units="per_second"/>
        <variable name="k_54" public_interface="out" units="per_second"/>
        <variable name="k_56" public_interface="out" units="per_second"/>
        <variable name="k_65" public_interface="out" units="per_second"/>
        <variable name="k_61" public_interface="out" units="per_second"/>
        <variable name="k_16" public_interface="out" units="per_second"/>
        <variable name="k0_12" public_interface="in" units="per_M2_per_second"/>
        <variable name="k0_21" public_interface="in" units="per_second"/>
        <!--var k0_23: per_M_per_second {pub: in};-->
        <variable name="k0_32" public_interface="in" units="per_second"/>
        <variable name="k0_25" public_interface="in" units="per_second"/>
        <variable name="k0_52" public_interface="in" units="per_second"/>
        <variable name="k0_34" public_interface="in" units="per_second"/>
        <variable name="k0_43" public_interface="in" units="per_second"/>
        <variable name="k0_45" public_interface="in" units="per_second"/>
        <variable name="k0_54" public_interface="in" units="per_M_per_second"/>
        <!--var k0_25: per_second {pub: in};
var k0_52: per_second {pub: in};-->
        <variable name="k0_56" public_interface="in" units="per_second"/>
        <variable name="k0_65" public_interface="in" units="per_M2_per_second"/>
        <variable name="k0_61" public_interface="in" units="per_second"/>
        <variable name="k0_16" public_interface="in" units="per_second"/>
        <!--var k0_54_temp: per_M_per_second {pub: out};-->
        <!--var k_52_temp: per_second {pub: out};-->
        <variable name="delta" public_interface="in" units="dimensionless"/>
        <variable name="n" public_interface="in" units="dimensionless"/>
        <variable name="z_c" public_interface="in" units="dimensionless"/>
        <variable name="z_Na" public_interface="in" units="dimensionless"/>
        <variable name="alpha_p" public_interface="in" units="dimensionless"/>
        <!--var alpha_pp: dimensionless {pub: in};-->
        <!--var C_T: umol {pub: in};-->
        <variable name="mu" public_interface="in" units="dimensionless"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>ks_12</ci>
                <apply>
                    <times/>
                    <ci>k0_12</ci>
                    <apply>
                        <exp/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <apply>
                                    <minus/>
                                    <ci>n</ci>
                                </apply>
                                <ci>alpha_p</ci>
                                <ci>mu</ci>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--        k_12 = ks_12*pow(Na_m, n);-->
            <apply>
                <eq/>
                <ci>k_12</ci>
                <apply>
                    <times/>
                    <ci>k0_12</ci>
                    <apply>
                        <exp/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <ci>alpha_p</ci>
                            </apply>
                            <ci>mu</ci>
                        </apply>
                    </apply>
                    <apply>
                        <power/>
                        <ci>Na_m</ci>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k_21</ci>
                <apply>
                    <times/>
                    <ci>k0_21</ci>
                    <apply>
                        <exp/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>n</ci>
                                <ci>z_Na</ci>
                                <ci>alpha_p</ci>
                                <ci>mu</ci>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--k_23 = k0_23*glucose_m;-->
            <apply>
                <eq/>
                <ci>k_32</ci>
                <ci>k0_32</ci>
            </apply>
            <apply>
                <eq/>
                <ci>k_34</ci>
                <ci>k0_34</ci>
            </apply>
            <apply>
                <eq/>
                <ci>k_43</ci>
                <ci>k0_43</ci>
            </apply>
            <apply>
                <eq/>
                <ci>k_45</ci>
                <ci>k0_45</ci>
            </apply>
            <apply>
                <eq/>
                <ci>k_54</ci>
                <apply>
                    <times/>
                    <ci>k0_54</ci>
                    <ci>glucose_i</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k_25</ci>
                <ci>k0_25</ci>
            </apply>
            <!--k_52_temp = k0_52*exp((z_c+n)*delta*mu/2{dimensionless});-->
            <apply>
                <eq/>
                <ci>k_56</ci>
                <ci>k0_56</ci>
            </apply>
            <apply>
                <eq/>
                <ci>k_65</ci>
                <apply>
                    <times/>
                    <ci>k0_65</ci>
                    <apply>
                        <power/>
                        <ci>Na_i</ci>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k_61</ci>
                <apply>
                    <times/>
                    <ci>k0_61</ci>
                    <apply>
                        <exp/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>z_c</ci>
                                <ci>delta</ci>
                                <ci>mu</ci>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k_16</ci>
                <apply>
                    <times/>
                    <ci>k0_16</ci>
                    <apply>
                        <exp/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <apply>
                                    <minus/>
                                    <ci>z_c</ci>
                                </apply>
                                <ci>delta</ci>
                                <ci>mu</ci>
                            </apply>
                            <cn cellml:units="dimensionless">2</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>k_52</ci>
                <ci>k0_52</ci>
            </apply>
        </math>
        <!--k0_54_temp = k0_23*k_34*k_45/(k_43*k_32);-->
    </component>
    <component name="phenomonological_constants">
        <variable name="epsilon" public_interface="out" units="per_second"/>
        <variable name="lambda" public_interface="out" units="per_M3_per_second5"/>
        <variable name="chi" public_interface="out" units="M"/>
        <variable name="alpha" public_interface="out" units="M3"/>
        <variable name="beta" public_interface="out" units="M2"/>
        <variable name="gamma" public_interface="out" units="M3_per_second"/>
        <variable name="phi" public_interface="out" units="M_per_second"/>
        <variable name="k_12" public_interface="in" units="per_second"/>
        <variable name="k_21" public_interface="in" units="per_second"/>
        <!--var k_23: per_second {pub: in};-->
        <variable name="k_32" public_interface="in" units="per_second"/>
        <variable name="k_34" public_interface="in" units="per_second"/>
        <variable name="k_43" public_interface="in" units="per_second"/>
        <variable name="k_45" public_interface="in" units="per_second"/>
        <variable name="k_54" public_interface="in" units="per_second"/>
        <variable name="k_25" public_interface="in" units="per_second"/>
        <variable name="k_52" public_interface="in" units="per_second"/>
        <variable name="k_56" public_interface="in" units="per_second"/>
        <variable name="k_65" public_interface="in" units="per_second"/>
        <variable name="k_61" public_interface="in" units="per_second"/>
        <variable name="k_16" public_interface="in" units="per_second"/>
        <variable name="ks_12" public_interface="in" units="per_M2_per_second"/>
        <variable name="k0_23" public_interface="in" units="per_M_per_second"/>
        <!--var C_T: umol {pub: in};-->
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <variable name="Na_m" public_interface="in" units="M"/>
        <variable name="glucose_m" public_interface="in" units="M"/>
        <variable initial_value="180e6" name="n_SGLT" public_interface="out" units="dimensionless"/>
        <variable name="J_Na_SGLT" public_interface="out" units="umol_per_s"/>
        <variable name="I_Na_SGLT" public_interface="out" units="uA"/>
        <variable name="J_Gl_SGLT" public_interface="out" units="umol_per_s"/>
        <variable name="J_GL_SGLT1" public_interface="out" units="umol_per_s"/>
        <!--var I_Gl_SGLT: uA {pub: out};-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>lambda</ci>
                <apply>
                    <times/>
                    <ci>ks_12</ci>
                    <ci>k0_23</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_43</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_54</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_52</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>chi</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>lambda</ci>
                    </apply>
                    <ci>ks_12</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_54</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_54</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_56</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>beta</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>lambda</ci>
                    </apply>
                    <ci>k0_23</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_34</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_34</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>alpha</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>lambda</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_25</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_34</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_54</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_65</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_56</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                            <ci>k_61</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_56</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_56</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_56</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_16</ci>
                            <ci>k_21</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>gamma</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <ci>lambda</ci>
                    </apply>
                    <ci>k_16</ci>
                    <ci>k_21</ci>
                    <ci>k_65</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_54</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                            <ci>k_52</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                            <ci>k_52</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>phi</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                        <ci>lambda</ci>
                    </apply>
                    <ci>ks_12</ci>
                    <ci>k_56</ci>
                    <ci>k_61</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_34</ci>
                            <ci>k_45</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_45</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>k_25</ci>
                            <ci>k_32</ci>
                            <ci>k_43</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>epsilon</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                        <ci>lambda</ci>
                    </apply>
                    <ci>ks_12</ci>
                    <ci>k0_23</ci>
                    <ci>k_34</ci>
                    <ci>k_45</ci>
                    <ci>k_56</ci>
                    <ci>k_61</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_Na_SGLT</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                                <ci>n_SGLT</ci>
                            </apply>
                            <cn cellml:units="per_umol" type="e-notation">6.023<sep/>17</cn>
                        </apply>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <ci>epsilon</ci>
                                <apply>
                                    <power/>
                                    <ci>Na_m</ci>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                                <ci>glucose_m</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>phi</ci>
                                <apply>
                                    <power/>
                                    <ci>Na_m</ci>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                            </apply>
                            <ci>gamma</ci>
                        </apply>
                    </apply>
                    <apply>
                        <plus/>
                        <ci>alpha</ci>
                        <apply>
                            <times/>
                            <ci>beta</ci>
                            <ci>glucose_m</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>chi</ci>
                            <apply>
                                <power/>
                                <ci>Na_m</ci>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <apply>
                                <power/>
                                <ci>Na_m</ci>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                            <ci>glucose_m</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_Na_SGLT</ci>
                <apply>
                    <times/>
                    <ci>J_Na_SGLT</ci>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_Gl_SGLT</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1</cn>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                    <ci>J_Na_SGLT</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_GL_SGLT1</ci>
                <apply>
                    <times/>
                    <ci>J_Gl_SGLT</ci>
                    <cn cellml:units="dimensionless" type="e-notation">36<sep/>8</cn>
                </apply>
            </apply>
        </math>
        <!--I_Gl_SGLT = -J_Gl_SGLT*F;-->
    </component>
    <component name="GLUT2">
        <variable initial_value="23e-3" name="K_G_c_half" public_interface="out" units="M"/>
        <variable initial_value="48e-3" name="K_G_s_half" public_interface="out" units="M"/>
        <variable name="glucose_i" public_interface="in" units="M"/>
        <variable name="glucose_s" public_interface="in" units="M"/>
        <variable initial_value="1.1e-16" name="V_G_c_max" public_interface="out" units="umol_per_s"/>
        <variable initial_value="2.27e-16" name="V_G_s_max" public_interface="out" units="umol_per_s"/>
        <variable name="J_GLUT" public_interface="out" units="umol_per_s"/>
        <variable name="J_GLUT2" public_interface="out" units="umol_per_s"/>
        <!--var I_GLUT: uA {pub: out};-->
        <variable initial_value="13.2e6" name="n_GLUT" units="dimensionless"/>
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>J_GLUT</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>V_G_c_max</ci>
                                <ci>K_G_s_half</ci>
                                <ci>glucose_i</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>V_G_s_max</ci>
                                <ci>K_G_c_half</ci>
                                <ci>glucose_s</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <apply>
                                <plus/>
                                <ci>K_G_c_half</ci>
                                <ci>glucose_i</ci>
                            </apply>
                            <apply>
                                <plus/>
                                <ci>K_G_s_half</ci>
                                <ci>glucose_i</ci>
                            </apply>
                        </apply>
                    </apply>
                    <ci>n_GLUT</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_GLUT2</ci>
                <apply>
                    <times/>
                    <ci>J_GLUT</ci>
                    <cn cellml:units="dimensionless" type="e-notation">36<sep/>8</cn>
                </apply>
            </apply>
        </math>
        <!--I_GLUT = -J_GLUT*F;-->
    </component>
    <component name="Na_Cl">
        <variable initial_value="6.69e-10" name="V_NaCl_max" public_interface="out" units="umol_per_s"/>
        <variable name="Na_m" public_interface="in" units="M"/>
        <variable name="Cl_m" public_interface="in" units="M"/>
        <variable name="Na_i" public_interface="in" units="M"/>
        <variable name="Cl_i" public_interface="in" units="M"/>
        <variable initial_value="14e-3" name="K_1" public_interface="out" units="M"/>
        <variable initial_value="22e-3" name="K_3" public_interface="out" units="M"/>
        <variable initial_value="56e-3" name="K_4" public_interface="out" units="M"/>
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <variable name="J_NaCl" public_interface="out" units="umol_per_s"/>
        <variable name="J_NACL" public_interface="out" units="umol_per_s"/>
        <!--var I_NaCl: uA {pub: out};-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>J_NaCl</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <ci>V_NaCl_max</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>Na_m</ci>
                                <ci>Cl_m</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>Na_i</ci>
                                <ci>Cl_i</ci>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">2</cn>
                            <ci>K_1</ci>
                            <ci>K_3</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>K_3</ci>
                            <ci>Na_m</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>K_4</ci>
                            <ci>Cl_m</ci>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">2</cn>
                            <ci>Na_m</ci>
                            <ci>Cl_m</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_NACL</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless" type="e-notation">36<sep/>8</cn>
                    <ci>J_NaCl</ci>
                </apply>
            </apply>
        </math>
        <!--I_NaCl = -J_NaCl*F;-->
    </component>
    <component name="NaK_channel">
        <variable name="time" public_interface="in" units="second"/>
        <variable name="v_sc" public_interface="in" units="volt"/>
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <variable name="K_s" public_interface="in" units="M"/>
        <variable name="Na_i" public_interface="in" units="M"/>
        <variable name="TO_NaK" public_interface="out" units="per_second"/>
        <variable initial_value="49.2e5" name="n_NaK" public_interface="out" units="dimensionless"/>
        <variable initial_value="10e-3" name="K_Na_i_half" public_interface="out" units="M"/>
        <variable initial_value="1.5e-3" name="K_K_s_half" public_interface="out" units="M"/>
        <variable name="I_Na_NaK" public_interface="out" units="uA"/>
        <variable name="I_K_NaK" public_interface="out" units="uA"/>
        <variable name="J_NaK" public_interface="out" units="umol_per_s"/>
        <variable name="J_Na_NaK" public_interface="out" units="umol_per_s"/>
        <variable name="J_K_NaK" public_interface="out" units="umol_per_s"/>
        <!--var J_K_NaK: umol_per_s {pub: out};-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>I_K_NaK</ci>
                <apply>
                    <times/>
                    <ci>J_K_NaK</ci>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_Na_NaK</ci>
                <apply>
                    <times/>
                    <ci>J_Na_NaK</ci>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_NaK</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>TO_NaK</ci>
                                        <ci>n_NaK</ci>
                                    </apply>
                                    <cn cellml:units="per_umol" type="e-notation">6.023<sep/>17</cn>
                                </apply>
                                <apply>
                                    <power/>
                                    <ci>Na_i</ci>
                                    <cn cellml:units="dimensionless">1.36</cn>
                                </apply>
                                <cn cellml:units="dimensionless">1.13</cn>
                            </apply>
                            <apply>
                                <plus/>
                                <apply>
                                    <power/>
                                    <ci>K_Na_i_half</ci>
                                    <cn cellml:units="dimensionless">1.36</cn>
                                </apply>
                                <apply>
                                    <power/>
                                    <ci>Na_i</ci>
                                    <cn cellml:units="dimensionless">1.36</cn>
                                </apply>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1.3</cn>
                        <ci>K_s</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <ci>K_K_s_half</ci>
                        <ci>K_s</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>TO_NaK</ci>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <cn cellml:units="per_volt4_per_second" type="e-notation">5.46<sep/>+4</cn>
                                <apply>
                                    <power/>
                                    <ci>v_sc</ci>
                                    <cn cellml:units="dimensionless">4</cn>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="per_volt3_per_second" type="e-notation">2.43<sep/>+2</cn>
                                <apply>
                                    <power/>
                                    <ci>v_sc</ci>
                                    <cn cellml:units="dimensionless">3</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="per_volt2_per_second" type="e-notation">2<sep/>+3</cn>
                            <apply>
                                <power/>
                                <ci>v_sc</ci>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="per_volt_per_second">160</cn>
                        <ci>v_sc</ci>
                    </apply>
                    <cn cellml:units="per_second">51</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_Na_NaK</ci>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">3</cn>
                    </apply>
                    <ci>J_NaK</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_K_NaK</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless">2</cn>
                    <ci>J_NaK</ci>
                </apply>
            </apply>
        </math>
        <!--J_Na_NaK = -108e8{dimensionless}*J_NaK;-->
        <!--J_K_NaK = -72e8{dimensionless}*J_NaK;-->
    </component>
    <component name="Apical_Diffusion">
        <variable name="v_mc" public_interface="in" units="volt"/>
        <variable name="Na_m" public_interface="in" units="M"/>
        <variable name="K_m" public_interface="in" units="M"/>
        <variable name="Cl_m" public_interface="in" units="M"/>
        <variable name="Na_i" public_interface="in" units="M"/>
        <variable name="K_i" public_interface="in" units="M"/>
        <variable name="Cl_i" public_interface="in" units="M"/>
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <variable name="z_Na" public_interface="in" units="dimensionless"/>
        <variable name="z_k" public_interface="in" units="dimensionless"/>
        <variable name="z_Cl" public_interface="in" units="dimensionless"/>
        <variable name="R" public_interface="in" units="J_per_K_per_mol"/>
        <variable name="A_Apical" public_interface="in" units="m2"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="P_Na" public_interface="in" units="m_per_s"/>
        <variable name="P_k" public_interface="in" units="m_per_s"/>
        <variable name="P_Cl" public_interface="in" units="m_per_s"/>
        <variable name="J_D_Na" public_interface="out" units="umol_per_s"/>
        <variable name="J_D_NA" public_interface="out" units="umol_per_s"/>
        <variable name="I_D_Na" public_interface="out" units="uA"/>
        <variable name="J_D_K" public_interface="out" units="umol_per_s"/>
        <variable name="I_D_K" public_interface="out" units="uA"/>
        <variable name="J_D_Cl" public_interface="out" units="umol_per_s"/>
        <variable name="I_D_Cl" public_interface="out" units="uA"/>
        <variable name="J_D_Apical" public_interface="out" units="umol_per_s"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>J_D_Na</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="litre_umol_per_mol_per_m3" type="e-notation">1<sep/>9</cn>
                                    </apply>
                                    <ci>P_Na</ci>
                                    <ci>F</ci>
                                    <ci>z_Na</ci>
                                    <ci>v_mc</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <ci>Na_m</ci>
                                <apply>
                                    <times/>
                                    <ci>Na_i</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>z_Na</ci>
                                                <ci>F</ci>
                                                <ci>v_mc</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>T</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>z_Na</ci>
                                        <ci>F</ci>
                                        <ci>v_mc</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <ci>A_Apical</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_NA</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless" type="e-notation">36<sep/>8</cn>
                    <ci>J_D_Na</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_D_Na</ci>
                <apply>
                    <times/>
                    <ci>J_D_Na</ci>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_K</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="litre_umol_per_mol_per_m3" type="e-notation">1<sep/>9</cn>
                                    </apply>
                                    <ci>P_k</ci>
                                    <ci>F</ci>
                                    <ci>z_k</ci>
                                    <ci>v_mc</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <ci>K_m</ci>
                                <apply>
                                    <times/>
                                    <ci>K_i</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>z_k</ci>
                                                <ci>F</ci>
                                                <ci>v_mc</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>T</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>z_k</ci>
                                        <ci>F</ci>
                                        <ci>v_mc</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <ci>A_Apical</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_D_K</ci>
                <apply>
                    <times/>
                    <ci>J_D_K</ci>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_Cl</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="litre_umol_per_mol_per_m3" type="e-notation">1<sep/>9</cn>
                                    </apply>
                                    <ci>P_Cl</ci>
                                    <ci>F</ci>
                                    <ci>z_Cl</ci>
                                    <ci>v_mc</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <ci>Cl_m</ci>
                                <apply>
                                    <times/>
                                    <ci>Cl_i</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>z_Cl</ci>
                                                <ci>F</ci>
                                                <ci>v_mc</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>T</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>z_Cl</ci>
                                        <ci>F</ci>
                                        <ci>v_mc</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <ci>A_Apical</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_D_Cl</ci>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <ci>J_D_Cl</ci>
                    </apply>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_Apical</ci>
                <apply>
                    <plus/>
                    <ci>J_D_Na</ci>
                    <ci>J_D_K</ci>
                    <ci>J_D_Cl</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="Basolateral_Diffusion">
        <variable name="v_sc" public_interface="in" units="volt"/>
        <variable name="Na_s" public_interface="in" units="M"/>
        <variable name="K_s" public_interface="in" units="M"/>
        <variable name="Cl_s" public_interface="in" units="M"/>
        <variable name="Na_i" public_interface="in" units="M"/>
        <variable name="K_i" public_interface="in" units="M"/>
        <variable name="Cl_i" public_interface="in" units="M"/>
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <variable name="z_Na" public_interface="in" units="dimensionless"/>
        <variable name="z_k" public_interface="in" units="dimensionless"/>
        <variable name="z_Cl" public_interface="in" units="dimensionless"/>
        <variable name="R" public_interface="in" units="J_per_K_per_mol"/>
        <variable name="A_Basol" public_interface="in" units="m2"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="P_Bl_Na" public_interface="in" units="m_per_s"/>
        <variable name="P_Bl_k" public_interface="in" units="m_per_s"/>
        <variable name="P_Bl_Cl" public_interface="in" units="m_per_s"/>
        <variable name="J_D_Bl_Na" public_interface="out" units="umol_per_s"/>
        <variable name="I_D_Bl_Na" public_interface="out" units="uA"/>
        <variable name="J_D_Bl_K" public_interface="out" units="umol_per_s"/>
        <variable name="I_D_Bl_K" public_interface="out" units="uA"/>
        <variable name="J_D_Bl_Cl" public_interface="out" units="umol_per_s"/>
        <variable name="I_D_Bl_Cl" public_interface="out" units="uA"/>
        <variable name="J_D_Basolateral" public_interface="out" units="umol_per_s"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>J_D_Bl_Na</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="litre_umol_per_mol_per_m3" type="e-notation">1<sep/>9</cn>
                                    </apply>
                                    <ci>P_Bl_Na</ci>
                                    <ci>F</ci>
                                    <ci>z_Na</ci>
                                    <ci>v_sc</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <ci>Na_s</ci>
                                <apply>
                                    <times/>
                                    <ci>Na_i</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>z_Na</ci>
                                                <ci>F</ci>
                                                <ci>v_sc</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>T</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>z_Na</ci>
                                        <ci>F</ci>
                                        <ci>v_sc</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <ci>A_Basol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_D_Bl_Na</ci>
                <apply>
                    <times/>
                    <ci>J_D_Bl_Na</ci>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_Bl_K</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="litre_umol_per_mol_per_m3" type="e-notation">1<sep/>9</cn>
                                    </apply>
                                    <ci>P_Bl_k</ci>
                                    <ci>F</ci>
                                    <ci>z_k</ci>
                                    <ci>v_sc</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <ci>K_s</ci>
                                <apply>
                                    <times/>
                                    <ci>K_i</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>z_k</ci>
                                                <ci>F</ci>
                                                <ci>v_sc</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>T</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>z_k</ci>
                                        <ci>F</ci>
                                        <ci>v_sc</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <ci>A_Basol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_D_Bl_K</ci>
                <apply>
                    <times/>
                    <ci>J_D_Bl_K</ci>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_Bl_Cl</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="litre_umol_per_mol_per_m3" type="e-notation">1<sep/>9</cn>
                                    </apply>
                                    <ci>P_Bl_Cl</ci>
                                    <ci>F</ci>
                                    <ci>z_Cl</ci>
                                    <ci>v_sc</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <ci>Cl_s</ci>
                                <apply>
                                    <times/>
                                    <ci>Cl_i</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>z_Cl</ci>
                                                <ci>F</ci>
                                                <ci>v_sc</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>T</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>z_Cl</ci>
                                        <ci>F</ci>
                                        <ci>v_sc</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <ci>A_Basol</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_D_Bl_Cl</ci>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <ci>J_D_Bl_Cl</ci>
                    </apply>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_Basolateral</ci>
                <apply>
                    <plus/>
                    <ci>J_D_Bl_Na</ci>
                    <ci>J_D_Bl_K</ci>
                    <ci>J_D_Bl_Cl</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="Paracellular_voltage">
        <variable name="v_ms" public_interface="out" units="volt"/>
        <variable name="v_sc" public_interface="in" units="volt"/>
        <variable name="v_mc" public_interface="in" units="volt"/>
        <!--        var time: second {pub: in};
        var capacitance: uF {pub: in};
        var I_D_P_Na: uA {pub: in};
        var I_D_P_K: uA {pub: in};
        var I_D_P_Cl: uA {pub: in};-->
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>v_ms</ci>
                <apply>
                    <minus/>
                    <ci>v_mc</ci>
                    <ci>v_sc</ci>
                </apply>
            </apply>
        </math>
        <!--ode(v_ms, time) = (I_D_P_Na+I_D_P_K+I_D_P_Cl)/capacitance;-->
    </component>
    <component name="Paracellular_Diffusion">
        <variable name="v_ms" public_interface="in" units="volt"/>
        <variable name="Na_m" public_interface="in" units="M"/>
        <variable name="K_m" public_interface="in" units="M"/>
        <variable name="Cl_m" public_interface="in" units="M"/>
        <variable name="Na_s" public_interface="in" units="M"/>
        <variable name="K_s" public_interface="in" units="M"/>
        <variable name="Cl_s" public_interface="in" units="M"/>
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <variable name="z_Na" public_interface="in" units="dimensionless"/>
        <variable name="z_k" public_interface="in" units="dimensionless"/>
        <variable name="z_Cl" public_interface="in" units="dimensionless"/>
        <variable name="R" public_interface="in" units="J_per_K_per_mol"/>
        <variable name="A_Apical" public_interface="in" units="m2"/>
        <variable name="T" public_interface="in" units="kelvin"/>
        <variable name="P_P_Na" public_interface="in" units="m_per_s"/>
        <variable name="P_P_k" public_interface="in" units="m_per_s"/>
        <variable name="P_P_Cl" public_interface="in" units="m_per_s"/>
        <variable name="J_D_P_Na" public_interface="out" units="umol_per_s"/>
        <variable name="I_D_P_Na" public_interface="out" units="uA"/>
        <variable name="J_D_P_K" public_interface="out" units="umol_per_s"/>
        <variable name="I_D_P_K" public_interface="out" units="uA"/>
        <variable name="J_D_P_Cl" public_interface="out" units="umol_per_s"/>
        <variable name="I_D_P_Cl" public_interface="out" units="uA"/>
        <variable name="J_D_Paracellular" public_interface="out" units="umol_per_s"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>J_D_P_Na</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="litre_umol_per_mol_per_m3" type="e-notation">1<sep/>9</cn>
                                    </apply>
                                    <ci>P_P_Na</ci>
                                    <ci>F</ci>
                                    <ci>z_Na</ci>
                                    <ci>v_ms</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <ci>Na_m</ci>
                                <apply>
                                    <times/>
                                    <ci>Na_s</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>z_Na</ci>
                                                <ci>F</ci>
                                                <ci>v_ms</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>T</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>z_Na</ci>
                                        <ci>F</ci>
                                        <ci>v_ms</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="m2" type="e-notation">1<sep/>-12</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_D_P_Na</ci>
                <apply>
                    <times/>
                    <ci>J_D_P_Na</ci>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_P_K</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="litre_umol_per_mol_per_m3" type="e-notation">1<sep/>9</cn>
                                    </apply>
                                    <ci>P_P_k</ci>
                                    <ci>F</ci>
                                    <ci>z_k</ci>
                                    <ci>v_ms</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <ci>K_m</ci>
                                <apply>
                                    <times/>
                                    <ci>K_s</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>z_k</ci>
                                                <ci>F</ci>
                                                <ci>v_ms</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>T</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>z_k</ci>
                                        <ci>F</ci>
                                        <ci>v_ms</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="m2" type="e-notation">1<sep/>-12</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_D_P_K</ci>
                <apply>
                    <times/>
                    <ci>J_D_P_K</ci>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_P_Cl</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="litre_umol_per_mol_per_m3" type="e-notation">1<sep/>9</cn>
                                    </apply>
                                    <ci>P_P_Cl</ci>
                                    <ci>F</ci>
                                    <ci>z_Cl</ci>
                                    <ci>v_ms</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>T</ci>
                                </apply>
                            </apply>
                            <apply>
                                <minus/>
                                <ci>Cl_m</ci>
                                <apply>
                                    <times/>
                                    <ci>Cl_s</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>z_Cl</ci>
                                                <ci>F</ci>
                                                <ci>v_ms</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>T</ci>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>z_Cl</ci>
                                        <ci>F</ci>
                                        <ci>v_ms</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>T</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="m2" type="e-notation">1<sep/>-12</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_D_P_Cl</ci>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <ci>J_D_P_Cl</ci>
                    </apply>
                    <ci>F</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>J_D_Paracellular</ci>
                <apply>
                    <plus/>
                    <ci>J_D_P_Na</ci>
                    <ci>J_D_P_K</ci>
                    <ci>J_D_P_Cl</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="interstitium_concentration">
        <variable initial_value="10e-3" name="glucose_s" public_interface="out" units="M"/>
    </component>
    <!--    def map between parameters and GLUT2 for
        vars F and F;
    enddef;-->
    <connection>
        <map_components component_1="rate_constants" component_2="phenomonological_constants"/>
        <map_variables variable_1="ks_12" variable_2="ks_12"/>
        <map_variables variable_1="k_12" variable_2="k_12"/>
        <map_variables variable_1="k_21" variable_2="k_21"/>
        <!--vars k_23 and k_23;-->
        <map_variables variable_1="k_32" variable_2="k_32"/>
        <map_variables variable_1="k_25" variable_2="k_25"/>
        <map_variables variable_1="k_52" variable_2="k_52"/>
        <map_variables variable_1="k_34" variable_2="k_34"/>
        <map_variables variable_1="k_43" variable_2="k_43"/>
        <map_variables variable_1="k_45" variable_2="k_45"/>
        <map_variables variable_1="k_54" variable_2="k_54"/>
        <map_variables variable_1="k_56" variable_2="k_56"/>
        <map_variables variable_1="k_65" variable_2="k_65"/>
        <map_variables variable_1="k_61" variable_2="k_61"/>
        <map_variables variable_1="k_16" variable_2="k_16"/>
    </connection>
    <connection>
        <map_components component_1="phenomonological_constants" component_2="Apical_concentrations"/>
        <map_variables variable_1="Na_m" variable_2="Na_m"/>
        <map_variables variable_1="glucose_m" variable_2="glucose_m"/>
    </connection>
    <connection>
        <map_components component_1="phenomonological_constants" component_2="Cell_concentration"/>
        <map_variables variable_1="J_Na_SGLT" variable_2="J_Na_SGLT"/>
        <map_variables variable_1="J_Gl_SGLT" variable_2="J_Gl_SGLT"/>
    </connection>
    <connection>
        <map_components component_1="phenomonological_constants" component_2="parameters"/>
        <map_variables variable_1="k0_23" variable_2="k0_23"/>
        <!--vars C_T and C_T;-->
        <map_variables variable_1="F" variable_2="F"/>
    </connection>
    <connection>
        <map_components component_1="phenomonological_constants" component_2="Apical_voltage"/>
        <map_variables variable_1="I_Na_SGLT" variable_2="I_Na_SGLT"/>
        <!--vars I_Gl_SGLT and I_Gl_SGLT;-->
    </connection>
    <connection>
        <map_components component_1="rate_constants" component_2="Apical_concentrations"/>
        <map_variables variable_1="Na_m" variable_2="Na_m"/>
        <map_variables variable_1="glucose_m" variable_2="glucose_m"/>
    </connection>
    <connection>
        <map_components component_1="rate_constants" component_2="Cell_concentration"/>
        <map_variables variable_1="Na_i" variable_2="Na_i"/>
        <map_variables variable_1="glucose_i" variable_2="glucose_i"/>
    </connection>
    <connection>
        <map_components component_1="rate_constants" component_2="parameters"/>
        <map_variables variable_1="k0_12" variable_2="k0_12"/>
        <map_variables variable_1="k0_21" variable_2="k0_21"/>
        <!--vars k0_23 and k0_23;-->
        <map_variables variable_1="k0_32" variable_2="k0_32"/>
        <map_variables variable_1="k0_25" variable_2="k0_25"/>
        <map_variables variable_1="k0_52" variable_2="k0_52"/>
        <map_variables variable_1="k0_34" variable_2="k0_34"/>
        <map_variables variable_1="k0_43" variable_2="k0_43"/>
        <map_variables variable_1="k0_45" variable_2="k0_45"/>
        <map_variables variable_1="k0_54" variable_2="k0_54"/>
        <map_variables variable_1="k0_56" variable_2="k0_56"/>
        <map_variables variable_1="k0_65" variable_2="k0_65"/>
        <map_variables variable_1="k0_61" variable_2="k0_61"/>
        <map_variables variable_1="k0_16" variable_2="k0_16"/>
        <map_variables variable_1="delta" variable_2="delta"/>
        <map_variables variable_1="alpha_p" variable_2="alpha_p"/>
        <!--vars alpha_pp and alpha_pp;-->
        <!--vars C_T and C_T;-->
        <map_variables variable_1="n" variable_2="n"/>
        <map_variables variable_1="z_c" variable_2="z_c"/>
        <map_variables variable_1="z_Na" variable_2="z_Na"/>
        <map_variables variable_1="mu" variable_2="mu"/>
    </connection>
    <connection>
        <map_components component_1="Cell_concentration" component_2="GLUT2"/>
        <map_variables variable_1="glucose_i" variable_2="glucose_i"/>
        <map_variables variable_1="J_GLUT" variable_2="J_GLUT"/>
    </connection>
    <connection>
        <map_components component_1="interstitium_concentration" component_2="GLUT2"/>
        <map_variables variable_1="glucose_s" variable_2="glucose_s"/>
    </connection>
    <connection>
        <map_components component_1="parameters" component_2="GLUT2"/>
        <map_variables variable_1="F" variable_2="F"/>
    </connection>
    <!--    def map between GLUT2 and Basol_voltage for
        vars I_GLUT and I_GLUT;
    enddef;-->
    <connection>
        <map_components component_1="Cell_concentration" component_2="Na_Cl"/>
        <map_variables variable_1="Na_i" variable_2="Na_i"/>
        <map_variables variable_1="Cl_i" variable_2="Cl_i"/>
        <map_variables variable_1="J_NaCl" variable_2="J_NaCl"/>
    </connection>
    <connection>
        <map_components component_1="Na_Cl" component_2="parameters"/>
        <map_variables variable_1="F" variable_2="F"/>
    </connection>
    <!--    def map between Cell_concentration and Apical_concentration for
        vars time and time;
        vars v_cell and v_cell;
    enddef;-->
    <connection>
        <map_components component_1="Apical_concentrations" component_2="Na_Cl"/>
        <map_variables variable_1="Na_m" variable_2="Na_m"/>
        <map_variables variable_1="Cl_m" variable_2="Cl_m"/>
        <!--vars F and F;-->
    </connection>
    <!--    def map between parameters and Apical_voltage for
        vars capacitance and capacitance;
        vars time and time;
    enddef;-->
    <!--    def map between Na_Cl and Apical_voltage for
        vars I_NaCl and I_NaCl;
    enddef;-->
    <connection>
        <map_components component_1="parameters" component_2="NaK_channel"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="Cell_concentration" component_2="NaK_channel"/>
        <map_variables variable_1="Na_i" variable_2="Na_i"/>
        <map_variables variable_1="J_Na_NaK" variable_2="J_Na_NaK"/>
        <map_variables variable_1="J_K_NaK" variable_2="J_K_NaK"/>
    </connection>
    <connection>
        <map_components component_1="Basolateral_concentrations" component_2="NaK_channel"/>
        <map_variables variable_1="K_s" variable_2="K_s"/>
    </connection>
    <connection>
        <map_components component_1="Basol_voltage" component_2="NaK_channel"/>
        <map_variables variable_1="I_Na_NaK" variable_2="I_Na_NaK"/>
        <map_variables variable_1="I_K_NaK" variable_2="I_K_NaK"/>
        <map_variables variable_1="v_sc" variable_2="v_sc"/>
    </connection>
    <connection>
        <map_components component_1="Cell_concentration" component_2="Apical_Diffusion"/>
        <map_variables variable_1="Na_i" variable_2="Na_i"/>
        <map_variables variable_1="K_i" variable_2="K_i"/>
        <map_variables variable_1="Cl_i" variable_2="Cl_i"/>
        <map_variables variable_1="J_D_Na" variable_2="J_D_Na"/>
        <map_variables variable_1="J_D_K" variable_2="J_D_K"/>
        <map_variables variable_1="J_D_Cl" variable_2="J_D_Cl"/>
    </connection>
    <!--    def map between Apical_concentrations and Cell_concentration for
        vars time and time;
    enddef;-->
    <connection>
        <map_components component_1="Apical_concentrations" component_2="Apical_Diffusion"/>
        <map_variables variable_1="Na_m" variable_2="Na_m"/>
        <map_variables variable_1="K_m" variable_2="K_m"/>
        <map_variables variable_1="Cl_m" variable_2="Cl_m"/>
        <!--vars F and F;-->
    </connection>
    <connection>
        <map_components component_1="parameters" component_2="Apical_Diffusion"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="z_Na" variable_2="z_Na"/>
        <map_variables variable_1="z_k" variable_2="z_k"/>
        <map_variables variable_1="z_Cl" variable_2="z_Cl"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="A_Apical" variable_2="A_Apical"/>
        <map_variables variable_1="P_Na" variable_2="P_Na"/>
        <map_variables variable_1="P_k" variable_2="P_k"/>
        <map_variables variable_1="P_Cl" variable_2="P_Cl"/>
    </connection>
    <!--    def map between parameters and Cell_concentration for
        vars v_cell and v_cell;
    enddef;-->
    <!--    def map between parameters and Apical_voltage for
        vars time and time;
    enddef;-->
    <connection>
        <map_components component_1="Apical_Diffusion" component_2="Apical_voltage"/>
        <map_variables variable_1="I_D_Na" variable_2="I_D_Na"/>
        <map_variables variable_1="I_D_K" variable_2="I_D_K"/>
        <map_variables variable_1="I_D_Cl" variable_2="I_D_Cl"/>
        <map_variables variable_1="v_mc" variable_2="v_mc"/>
    </connection>
    <connection>
        <map_components component_1="parameters" component_2="Apical_voltage"/>
        <map_variables variable_1="capacitance" variable_2="capacitance"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="v_mc" variable_2="v_mc"/>
    </connection>
    <connection>
        <map_components component_1="Cell_concentration" component_2="Basolateral_Diffusion"/>
        <map_variables variable_1="Na_i" variable_2="Na_i"/>
        <map_variables variable_1="K_i" variable_2="K_i"/>
        <map_variables variable_1="Cl_i" variable_2="Cl_i"/>
        <map_variables variable_1="J_D_Bl_Na" variable_2="J_D_Bl_Na"/>
        <map_variables variable_1="J_D_Bl_K" variable_2="J_D_Bl_K"/>
        <map_variables variable_1="J_D_Bl_Cl" variable_2="J_D_Bl_Cl"/>
    </connection>
    <!--    def map between Basolateral_concentrations and Cell_concentration for
        vars time and time;
    enddef;-->
    <connection>
        <map_components component_1="Basolateral_concentrations" component_2="Basolateral_Diffusion"/>
        <map_variables variable_1="Na_s" variable_2="Na_s"/>
        <map_variables variable_1="K_s" variable_2="K_s"/>
        <map_variables variable_1="Cl_s" variable_2="Cl_s"/>
        <!--vars F and F;-->
    </connection>
    <connection>
        <map_components component_1="parameters" component_2="Basolateral_Diffusion"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="z_Na" variable_2="z_Na"/>
        <map_variables variable_1="z_k" variable_2="z_k"/>
        <map_variables variable_1="z_Cl" variable_2="z_Cl"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="A_Basol" variable_2="A_Basol"/>
        <map_variables variable_1="P_Bl_Na" variable_2="P_Bl_Na"/>
        <map_variables variable_1="P_Bl_k" variable_2="P_Bl_k"/>
        <map_variables variable_1="P_Bl_Cl" variable_2="P_Bl_Cl"/>
    </connection>
    <connection>
        <map_components component_1="parameters" component_2="Cell_concentration"/>
        <map_variables variable_1="v_cell" variable_2="v_cell"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <!--    def map between Basolateral_concentrations and Basol_voltage for
        vars time and time;
    enddef;-->
    <connection>
        <map_components component_1="Basolateral_Diffusion" component_2="Basol_voltage"/>
        <map_variables variable_1="I_D_Bl_Na" variable_2="I_D_Bl_Na"/>
        <map_variables variable_1="I_D_Bl_K" variable_2="I_D_Bl_K"/>
        <map_variables variable_1="I_D_Bl_Cl" variable_2="I_D_Bl_Cl"/>
        <map_variables variable_1="v_sc" variable_2="v_sc"/>
    </connection>
    <connection>
        <map_components component_1="parameters" component_2="Basol_voltage"/>
        <map_variables variable_1="capacitance" variable_2="capacitance"/>
        <map_variables variable_1="time" variable_2="time"/>
    </connection>
    <connection>
        <map_components component_1="Apical_concentrations" component_2="Paracellular_Diffusion"/>
        <map_variables variable_1="Na_m" variable_2="Na_m"/>
        <map_variables variable_1="K_m" variable_2="K_m"/>
        <map_variables variable_1="Cl_m" variable_2="Cl_m"/>
        <!--vars F and F;-->
    </connection>
    <connection>
        <map_components component_1="Apical_concentrations" component_2="parameters"/>
        <map_variables variable_1="time" variable_2="time"/>
        <!--vars F and F;-->
    </connection>
    <connection>
        <map_components component_1="parameters" component_2="Paracellular_Diffusion"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="z_Na" variable_2="z_Na"/>
        <map_variables variable_1="z_k" variable_2="z_k"/>
        <map_variables variable_1="z_Cl" variable_2="z_Cl"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="A_Apical" variable_2="A_Apical"/>
        <map_variables variable_1="P_P_Na" variable_2="P_P_Na"/>
        <map_variables variable_1="P_P_k" variable_2="P_P_k"/>
        <map_variables variable_1="P_P_Cl" variable_2="P_P_Cl"/>
    </connection>
    <!--    def map between Apical_concentrations and Paracellular_voltage for
        vars time and time;
    enddef;-->
    <connection>
        <map_components component_1="Paracellular_Diffusion" component_2="Paracellular_voltage"/>
        <!--        vars I_D_P_Na and I_D_P_Na;
        vars I_D_P_K and I_D_P_K;
        vars I_D_P_Cl and I_D_P_Cl;-->
        <map_variables variable_1="v_ms" variable_2="v_ms"/>
    </connection>
    <!--    def map between parameters and Paracellular_voltage for
        vars capacitance and capacitance;
        vars time and time;
    enddef;-->
    <connection>
        <map_components component_1="Basol_voltage" component_2="Paracellular_voltage"/>
        <map_variables variable_1="v_sc" variable_2="v_sc"/>
    </connection>
    <connection>
        <map_components component_1="Apical_voltage" component_2="Paracellular_voltage"/>
        <map_variables variable_1="v_mc" variable_2="v_mc"/>
    </connection>
    <connection>
        <map_components component_1="Apical_voltage" component_2="Paracellular_Diffusion"/>
        <map_variables variable_1="I_D_P_Na" variable_2="I_D_P_Na"/>
        <map_variables variable_1="I_D_P_K" variable_2="I_D_P_K"/>
        <map_variables variable_1="I_D_P_Cl" variable_2="I_D_P_Cl"/>
    </connection>
    <connection>
        <map_components component_1="Basol_voltage" component_2="Paracellular_Diffusion"/>
        <map_variables variable_1="I_D_P_Na" variable_2="I_D_P_Na"/>
        <map_variables variable_1="I_D_P_K" variable_2="I_D_P_K"/>
        <map_variables variable_1="I_D_P_Cl" variable_2="I_D_P_Cl"/>
    </connection>
    <connection>
        <map_components component_1="Basolateral_concentrations" component_2="Paracellular_Diffusion"/>
        <map_variables variable_1="Na_s" variable_2="Na_s"/>
        <map_variables variable_1="K_s" variable_2="K_s"/>
        <map_variables variable_1="Cl_s" variable_2="Cl_s"/>
        <!--vars F and F;-->
    </connection>
</model>